/external/tensorflow/tensorflow/lite/java/src/main/native/ |
exception_jni.cc | 45 BufferErrorReporter::BufferErrorReporter(JNIEnv* env, int limit) { 46 buffer_ = new char[limit]; 51 limit); 56 end_idx_ = limit - 1;
|
/external/u-boot/cmd/ |
read.c | 23 ulong limit = 0u; local 58 limit = part_info.size; 61 limit = ~0; 64 if (cnt + blk > limit) {
|
/external/freetype/src/gxvalid/ |
gxvlcar.c | 91 FT_Bytes limit = gxvalid->root->limit; local 155 FT_Bytes limit; local 165 limit = gxvalid->root->limit; 188 FT_Bytes limit = 0; local 218 gxv_LookupTable_validate( p, limit, gxvalid );
|
gxvjust.c | 87 FT_Bytes limit, 130 FT_Bytes limit, 142 gxv_just_wdp_entry_validate( p, limit, gxvalid ); 152 FT_Bytes limit, 162 if ( limit <= wdc_end ) 167 gxv_just_wdc_entry_validate( p, limit, gxvalid ); 179 FT_Bytes limit, 227 FT_Bytes limit, 245 FT_Bytes limit, 276 FT_Bytes limit, 649 FT_Bytes limit = 0; local [all...] |
gxvmorx1.c | 58 FT_Bytes limit, 109 FT_Bytes limit, 125 FT_UNUSED( limit ); 182 FT_Bytes limit; local 191 limit = lookuptbl_limit; 201 * TODO: length should be limit? 205 FT_Bytes limit, 228 gxv_LookupTable_validate( table + offset, limit, gxvalid ); 242 FT_Bytes limit, 267 gxv_XStateTable_validate( p, limit, gxvalid ) [all...] |
gxvtrak.c | 95 FT_Bytes limit, 145 FT_Bytes limit, 169 gxv_trak_trackTable_validate( p, limit, nTracks, gxvalid ); 180 if ( limit - p < nTracks * nSizes * 2 ) 213 FT_Bytes limit = 0; local 234 limit = gxvalid->root->limit; 270 gxv_trak_trackData_validate( table + horizOffset, limit, gxvalid ); 277 gxv_trak_trackData_validate( table + vertOffset, limit, gxvalid );
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ReplaceableContextIterator.java | 39 limit=cpStart=cpLimit=index=contextStart=contextLimit=0; 50 limit=contextLimit=rep.length(); 76 * Set the iteration limit for nextCaseMapCP() to an index within the string. 77 * If the limit parameter is negative or past the string, then the 78 * string length is restored as the iteration limit. 80 * @param lim The iteration limit. 84 limit=lim; 86 limit=rep.length(); 92 * Set the start and limit indexes for context iteration with next(). 94 * @param contextLimit Limit of context for next() 196 protected int index, limit, cpStart, cpLimit, contextStart, contextLimit; field in class:ReplaceableContextIterator [all...] |
NameUnicodeTransliterator.java | 63 int limit = offsets.limit; local 72 while (cursor < limit) { 79 int i = Utility.parsePattern(OPEN_PAT, text, cursor, limit); 80 if (i >= 0 && i < limit) { 93 // loop. If the limit is reached, exit the loop. 136 limit -= delta; 167 offsets.contextLimit += limit - offsets.limit; 168 offsets.limit = limit [all...] |
/external/icu/icu4c/source/i18n/ |
casetrn.cpp | 56 // automatically adjust start and limit if the Replaceable disagrees 69 // detect, and store in csc->b1, if we hit the limit 70 if(csc->index<csc->limit) { 73 csc->limit=csc->index; 139 if (offsets.start >= offsets.limit) { 147 csc.limit = offsets.contextLimit; 154 for(textPos=offsets.start; textPos<offsets.limit;) { 162 // fMap() tried to look beyond the context limit 183 csc.limit=offsets.contextLimit+=delta; 184 offsets.limit+=delta [all...] |
anytrans.cpp | 66 * | | - first run (start, limit) 67 * | | - second run (start, limit) 95 int32_t limit; member in class:ScriptRunIterator 99 * (inclusive) to limit (exclusive). 101 ScriptRunIterator(const Replaceable& text, int32_t start, int32_t limit); 106 * examine scriptCode, start, and limit. 111 * Adjusts internal indices for a change in the limit index of the 112 * given delta. A positive delta means the limit has increased. 127 limit = myStart; 136 start = limit; 265 int32_t limit = pos.limit; local [all...] |
fphdlimp.cpp | 40 FieldPositionOnlyHandler::addAttribute(int32_t id, int32_t start, int32_t limit) { 43 pos.setEndIndex(limit + fShift); 81 FieldPositionIteratorHandler::addAttribute(int32_t id, int32_t start, int32_t limit) { 82 if (iter && U_SUCCESS(status) && start < limit) { 86 vec->addElement(limit + fShift, status);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ReplaceableContextIterator.java | 38 limit=cpStart=cpLimit=index=contextStart=contextLimit=0; 49 limit=contextLimit=rep.length(); 75 * Set the iteration limit for nextCaseMapCP() to an index within the string. 76 * If the limit parameter is negative or past the string, then the 77 * string length is restored as the iteration limit. 79 * @param lim The iteration limit. 83 limit=lim; 85 limit=rep.length(); 91 * Set the start and limit indexes for context iteration with next(). 93 * @param contextLimit Limit of context for next() 195 protected int index, limit, cpStart, cpLimit, contextStart, contextLimit; field in class:ReplaceableContextIterator [all...] |
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/ |
RulesCheckerTest.java | 30 * Unit tests for {@link Limit}. 48 Limit limit = rule.createLimit(); local 49 limit.setValue(CounterValue.MISSEDCOUNT.name()); 50 limit.setMaximum("5"); 62 Limit limit = rule.createLimit(); local 63 limit.setValue(CounterValue.MISSEDCOUNT.name()); 64 limit.setMaximum("5"); 98 public void onViolation(ICoverageNode node, Rule rule, Limit limit [all...] |
/external/v8/src/heap/ |
heap-controller.cc | 28 // F = Limit / Live by definition, where the Limit is the allocation limit, 30 // Let?s assume that we already know the Limit. Then: 31 // TG = Limit / gc_speed 34 // TM = Limit * MU / (gc_speed * (1 - MU)) 36 // Limit = Live + TM * allocation_throughput = Live + TM * mutator_speed 38 // TM = (Limit - Live) / mutator_speed 40 // (Limit - Live) / mutator_speed = Limit * MU / (gc_speed * (1 - MU) 123 uint64_t limit = static_cast<uint64_t>(curr_size * factor); local 144 size_t limit = (Page::kPageSize > MB ? Page::kPageSize : MB); local [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
NameUnicodeTransliterator.java | 62 int limit = offsets.limit; local 71 while (cursor < limit) { 78 int i = Utility.parsePattern(OPEN_PAT, text, cursor, limit); 79 if (i >= 0 && i < limit) { 92 // loop. If the limit is reached, exit the loop. 135 limit -= delta; 166 offsets.contextLimit += limit - offsets.limit; 167 offsets.limit = limit [all...] |
/external/webp/src/enc/ |
near_lossless_enc.c | 49 // is within the given limit. 50 static int IsNear(uint32_t a, uint32_t b, int limit) { 55 if (delta >= limit || delta <= -limit) { 65 int ix, int limit) { 67 return (IsNear(curr_row[ix], curr_row[ix - 1], limit) && 68 IsNear(curr_row[ix], curr_row[ix + 1], limit) && 69 IsNear(curr_row[ix], prev_row[ix], limit) && 70 IsNear(curr_row[ix], next_row[ix], limit)); 78 const int limit = 1 << limit_bits local [all...] |
/external/freetype/src/psaux/ |
psobjs.c | 109 FT_Byte** limit = offset + table->max_elems; local 112 for ( ; offset < limit; offset++ ) 296 FT_Byte* limit ) 301 while ( cur < limit ) 314 FT_Byte* limit ) 319 while ( cur < limit ) 325 skip_comment( &cur, limit ); 344 FT_Byte* limit ) 352 while ( cur < limit ) 368 if ( cur == limit ) 525 FT_Byte* limit = parser->limit; local 630 FT_Byte* limit; local 747 T1_Token limit = cur + max_tokens; local 1041 FT_Byte* limit; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
FCDUTF16CollationIterator.java | 78 limit = rawLimit; 98 rawLimit = limit = s.length(); 107 if(pos == limit) { 113 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { 120 } else if(checkDir == 0 && pos != limit) { 128 if(Character.isHighSurrogate(c) && pos != limit && 177 if(pos == limit) { 183 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { 190 } else if(checkDir == 0 && pos != limit) { 222 * To be called when checkDir < 0 || (checkDir == 0 && pos == limit) [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
FCDUTF16CollationIterator.java | 76 limit = rawLimit; 96 rawLimit = limit = s.length(); 105 if(pos == limit) { 111 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { 118 } else if(checkDir == 0 && pos != limit) { 126 if(Character.isHighSurrogate(c) && pos != limit && 175 if(pos == limit) { 181 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { 188 } else if(checkDir == 0 && pos != limit) { 220 * To be called when checkDir < 0 || (checkDir == 0 && pos == limit) [all...] |
/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;
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
InflaterSource.java | 69 int bytesInflated = inflater.inflate(tail.data, tail.limit, Segment.SIZE - tail.limit); 71 tail.limit += bytesInflated; 77 if (tail.pos == tail.limit) { 107 bufferBytesHeldByInflater = head.limit - head.pos;
|
/external/icu/icu4c/source/common/ |
uarrsort.cpp | 69 uprv_stableBinarySearch(char *array, int32_t limit, void *item, int32_t itemSize, 75 while((limit-start)>=MIN_QSORT) { 76 int32_t i=(start+limit)/2; 93 limit=i; 100 while(start<limit) { 173 subQuickSort(char *array, int32_t start, int32_t limit, int32_t itemSize, 178 /* start and left are inclusive, limit and right are exclusive */ 180 if((start+MIN_QSORT)>=limit) { 181 doInsertionSort(array+start*itemSize, limit-start, itemSize, cmp, context, px); 186 right=limit; [all...] |
/external/tensorflow/tensorflow/lite/kernels/ |
range.cc | 35 TfLiteStatus GetSize(TfLiteContext* context, T start, T limit, T delta, 39 (start > limit && delta < 0) || (start < limit && delta > 0)); 42 ? ((std::abs(limit - start) + std::abs(delta) - 1) / std::abs(delta)) 43 : std::ceil(std::abs((limit - start) / delta))); 48 const TfLiteTensor* limit, const TfLiteTensor* delta, 56 *GetTensorData<int32_t>(limit), 62 *GetTensorData<float>(limit), 81 const TfLiteTensor* limit = GetInput(context, node, kLimitTensor); local 85 TF_LITE_ENSURE_EQ(context, NumDimensions(limit), 0) 134 const TfLiteTensor* limit = GetInput(context, node, kLimitTensor); local [all...] |
/external/v8/src/ |
handles.cc | 69 DCHECK(result == current->limit); 81 Object** limit = &impl->blocks()->back()[kHandleBlockSize]; local 82 if (current->limit != limit) { 83 current->limit = limit; 84 DCHECK_LT(limit - current->next, kHandleBlockSize); 90 if (result == current->limit) { 96 current->limit = &result[kHandleBlockSize]; 105 isolate->handle_scope_implementer()->DeleteExtensions(current->limit); [all...] |
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/ |
FixedLengthBlockOutputStream.java | 140 int savedLimit = src.limit(); 145 src.limit(src.position() + n); 153 src.limit(src.position() + blockSize); 158 src.limit(savedLimit); 200 int limit = 8 - align; local 201 for (int i = 0; i < limit; i++) { 204 bytesToWrite -= limit; 243 int len = buffer.limit() - pos; 245 buffer.position(buffer.limit());
|