/external/python/cpython2/Lib/json/ |
D | decoder.py | 34 def errmsg(msg, doc, pos, end=None): argument 37 if end is None: 42 endlineno, endcolno = linecol(doc, end) 44 return fmt.format(msg, lineno, colno, endlineno, endcolno, pos, end) 73 def py_scanstring(s, end, encoding=None, strict=True, argument 87 begin = end - 1 89 chunk = _m(s, end) 93 end = chunk.end() 108 raise ValueError(errmsg(msg, s, end)) 113 esc = s[end] [all …]
|
/external/python/cpython3/Lib/json/ |
D | decoder.py | 69 def py_scanstring(s, end, strict=True, argument 81 begin = end - 1 83 chunk = _m(s, end) 86 end = chunk.end() 99 raise JSONDecodeError(msg, s, end) 104 esc = s[end] 114 raise JSONDecodeError(msg, s, end) 115 end += 1 117 uni = _decode_uXXXX(s, end) 118 end += 5 [all …]
|
/external/crosvm/resources/src/ |
D | address_range.rs | 20 pub end: 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() 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() 74 let end = cmp::min(self.end, other.end); in intersect() localVariable [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.formatter/format.formatter.spec/ |
D | formatter.floating_point.pass.cpp | 53 assert(it == fmt.end() - offset); in test() 65 expected.append(buffer.begin(), std::to_chars(buffer.begin(), buffer.end(), arg).ptr); in test() 89 …char* end = std::to_chars(buffer.begin(), buffer.end(), value, std::chars_format::hex, 20'000).ptr; in test_hex_lower_case_precision() local 90 test_termination_condition(STR(".20000a}"), value, std::basic_string<CharT>{buffer.begin(), end}); in test_hex_lower_case_precision() 92 std::size_t size = buffer.end() - end; in test_hex_lower_case_precision() 93 std::fill_n(end, size, '#'); in test_hex_lower_case_precision() 94 …n_condition(STR("#<25000.20000a}"), value, std::basic_string<CharT>{buffer.begin(), buffer.end()}); in test_hex_lower_case_precision() 95 std::rotate(buffer.begin(), buffer.end() - (size / 2), buffer.end()); in test_hex_lower_case_precision() 96 …n_condition(STR("#^25000.20000a}"), value, std::basic_string<CharT>{buffer.begin(), buffer.end()}); in test_hex_lower_case_precision() 97 std::rotate(buffer.begin(), buffer.end() - ((size + 1) / 2), buffer.end()); in test_hex_lower_case_precision() [all …]
|
/external/python/cpython2/PC/VS7.1/ |
D | Uninstal.wse | 23 end 25 Text=Note from Tim: This is a verbatim copy of Wise's Uninstal.wse, altered at the end to write 26 end 29 end 31 end 34 end 36 end 41 end 45 end 49 end [all …]
|
D | python20.wse | 76 end 80 end 82 end 85 end 88 end 91 end 94 end 97 end 100 end 103 end [all …]
|
/external/libcxx/test/std/re/re.traits/ |
D | isctype.pass.cpp | 30 assert( t.isctype('_', t.lookup_classname(s.begin(), s.end()))); in main() 31 assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); in main() 32 assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); in main() 33 assert( t.isctype('5', t.lookup_classname(s.begin(), s.end()))); in main() 34 assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); in main() 35 assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); in main() 36 assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); in main() 39 assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); in main() 40 assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); in main() 41 assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); in main() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/re/re.traits/ |
D | isctype.pass.cpp | 26 assert( t.isctype('_', t.lookup_classname(s.begin(), s.end()))); in main() 27 assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); in main() 28 assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); in main() 29 assert( t.isctype('5', t.lookup_classname(s.begin(), s.end()))); in main() 30 assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); in main() 31 assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); in main() 32 assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); in main() 35 assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); in main() 36 assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); in main() 37 assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); in main() [all …]
|
/external/harfbuzz_ng/src/ |
D | test-number.cc | 36 const char *end = str + 3; in main() local 39 assert (hb_parse_int (&pp, end, &pv)); in main() 42 assert (end - pp == 0); in main() 43 assert (!*end); in main() 49 const char *end = str + strlen (str); in main() local 52 assert (hb_parse_uint (&pp, end, &pv)); in main() 55 assert (end - pp == 0); in main() 56 assert (!*end); in main() 62 const char *end = str + 3; in main() local 65 assert (hb_parse_uint (&pp, end, &pv, true, 16)); in main() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/diagnostics/ |
D | nodiscard_extensions.verify.cpp | 38 std::adjacent_find(std::begin(arr), std::end(arr)); in test_algorithms() 41 std::adjacent_find(std::begin(arr), std::end(arr), std::greater<int>()); in test_algorithms() 44 std::all_of(std::begin(arr), std::end(arr), P()); in test_algorithms() 47 std::any_of(std::begin(arr), std::end(arr), P()); in test_algorithms() 50 std::binary_search(std::begin(arr), std::end(arr), 1); in test_algorithms() 53 std::binary_search(std::begin(arr), std::end(arr), 1, std::greater<int>()); in test_algorithms() 64 std::count_if(std::begin(arr), std::end(arr), P()); in test_algorithms() 67 std::count(std::begin(arr), std::end(arr), 1); in test_algorithms() 70 std::equal_range(std::begin(arr), std::end(arr), 1); in test_algorithms() 73 std::equal_range(std::begin(arr), std::end(arr), 1, std::greater<int>()); in test_algorithms() [all …]
|
D | nodiscard_extensions.compile.pass.cpp | 39 std::adjacent_find(std::begin(arr), std::end(arr)); in test_algorithms() 40 std::adjacent_find(std::begin(arr), std::end(arr), std::greater<int>()); in test_algorithms() 41 std::all_of(std::begin(arr), std::end(arr), P()); in test_algorithms() 42 std::any_of(std::begin(arr), std::end(arr), P()); in test_algorithms() 43 std::binary_search(std::begin(arr), std::end(arr), 1); in test_algorithms() 44 std::binary_search(std::begin(arr), std::end(arr), 1, std::greater<int>()); in test_algorithms() 49 std::count_if(std::begin(arr), std::end(arr), P()); in test_algorithms() 50 std::count(std::begin(arr), std::end(arr), 1); in test_algorithms() 51 std::equal_range(std::begin(arr), std::end(arr), 1); in test_algorithms() 52 std::equal_range(std::begin(arr), std::end(arr), 1, std::greater<int>()); in test_algorithms() [all …]
|
/external/apache-velocity-engine/velocity-engine-core/src/test/resources/gobbling/ |
D | if.vtl | 1 #if($bogus == "bar")x#end 2 #if($bogus == "bar")x #end 3 #if($bogus == "bar")x#{else}y#end 4 #if($bogus == "bar")x#else y#end 5 #if($bogus == "bar")x #{else}y#end 6 #if($bogus == "bar")x #{else}y #end 7 #if($bogus == "bar")x#elseif($bogus == "foo")y#end 8 #if($bogus == "bar")x#elseif($bogus == "foo")y #end 9 #if($bogus == "bar")x #elseif($bogus == "foo")y#end 10 #if($bogus == "bar")x #elseif($bogus == "foo")y #end [all …]
|
/external/python/pyyaml/examples/yaml-highlight/ |
D | yaml_hl.cfg | 12 stream-end: 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" } 18 block-end: 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" } 23 key: { start: "\e[33m", end: "\e[0;1;30;40m" } [all …]
|
/external/cronet/third_party/abseil-cpp/absl/algorithm/ |
D | algorithm_test.cc | 33 EXPECT_TRUE(absl::equal(v1.begin(), v1.end(), v2.begin(), v2.end())); in TEST() 34 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v3.begin(), v3.end())); in TEST() 35 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v4.begin(), v4.end())); in TEST() 44 EXPECT_TRUE(absl::equal(lst1.begin(), lst1.end(), lst2.begin(), lst2.end())); in TEST() 45 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst3.begin(), lst3.end())); in TEST() 46 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst4.begin(), lst4.end())); in TEST() 59 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), empty1.begin(), empty1.end())); in TEST() 63 EXPECT_FALSE(absl::equal(empty1.begin(), empty1.end(), v1.begin(), v1.end())); in TEST() 65 absl::equal(empty1.begin(), empty1.end(), empty2.begin(), empty2.end())); in TEST() 70 std::list<int> lst1{v1.begin(), v1.end()}; in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/algorithm/ |
D | algorithm_test.cc | 33 EXPECT_TRUE(absl::equal(v1.begin(), v1.end(), v2.begin(), v2.end())); in TEST() 34 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v3.begin(), v3.end())); in TEST() 35 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v4.begin(), v4.end())); in TEST() 44 EXPECT_TRUE(absl::equal(lst1.begin(), lst1.end(), lst2.begin(), lst2.end())); in TEST() 45 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst3.begin(), lst3.end())); in TEST() 46 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst4.begin(), lst4.end())); in TEST() 59 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), empty1.begin(), empty1.end())); in TEST() 63 EXPECT_FALSE(absl::equal(empty1.begin(), empty1.end(), v1.begin(), v1.end())); in TEST() 65 absl::equal(empty1.begin(), empty1.end(), empty2.begin(), empty2.end())); in TEST() 70 std::list<int> lst1{v1.begin(), v1.end()}; in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/algorithm/ |
D | algorithm_test.cc | 32 EXPECT_TRUE(absl::equal(v1.begin(), v1.end(), v2.begin(), v2.end())); in TEST() 33 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v3.begin(), v3.end())); in TEST() 34 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v4.begin(), v4.end())); in TEST() 43 EXPECT_TRUE(absl::equal(lst1.begin(), lst1.end(), lst2.begin(), lst2.end())); in TEST() 44 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst3.begin(), lst3.end())); in TEST() 45 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst4.begin(), lst4.end())); in TEST() 53 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), empty1.begin(), empty1.end())); in TEST() 54 EXPECT_FALSE(absl::equal(empty1.begin(), empty1.end(), v1.begin(), v1.end())); in TEST() 56 absl::equal(empty1.begin(), empty1.end(), empty2.begin(), empty2.end())); in TEST() 61 std::list<int> lst1{v1.begin(), v1.end()}; in TEST() [all …]
|
/external/abseil-cpp/absl/algorithm/ |
D | algorithm_test.cc | 33 EXPECT_TRUE(absl::equal(v1.begin(), v1.end(), v2.begin(), v2.end())); in TEST() 34 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v3.begin(), v3.end())); in TEST() 35 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v4.begin(), v4.end())); in TEST() 44 EXPECT_TRUE(absl::equal(lst1.begin(), lst1.end(), lst2.begin(), lst2.end())); in TEST() 45 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst3.begin(), lst3.end())); in TEST() 46 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst4.begin(), lst4.end())); in TEST() 59 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), empty1.begin(), empty1.end())); in TEST() 63 EXPECT_FALSE(absl::equal(empty1.begin(), empty1.end(), v1.begin(), v1.end())); in TEST() 65 absl::equal(empty1.begin(), empty1.end(), empty2.begin(), empty2.end())); in TEST() 70 std::list<int> lst1{v1.begin(), v1.end()}; in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/algorithm/ |
D | algorithm_test.cc | 33 EXPECT_TRUE(absl::equal(v1.begin(), v1.end(), v2.begin(), v2.end())); in TEST() 34 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v3.begin(), v3.end())); in TEST() 35 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v4.begin(), v4.end())); in TEST() 44 EXPECT_TRUE(absl::equal(lst1.begin(), lst1.end(), lst2.begin(), lst2.end())); in TEST() 45 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst3.begin(), lst3.end())); in TEST() 46 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst4.begin(), lst4.end())); in TEST() 59 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), empty1.begin(), empty1.end())); in TEST() 63 EXPECT_FALSE(absl::equal(empty1.begin(), empty1.end(), v1.begin(), v1.end())); in TEST() 65 absl::equal(empty1.begin(), empty1.end(), empty2.begin(), empty2.end())); in TEST() 70 std::list<int> lst1{v1.begin(), v1.end()}; in TEST() [all …]
|
/external/tensorflow/third_party/absl/abseil-cpp/absl/algorithm/ |
D | algorithm_test.cc | 33 EXPECT_TRUE(absl::equal(v1.begin(), v1.end(), v2.begin(), v2.end())); in TEST() 34 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v3.begin(), v3.end())); in TEST() 35 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v4.begin(), v4.end())); in TEST() 44 EXPECT_TRUE(absl::equal(lst1.begin(), lst1.end(), lst2.begin(), lst2.end())); in TEST() 45 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst3.begin(), lst3.end())); in TEST() 46 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst4.begin(), lst4.end())); in TEST() 59 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), empty1.begin(), empty1.end())); in TEST() 63 EXPECT_FALSE(absl::equal(empty1.begin(), empty1.end(), v1.begin(), v1.end())); in TEST() 65 absl::equal(empty1.begin(), empty1.end(), empty2.begin(), empty2.end())); in TEST() 70 std::list<int> lst1{v1.begin(), v1.end()}; in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/algorithm/ |
D | algorithm_test.cc | 32 EXPECT_TRUE(absl::equal(v1.begin(), v1.end(), v2.begin(), v2.end())); in TEST() 33 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v3.begin(), v3.end())); in TEST() 34 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v4.begin(), v4.end())); in TEST() 43 EXPECT_TRUE(absl::equal(lst1.begin(), lst1.end(), lst2.begin(), lst2.end())); in TEST() 44 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst3.begin(), lst3.end())); in TEST() 45 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst4.begin(), lst4.end())); in TEST() 53 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), empty1.begin(), empty1.end())); in TEST() 54 EXPECT_FALSE(absl::equal(empty1.begin(), empty1.end(), v1.begin(), v1.end())); in TEST() 56 absl::equal(empty1.begin(), empty1.end(), empty2.begin(), empty2.end())); in TEST() 61 std::list<int> lst1{v1.begin(), v1.end()}; in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/algorithm/ |
D | algorithm_test.cc | 32 EXPECT_TRUE(absl::equal(v1.begin(), v1.end(), v2.begin(), v2.end())); in TEST() 33 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v3.begin(), v3.end())); in TEST() 34 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v4.begin(), v4.end())); in TEST() 43 EXPECT_TRUE(absl::equal(lst1.begin(), lst1.end(), lst2.begin(), lst2.end())); in TEST() 44 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst3.begin(), lst3.end())); in TEST() 45 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst4.begin(), lst4.end())); in TEST() 53 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), empty1.begin(), empty1.end())); in TEST() 54 EXPECT_FALSE(absl::equal(empty1.begin(), empty1.end(), v1.begin(), v1.end())); in TEST() 56 absl::equal(empty1.begin(), empty1.end(), empty2.begin(), empty2.end())); in TEST() 61 std::list<int> lst1{v1.begin(), v1.end()}; in TEST() [all …]
|
/external/apache-velocity-engine/velocity-engine-core/src/test/resources/templates/ |
D | logical.vm | 16 #end 20 #end 24 #end 28 #end 34 #end 42 #end 46 #end 50 #end 54 #end 62 #end [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | analyze_live_input_test.cpp | 109 EXPECT_TRUE(itr0 == live_inputs.end()); in TEST_F() 110 EXPECT_TRUE(itr1 == live_inputs.end()); in TEST_F() 111 EXPECT_TRUE(itr2 != live_inputs.end()); in TEST_F() 112 EXPECT_TRUE(itr3 == live_inputs.end()); in TEST_F() 113 EXPECT_TRUE(itr4 == live_inputs.end()); in TEST_F() 114 EXPECT_TRUE(itr5 != live_inputs.end()); in TEST_F() 115 EXPECT_TRUE(itr6 == live_inputs.end()); in TEST_F() 227 EXPECT_TRUE(itr0 == live_inputs.end()); in TEST_F() 228 EXPECT_TRUE(itr1 == live_inputs.end()); in TEST_F() 229 EXPECT_TRUE(itr2 != live_inputs.end()); in TEST_F() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/ |
D | analyze_live_input_test.cpp | 108 EXPECT_TRUE(itr0 == live_inputs.end()); in TEST_F() 109 EXPECT_TRUE(itr1 == live_inputs.end()); in TEST_F() 110 EXPECT_TRUE(itr2 != live_inputs.end()); in TEST_F() 111 EXPECT_TRUE(itr3 == live_inputs.end()); in TEST_F() 112 EXPECT_TRUE(itr4 == live_inputs.end()); in TEST_F() 113 EXPECT_TRUE(itr5 != live_inputs.end()); in TEST_F() 114 EXPECT_TRUE(itr6 == live_inputs.end()); in TEST_F() 226 EXPECT_TRUE(itr0 == live_inputs.end()); in TEST_F() 227 EXPECT_TRUE(itr1 == live_inputs.end()); in TEST_F() 228 EXPECT_TRUE(itr2 != live_inputs.end()); in TEST_F() [all …]
|
/external/curl/lib/vtls/ |
D | x509asn1.c | 179 const char *beg, const char *end) 183 const char *beg, const char *end) in getASN1Element() argument 193 if(!beg || !end || beg >= end || !*beg || in getASN1Element() 194 (size_t)(end - beg) > CURL_ASN1_MAX) in getASN1Element() 208 if(beg >= end) in getASN1Element() 219 while(beg < end && *beg) { in getASN1Element() 220 beg = getASN1Element(&lelem, beg, end); in getASN1Element() 224 if(beg >= end) in getASN1Element() 226 elem->end = beg; in getASN1Element() 229 else if((unsigned)b > (size_t)(end - beg)) in getASN1Element() [all …]
|