/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
FCDUTF16CollationIterator.java | 66 limit = rawLimit; 86 rawLimit = limit = s.length(); 95 if(pos == limit) { 101 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { 108 } else if(checkDir == 0 && pos != limit) { 116 if(Character.isHighSurrogate(c) && pos != limit && 165 if(pos == limit) { 171 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { 178 } else if(checkDir == 0 && pos != limit) { 210 * To be called when checkDir < 0 || (checkDir == 0 && pos == limit) [all...] |
/external/icu/icu4c/source/i18n/ |
anytrans.cpp | 60 * | | - first run (start, limit) 61 * | | - second run (start, limit) 89 int32_t limit; member in class:ScriptRunIterator 93 * (inclusive) to limit (exclusive). 95 ScriptRunIterator(const Replaceable& text, int32_t start, int32_t limit); 100 * examine scriptCode, start, and limit. 105 * Adjusts internal indices for a change in the limit index of the 106 * given delta. A positive delta means the limit has increased. 121 limit = myStart; 130 start = limit; 259 int32_t limit = pos.limit; local [all...] |
fphdlimp.cpp | 47 FieldPositionOnlyHandler::addAttribute(int32_t id, int32_t start, int32_t limit) { 50 pos.setEndIndex(limit); 88 FieldPositionIteratorHandler::addAttribute(int32_t id, int32_t start, int32_t limit) { 89 if (iter && U_SUCCESS(status) && start < limit) { 93 vec->addElement(limit, status);
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
FCDUTF16CollationIterator.java | 64 limit = rawLimit; 84 rawLimit = limit = s.length(); 93 if(pos == limit) { 99 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { 106 } else if(checkDir == 0 && pos != limit) { 114 if(Character.isHighSurrogate(c) && pos != limit && 163 if(pos == limit) { 169 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { 176 } else if(checkDir == 0 && pos != limit) { 208 * To be called when checkDir < 0 || (checkDir == 0 && pos == limit) [all...] |
/external/libchrome/base/ |
sys_info_linux.cc | 44 uint64_t limit; local 45 if (!base::StringToUint64(contents, &limit)) { 46 limit = 0; 48 DCHECK_GT(limit, 0u); 49 return limit;
|
/external/okhttp/okio/okio/src/main/java/okio/ |
InflaterSource.java | 67 int bytesInflated = inflater.inflate(tail.data, tail.limit, Segment.SIZE - tail.limit); 69 tail.limit += bytesInflated; 75 if (tail.pos == tail.limit) { 105 bufferBytesHeldByInflater = head.limit - head.pos;
|
Base64.java | 31 int limit = in.length(); local 32 for (; limit > 0; limit--) { 33 char c = in.charAt(limit - 1); 40 byte[] out = new byte[(int) (limit * 6L / 8L)]; 45 for (int pos = 0; pos < limit; pos++) {
|
/external/icu/icu4c/source/common/ |
uarrsort.c | 64 uprv_stableBinarySearch(char *array, int32_t limit, void *item, int32_t itemSize, 70 while((limit-start)>=MIN_QSORT) { 71 int32_t i=(start+limit)/2; 88 limit=i; 95 while(start<limit) { 168 subQuickSort(char *array, int32_t start, int32_t limit, int32_t itemSize, 173 /* start and left are inclusive, limit and right are exclusive */ 175 if((start+MIN_QSORT)>=limit) { 176 doInsertionSort(array+start*itemSize, limit-start, itemSize, cmp, context, px); 181 right=limit; [all...] |
ucmndata.c | 121 int32_t limit=count; local 123 * Remember the shared prefix between s, start and limit, 125 * The shared prefix should get longer as we narrow the [start, limit[ range. 134 * both the start and limit indexes have moved. 135 * At the same time, we find if s is one of the start and (limit-1) names, 142 --limit; 143 if(0==strcmpAfterPrefix(s, names+toc[limit].nameOffset, &limitPrefixLength)) { 144 return limit; 146 while(start<limit) { 147 int32_t i=(start+limit)/2 166 int32_t limit=count; local [all...] |
normalizer2impl.cpp | 46 limit=start+length; 49 if(start==limit) { 64 int32_t length=(int32_t)(limit-start); 75 limit[0]=U16_LEAD(c); 76 limit[1]=U16_TRAIL(c); 77 limit+=2; 80 reorderStart=limit; 101 reorderStart=limit+length; 103 reorderStart=limit+1; // Ok if not a code point boundary. 106 do { *limit++=*s++; } while(s!=sLimit) 863 UChar *limit=buffer.getLimit(); local [all...] |
/external/v8/src/ |
handles.cc | 57 DCHECK(result == current->limit); 69 Object** limit = &impl->blocks()->last()[kHandleBlockSize]; local 70 if (current->limit != limit) { 71 current->limit = limit; 72 DCHECK(limit - current->next < kHandleBlockSize); 78 if (result == current->limit) { 84 current->limit = &result[kHandleBlockSize]; 93 isolate->handle_scope_implementer()->DeleteExtensions(current->limit); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BidiRenderer.java | 47 int limit; field in class:BidiRenderer.ScriptRun 52 public ScriptRun(int start, int limit, boolean isRtl) { 54 this.limit = limit; 110 public RectF renderText(int start, int limit, int bidiFlags, float[] advances, 112 Bidi bidi = new Bidi(mText, start, null, 0, limit - start, getIcuFlags(bidiFlags)); 128 * @param limit index of the first character that should not be rendered. 137 public RectF renderText(int start, int limit, boolean isRtl, float[] advances, 141 for (ScriptRun run : getScriptRuns(mText, start, limit, isRtl, mFonts)) { 144 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw) [all...] |
/hardware/bsp/intel/peripheral/libupm/src/adc121c021/ |
adc121c021.cxx | 216 mraa_result_t ADC121C021::setAlertLowLimit(uint16_t limit) 219 limit &= 0x0fff; 222 return writeWord(ADC121C021_REG_ALERT_LIM_UNDER, limit); 225 mraa_result_t ADC121C021::setAlertHighLimit(uint16_t limit) 228 limit &= 0x0fff; 231 return writeWord(ADC121C021_REG_ALERT_LIM_OVER, limit); 234 mraa_result_t ADC121C021::setHysteresis(uint16_t limit) 237 limit &= 0x0fff; 240 return writeWord(ADC121C021_REG_ALERT_HYS, limit);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/ |
TSuper.d | 20 .limit regs 2 29 .limit regs 3 35 .limit regs 3 44 .limit regs 3 50 .limit regs 3 56 .limit regs 3 62 .limit regs 4
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/ |
TSuper.d | 20 .limit regs 2 29 .limit regs 3 35 .limit regs 3 44 .limit regs 3 50 .limit regs 3 56 .limit regs 3 62 .limit regs 4
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/d/ |
T_rsub_int_1.d | 21 .limit regs 1 28 .limit regs 4 35 .limit regs 4 42 .limit regs 4 49 .limit regs 4 56 .limit regs 4 63 .limit regs 4
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/d/ |
T_rsub_int_lit8_1.d | 21 .limit regs 1 28 .limit regs 4 35 .limit regs 4 42 .limit regs 4 49 .limit regs 4 56 .limit regs 4 63 .limit regs 4
|
/external/icu/icu4c/source/test/intltest/ |
reptest.cpp | 90 void extractBetween(int32_t start, int32_t limit, UnicodeString& result) const { 91 chars.extractBetween(start, limit, result); 121 void fixStyles(int32_t start, int32_t limit, int32_t newLen) { 123 if (start != limit && styles.charAt(start) != NO_STYLE) { 127 } else if (limit < styles.length()) { 128 newStyle = styles.charAt(limit); 142 styles.replaceBetween(start, limit, s); 145 virtual void handleReplaceBetween(int32_t start, int32_t limit, const UnicodeString& text) { 147 this->extractBetween(start, limit, s); 149 this->chars.replaceBetween(start, limit, text) [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
uparse.c | 79 char *start, *limit; local 124 limit=uprv_strchr(start, '#'); 125 if(limit!=NULL) { 127 while(limit>start && U_IS_INV_WHITESPACE(*(limit-1))) { 128 --limit; 132 *limit=0; 142 /* set the limit pointer of this field */ 143 limit=start; 144 while(*limit!=delimiter && *limit!=0) [all...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
FileHandler.java | 41 * limit, it is closed, rotated out, and a new file opened. 67 * <li> java.util.logging.FileHandler.limit 69 * to any one file. If this is zero, then there is no limit. 70 * (Defaults to no limit). 124 private int limit; // zero => no limit. field in class:FileHandler 189 limit = manager.getIntProperty(cname + ".limit", 0); 190 if (limit < 0) { 191 limit = 0 [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/ |
LZDecoder.java | 22 private int limit = 0; field in class:LZDecoder 41 limit = 0; 47 limit = buf.length; 49 limit = pos + outMax; 53 return pos < limit; 83 int left = Math.min(limit - pos, len);
|
/external/v8/src/crankshaft/ |
hydrogen-bch.cc | 47 DCHECK(data->limit() != NULL); 142 // related to the induction limit, therefore hoisting checks is 197 // Check that the limit is defined in the loop preheader. 198 if (!data->limit()->IsInteger32Constant()) { 199 HBasicBlock* limit_block = data->limit()->block(); 205 // Check that the length and limit have compatible representations. 206 if (!(data->limit()->representation().Equals( 208 data->limit()->IsInteger32Constant())) { 235 // We will do the hoisting, but we must see if the limit is "limit" or i 254 HValue* limit = data->limit(); local 321 int32_t limit = data->ComputeUpperLimit(decomposition.and_mask, local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
trietest.c | 39 UChar32 start, limit; member in struct:SetRange 46 * value is set from the previous boundary's limit to before 47 * this boundary's limit 50 UChar32 limit; member in struct:CheckRange 58 UChar32 limit; local 63 limit=start+0x400; 64 while(start<limit) { 89 UChar32 limit; local 94 limit=start+0x400; 95 while(start<limit) { 147 const UChar *p, *limit; local 265 UChar32 start, limit; local 459 UChar32 start, limit; local [all...] |
/external/pcre/dist/sljit/ |
sljitUtils.c | 203 SLJIT_API_FUNC_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit, void *allocator_data) 215 if (limit > max_limit || limit < 1) 233 /* Align limit and max_limit. */ 247 stack->limit = stack->base; 249 if (sljit_stack_resize(stack, stack->base + limit)) { 270 stack->limit = stack->base + limit; 299 aligned_old_limit = (stack->limit + sljit_page_align) & ~sljit_page_align; 310 stack->limit = new_limit [all...] |
/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
int_array_view_test.cpp | 71 EXPECT_FALSE(intArrayView.limit(0).contains(3)); 78 EXPECT_TRUE(intArrayView.limit(0).empty()); 79 EXPECT_EQ(intArrayView.size(), intArrayView.limit(intArrayView.size()).size()); 80 EXPECT_EQ(intArrayView.size(), intArrayView.limit(1000).size()); 82 IntArrayView subView = intArrayView.limit(4); 96 EXPECT_EQ(intArrayView.size(), intArrayView.limit(1000).size()); 111 intArrayView.limit(0).copyToArray(&buffer, 0); 114 intArrayView.limit(1).copyToArray(&buffer, 0); 117 intArrayView.limit(1).copyToArray(&buffer, 1); 132 EXPECT_EQ(10, intArrayView.limit(0).firstOrDefault(10)) [all...] |