/external/webkit/Source/WebCore/inspector/ |
D | InspectorValues.cpp | 63 bool parseConstToken(const UChar* start, const UChar* end, const UChar** tokenEnd, const char* toke… in parseConstToken() argument 65 while (start < end && *token != '\0' && *start++ == *token++) { } in parseConstToken() 68 *tokenEnd = start; in parseConstToken() 72 bool readInt(const UChar* start, const UChar* end, const UChar** tokenEnd, bool canHaveLeadingZeros) in readInt() argument 74 if (start == end) in readInt() 76 bool haveLeadingZero = '0' == *start; in readInt() 78 while (start < end && '0' <= *start && *start <= '9') { in readInt() 79 ++start; in readInt() 86 *tokenEnd = start; in readInt() 90 bool parseNumberToken(const UChar* start, const UChar* end, const UChar** tokenEnd) in parseNumberToken() argument [all …]
|
/external/v8/test/cctest/ |
D | test-fixed-dtoa.cc | 49 CHECK_EQ("1", buffer.start()); in TEST() 53 CHECK_EQ("1", buffer.start()); in TEST() 57 CHECK_EQ("1", buffer.start()); in TEST() 61 CHECK_EQ("4294967295", buffer.start()); in TEST() 65 CHECK_EQ("4294967296", buffer.start()); in TEST() 69 CHECK_EQ("1", buffer.start()); in TEST() 74 CHECK_EQ("999999999999999868928", buffer.start()); in TEST() 79 CHECK_EQ("6999999999999998951424", buffer.start()); in TEST() 83 CHECK_EQ("15", buffer.start()); in TEST() 87 CHECK_EQ("155", buffer.start()); in TEST() [all …]
|
D | test-bignum-dtoa.cc | 47 int len = StrLength(representation.start()); in TrimRepresentation() 66 CHECK_EQ("1", buffer.start()); in TEST() 72 CHECK_EQ("1", buffer.start()); in TEST() 78 CHECK_EQ("1", buffer.start()); in TEST() 82 CHECK_EQ("15", buffer.start()); in TEST() 88 CHECK_EQ("15", buffer.start()); in TEST() 94 CHECK_EQ("15", buffer.start()); in TEST() 99 CHECK_EQ("5", buffer.start()); in TEST() 105 CHECK_EQ("", buffer.start()); in TEST() 110 CHECK_EQ("49407", buffer.start()); in TEST() [all …]
|
D | test-dtoa.cc | 47 int len = StrLength(representation.start()); in TrimRepresentation() 67 CHECK_EQ("0", buffer.start()); in TEST() 72 CHECK_EQ("0", buffer.start()); in TEST() 77 CHECK_EQ("0", buffer.start()); in TEST() 81 CHECK_EQ("1", buffer.start()); in TEST() 87 CHECK_EQ("1", buffer.start()); in TEST() 93 CHECK_EQ("1", buffer.start()); in TEST() 97 CHECK_EQ("15", buffer.start()); in TEST() 103 CHECK_EQ("15", buffer.start()); in TEST() 109 CHECK_EQ("15", buffer.start()); in TEST() [all …]
|
/external/icu4c/test/intltest/ |
D | bidiconf.cpp | 43 UBool parseLevels(const char *start); 44 UBool parseOrdering(const char *start); 45 UBool parseInputStringFromBiDiClasses(const char *&start); 118 UBool BiDiConformanceTest::parseLevels(const char *start) { in parseLevels() argument 121 while(*start!=0 && *(start=u_skipWhitespace(start))!=0) { in parseLevels() 122 if(*start=='x') { in parseLevels() 124 ++start; in parseLevels() 127 uint32_t value=(uint32_t)strtoul(start, &end, 10); in parseLevels() 128 … if(end<=start || (!U_IS_INV_WHITESPACE(*end) && *end!=0) || value>(UBIDI_MAX_EXPLICIT_LEVEL+1)) { in parseLevels() 129 errln("@Levels: parse error at %s", start); in parseLevels() [all …]
|
/external/icu4c/test/cintltst/ |
D | trietest.c | 38 UChar32 start, limit; member 55 _testFoldedValue32(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue32() argument 62 limit=start+0x400; in _testFoldedValue32() 63 while(start<limit) { in _testFoldedValue32() 64 value=utrie_get32(trie, start, &inBlockZero); in _testFoldedValue32() 66 start+=UTRIE_DATA_BLOCK_LENGTH; in _testFoldedValue32() 69 ++start; in _testFoldedValue32() 86 _testFoldedValue16(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue16() argument 93 limit=start+0x400; in _testFoldedValue16() 94 while(start<limit) { in _testFoldedValue16() [all …]
|
/external/icu4c/common/unicode/ |
D | unistr.h | 295 inline int8_t compare(int32_t start, 316 inline int8_t compare(int32_t start, 351 inline int8_t compare(int32_t start, 372 inline int8_t compare(int32_t start, 395 inline int8_t compareBetween(int32_t start, 439 inline int8_t compareCodePointOrder(int32_t start, 464 inline int8_t compareCodePointOrder(int32_t start, 510 inline int8_t compareCodePointOrder(int32_t start, 535 inline int8_t compareCodePointOrder(int32_t start, 562 inline int8_t compareCodePointOrderBetween(int32_t start, [all …]
|
/external/e2fsprogs/e2fsck/ |
D | region.c | 23 region_addr_t start; member 59 int region_allocate(region_t region, region_addr_t start, int n) in region_allocate() argument 64 end = start+n; in region_allocate() 65 if ((start < region->min) || (end > region->max)) in region_allocate() 78 if (((start >= r->start) && (start < r->end)) || in region_allocate() 79 ((end > r->start) && (end <= r->end)) || in region_allocate() 80 ((start <= r->start) && (end >= r->end))) in region_allocate() 82 if (end == r->start) { in region_allocate() 83 r->start = start; in region_allocate() 86 if (start == r->end) { in region_allocate() [all …]
|
/external/linux-tools-perf/util/ |
D | svghelper.c | 74 void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end) in open_svg() argument 83 first_time = start; in open_svg() 122 void svg_box(int Yslot, u64 start, u64 end, const char *type) in svg_box() argument 128 time2pixels(start), time2pixels(end)-time2pixels(start), Yslot * SLOT_MULT, SLOT_HEIGHT, type); in svg_box() 131 void svg_sample(int Yslot, int cpu, u64 start, u64 end) in svg_sample() argument 138 time2pixels(start), time2pixels(end)-time2pixels(start), Yslot * SLOT_MULT, SLOT_HEIGHT); in svg_sample() 140 text_size = (time2pixels(end)-time2pixels(start)); in svg_sample() 149 time2pixels(start), Yslot * SLOT_MULT + SLOT_HEIGHT - 1, text_size, cpu + 1); in svg_sample() 171 void svg_waiting(int Yslot, u64 start, u64 end) in svg_waiting() argument 182 if (end-start > 10 * 1000000) /* 10 msec */ in svg_waiting() [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/wpa_supplicant_8/src/wps/ |
D | wps_er_ssdp.c | 26 char buf[MULTICAST_MAX_READ], *pos, *pos2, *start; in wps_er_ssdp_rx() local 59 for (start = buf; start && *start; start = pos) { in wps_er_ssdp_rx() 60 pos = os_strchr(start, '\n'); in wps_er_ssdp_rx() 66 if (os_strstr(start, "schemas-wifialliance-org:device:" in wps_er_ssdp_rx() 69 if (os_strstr(start, "schemas-wifialliance-org:service:" in wps_er_ssdp_rx() 72 if (os_strncasecmp(start, "LOCATION:", 9) == 0) { in wps_er_ssdp_rx() 73 start += 9; in wps_er_ssdp_rx() 74 while (*start == ' ') in wps_er_ssdp_rx() 75 start++; in wps_er_ssdp_rx() 76 location = start; in wps_er_ssdp_rx() [all …]
|
/external/icu4c/samples/break/ |
D | ubreak.c | 17 void printTextRange(UChar* str, int32_t start, int32_t end) in printTextRange() argument 24 u_austrncpy(charBuf, str+start, sizeof(charBuf)-1); in printTextRange() 26 printf("string[%2d..%2d] \"%s\"\n", start, end-1, charBuf); in printTextRange() 35 int32_t start = ubrk_first(boundary); in printEachForward() local 36 for (end = ubrk_next(boundary); end != UBRK_DONE; start = end, end = in printEachForward() 38 printTextRange(str, start, end ); in printEachForward() 45 int32_t start; in printEachBackward() local 47 for (start = ubrk_previous(boundary); start != UBRK_DONE; end = start, in printEachBackward() 48 start =ubrk_previous(boundary)) { in printEachBackward() 49 printTextRange( str, start, end ); in printEachBackward() [all …]
|
D | break.cpp | 26 int32_t start, int32_t end ) in printTextRange() argument 32 printf(" %ld %ld\t", (long)start, (long)end); in printTextRange() 33 printUnicodeString(UnicodeString(s, 0, start)); in printTextRange() 35 printUnicodeString(UnicodeString(s, start, end-start)); in printTextRange() 46 int32_t start = boundary.first(); in printEachForward() local 49 start = end, end = boundary.next()) in printEachForward() 51 printTextRange( boundary, start, end ); in printEachForward() 59 for (int32_t start = boundary.previous(); in printEachBackward() local 60 start != BreakIterator::DONE; in printEachBackward() 61 end = start, start = boundary.previous()) in printEachBackward() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | gen_bitmap.c | 33 __u32 start, end; member 67 __u32 start, __u32 end, __u32 real_end, in ext2fs_make_generic_bitmap() argument 82 bitmap->start = start; in ext2fs_make_generic_bitmap() 105 size = (size_t) (((bitmap->real_end - bitmap->start) / 8) + 1); in ext2fs_make_generic_bitmap() 123 errcode_t ext2fs_allocate_generic_bitmap(__u32 start, in ext2fs_allocate_generic_bitmap() argument 130 start, end, real_end, descr, 0, ret); in ext2fs_allocate_generic_bitmap() 137 src->start, src->end, in ext2fs_copy_generic_bitmap() 163 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { in ext2fs_test_generic_bitmap() 167 return ext2fs_test_bit(bitno - bitmap->start, bitmap->bitmap); in ext2fs_test_generic_bitmap() 173 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { in ext2fs_mark_generic_bitmap() [all …]
|
/external/speex/libspeex/ |
D | ltp_bfin.h | 157 void open_loop_nbest_pitch(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t … in open_loop_nbest_pitch() argument 168 ALLOC(corr, end-start+1, spx_word32_t); in open_loop_nbest_pitch() 169 ALLOC(energy, end-start+2, spx_word32_t); in open_loop_nbest_pitch() 175 pitch[i]=start; in open_loop_nbest_pitch() 178 energy[0]=inner_prod(sw-start, sw-start, len); in open_loop_nbest_pitch() 202 : : "d" (energy), "d" (&sw[-start-1]), "d" (&sw[-start+len-1]), in open_loop_nbest_pitch() 203 "a" (end-start) in open_loop_nbest_pitch() 210 pitch_xcorr(sw, sw-end, corr, len, end-start+1, stack); in open_loop_nbest_pitch() 216 ALLOC(corr16, end-start+1, spx_word16_t); in open_loop_nbest_pitch() 217 ALLOC(ener16, end-start+1, spx_word16_t); in open_loop_nbest_pitch() [all …]
|
/external/icu4c/common/ |
D | unorm_it.c | 73 api->start=api->index=api->limit=0; in initIndexes() 78 api->start=api->index=api->limit=uni->capacity; in initIndexes() 83 api->start=api->index=api->limit=uni->capacity/2; in initIndexes() 95 int32_t start, limit; in reallocArrays() local 105 start=api->start; in reallocArrays() 113 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4); in reallocArrays() 114 uprv_memcpy(chars+delta+start, uni->chars+start, (limit-start)*4); in reallocArrays() 116 api->start=start+delta; in reallocArrays() 121 uprv_memcpy(states+start, uni->states+start, (limit-start+1)*4); in reallocArrays() 122 uprv_memcpy(chars+start, uni->chars+start, (limit-start)*4); in reallocArrays() [all …]
|
D | stringtriebuilder.cpp | 84 StringTrieBuilder::writeNode(int32_t start, int32_t limit, int32_t unitIndex) { in writeNode() argument 88 if(unitIndex==getElementStringLength(start)) { in writeNode() 90 value=getElementValue(start++); in writeNode() 91 if(start==limit) { in writeNode() 97 int32_t minUnit=getElementUnit(start, unitIndex); in writeNode() 101 int32_t lastUnitIndex=getLimitOfLinearMatch(start, limit-1, unitIndex); in writeNode() 102 writeNode(start, limit, lastUnitIndex); in writeNode() 109 writeElementUnits(start, lastUnitIndex, maxLinearMatchLength); in writeNode() 112 writeElementUnits(start, unitIndex, length); in writeNode() 116 int32_t length=countElementUnits(start, limit, unitIndex); in writeNode() [all …]
|
D | unistr.cpp | 571 UnicodeString::doCompare( int32_t start, in doCompare() argument 584 pinIndices(start, length); in doCompare() 593 chars += start; in doCompare() 650 UnicodeString::doCompareCodePointOrder(int32_t start, in doCompareCodePointOrder() argument 663 pinIndices(start, length); in doCompareCodePointOrder() 669 …int32_t diff = uprv_strCompare(getArrayStart() + start, length, srcChars + srcStart, srcLength, FA… in doCompareCodePointOrder() 694 UnicodeString::countChar32(int32_t start, int32_t length) const { in countChar32() argument 695 pinIndices(start, length); in countChar32() 697 return u_countChar32(getArrayStart()+start, length); in countChar32() 701 UnicodeString::hasMoreChar32Than(int32_t start, int32_t length, int32_t number) const { in hasMoreChar32Than() argument [all …]
|
/external/dbus/dbus/ |
D | dbus-string.c | 490 int start, in _dbus_string_get_data_len() argument 494 _dbus_assert (start >= 0); in _dbus_string_get_data_len() 496 _dbus_assert (start <= real->len); in _dbus_string_get_data_len() 497 _dbus_assert (len <= real->len - start); in _dbus_string_get_data_len() 499 return (char*) real->str + start; in _dbus_string_get_data_len() 514 int start, in _dbus_string_get_const_data_len() argument 518 _dbus_assert (start >= 0); in _dbus_string_get_const_data_len() 520 _dbus_assert (start <= real->len); in _dbus_string_get_const_data_len() 521 _dbus_assert (len <= real->len - start); in _dbus_string_get_const_data_len() 523 return (const char*) real->str + start; in _dbus_string_get_const_data_len() [all …]
|
D | dbus-string.h | 68 #define _dbus_string_get_const_data_len(s,start,len) (((const char*)(((DBusString*)(s))->dummy1)) +… argument 90 int start, 94 int start, 104 int start); 117 int start, 123 int start, 183 int start, 186 int start, 190 int start, 194 int start, [all …]
|
/external/emma/core/java12/com/vladium/util/ |
D | Descriptors.java | 126 for (int start = 1; start < end; ) in methodVMNameToJavaName() 128 if (start > 1) out.append (", "); in methodVMNameToJavaName() 129 start = typeDescriptorToJavaName (chars, start, shortTypeNames, out); in methodVMNameToJavaName() 163 private static int typeDescriptorToJavaName (final char [] descriptor, int start, in typeDescriptorToJavaName() argument 168 for (dims = 0; descriptor [start] == '['; ++ dims, ++ start); in typeDescriptorToJavaName() 170 char c = descriptor [start ++]; in typeDescriptorToJavaName() 178 for (int s = start; descriptor [s] != ';'; ++ s) in typeDescriptorToJavaName() 183 … for (start = lastSlash > 0 ? lastSlash + 1 : start; descriptor [start] != ';'; ++ start) in typeDescriptorToJavaName() 185 c = descriptor [start]; in typeDescriptorToJavaName() 194 for (; descriptor [start] != ';'; ++ start) in typeDescriptorToJavaName() [all …]
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
D | ByteArray.java | 38 private final int start; field in ByteArray 52 public ByteArray(byte[] bytes, int start, int end) { in ByteArray() argument 57 if (start < 0) { in ByteArray() 61 if (end < start) { in ByteArray() 70 this.start = start; in ByteArray() 71 this.size = end - start; in ByteArray() 100 public ByteArray slice(int start, int end) { in slice() argument 101 checkOffsets(start, end); in slice() 102 return new ByteArray(bytes, start + this.start, end + this.start); in slice() 120 return start + offset; in underlyingOffset() [all …]
|
/external/llvm/lib/CodeGen/ |
D | LiveIntervalUnion.cpp | 38 SegmentIter SegPos = Segments.find(RegPos->start); in unify() 41 SegPos.insert(RegPos->start, RegPos->end, &VirtReg); in unify() 44 SegPos.advanceTo(RegPos->start); in unify() 51 SegPos.insert(RegEnd->start, RegEnd->end, &VirtReg); in unify() 53 SegPos.insert(RegPos->start, RegPos->end, &VirtReg); in unify() 65 SegmentIter SegPos = Segments.find(RegPos->start); in extract() 74 RegPos = VirtReg.advanceTo(RegPos, SegPos.start()); in extract() 78 SegPos.advanceTo(RegPos->start); in extract() 90 OS << " [" << SI.start() << ' ' << SI.stop() << "):" in print() 140 LiveUnionI.find(VirtRegI->start); in collectInterferingVRegs() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | Line.java | 53 private Vector3f start; field in Line 59 public Line(Vector3f start, Vector3f end) { in Line() argument 61 updateGeometry(start, end); in Line() 64 protected void updateGeometry(Vector3f start, Vector3f end) { in updateGeometry() argument 65 this.start = start; in updateGeometry() 67 setBuffer(Type.Position, 3, new float[]{start.x, start.y, start.z, in updateGeometry() 85 public void updatePoints(Vector3f start, Vector3f end) { in updatePoints() argument 90 fb.put(start.x).put(start.y).put(start.z); in updatePoints() 103 return start; in getStart() 111 out.write(start, "startVertex", null); in write() [all …]
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | NonCopyingSort.h | 35 inline void siftDown(RandomAccessIterator array, ptrdiff_t start, ptrdiff_t end, Predicate compareL… in siftDown() argument 37 ptrdiff_t root = start; in siftDown() 55 ptrdiff_t start = (count - 2) / 2; in heapify() local 57 while (start >= 0) { in heapify() 58 siftDown(array, start, count - 1, compareLess); in heapify() 59 start--; in heapify() 64 void heapSort(RandomAccessIterator start, RandomAccessIterator end, Predicate compareLess) in heapSort() argument 66 ptrdiff_t count = end - start; in heapSort() 67 heapify(start, count, compareLess); in heapSort() 71 swap(start[endIndex], start[0]); in heapSort() [all …]
|