Home
last modified time | relevance | path

Searched refs:thing (Results 1 – 25 of 786) sorted by relevance

12345678910>>...32

/external/tensorflow/tensorflow/stream_executor/lib/
Dstatusor_test.cc99 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/protobuf/src/google/protobuf/stubs/
Dstatusor_test.cc72 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/pdfium/core/fxcrt/
Dweak_ptr_unittest.cpp56 PseudoDeletable thing; in TEST() local
57 EXPECT_EQ(0, thing.delete_count()); in TEST()
59 UniqueTestPtr unique(&thing); in TEST()
62 EXPECT_EQ(&thing, ptr1.Get()); in TEST()
71 EXPECT_EQ(&thing, ptr3.Get()); in TEST()
76 EXPECT_EQ(&thing, ptr4.Get()); in TEST()
79 EXPECT_EQ(0, thing.delete_count()); in TEST()
81 EXPECT_EQ(1, thing.delete_count()); in TEST()
85 PseudoDeletable thing; in TEST() local
87 UniqueTestPtr unique(&thing); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/X86/
Dmacho-reloc-errors-x86_64.s3 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/
Dmacho-reloc-errors-x86_64.s3 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/
Ddebug.js75 jspb.debug.dump_ = function(thing) { argument
76 var type = goog.typeOf(thing);
79 return thing;
82 goog.asserts.assertArray(thing);
83 return goog.array.map(thing, jspb.debug.dump_);
85 var message = thing; // Copy because we don't want type inference on thing.
87 'Only messages expected: ' + thing);
97 var val = thing[name]();
103 if (COMPILED && thing['extensionObject_']) {
113 var extVal = thing.getExtension(ext);
/external/clang/test/SemaTemplate/
Dalias-templates.cpp26 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/grpc-grpc/tools/buildgen/plugins/
Dexpand_filegroups.py107 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/
Dcontextlib.py149 def __init__(self, thing): argument
150 self.thing = thing
152 return self.thing
154 self.thing.close()
Dpydoc.py1484 def describe(thing): argument
1486 if inspect.ismodule(thing):
1487 if thing.__name__ in sys.builtin_module_names:
1488 return 'built-in module ' + thing.__name__
1489 if hasattr(thing, '__path__'):
1490 return 'package ' + thing.__name__
1492 return 'module ' + thing.__name__
1493 if inspect.isbuiltin(thing):
1494 return 'built-in function ' + thing.__name__
1495 if inspect.isgetsetdescriptor(thing):
[all …]
/external/clang/test/Analysis/
Dregion-store.c10 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
DCommentsInserter.java135 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/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue112/
DParameterisedTypeLoadingTestCase.java55 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/
Dbasic.rb55 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
/external/autotest/cli/
Daction_common.py261 for thing in self.add_remove_things:
262 things_ok = [item for item, what in oks.items() if thing in what]
263 results[thing] = things_ok
269 for thing, single_thing in self.add_remove_things.iteritems():
271 things_ok = ["'%s'" % t for t in results[thing]]
277 getattr(self, 'good_%s' % thing))
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DCommentsInserter.java126 for (Node thing : childrenAndComments) { in insertComments()
127 if (thing instanceof Comment) { in insertComments()
128 previousComment = (Comment) thing; in insertComments()
133 if (previousComment != null && !thing.getComment().isPresent()) { in insertComments()
135 || !thereAreLinesBetween(previousComment, thing)) { in insertComments()
136 thing.setComment(previousComment); in insertComments()
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
DNonComponentDependencyComponent.java30 Thing thing, in ThingTwo() argument
37 Thing thing(); in thing() method
43 public Thing thing() { in thing() method in NonComponentDependencyComponent.ThingComponentImpl
/external/fonttools/Lib/fontTools/misc/
DclassifyTools.py42 for thing in difference:
43 mapping[thing] = difference
59 for thing in old_class_intersection:
60 mapping[thing] = old_class_intersection
/external/clang/test/CXX/class/class.friend/
Dp1.cpp75 friend int Unknown::thing(); // expected-error {{use of undeclared identifier}}
76 friend int friendfunc(), Unknown::thing(); // expected-error {{use of undeclared identifier}}
77 friend int friendfunc(), Unknown::thing() : 4; // expected-error {{use of undeclared identifier}}
/external/bcc/tools/lib/
Duobjnew.py136 for thing in ["string", "hash", "array"]:
137 program += create_template.replace("THETHING", thing)
138 usdt.enable_probe_or_bail("%s__create" % thing,
139 "%s_alloc_entry" % thing)
/external/python/cpython3/Lib/
Dpydoc.py1576 def describe(thing): argument
1578 if inspect.ismodule(thing):
1579 if thing.__name__ in sys.builtin_module_names:
1580 return 'built-in module ' + thing.__name__
1581 if hasattr(thing, '__path__'):
1582 return 'package ' + thing.__name__
1584 return 'module ' + thing.__name__
1585 if inspect.isbuiltin(thing):
1586 return 'built-in function ' + thing.__name__
1587 if inspect.isgetsetdescriptor(thing):
[all …]
/external/curl/tests/
Druntests.pl3045 my ($thing) = @_;
3049 $$thing =~ s/%FTP6PORT/$FTP6PORT/g;
3050 $$thing =~ s/%FTP2PORT/$FTP2PORT/g;
3051 $$thing =~ s/%FTPSPORT/$FTPSPORT/g;
3052 $$thing =~ s/%FTPPORT/$FTPPORT/g;
3054 $$thing =~ s/%GOPHER6PORT/$GOPHER6PORT/g;
3055 $$thing =~ s/%GOPHERPORT/$GOPHERPORT/g;
3057 $$thing =~ s/%HTTPTLS6PORT/$HTTPTLS6PORT/g;
3058 $$thing =~ s/%HTTPTLSPORT/$HTTPTLSPORT/g;
3059 $$thing =~ s/%HTTP6PORT/$HTTP6PORT/g;
[all …]
/external/clang/test/Parser/
DMicrosoftExtensions.cpp128 struct thing { struct
132 struct inher : public thing<empty, uuid2> {};
136 const struct _GUID *x = &__uuidof(thing<uuid, inher>);
137 const struct _GUID *y = &__uuidof(thing<uuid2, uuid>); // expected-error{{cannot call operator __uu…
138 thing<uuid2, uuid> thing_obj = thing<uuid2, uuid>();
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/
DJavaParser.java407 for (Node thing : childrenAndComments){ in insertCommentsInNode()
408 if (thing instanceof Comment){ in insertCommentsInNode()
409 previousComment = (Comment)thing; in insertCommentsInNode()
415 if (previousComment != null && !thing.hasComment()){ in insertCommentsInNode()
416 … if (!_doNotAssignCommentsPreceedingEmptyLines || !thereAreLinesBetween(previousComment, thing)) { in insertCommentsInNode()
417 thing.setComment(previousComment); in insertCommentsInNode()
/external/chromium-trace/catapult/devil/devil/utils/
Dparallelizer_test.py30 def __init__(self, thing, completion_file_name=None): argument
31 self._thing = thing
33 self.helper = ParallelizerTestObjectHelper(thing)
73 def __init__(self, thing): argument
74 self._thing = thing

12345678910>>...32