/external/llvm-project/clang/test/CodeGen/ |
D | builtins-hexagon-circ.c | 6 unsigned char test1(int mod, void *start) { in test1() argument 7 unsigned char *base = start; in test1() 8 return __builtin_HEXAGON_L2_loadrub_pci(&base, 4, mod, start); in test1() 13 unsigned char test2(int mod, void *start) { in test2() argument 14 char *base = start; in test2() 15 return __builtin_HEXAGON_L2_loadrb_pci(&base, 4, mod, start); in test2() 20 unsigned short test3(int mod, void *start) { in test3() argument 21 unsigned short *base = start; in test3() 22 return __builtin_HEXAGON_L2_loadruh_pci(&base, 4, mod, start); in test3() 27 short test4(int mod, void *start) { in test4() argument [all …]
|
/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/perfetto/src/trace_processor/importers/json/ |
D | json_trace_tokenizer_unittest.cc | 29 const char* start = R"({ "foo": "bar" })"; in TEST() local 30 const char* end = start + strlen(start); in TEST() 33 ReadDictRes result = ReadOneJsonDict(start, end, &value, &next); in TEST() 43 const char* start = R"({ "foo": "}\"bar{\\" })"; in TEST() local 57 const char* start = R"({"foo": 1}, {"bar": 2})"; in TEST() local 58 const char* middle = start + strlen(R"({"foo": 1})"); in TEST() 59 const char* end = start + strlen(start); in TEST() 63 ASSERT_EQ(ReadOneJsonDict(start, end, &value, &next), in TEST() 78 const char* start = R"({"foo": 1)"; in TEST() local 79 const char* end = start + strlen(start); in TEST() [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() 99 ext->start, ext->start + ext->count, in check_tree() 103 if (ext->start + ext->count < ext->start) { in check_tree() 107 ext->start, ext->start + ext->count, in check_tree() 113 if (old->start > ext->start) { in check_tree() 116 old->start, old->start + old->count, in check_tree() 120 ext->start, ext->start + ext->count, in check_tree() 124 if ((old->start + old->count) >= ext->start) { in check_tree() [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/python/cpython2/Objects/ |
D | sliceobject.c | 61 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument 70 if (start == NULL) start = Py_None; in PySlice_New() 71 Py_INCREF(start); in PySlice_New() 76 obj->start = start; in PySlice_New() 86 PyObject *start, *end, *slice; in _PySlice_FromIndices() local 87 start = PyInt_FromSsize_t(istart); in _PySlice_FromIndices() 88 if (!start) in _PySlice_FromIndices() 92 Py_DECREF(start); in _PySlice_FromIndices() 96 slice = PySlice_New(start, end, NULL); in _PySlice_FromIndices() 97 Py_DECREF(start); in _PySlice_FromIndices() [all …]
|
/external/mesa3d/src/broadcom/cle/ |
D | v3d_packet_helpers.h | 63 __gen_mbo(uint32_t start, uint32_t end) in __gen_mbo() argument 65 return (~0ull >> (64 - (end - start + 1))) << start; in __gen_mbo() 69 __gen_uint(uint64_t v, uint32_t start, uint32_t end) in __gen_uint() argument 74 const int width = end - start + 1; in __gen_uint() 81 return v << start; in __gen_uint() 85 __gen_sint(int64_t v, uint32_t start, uint32_t end) in __gen_sint() argument 87 const int width = end - start + 1; in __gen_sint() 101 return (v & mask) << start; in __gen_sint() 105 __gen_offset(uint64_t v, uint32_t start, uint32_t end) in __gen_offset() argument 109 uint64_t mask = (~0ull >> (64 - (end - start + 1))) << start; in __gen_offset() [all …]
|
/external/auto/value/src/main/java/com/google/auto/value/processor/ |
D | JavaScanner.java | 56 int tokenEnd(int start) { in tokenEnd() argument 57 if (start >= s.length()) { in tokenEnd() 60 switch (s.charAt(start)) { in tokenEnd() 63 return spaceEnd(start); in tokenEnd() 65 if (s.charAt(start + 1) == '*') { in tokenEnd() 66 return blockCommentEnd(start); in tokenEnd() 67 } else if (s.charAt(start + 1) == '/') { in tokenEnd() 68 return lineCommentEnd(start); in tokenEnd() 70 return start + 1; in tokenEnd() 75 return quoteEnd(start); in tokenEnd() [all …]
|
/external/python/cpython3/Objects/ |
D | sliceobject.c | 117 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument 132 if (start == NULL) start = Py_None; in PySlice_New() 133 Py_INCREF(start); in PySlice_New() 138 obj->start = start; in PySlice_New() 148 PyObject *start, *end, *slice; in _PySlice_FromIndices() local 149 start = PyLong_FromSsize_t(istart); in _PySlice_FromIndices() 150 if (!start) in _PySlice_FromIndices() 154 Py_DECREF(start); in _PySlice_FromIndices() 158 slice = PySlice_New(start, end, NULL); in _PySlice_FromIndices() 159 Py_DECREF(start); in _PySlice_FromIndices() [all …]
|
/external/adhd/cras/src/tests/ |
D | timing_unittest.cc | 184 struct timespec start; in TEST_F() local 185 clock_gettime(CLOCK_MONOTONIC_RAW, &start); in TEST_F() 189 SingleInputDevNextWake(4800000, 0, &start, &format, streams); in TEST_F() 192 add_timespecs(&start, &add_millis); in TEST_F() 193 EXPECT_EQ(start.tv_sec, dev_time.tv_sec); in TEST_F() 194 EXPECT_EQ(start.tv_nsec, dev_time.tv_nsec); in TEST_F() 206 struct timespec start; in TEST_F() local 207 clock_gettime(CLOCK_MONOTONIC_RAW, &start); in TEST_F() 210 stream1->rstream->next_cb_ts = start; in TEST_F() 213 stream2->rstream->next_cb_ts = start; in TEST_F() [all …]
|
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssvaluelistparser_unittest.cpp | 15 const wchar_t* start; in TEST() local 19 EXPECT_TRUE(parser->NextValue(&type, &start, &len)); in TEST() 21 EXPECT_EQ(L"#abc", WideString(start, len)); in TEST() 22 EXPECT_FALSE(parser->NextValue(&type, &start, &len)); in TEST() 25 EXPECT_TRUE(parser->NextValue(&type, &start, &len)); in TEST() 27 EXPECT_EQ(L"#abcdef", WideString(start, len)); in TEST() 28 EXPECT_FALSE(parser->NextValue(&type, &start, &len)); in TEST() 32 EXPECT_TRUE(parser->NextValue(&type, &start, &len)); in TEST() 34 EXPECT_EQ(L"rgb(1, 255, 4)", WideString(start, len)); in TEST() 37 EXPECT_TRUE(parser->NextValue(&type, &start, &len)); in TEST() [all …]
|
/external/icu/libicu/cts_headers/unicode/ |
D | unistr.h | 402 inline int8_t compare(int32_t start, 423 inline int8_t compare(int32_t start, 458 inline int8_t compare(int32_t start, 479 inline int8_t compare(int32_t start, 502 inline int8_t compareBetween(int32_t start, 546 inline int8_t compareCodePointOrder(int32_t start, 571 inline int8_t compareCodePointOrder(int32_t start, 617 inline int8_t compareCodePointOrder(int32_t start, 642 inline int8_t compareCodePointOrder(int32_t start, 669 inline int8_t compareCodePointOrderBetween(int32_t start, [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | unistr.h | 402 inline int8_t compare(int32_t start, 423 inline int8_t compare(int32_t start, 458 inline int8_t compare(int32_t start, 479 inline int8_t compare(int32_t start, 502 inline int8_t compareBetween(int32_t start, 546 inline int8_t compareCodePointOrder(int32_t start, 571 inline int8_t compareCodePointOrder(int32_t start, 617 inline int8_t compareCodePointOrder(int32_t start, 642 inline int8_t compareCodePointOrder(int32_t start, 669 inline int8_t compareCodePointOrderBetween(int32_t start, [all …]
|
/external/skia/tests/ |
D | RRectInPathTest.cpp | 15 SkPathDirection* dir, unsigned* start) { in path_contains_rrect() argument 17 REPORTER_ASSERT(reporter, SkPathPriv::IsRRect(path, &out, dir, start)); in path_contains_rrect() 19 recreatedPath.addRRect(out, *dir, *start); in path_contains_rrect() 44 SkPathDirection 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 SkPathDirection 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 SkPathDirection 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/skqp/tests/ |
D | RRectInPathTest.cpp | 15 SkPath::Direction* dir, unsigned* start) { in path_contains_rrect() argument 17 REPORTER_ASSERT(reporter, SkPathPriv::IsRRect(path, &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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | StringSegment.java | 22 private int start; field in StringSegment 28 this.start = 0; in StringSegment() 34 return start; in getOffset() 37 public void setOffset(int start) { in setOffset() argument 38 assert start <= end; in setOffset() local 39 this.start = start; in setOffset() 52 assert start + delta >= 0; in adjustOffset() 53 assert start + delta <= end; in adjustOffset() 54 start += delta; in adjustOffset() 61 start += Character.charCount(getCodePoint()); in adjustOffsetByCodePoint() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | StringSegment.java | 24 private int start; field in StringSegment 30 this.start = 0; in StringSegment() 36 return start; in getOffset() 39 public void setOffset(int start) { in setOffset() argument 40 assert start <= end; in setOffset() local 41 this.start = start; in setOffset() 54 assert start + delta >= 0; in adjustOffset() 55 assert start + delta <= end; in adjustOffset() 56 start += delta; in adjustOffset() 63 start += Character.charCount(getCodePoint()); in adjustOffsetByCodePoint() [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 62 int region_allocate(region_t region, region_addr_t start, int n) in region_allocate() argument 67 end = start+n; in region_allocate() 68 if ((start < region->min) || (end > region->max)) in region_allocate() 73 if (region->last && region->last->end == start && in region_allocate() 78 if (region->last && start > region->last->end && in region_allocate() 93 if (((start >= r->start) && (start < r->end)) || in region_allocate() 94 ((end > r->start) && (end <= r->end)) || in region_allocate() 95 ((start <= r->start) && (end >= r->end))) in region_allocate() 97 if (end == r->start) { in region_allocate() [all …]
|
/external/rust/crates/regex-syntax/src/ |
D | utf8.rs | 116 fn from_encoded_range(start: &[u8], end: &[u8]) -> Self { in from_encoded_range() 117 assert_eq!(start.len(), end.len()); in from_encoded_range() 118 match start.len() { in from_encoded_range() 120 Utf8Range::new(start[0], end[0]), in from_encoded_range() 121 Utf8Range::new(start[1], end[1]), in from_encoded_range() 124 Utf8Range::new(start[0], end[0]), in from_encoded_range() 125 Utf8Range::new(start[1], end[1]), in from_encoded_range() 126 Utf8Range::new(start[2], end[2]), in from_encoded_range() 129 Utf8Range::new(start[0], end[0]), in from_encoded_range() 130 Utf8Range::new(start[1], end[1]), in from_encoded_range() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TrieTest.java | 55 SetRange(int start, int limit, int value, boolean overwrite) in SetRange() argument 57 this.start = start; in SetRange() 63 int start, limit; field in TrieTest.SetRange 94 public int getFoldedValue(int start, int offset) in getFoldedValue() argument 97 int limit = start + 0x400; in getFoldedValue() 98 while (start < limit) { in getFoldedValue() 99 int value = m_builder_.getValue(start); in getFoldedValue() 100 if (m_builder_.isInZeroBlock(start)) { in getFoldedValue() 101 start += TrieBuilder.DATA_BLOCK_LENGTH; in getFoldedValue() 105 ++ start; in getFoldedValue() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TrieTest.java | 52 SetRange(int start, int limit, int value, boolean overwrite) in SetRange() argument 54 this.start = start; in SetRange() 60 int start, limit; field in TrieTest.SetRange 91 public int getFoldedValue(int start, int offset) in getFoldedValue() argument 94 int limit = start + 0x400; in getFoldedValue() 95 while (start < limit) { in getFoldedValue() 96 int value = m_builder_.getValue(start); in getFoldedValue() 97 if (m_builder_.isInZeroBlock(start)) { in getFoldedValue() 98 start += TrieBuilder.DATA_BLOCK_LENGTH; in getFoldedValue() 102 ++ start; in getFoldedValue() [all …]
|
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/ |
D | ForkJoinBenchmark.kt | 78 …suspend fun CoroutineScope.startAsync(coefficients: LongArray, start: Int, end: Int): Deferred<Dou… in <lambda>() 79 if (end - start <= BATCH_SIZE) { in <lambda>() 80 compute(coefficients, start, end) in <lambda>() 82 val first = startAsync(coefficients, start, start + (end - start) / 2) in <lambda>() 83 val second = startAsync(coefficients, start + (end - start) / 2, end) in <lambda>() 88 … class Task(val coefficients: LongArray, val start: Int, val end: Int) : RecursiveTask<Double>() { constant in benchmarks.scheduler.ForkJoinBenchmark.Task 90 if (end - start <= BATCH_SIZE) { in compute() 91 return compute(coefficients, start, end) in compute() 94 val first = Task(coefficients, start, start + (end - start) / 2).fork() in compute() 95 val second = Task(coefficients, start + (end - start) / 2, end).fork() in compute() [all …]
|
/external/flac/microbench/ |
D | util.c | 44 counter_diff (const LARGE_INTEGER * start, const LARGE_INTEGER * end) in counter_diff() argument 49 diff.QuadPart = end->QuadPart - start->QuadPart; in counter_diff() 57 LARGE_INTEGER start, end; in benchmark_function() local 60 QueryPerformanceCounter (&start) ; in benchmark_function() 67 return counter_diff (&start, &end) / count ; in benchmark_function() 75 counter_diff (const uint64_t * start, const uint64_t * end) in counter_diff() argument 79 uint64_t duration = *end - *start; in counter_diff() 87 uint64_t start, end; in benchmark_function() local 90 start = mach_absolute_time(); in benchmark_function() 97 return counter_diff (&start, &end) / count ; in benchmark_function() [all …]
|
/external/python/cpython3/Objects/stringlib/ |
D | transmogrify.h | 262 const char *start = target; in countchar() local 265 while ((start = findchar(start, end - start, c)) != NULL) { in countchar() 269 start += 1; in countchar() 353 const char *self_s, *start, *next, *end; in stringlib_replace_delete_single_character() local 376 start = self_s; in stringlib_replace_delete_single_character() 379 next = findchar(start, end - start, from_c); in stringlib_replace_delete_single_character() 382 memcpy(result_s, start, next - start); in stringlib_replace_delete_single_character() 383 result_s += (next - start); in stringlib_replace_delete_single_character() 384 start = next + 1; in stringlib_replace_delete_single_character() 386 memcpy(result_s, start, end - start); in stringlib_replace_delete_single_character() [all …]
|