/external/protobuf/src/google/protobuf/stubs/ |
D | statusor_test.cc | 72 StatusOr<int> thing; in TEST() local 73 EXPECT_FALSE(thing.ok()); in TEST() 74 EXPECT_EQ(Status::UNKNOWN, thing.status()); in TEST() 78 StatusOr<int> thing(Status::CANCELLED); in TEST() local 79 EXPECT_FALSE(thing.ok()); in TEST() 80 EXPECT_EQ(Status::CANCELLED, thing.status()); in TEST() 85 StatusOr<int> thing(kI); in TEST() local 86 EXPECT_TRUE(thing.ok()); in TEST() 87 EXPECT_EQ(kI, thing.ValueOrDie()); in TEST() 160 StatusOr<int> thing(kI); in TEST() local [all …]
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | statusor_test.cc | 99 StatusOr<std::unique_ptr<int>> thing(ReturnUniquePtr()); in TEST() local 100 ASSERT_TRUE(thing.ok()); in TEST() 101 EXPECT_EQ(0, *thing.ValueOrDie()); in TEST() 102 int* previous = thing.ValueOrDie().get(); in TEST() 104 thing = ReturnUniquePtr(); in TEST() 105 EXPECT_TRUE(thing.ok()); in TEST() 106 EXPECT_EQ(0, *thing.ValueOrDie()); in TEST() 107 EXPECT_NE(previous, thing.ValueOrDie().get()); in TEST() 111 StatusOr<std::unique_ptr<int>> thing(tensorflow::errors::Cancelled("")); in TEST() local 112 ASSERT_FALSE(thing.ok()); in TEST() [all …]
|
/external/llvm-project/llvm/test/MC/X86/ |
D | macho-reloc-errors-x86_64.s | 3 mov %rax, thing 4 mov %rax, thing@GOT-thing2@GOT 5 mov %rax, (thing-thing2)(%rip) 6 mov %rax, thing-thing 7 mov %rax, thing-thing2 8 mov %rax, thing@PLT 9 jmp thing@PLT 10 mov %rax, thing@TLVP
|
/external/llvm/test/MC/X86/ |
D | macho-reloc-errors-x86_64.s | 3 mov %rax, thing 4 mov %rax, thing@GOT-thing2@GOT 5 mov %rax, (thing-thing2)(%rip) 6 mov %rax, thing-thing 7 mov %rax, thing-thing2 8 mov %rax, thing@PLT 9 jmp thing@PLT 10 mov %rax, thing@TLVP
|
/external/protobuf/js/ |
D | debug.js | 76 jspb.debug.dump_ = function(thing) { argument 77 var type = goog.typeOf(thing); 78 var message = thing; // Copy because we don't want type inference on thing. 81 return thing; 86 return thing; 91 goog.asserts.assertArray(thing); 92 return goog.array.map(thing, jspb.debug.dump_); 105 'Only messages expected: ' + thing); 116 if (!thing[has] || thing[has]()) { 117 var val = thing[name](); [all …]
|
/external/pdfium/core/fxcrt/ |
D | weak_ptr_unittest.cpp | 55 PseudoDeletable thing; in TEST() local 56 EXPECT_EQ(0, thing.delete_count()); in TEST() 58 UniqueTestPtr unique(&thing); in TEST() 61 EXPECT_EQ(&thing, ptr1.Get()); in TEST() 70 EXPECT_EQ(&thing, ptr3.Get()); in TEST() 75 EXPECT_EQ(&thing, ptr4.Get()); in TEST() 78 EXPECT_EQ(0, thing.delete_count()); in TEST() 80 EXPECT_EQ(1, thing.delete_count()); in TEST() 84 PseudoDeletable thing; in TEST() local 86 UniqueTestPtr unique(&thing); in TEST() [all …]
|
/external/clang/test/SemaTemplate/ |
D | alias-templates.cpp | 26 typedef T thing; typedef 27 typedef decltype(val(make<thing>())) inner_ptr; 29 template<typename U> using rebind_thing = typename thing::template rebind<U>; 41 template<typename T> struct thing { struct 44 typedef traits<thing<inner>> traits_type; 46 template<typename U> using rebind = thing<U>; 48 thing(traits_type &traits) : traits(traits), val(traits.alloc()) {} in thing() function 49 ~thing() { traits.free(static_cast<inner_ptr&&>(val)); } in ~thing() 54 friend inner_ptr val(const thing &t) { return t.val; } in val() 60 template<> bool &traits<thing<bool>>::alloc() { static bool b; return b; } in alloc() [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/builder/ |
D | BuilderInfiniteLoop1978Test.java | 22 public Builder withThing(SubBean thing) { in withThing() argument 23 this.temp = thing; in withThing() 39 SubBean thing; field in BuilderInfiniteLoop1978Test.Bean 46 return thing; in getThing() 49 public void setThing( SubBean thing ) { in setThing() argument 50 this.thing = thing; in setThing()
|
/external/llvm-project/clang/test/SemaTemplate/ |
D | alias-templates.cpp | 26 typedef T thing; typedef 27 typedef decltype(val(make<thing>())) inner_ptr; 29 template<typename U> using rebind_thing = typename thing::template rebind<U>; 41 template<typename T> struct thing { struct 44 typedef traits<thing<inner>> traits_type; 46 template<typename U> using rebind = thing<U>; 48 thing(traits_type &traits) : traits(traits), val(traits.alloc()) {} in thing() function 49 ~thing() { traits.free(static_cast<inner_ptr&&>(val)); } in ~thing() 54 friend inner_ptr val(const thing &t) { return t.val; } in val() 60 template<> bool &traits<thing<bool>>::alloc() { static bool b; return b; } in alloc() [all …]
|
/external/llvm-project/debuginfo-tests/llgdb-tests/ |
D | foreach.m | 10 // DEBUGGER: po thing 19 for (NSString *thing in things) { 20 NSLog (@"%@", thing); 24 for (NSString *thing in things) { 25 NSLog (@"%@", thing);
|
/external/grpc-grpc/tools/buildgen/plugins/ |
D | expand_filegroups.py | 107 for thing in dictionary['libs'] + dictionary['targets'] + dictionary['filegroups']: 108 things[thing['name']] = thing 109 thing['used_by'] = [] 111 for thing in things.itervalues(): 113 todo = thing_deps(thing) 118 things[cur]['used_by'].append(thing['name'])
|
/external/python/cpython2/Lib/ |
D | contextlib.py | 149 def __init__(self, thing): argument 150 self.thing = thing 152 return self.thing 154 self.thing.close()
|
/external/rust/crates/grpcio-sys/grpc/tools/buildgen/plugins/ |
D | expand_filegroups.py | 110 for thing in dictionary['libs'] + dictionary['targets'] + dictionary[ 112 things[thing['name']] = thing 113 thing['used_by'] = [] 116 for thing in things.values(): 118 todo = thing_deps(thing) 123 things[cur]['used_by'].append(thing['name'])
|
/external/llvm-project/flang/lib/Semantics/ |
D | check-do-forall.cpp | 72 return bounds.name.thing; in GetDoVariable() 294 .v.thing.component}; in Post() 483 const parser::CharBlock &sourceLocation{scalarName.thing.source}; in CheckDoVariable() 484 if (const Symbol * symbol{scalarName.thing.symbol}) { in CheckDoVariable() 507 const parser::CharBlock &loc{scalarExpression.thing.value().source}; in CheckDoExpression() 523 context_.Say(bounds.step->thing.value().source, in CheckDoNormal() 588 SymbolSet references{GatherSymbolsFromExpression(mask.thing.thing.value())}; in CheckMaskIsPure() 613 CheckNoCollisions(GatherSymbolsFromExpression(expr.thing.thing.value()), in HasNoReferences() 616 expr.thing.thing.value().source); in HasNoReferences() 622 CheckNoCollisions(GatherSymbolsFromExpression(mask.thing.thing.value()), in CheckMaskDoesNotReferenceLocal() [all …]
|
/external/llvm-project/clang/test/Analysis/ |
D | region-store.c | 10 int thing = (int []){0, 1}[index]; in compoundLiteralTest() 11 printf("thing: %i\n", thing); in compoundLiteralTest() 19 int thing = (int [][3]){{0,0,0}, {1,1,1}, {2,2,2}}[index][index]; in compoundLiteralTest2() 20 printf("thing: %i\n", thing); in compoundLiteralTest2()
|
/external/clang/test/Analysis/ |
D | region-store.c | 10 int thing = (int []){0, 1}[index]; in compoundLiteralTest() 11 printf("thing: %i\n", thing); in compoundLiteralTest() 19 int thing = (int [][3]){{0,0,0}, {1,1,1}, {2,2,2}}[index][index]; in compoundLiteralTest2() 20 printf("thing: %i\n", thing); in compoundLiteralTest2()
|
/external/libtextclassifier/abseil-cpp/absl/status/ |
D | statusor_test.cc | 231 absl::StatusOr<std::unique_ptr<int>> thing(ReturnUniquePtr()); in TEST() local 232 ASSERT_TRUE(thing.ok()); in TEST() 233 EXPECT_EQ(0, **thing); in TEST() 234 int* previous = thing->get(); in TEST() 236 thing = ReturnUniquePtr(); in TEST() 237 EXPECT_TRUE(thing.ok()); in TEST() 238 EXPECT_EQ(0, **thing); in TEST() 239 EXPECT_NE(previous, thing->get()); in TEST() 243 absl::StatusOr<std::unique_ptr<int>> thing(ReturnUniquePtr()); in TEST() local 244 ASSERT_TRUE(thing.ok()); in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/status/ |
D | statusor_test.cc | 231 absl::StatusOr<std::unique_ptr<int>> thing(ReturnUniquePtr()); in TEST() local 232 ASSERT_TRUE(thing.ok()); in TEST() 233 EXPECT_EQ(0, **thing); in TEST() 234 int* previous = thing->get(); in TEST() 236 thing = ReturnUniquePtr(); in TEST() 237 EXPECT_TRUE(thing.ok()); in TEST() 238 EXPECT_EQ(0, **thing); in TEST() 239 EXPECT_NE(previous, thing->get()); in TEST() 243 absl::StatusOr<std::unique_ptr<int>> thing(ReturnUniquePtr()); in TEST() local 244 ASSERT_TRUE(thing.ok()); in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/ |
D | statusor_test.cc | 231 absl::StatusOr<std::unique_ptr<int>> thing(ReturnUniquePtr()); in TEST() local 232 ASSERT_TRUE(thing.ok()); in TEST() 233 EXPECT_EQ(0, **thing); in TEST() 234 int* previous = thing->get(); in TEST() 236 thing = ReturnUniquePtr(); in TEST() 237 EXPECT_TRUE(thing.ok()); in TEST() 238 EXPECT_EQ(0, **thing); in TEST() 239 EXPECT_NE(previous, thing->get()); in TEST() 243 absl::StatusOr<std::unique_ptr<int>> thing(ReturnUniquePtr()); in TEST() local 244 ASSERT_TRUE(thing.ok()); in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/status/ |
D | statusor_test.cc | 231 absl::StatusOr<std::unique_ptr<int>> thing(ReturnUniquePtr()); in TEST() local 232 ASSERT_TRUE(thing.ok()); in TEST() 233 EXPECT_EQ(0, **thing); in TEST() 234 int* previous = thing->get(); in TEST() 236 thing = ReturnUniquePtr(); in TEST() 237 EXPECT_TRUE(thing.ok()); in TEST() 238 EXPECT_EQ(0, **thing); in TEST() 239 EXPECT_NE(previous, thing->get()); in TEST() 243 absl::StatusOr<std::unique_ptr<int>> thing(ReturnUniquePtr()); in TEST() local 244 ASSERT_TRUE(thing.ok()); in TEST() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ |
D | CommentsInserter.java | 135 for (Node thing : childrenAndComments) { in insertComments() 136 if (thing instanceof Comment) { in insertComments() 137 previousComment = (Comment) thing; in insertComments() 142 if (previousComment != null && !thing.hasComment()) { in insertComments() 144 || !thereAreLinesBetween(previousComment, thing)) { in insertComments() 145 thing.setComment(previousComment); in insertComments()
|
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/ |
D | AutoOneOfJava8Test.java | 50 public abstract String thing(); in thing() method in AutoOneOfJava8Test.EqualsNullable 52 public static EqualsNullable ofThing(String thing) { in ofThing() argument 53 return AutoOneOf_AutoOneOfJava8Test_EqualsNullable.thing(thing); in ofThing()
|
/external/python/pybind11/tests/ |
D | conftest.py | 135 def __call__(self, thing): argument 136 self.string = self.sanitizer(thing) 158 def _sanitize_docstring(thing): argument 159 s = thing.__doc__ 170 def _sanitize_message(thing): argument 171 s = str(thing)
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue112/ |
D | ParameterisedTypeLoadingTestCase.java | 55 for (MyClass<? extends Object> thing : obj.getThings()) { in check() 56 assertEquals(MyClass.class, thing.getClass()); in check() 57 assertNotNull("The 'name' property must be set.", thing.getName()); in check() 58 assertEquals(values[i++], thing.getName()); in check()
|
/external/antlr/runtime/Ruby/test/functional/parser/ |
D | basic.rb | 55 parser.reported_errors.should have( 1 ).thing 136 parser.reported_errors.should have( 1 ).thing 146 parser.reported_errors.should have( 1 ).thing 272 parser.reported_errors.should have( 1 ).thing
|