/external/crosvm/resources/src/ |
D | address_range.rs | 19 pub start: u64, field 25 pub const fn from_start_and_end(start: u64, end: u64) -> Self { in from_start_and_end() 26 AddressRange { start, end } in from_start_and_end() 32 pub const fn from_start_and_size(start: u64, size: u64) -> Option<Self> { in from_start_and_size() 35 } else if let Some(end) = start.checked_add(size - 1) { in from_start_and_size() 36 Some(AddressRange { start, end }) in from_start_and_size() 44 AddressRange { start: 1, end: 0 } in empty() 49 self.end < self.start in is_empty() 54 address >= self.start && address <= self.end in contains() 61 !other.is_empty() && other.start >= self.start && other.end <= self.end in contains_range() [all …]
|
/external/cronet/third_party/protobuf/js/experimental/runtime/kernel/ |
D | reader.js | 23 function readBool(bufferDecoder, start) { argument 24 const {lowBits, highBits} = bufferDecoder.getVarint(start); 35 function readBytes(bufferDecoder, start) { argument 36 return readDelimited(bufferDecoder, start).asByteString(); 46 function readInt32(bufferDecoder, start) { argument 50 return bufferDecoder.getUnsignedVarint32At(start) | 0; 60 function readInt64(bufferDecoder, start) { argument 61 const {lowBits, highBits} = bufferDecoder.getVarint(start); 72 function readFixed32(bufferDecoder, start) { argument 73 return bufferDecoder.getUint32(start); [all …]
|
/external/cronet/third_party/icu/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/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 (unsigned long long) ext->start, in print_tree() 84 (unsigned long long) ext->start + ext->count); in print_tree() 100 (unsigned long long) ext->start, in check_tree() 101 (unsigned long long) ext->start + ext->count, in check_tree() 105 if (ext->start + ext->count < ext->start) { in check_tree() 109 (unsigned long long) ext->start, in check_tree() 110 (unsigned long long) ext->start + ext->count, in check_tree() 116 if (old->start > ext->start) { in check_tree() [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/cronet/third_party/icu/source/test/cintltst/ |
D | trietest.c | 40 UChar32 start, limit; member 57 _testFoldedValue32(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue32() argument 64 limit=start+0x400; in _testFoldedValue32() 65 while(start<limit) { in _testFoldedValue32() 66 value=utrie_get32(trie, start, &inBlockZero); in _testFoldedValue32() 68 start+=UTRIE_DATA_BLOCK_LENGTH; in _testFoldedValue32() 71 ++start; in _testFoldedValue32() 88 _testFoldedValue16(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue16() argument 95 limit=start+0x400; in _testFoldedValue16() 96 while(start<limit) { in _testFoldedValue16() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | trietest.c | 40 UChar32 start, limit; member 57 _testFoldedValue32(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue32() argument 64 limit=start+0x400; in _testFoldedValue32() 65 while(start<limit) { in _testFoldedValue32() 66 value=utrie_get32(trie, start, &inBlockZero); in _testFoldedValue32() 68 start+=UTRIE_DATA_BLOCK_LENGTH; in _testFoldedValue32() 71 ++start; in _testFoldedValue32() 88 _testFoldedValue16(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue16() argument 95 limit=start+0x400; in _testFoldedValue16() 96 while(start<limit) { in _testFoldedValue16() [all …]
|
/external/double-conversion/test/cctest/ |
D | test-fixed-dtoa.cc | 48 CHECK_EQ("1", buffer.start()); in TEST() 52 CHECK_EQ("1", buffer.start()); in TEST() 56 CHECK_EQ("1", buffer.start()); in TEST() 60 CHECK_EQ("4294967295", buffer.start()); in TEST() 64 CHECK_EQ("4294967296", buffer.start()); in TEST() 68 CHECK_EQ("1", buffer.start()); in TEST() 73 CHECK_EQ("999999999999999868928", buffer.start()); in TEST() 78 CHECK_EQ("6999999999999998951424", buffer.start()); in TEST() 82 CHECK_EQ("15", buffer.start()); in TEST() 86 CHECK_EQ("155", buffer.start()); in TEST() [all …]
|
/external/python/pyyaml/examples/yaml-highlight/ |
D | yaml_hl.cfg | 11 stream-start: 13 directive: { start: "\e[35m", end: "\e[0;1;30;40m" } 14 document-start: { start: "\e[35m", end: "\e[0;1;30;40m" } 15 document-end: { start: "\e[35m", end: "\e[0;1;30;40m" } 16 block-sequence-start: 17 block-mapping-start: 19 flow-sequence-start: { start: "\e[33m", end: "\e[0;1;30;40m" } 20 flow-mapping-start: { start: "\e[33m", end: "\e[0;1;30;40m" } 21 flow-sequence-end: { start: "\e[33m", end: "\e[0;1;30;40m" } 22 flow-mapping-end: { start: "\e[33m", end: "\e[0;1;30;40m" } [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/openthread/third_party/mbedtls/repo/library/ |
D | asn1write.c | 37 int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start, size_t len ) in mbedtls_asn1_write_len() argument 41 if( *p - start < 1 ) in mbedtls_asn1_write_len() 50 if( *p - start < 2 ) in mbedtls_asn1_write_len() 60 if( *p - start < 3 ) in mbedtls_asn1_write_len() 71 if( *p - start < 4 ) in mbedtls_asn1_write_len() 85 if( *p - start < 5 ) in mbedtls_asn1_write_len() 101 int mbedtls_asn1_write_tag( unsigned char **p, unsigned char *start, unsigned char tag ) in mbedtls_asn1_write_tag() argument 103 if( *p - start < 1 ) in mbedtls_asn1_write_tag() 111 int mbedtls_asn1_write_raw_buffer( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_raw_buffer() argument 116 if( *p < start || (size_t)( *p - start ) < size ) in mbedtls_asn1_write_raw_buffer() [all …]
|
/external/mbedtls/library/ |
D | asn1write.c | 31 int mbedtls_asn1_write_len( unsigned char **p, const unsigned char *start, size_t len ) in mbedtls_asn1_write_len() argument 35 if( *p - start < 1 ) in mbedtls_asn1_write_len() 44 if( *p - start < 2 ) in mbedtls_asn1_write_len() 54 if( *p - start < 3 ) in mbedtls_asn1_write_len() 65 if( *p - start < 4 ) in mbedtls_asn1_write_len() 81 if( *p - start < 5 ) in mbedtls_asn1_write_len() 95 int mbedtls_asn1_write_tag( unsigned char **p, const unsigned char *start, unsigned char tag ) in mbedtls_asn1_write_tag() argument 97 if( *p - start < 1 ) in mbedtls_asn1_write_tag() 105 int mbedtls_asn1_write_raw_buffer( unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_raw_buffer() argument 110 if( *p < start || (size_t)( *p - start ) < size ) in mbedtls_asn1_write_raw_buffer() [all …]
|
/external/python/cpython3/Objects/ |
D | sliceobject.c | 114 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument 119 if (start == NULL) { in PySlice_New() 120 start = Py_None; in PySlice_New() 142 Py_INCREF(start); in PySlice_New() 143 obj->start = start; in PySlice_New() 154 PyObject *start, *end, *slice; in _PySlice_FromIndices() local 155 start = PyLong_FromSsize_t(istart); in _PySlice_FromIndices() 156 if (!start) in _PySlice_FromIndices() 160 Py_DECREF(start); in _PySlice_FromIndices() 164 slice = PySlice_New(start, end, NULL); 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/rust/crates/tokio/tests/ |
D | time_interval.rs | 14 ($i:ident, $start:ident, $($delta:expr),*$(,)?) => { 16 assert_ready_eq!(poll_next(&mut $i), $start + ms($delta)); 20 ($i:ident, $start:ident) => { 21 check_interval_poll!($i, $start,); 42 let start = Instant::now(); in burst() localVariable 49 let mut i = task::spawn(time::interval_at(start, ms(300))); in burst() 51 check_interval_poll!(i, start, 0); in burst() 54 check_interval_poll!(i, start); in burst() 57 check_interval_poll!(i, start, 300); in burst() 60 check_interval_poll!(i, start, 600, 900); in burst() [all …]
|
/external/cronet/third_party/icu/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/icu/libicu/cts_headers/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/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/pdfium/core/fxcrt/css/ |
D | cfx_cssvaluelistparser_unittest.cpp | 16 const wchar_t* start; in TEST() local 20 EXPECT_TRUE(parser->NextValue(&type, &start, &len)); in TEST() 22 EXPECT_EQ(L"#abc", WideString(start, len)); in TEST() 23 EXPECT_FALSE(parser->NextValue(&type, &start, &len)); in TEST() 26 EXPECT_TRUE(parser->NextValue(&type, &start, &len)); in TEST() 28 EXPECT_EQ(L"#abcdef", WideString(start, len)); in TEST() 29 EXPECT_FALSE(parser->NextValue(&type, &start, &len)); in TEST() 33 EXPECT_TRUE(parser->NextValue(&type, &start, &len)); in TEST() 35 EXPECT_EQ(L"rgb(1, 255, 4)", WideString(start, len)); in TEST() 38 EXPECT_TRUE(parser->NextValue(&type, &start, &len)); in TEST() [all …]
|
/external/skia/tests/ |
D | RRectInPathTest.cpp | 28 SkPathDirection* dir, unsigned* start) { in path_contains_rrect() argument 30 REPORTER_ASSERT(reporter, SkPathPriv::IsRRect(path, &out, dir, start)); in path_contains_rrect() 32 recreatedPath.addRRect(out, *dir, *start); in path_contains_rrect() 57 SkPathDirection dir, unsigned start) { in inner_path_contains_rrect() argument 67 path.addRRect(in, dir, start); in inner_path_contains_rrect() 71 REPORTER_ASSERT(reporter, outDir == dir && outStart == start); in inner_path_contains_rrect() 76 SkPathDirection dir, unsigned start) { in path_contains_rrect_check() argument 77 SkRRect out = inner_path_contains_rrect(reporter, in, dir, start); in path_contains_rrect_check() 85 SkPathDirection dir, unsigned start) { in path_contains_rrect_nocheck() argument 86 SkRRect out = inner_path_contains_rrect(reporter, in, dir, start); in path_contains_rrect_nocheck() [all …]
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/ |
D | CharSequenceUtils.java | 49 static int indexOf(final CharSequence cs, final CharSequence searchChar, final int start) { in indexOf() argument 51 return ((String) cs).indexOf(searchChar.toString(), start); in indexOf() 54 return ((StringBuilder) cs).indexOf(searchChar.toString(), start); in indexOf() 57 return ((StringBuffer) cs).indexOf(searchChar.toString(), start); in indexOf() 59 return cs.toString().indexOf(searchChar.toString(), start); in indexOf() 112 static int indexOf(final CharSequence cs, final int searchChar, int start) { in indexOf() argument 114 return ((String) cs).indexOf(searchChar, start); in indexOf() 117 if (start < 0) { in indexOf() 118 start = 0; in indexOf() 121 for (int i = start; i < sz; i++) { in indexOf() [all …]
|
D | CharRange.java | 44 private final char start; field in CharRange 72 private CharRange(char start, char end, final boolean negated) { in CharRange() argument 73 if (start > end) { in CharRange() 74 final char temp = start; in CharRange() 75 start = end; in CharRange() 79 this.start = start; in CharRange() 120 public static CharRange isIn(final char start, final char end) { in isIn() argument 121 return new CharRange(start, end, false); in isIn() 138 public static CharRange isNotIn(final char start, final char end) { in isNotIn() argument 139 return new CharRange(start, end, true); in isNotIn() [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 …]
|