/external/icu/icu4c/source/test/intltest/ |
D | bidiconf.cpp | 44 UBool parseLevels(const char *&start); 45 UBool parseOrdering(const char *start); 46 UBool parseInputStringFromBiDiClasses(const char *&start); 82 UBool BiDiConformanceTest::parseLevels(const char *&start) { in parseLevels() argument 85 while(*start!=0 && *(start=u_skipWhitespace(start))!=0 && *start!=';') { in parseLevels() 86 if(*start=='x') { in parseLevels() 88 ++start; in parseLevels() 91 uint32_t value=(uint32_t)strtoul(start, &end, 10); in parseLevels() 92 if(end<=start || (!U_IS_INV_WHITESPACE(*end) && *end!=0 && *end!=';') in parseLevels() 94 errln("\nError on line %d: Levels parse error at %s", (int)lineNumber, start); in parseLevels() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | blkmap64_rb.c | 39 __u64 start; member 65 static int rb_insert_extent(__u64 start, __u64 count, 83 ext->start, ext->start + ext->count); in print_tree() 98 printf("extent: %llu -> %llu (%llu)\n", ext->start, in check_tree() 99 ext->start + ext->count, ext->count); in check_tree() 102 if (ext->start + ext->count < ext->start) { in check_tree() 104 printf("extent: %llu -> %llu (%llu)\n", ext->start, in check_tree() 105 ext->start + ext->count, ext->count); in check_tree() 110 if (old->start > ext->start) { in check_tree() 113 old->start, old->start + old->count, in check_tree() [all …]
|
D | gen_bitmap.c | 34 __u32 start, end; member 78 __u32 start, __u32 end, __u32 real_end, in ext2fs_make_generic_bitmap() argument 93 bitmap->start = start; in ext2fs_make_generic_bitmap() 116 size = (size_t) (((bitmap->real_end - bitmap->start) / 8) + 1); in ext2fs_make_generic_bitmap() 134 errcode_t ext2fs_allocate_generic_bitmap(__u32 start, in ext2fs_allocate_generic_bitmap() argument 141 start, end, real_end, descr, 0, ret); in ext2fs_allocate_generic_bitmap() 148 src->start, src->end, in ext2fs_copy_generic_bitmap() 186 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { in ext2fs_test_generic_bitmap() 190 return ext2fs_test_bit(bitno - bitmap->start, bitmap->bitmap); in ext2fs_test_generic_bitmap() 208 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { in ext2fs_mark_generic_bitmap() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | trietest.c | 39 UChar32 start, limit; member 56 _testFoldedValue32(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue32() argument 63 limit=start+0x400; in _testFoldedValue32() 64 while(start<limit) { in _testFoldedValue32() 65 value=utrie_get32(trie, start, &inBlockZero); in _testFoldedValue32() 67 start+=UTRIE_DATA_BLOCK_LENGTH; in _testFoldedValue32() 70 ++start; in _testFoldedValue32() 87 _testFoldedValue16(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue16() argument 94 limit=start+0x400; in _testFoldedValue16() 95 while(start<limit) { in _testFoldedValue16() [all …]
|
/external/syslinux/com32/lib/syslinux/ |
D | zonelist.c | 61 sp->start = 0; in syslinux_init_memmap() 65 ep->start = 0; /* Wrap around... */ in syslinux_init_memmap() 77 addr_t start, addr_t len, in syslinux_add_memmap() argument 93 last = start + len - 1; in syslinux_add_memmap() 97 while (mp = *mpp, start > mp->start && mp->type != SMT_END) { in syslinux_add_memmap() 102 if (start < mp->start || mp->type == SMT_END) { in syslinux_add_memmap() 109 range->start = start; in syslinux_add_memmap() 125 while (mp = *mpp, last > mp->start - 1) { in syslinux_add_memmap() 131 if (last < mp->start - 1) { in syslinux_add_memmap() 138 range->start = last + 1; in syslinux_add_memmap() [all …]
|
/external/pdfium/xfa/fde/css/ |
D | cfde_cssvaluelistparser_unittest.cpp | 14 const FX_WCHAR* start; in TEST() local 18 EXPECT_TRUE(parser->NextValue(type, start, len)); in TEST() 20 EXPECT_EQ(L"#abc", CFX_WideString(start, len)); in TEST() 21 EXPECT_FALSE(parser->NextValue(type, start, len)); in TEST() 24 EXPECT_TRUE(parser->NextValue(type, start, len)); in TEST() 26 EXPECT_EQ(L"#abcdef", CFX_WideString(start, len)); in TEST() 27 EXPECT_FALSE(parser->NextValue(type, start, len)); in TEST() 31 EXPECT_TRUE(parser->NextValue(type, start, len)); in TEST() 33 EXPECT_EQ(L"rgb(1, 255, 4)", CFX_WideString(start, len)); in TEST() 37 EXPECT_TRUE(parser->NextValue(type, start, len)); in TEST() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | unistr.h | 403 inline int8_t compare(int32_t start, 424 inline int8_t compare(int32_t start, 459 inline int8_t compare(int32_t start, 480 inline int8_t compare(int32_t start, 503 inline int8_t compareBetween(int32_t start, 547 inline int8_t compareCodePointOrder(int32_t start, 572 inline int8_t compareCodePointOrder(int32_t start, 618 inline int8_t compareCodePointOrder(int32_t start, 643 inline int8_t compareCodePointOrder(int32_t start, 670 inline int8_t compareCodePointOrderBetween(int32_t start, [all …]
|
/external/skia/tests/ |
D | RRectInPathTest.cpp | 15 SkPath::Direction* dir, unsigned* start) { in path_contains_rrect() argument 17 REPORTER_ASSERT(reporter, path.isRRect(&out, dir, start)); in path_contains_rrect() 19 recreatedPath.addRRect(out, *dir, *start); in path_contains_rrect() 44 SkPath::Direction dir, unsigned start) { in inner_path_contains_rrect() argument 54 path.addRRect(in, dir, start); in inner_path_contains_rrect() 58 REPORTER_ASSERT(reporter, outDir == dir && outStart == start); in inner_path_contains_rrect() 63 SkPath::Direction dir, unsigned start) { in path_contains_rrect_check() argument 64 SkRRect out = inner_path_contains_rrect(reporter, in, dir, start); in path_contains_rrect_check() 72 SkPath::Direction dir, unsigned start) { in path_contains_rrect_nocheck() argument 73 SkRRect out = inner_path_contains_rrect(reporter, in, dir, start); in path_contains_rrect_nocheck() [all …]
|
/external/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_dmatmp2.h | 94 GLuint start, GLuint nr ) in TAG() 99 for ( i = 0 ; i+1 < nr ; i+=2, start += 2 ) { in TAG() 100 EMIT_TWO_ELTS( dest, 0, start, start+1 ); in TAG() 104 EMIT_ELT( dest, 0, start ); in TAG() 118 GLuint start, in TAG() 122 if (start < count) { in TAG() 125 EMIT_PRIM( ctx, GL_POINTS, HW_POINTS, start, count ); in TAG() 130 GLuint start, in TAG() 136 count -= (count-start) & 1; in TAG() 138 if (start+1 >= count) in TAG() [all …]
|
/external/e2fsprogs/e2fsck/ |
D | region.c | 24 region_addr_t start; member 60 int region_allocate(region_t region, region_addr_t start, int n) in region_allocate() argument 65 end = start+n; in region_allocate() 66 if ((start < region->min) || (end > region->max)) in region_allocate() 79 if (((start >= r->start) && (start < r->end)) || in region_allocate() 80 ((end > r->start) && (end <= r->end)) || in region_allocate() 81 ((start <= r->start) && (end >= r->end))) in region_allocate() 83 if (end == r->start) { in region_allocate() 84 r->start = start; in region_allocate() 87 if (start == r->end) { in region_allocate() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TrieTest.java | 49 SetRange(int start, int limit, int value, boolean overwrite) in SetRange() argument 51 this.start = start; in SetRange() 57 int start, limit; field in TrieTest.SetRange 87 public int getFoldedValue(int start, int offset) in getFoldedValue() argument 90 int limit = start + 0x400; in getFoldedValue() 91 while (start < limit) { in getFoldedValue() 92 int value = m_builder_.getValue(start); in getFoldedValue() 93 if (m_builder_.isInZeroBlock(start)) { in getFoldedValue() 94 start += TrieBuilder.DATA_BLOCK_LENGTH; in getFoldedValue() 98 ++ start; in getFoldedValue() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TrieTest.java | 50 SetRange(int start, int limit, int value, boolean overwrite) in SetRange() argument 52 this.start = start; in SetRange() 58 int start, limit; field in TrieTest.SetRange 88 public int getFoldedValue(int start, int offset) in getFoldedValue() argument 91 int limit = start + 0x400; in getFoldedValue() 92 while (start < limit) { in getFoldedValue() 93 int value = m_builder_.getValue(start); in getFoldedValue() 94 if (m_builder_.isInZeroBlock(start)) { in getFoldedValue() 95 start += TrieBuilder.DATA_BLOCK_LENGTH; in getFoldedValue() 99 ++ start; in getFoldedValue() [all …]
|
/external/toybox/toys/posix/ |
D | cut.c | 43 int start, end; member 46 static void add_to_list(int start, int end) in add_to_list() argument 52 temp1_node->start = start; in add_to_list() 56 if (!head_ref || head_ref->start >= start) { in add_to_list() 62 while (current->next && current->next->start < temp1_node->start) in add_to_list() 75 int start = 0, end = INT_MAX; in parse_list() local 82 start = atolx_range(dtoken, 0, INT_MAX); in parse_list() 83 start = (start?(start-1):start); in parse_list() 92 if(end == start) end = -1; in parse_list() 94 add_to_list(start, end); in parse_list() [all …]
|
/external/llvm/unittests/ADT/ |
D | IntervalMapTest.cpp | 82 EXPECT_EQ(100u, I.start()); in TEST() 95 EXPECT_EQ(100u, I.start()); in TEST() 104 EXPECT_EQ(100u, I.start()); in TEST() 111 EXPECT_EQ(0u, I.start()); in TEST() 117 EXPECT_EQ(0u, I.start()); in TEST() 124 EXPECT_EQ(150u, I.start()); in TEST() 130 EXPECT_EQ(150u, I.start()); in TEST() 149 EXPECT_EQ(90u, map.start()); in TEST() 155 EXPECT_EQ(90u, map.start()); in TEST() 161 EXPECT_EQ(60u, map.start()); in TEST() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | IntervalMapTest.cpp | 82 EXPECT_EQ(100u, I.start()); in TEST() 95 EXPECT_EQ(100u, I.start()); in TEST() 104 EXPECT_EQ(100u, I.start()); in TEST() 111 EXPECT_EQ(0u, I.start()); in TEST() 117 EXPECT_EQ(0u, I.start()); in TEST() 124 EXPECT_EQ(150u, I.start()); in TEST() 130 EXPECT_EQ(150u, I.start()); in TEST() 149 EXPECT_EQ(90u, map.start()); in TEST() 155 EXPECT_EQ(90u, map.start()); in TEST() 161 EXPECT_EQ(60u, map.start()); in TEST() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | RangeDateRule.java | 52 public void add(Date start, DateRule rule) { in add() argument 55 ranges.add(new Range(start, rule)); in add() 64 public Date firstAfter(Date start) { in firstAfter() argument 66 int index = startIndex(start); in firstAfter() 78 result = r.rule.firstBetween(start, e.start); in firstAfter() 80 result = r.rule.firstAfter(start); in firstAfter() 90 public Date firstBetween(Date start, Date end) { in firstBetween() argument 92 return firstAfter(start); in firstBetween() 96 int index = startIndex(start); in firstBetween() 101 while (result == null && next != null && !next.start.after(end)) in firstBetween() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | RangeDateRule.java | 50 public void add(Date start, DateRule rule) { in add() argument 53 ranges.add(new Range(start, rule)); in add() 61 public Date firstAfter(Date start) { in firstAfter() argument 63 int index = startIndex(start); in firstAfter() 75 result = r.rule.firstBetween(start, e.start); in firstAfter() 77 result = r.rule.firstAfter(start); in firstAfter() 86 public Date firstBetween(Date start, Date end) { in firstBetween() argument 88 return firstAfter(start); in firstBetween() 92 int index = startIndex(start); in firstBetween() 97 while (result == null && next != null && !next.start.after(end)) in firstBetween() [all …]
|
/external/autotest/client/tests/monotonic_time/src/ |
D | cpuset.c | 39 int start, end; in parse_cpu_set() local 41 start = end = (int)strtol(s, &next, 0); in parse_cpu_set() 57 if (start < 0 || start >= CPU_SETSIZE) { in parse_cpu_set() 58 ERROR(0, "bad cpu number '%d' in cpu set", start); in parse_cpu_set() 67 if (end < start) { in parse_cpu_set() 68 ERROR(0, "bad range '%d-%d' in cpu set", start, end); in parse_cpu_set() 72 for (cpu = start; cpu <= end; ++cpu) in parse_cpu_set() 87 int start, int end) in show_range() argument 91 if (start == end) in show_range() 92 n = snprintf(buf, len, "%s%d", prefix, start); in show_range() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | BidiLine.java | 89 int start = bidi.length; in setTrailingWSStart() local 98 if (dirProps[start - 1] == Bidi.B) { in setTrailingWSStart() 99 bidi.trailingWSStart = start; /* currently == bidi.length */ in setTrailingWSStart() 103 while (start > 0 && in setTrailingWSStart() 104 (Bidi.DirPropFlag(dirProps[start - 1]) & Bidi.MASK_WS) != 0) { in setTrailingWSStart() 105 --start; in setTrailingWSStart() 109 while (start > 0 && levels[start - 1] == paraLevel) { in setTrailingWSStart() 110 --start; in setTrailingWSStart() 113 bidi.trailingWSStart=start; in setTrailingWSStart() 116 static Bidi setLine(Bidi paraBidi, int start, int limit) { in setLine() argument [all …]
|
D | ArabicShaping.java | 145 public void shape(char[] source, int start, int length) throws ArabicShapingException { in shape() argument 149 shape(source, start, length, source, start, length); in shape() 879 int start, in shapeToArabicDigitsWithContext() argument 886 for(int i = start + length; --i >= start;) { in shapeToArabicDigitsWithContext() 914 int start, in invertBuffer() argument 917 for(int i = start, j = start + length - 1; i < j; i++, --j) { in invertBuffer() 991 int start, in countSpacesLeft() argument 993 for (int i = start, e = start + count; i < e; ++i) { in countSpacesLeft() 995 return i - start; in countSpacesLeft() 1002 int start, in countSpacesRight() argument [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | BidiLine.java | 90 int start = bidi.length; in setTrailingWSStart() local 99 if (dirProps[start - 1] == Bidi.B) { in setTrailingWSStart() 100 bidi.trailingWSStart = start; /* currently == bidi.length */ in setTrailingWSStart() 104 while (start > 0 && in setTrailingWSStart() 105 (Bidi.DirPropFlag(dirProps[start - 1]) & Bidi.MASK_WS) != 0) { in setTrailingWSStart() 106 --start; in setTrailingWSStart() 110 while (start > 0 && levels[start - 1] == paraLevel) { in setTrailingWSStart() 111 --start; in setTrailingWSStart() 114 bidi.trailingWSStart=start; in setTrailingWSStart() 117 static Bidi setLine(Bidi paraBidi, int start, int limit) { in setLine() argument [all …]
|
D | ArabicShaping.java | 144 public void shape(char[] source, int start, int length) throws ArabicShapingException { in shape() argument 148 shape(source, start, length, source, start, length); in shape() 831 int start, in shapeToArabicDigitsWithContext() argument 838 for(int i = start + length; --i >= start;) { in shapeToArabicDigitsWithContext() 866 int start, in invertBuffer() argument 869 for(int i = start, j = start + length - 1; i < j; i++, --j) { in invertBuffer() 943 int start, in countSpacesLeft() argument 945 for (int i = start, e = start + count; i < e; ++i) { in countSpacesLeft() 947 return i - start; in countSpacesLeft() 954 int start, in countSpacesRight() argument [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UCharArrayIterator.java | 24 private final int start; 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() 30 throw new IllegalArgumentException("start: " + start + " or limit: " in UCharArrayIterator() 35 this.start = start; in UCharArrayIterator() 38 this.pos = start; in UCharArrayIterator() 48 return limit - start; in getLength() 53 return pos - start; in getIndex() 63 return pos > start ? text[--pos] : DONE; in previous() 68 if (index < 0 || index > limit - start) { in setIndex() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UCharArrayIterator.java | 22 private final int start; 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() 28 throw new IllegalArgumentException("start: " + start + " or limit: " in UCharArrayIterator() 33 this.start = start; in UCharArrayIterator() 36 this.pos = start; in UCharArrayIterator() 46 return limit - start; in getLength() 51 return pos - start; in getIndex() 61 return pos > start ? text[--pos] : DONE; in previous() 66 if (index < 0 || index > limit - start) { in setIndex() [all …]
|
/external/fmtlib/doc/bootstrap/mixins/ |
D | gradients.less | 7 // Creates two color stops, start and end, by specifying a color and position for each color stop. 9 .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) { 10 …background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-perce… 11 …background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); … 12 …background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent);… 14 …oft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-c… 19 // Creates two color stops, start and end, by specifying a color and position for each color stop. 21 .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) { 22 …background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percen… 23 …background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); … [all …]
|