/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/ |
D | LimitTest.java | 29 private Limit limit; field in LimitTest 33 limit = new Limit(); in setup() 38 assertNull(limit.getMinimum()); in testDefaults() 39 assertNull(limit.getMaximum()); in testDefaults() 40 assertEquals(CounterEntity.INSTRUCTION, limit.getEntity()); in testDefaults() 41 assertEquals(CounterValue.COVEREDRATIO, limit.getValue()); in testDefaults() 46 limit.setValue(CounterValue.TOTALCOUNT.name()); in testTotalCount() 47 limit.setMaximum("-1"); in testTotalCount() 48 assertEquals(CounterValue.TOTALCOUNT, limit.getValue()); in testTotalCount() 51 limit.check(new TestNode())); in testTotalCount() [all …]
|
/external/icu/icu4c/source/common/ |
D | bmpset.cpp | 70 static void set32x64Bits(uint32_t table[64], int32_t start, int32_t limit) { in set32x64Bits() argument 71 U_ASSERT(start<limit); in set32x64Bits() 72 U_ASSERT(limit<=0x800); in set32x64Bits() 79 if((start+1)==limit) { // Single-character shortcut. in set32x64Bits() 84 int32_t limitLead=limit>>6; in set32x64Bits() 85 int32_t limitTrail=limit&0x3f; in set32x64Bits() 122 UChar32 start, limit; in initBits() local 129 limit=list[listIndex++]; in initBits() 131 limit=0x110000; in initBits() 138 } while(start<limit && start<0x100); in initBits() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | BMPSet.java | 144 int limit = s.length(); in span() local 148 while (i < limit) { in span() 159 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span() 187 while (i < limit) { in span() 198 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span() 239 public final int spanBack(CharSequence s, int limit, SpanCondition spanCondition) { in spanBack() argument 245 c = s.charAt(--limit); in spanBack() 255 … c < 0xdc00 || 0 == limit || (c2 = s.charAt(limit - 1)) < 0xd800 || c2 >= 0xdc00) { in spanBack() 276 --limit; in spanBack() 278 if (0 == limit) { in spanBack() [all …]
|
D | UCharArrayIterator.java | 25 private final int limit; field in UCharArrayIterator 28 public UCharArrayIterator(char[] text, int start, int limit) { in UCharArrayIterator() argument 29 if (start < 0 || limit > text.length || start > limit) { in UCharArrayIterator() 31 + limit + " out of range [0, " in UCharArrayIterator() 36 this.limit = limit; in UCharArrayIterator() 43 return pos < limit ? text[pos] : DONE; in current() 48 return limit - start; in getLength() 58 return pos < limit ? text[pos++] : DONE; in next() 68 if (index < 0 || index > limit - start) { in setIndex() 71 + (limit - start) + ")"); in setIndex() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | BMPSet.java | 142 int limit = s.length(); in span() local 146 while (i < limit) { in span() 157 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span() 185 while (i < limit) { in span() 196 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span() 237 public final int spanBack(CharSequence s, int limit, SpanCondition spanCondition) { in spanBack() argument 243 c = s.charAt(--limit); in spanBack() 253 … c < 0xdc00 || 0 == limit || (c2 = s.charAt(limit - 1)) < 0xd800 || c2 >= 0xdc00) { in spanBack() 274 --limit; in spanBack() 276 if (0 == limit) { in spanBack() [all …]
|
D | UCharArrayIterator.java | 23 private final int limit; field in UCharArrayIterator 26 public UCharArrayIterator(char[] text, int start, int limit) { in UCharArrayIterator() argument 27 if (start < 0 || limit > text.length || start > limit) { in UCharArrayIterator() 29 + limit + " out of range [0, " in UCharArrayIterator() 34 this.limit = limit; in UCharArrayIterator() 41 return pos < limit ? text[pos] : DONE; in current() 46 return limit - start; in getLength() 56 return pos < limit ? text[pos++] : DONE; in next() 66 if (index < 0 || index > limit - start) { in setIndex() 69 + (limit - start) + ")"); in setIndex() [all …]
|
/external/ImageMagick/MagickCore/ |
D | resource.c | 176 limit; in AcquireMagickResource() local 189 limit=resource_info.area_limit; in AcquireMagickResource() 191 (size < limit) ? MagickTrue : MagickFalse; in AcquireMagickResource() 201 limit=resource_info.memory_limit; in AcquireMagickResource() 203 ((MagickSizeType) resource_info.memory < limit) ? MagickTrue : in AcquireMagickResource() 214 limit=resource_info.map_limit; in AcquireMagickResource() 216 ((MagickSizeType) resource_info.map < limit) ? MagickTrue : MagickFalse; in AcquireMagickResource() 226 limit=resource_info.disk_limit; in AcquireMagickResource() 228 ((MagickSizeType) resource_info.disk < limit) ? MagickTrue : in AcquireMagickResource() 239 limit=resource_info.file_limit; in AcquireMagickResource() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cLimitsTests.cpp | 237 const Limit<GLint>& limit = intLimits[idx]; in init() local 238 …ld(new glcts::LimitCase<GLint>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init() 243 const Limit<GLint64>& limit = int64Limits[idx]; in init() local 244 …(new glcts::LimitCase<GLint64>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init() 249 const Limit<GLuint64>& limit = uint64Limits[idx]; in init() local 250 …new glcts::LimitCase<GLuint64>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init() 255 const Limit<GLfloat>& limit = floatLimits[idx]; in init() local 256 …(new glcts::LimitCase<GLfloat>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init() 261 const Limit<tcu::IVec3>& limit = ivec3Limits[idx]; in init() local 262 …w glcts::LimitCase<tcu::IVec3>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init()
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | Buffer.java | 149 for (; offset >= (s.limit - s.pos); s = s.next) { 150 offset -= (s.limit - s.pos); 156 int toCopy = (int) Math.min(s.limit - pos, byteCount); 175 for (; offset >= (s.limit - s.pos); s = s.next) { 176 offset -= (s.limit - s.pos); 183 copy.limit = Math.min(copy.pos + (int) byteCount, copy.limit); 189 byteCount -= copy.limit - copy.pos; 208 int toCopy = (int) Math.min(byteCount, s.limit - s.pos); 215 if (s.pos == s.limit) { 242 int maxToCopy = (int) Math.min(byteCount, Segment.SIZE - tail.limit); [all …]
|
D | Segment.java | 43 int limit; field in Segment 64 this(shareFrom.data, shareFrom.pos, shareFrom.limit); in Segment() 68 Segment(byte[] data, int pos, int limit) { in Segment() argument 71 this.limit = limit; in Segment() 110 if (byteCount <= 0 || byteCount > limit - pos) throw new IllegalArgumentException(); in split() 112 prefix.limit = prefix.pos + byteCount; in split() 125 int byteCount = limit - pos; in compact() 126 int availableByteCount = SIZE - prev.limit + (prev.shared ? 0 : prev.pos); in compact() 136 if (sink.limit + byteCount > SIZE) { in writeTo() 139 if (sink.limit + byteCount - sink.pos > SIZE) throw new IllegalArgumentException(); in writeTo() [all …]
|
/external/python/cpython3/Lib/ |
D | traceback.py | 43 def print_tb(tb, limit=None, file=None): argument 51 print_list(extract_tb(tb, limit=limit), file=file) 53 def format_tb(tb, limit=None): argument 55 return extract_tb(tb, limit=limit).format() 57 def extract_tb(tb, limit=None): argument 68 return StackSummary.extract(walk_tb(tb), limit=limit) 83 def print_exception(etype, value, tb, limit=None, file=None, chain=True): argument 100 type(value), value, tb, limit=limit).format(chain=chain): 104 def format_exception(etype, value, tb, limit=None, chain=True): argument 117 type(value), value, tb, limit=limit).format(chain=chain)) [all …]
|
/external/icu/icu4c/source/i18n/ |
D | utf16collationiterator.cpp | 35 limit(other.limit == NULL ? NULL : newText + (other.limit - other.start)) { in UTF16CollationIterator() 61 if(pos == limit) { in handleNextCE32() 71 if(pos == limit) { return 0; } in handleGetTrailSurrogate() 79 if(limit == NULL) { in foundNULTerminator() 80 limit = --pos; in foundNULTerminator() 89 if(pos == limit) { in nextCodePoint() 93 if(c == 0 && limit == NULL) { in nextCodePoint() 94 limit = pos; in nextCodePoint() 99 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) { in nextCodePoint() 124 while(num > 0 && pos != limit) { in forwardNumCodePoints() [all …]
|
/external/python/cpython2/Lib/ |
D | traceback.py | 46 def print_tb(tb, limit=None, file=None): argument 56 if limit is None: 58 limit = sys.tracebacklimit 60 while tb is not None and (limit is None or n < limit): 74 def format_tb(tb, limit = None): argument 76 return format_list(extract_tb(tb, limit)) 78 def extract_tb(tb, limit = None): argument 89 if limit is None: 91 limit = sys.tracebacklimit 94 while tb is not None and (limit is None or n < limit): [all …]
|
/external/iproute2/netem/ |
D | maketable.c | 24 int limit; in readdoubles() local 29 limit = 2*info.st_size/sizeof(double); /* @@ approximate */ in readdoubles() 31 limit = 10000; in readdoubles() 34 x = calloc(limit, sizeof(double)); in readdoubles() 40 for (i=0; i<limit; ++i){ in readdoubles() 51 arraystats(double *x, int limit, double *mu, double *sigma, double *rho) in arraystats() argument 57 for (i=0; i<limit; ++i){ in arraystats() 93 makedist(double *x, int limit, double mu, double sigma) in makedist() argument 105 for (i=0; i < limit; ++i) { in makedist() 123 cumulativedist(int *table, int limit, int *total) in cumulativedist() argument [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | BidiLine.java | 116 static Bidi setLine(Bidi paraBidi, int start, int limit) { in setLine() argument 128 lineBidi.resultLength = limit - start; in setLine() 139 for (j = start; j < limit; j++) { in setLine() 169 } else if (paraBidi.trailingWSStart < limit) { in setLine() 291 logicalLimit = iRun.start + iRun.limit - visualStart; in getLogicalRun() 296 visualStart = iRun.limit; in getLogicalRun() 299 newRun.limit = logicalLimit; in getLogicalRun() 307 int limit; in getVisualRun() local 311 limit = start + in getVisualRun() 312 bidi.runs[runIndex].limit - in getVisualRun() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | BidiLine.java | 117 static Bidi setLine(Bidi paraBidi, int start, int limit) { in setLine() argument 129 lineBidi.resultLength = limit - start; in setLine() 140 for (j = start; j < limit; j++) { in setLine() 170 } else if (paraBidi.trailingWSStart < limit) { in setLine() 292 logicalLimit = iRun.start + iRun.limit - visualStart; in getLogicalRun() 297 visualStart = iRun.limit; in getLogicalRun() 300 newRun.limit = logicalLimit; in getLogicalRun() 308 int limit; in getVisualRun() local 312 limit = start + in getVisualRun() 313 bidi.runs[runIndex].limit - in getVisualRun() [all …]
|
/external/ltp/testcases/kernel/syscalls/sched_setscheduler/ |
D | sched_setscheduler03.c | 72 static void l_rlimit_show(const int type, struct rlimit *limit) in l_rlimit_show() argument 74 SAFE_GETRLIMIT(type, limit); in l_rlimit_show() 76 "rlimit rlim_cur=%lu", (unsigned long)(limit->rlim_cur)); in l_rlimit_show() 78 "rlimit rlim_max=%lu", (unsigned long)(limit->rlim_max)); in l_rlimit_show() 81 static void l_rlimit_setup(const int type, struct rlimit *limit) in l_rlimit_setup() argument 86 "Setting rlim_cur to %lu", (unsigned long)(limit->rlim_cur)); in l_rlimit_setup() 88 "Setting rlim_max to %lu", (unsigned long)(limit->rlim_max)); in l_rlimit_setup() 90 SAFE_SETRLIMIT(type, limit); in l_rlimit_setup() 94 if (tmp_rlimit.rlim_cur != limit->rlim_cur) in l_rlimit_setup() 96 (unsigned long)(limit->rlim_cur), in l_rlimit_setup() [all …]
|
/external/freetype/src/psaux/ |
D | psobjs.c | 106 FT_Byte** limit = offset + table->max_elems; in shift_elements() local 109 for ( ; offset < limit; offset++ ) in shift_elements() 288 FT_Byte* limit ) in skip_comment() argument 293 while ( cur < limit ) in skip_comment() 306 FT_Byte* limit ) in skip_spaces() argument 311 while ( cur < limit ) in skip_spaces() 317 skip_comment( &cur, limit ); in skip_spaces() 336 FT_Byte* limit ) in skip_literal_string() argument 344 while ( cur < limit ) in skip_literal_string() 360 if ( cur == limit ) in skip_literal_string() [all …]
|
D | psconv.c | 85 FT_Byte* limit, in PS_Conv_Strtol() argument 98 if ( p >= limit ) in PS_Conv_Strtol() 112 if ( p == limit ) in PS_Conv_Strtol() 123 for ( ; p < limit; p++ ) in PS_Conv_Strtol() 163 FT_Byte* limit ) in PS_Conv_ToInt() argument 173 num = PS_Conv_Strtol( &p, limit, 10 ); in PS_Conv_ToInt() 178 if ( p < limit && *p == '#' ) in PS_Conv_ToInt() 183 num = PS_Conv_Strtol( &p, limit, num ); in PS_Conv_ToInt() 197 FT_Byte* limit, in PS_Conv_ToFixed() argument 212 if ( p >= limit ) in PS_Conv_ToFixed() [all …]
|
/external/iptables/extensions/ |
D | libxt_limit.t | 2 -m limit --limit 1/sec;=;OK 3 -m limit --limit 1/min;=;OK 4 -m limit --limit 1000/hour;=;OK 5 -m limit --limit 1000/day;=;OK 6 -m limit --limit 1/sec --limit-burst 1;=;OK
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Utf8.java | 167 public static boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8() argument 168 return processor.isValidUtf8(bytes, index, limit); in isValidUtf8() 189 public static int partialIsValidUtf8(int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8() argument 190 return processor.partialIsValidUtf8(state, bytes, index, limit); in partialIsValidUtf8() 211 private static int incompleteStateFor(byte[] bytes, int index, int limit) { in incompleteStateFor() argument 213 switch (limit - index) { in incompleteStateFor() 333 static int partialIsValidUtf8(int state, ByteBuffer buffer, int index, int limit) { in partialIsValidUtf8() argument 334 return processor.partialIsValidUtf8(state, buffer, index, limit); in partialIsValidUtf8() 362 private static int estimateConsecutiveAscii(ByteBuffer buffer, int index, int limit) { in estimateConsecutiveAscii() argument 364 final int lim = limit - 7; in estimateConsecutiveAscii() [all …]
|
/external/icu/icu4c/source/samples/uciter8/ |
D | uit_len8.c | 126 int32_t i, limit, index; in lenient8IteratorGetIndex() local 130 limit=iter->start; /* count up to the UTF-8 index */ in lenient8IteratorGetIndex() 131 while(i<limit) { in lenient8IteratorGetIndex() 132 L8_NEXT(s, i, limit, c); in lenient8IteratorGetIndex() 141 if(i==iter->limit) { in lenient8IteratorGetIndex() 155 int32_t i, limit, length; in lenient8IteratorGetIndex() local 164 limit=iter->start; in lenient8IteratorGetIndex() 167 while(i<limit) { in lenient8IteratorGetIndex() 168 L8_NEXT(s, i, limit, c); in lenient8IteratorGetIndex() 188 limit=iter->limit; in lenient8IteratorGetIndex() [all …]
|
/external/e2fsprogs/tests/f_quota/ |
D | expect.0 | 2 user id blocks quota limit inodes quota limit 7 group id blocks quota limit inodes quota limit 10 user id blocks quota limit inodes quota limit 13 user id blocks quota limit inodes quota limit 16 user id blocks quota limit inodes quota limit 19 group id blocks quota limit inodes quota limit
|
/external/perf_data_converter/src/ |
D | intervalmap.h | 28 void Set(uint64 start, uint64 limit, const V& value); 38 bool FindNext(uint64 key, uint64* start, uint64* limit, V* value) const; 53 uint64 limit; member 61 void AssertValidInterval(uint64 start, uint64 limit) const; 70 if (bound->second.limit <= point) { in GetContainingInterval() 81 if (bound->second.limit <= point) { in GetContainingInterval() 98 void Insert(uint64 start, uint64 limit, const V& value); 114 void IntervalMap<V>::Set(uint64 start, uint64 limit, const V& value) { in Set() argument 115 AssertValidInterval(start, limit); in Set() 116 RemoveInterval(start, limit); in Set() [all …]
|
/external/pcre/dist2/testdata/ |
D | testoutput15 | 15 Minimum match limit = 8 16 Minimum recursion limit = 6 20 Minimum match limit = 32768 21 Minimum recursion limit = 29 29 Minimum match limit = 120 30 Minimum recursion limit = 6 36 Minimum match limit = 5 37 Minimum recursion limit = 2 40 Minimum match limit = 12 41 Minimum recursion limit = 2 [all …]
|