Home
last modified time | relevance | path

Searched refs:what (Results 1 – 25 of 4308) sorted by relevance

12345678910>>...173

/external/mesa3d/src/gallium/frontends/clover/core/
Derror.hpp61 error(cl_int code, std::string what = "") : in error() argument
62 std::runtime_error(what), code(code) { in error()
75 invalid_build_options_error(const std::string &what = "") : in invalid_build_options_error() argument
76 error(CL_INVALID_BUILD_OPTIONS, what) {} in invalid_build_options_error()
81 build_error(const std::string &what = "") : in build_error() argument
82 error(CL_BUILD_PROGRAM_FAILURE, what) {} in build_error()
91 invalid_object_error(std::string what = "") : in invalid_object_error() argument
92 error(CL_INVALID_COMMAND_QUEUE, what) {} in invalid_object_error()
98 invalid_object_error(std::string what = "") : in invalid_object_error() argument
99 error(CL_INVALID_CONTEXT, what) {} in invalid_object_error()
[all …]
/external/vboot_reference/tests/
Dtpm_bootmode_tests.c63 char what[128]; in BootStateTest() local
83 snprintf(what, sizeof(what), in BootStateTest()
87 kBootStateSHA1Digests[index], what); in BootStateTest()
90 snprintf(what, sizeof(what), in BootStateTest()
93 TEST_PTR_EQ(last_in[1], NULL, what); in BootStateTest()
102 snprintf(what, sizeof(what), in BootStateTest()
106 kBootStateSHA1Digests[index], what); in BootStateTest()
109 snprintf(what, sizeof(what), in BootStateTest()
112 TEST_PTR_EQ(last_in[1], NULL, what); in BootStateTest()
121 snprintf(what, sizeof(what), in BootStateTest()
[all …]
/external/python/cpython3/Lib/test/
Dtest_sndhdr.py19 what = sndhdr.what(filename)
20 self.assertNotEqual(what, None, filename)
21 self.assertSequenceEqual(what, expected)
22 self.assertEqual(what.filetype, expected[0])
23 self.assertEqual(what.framerate, expected[1])
24 self.assertEqual(what.nchannels, expected[2])
25 self.assertEqual(what.nframes, expected[3])
26 self.assertEqual(what.sampwidth, expected[4])
30 what = sndhdr.what(filename)
32 dump = pickle.dumps(what, proto)
[all …]
Dtest_imghdr.py45 self.assertEqual(imghdr.what(filename), expected)
47 self.assertEqual(imghdr.what(stream), expected)
50 self.assertEqual(imghdr.what(None, data), expected)
51 self.assertEqual(imghdr.what(None, bytearray(data)), expected)
57 self.assertEqual(imghdr.what(pathlib.Path(filename)), expected)
65 self.assertEqual(imghdr.what(None, b'eggs'), 'ham')
74 self.assertEqual(imghdr.what(stream), 'png')
79 imghdr.what()
81 imghdr.what(None)
83 imghdr.what(self.testfile, 1)
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DSystemHandlerWrapper.java37 public Message obtainMessage(int what) { in obtainMessage() argument
38 return handler.obtainMessage(what); in obtainMessage()
42 public Message obtainMessage(int what, @Nullable Object obj) { in obtainMessage() argument
43 return handler.obtainMessage(what, obj); in obtainMessage()
47 public Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage() argument
48 return handler.obtainMessage(what, arg1, arg2); in obtainMessage()
52 public Message obtainMessage(int what, int arg1, int arg2, @Nullable Object obj) { in obtainMessage() argument
53 return handler.obtainMessage(what, arg1, arg2, obj); in obtainMessage()
57 public boolean sendEmptyMessage(int what) { in sendEmptyMessage() argument
58 return handler.sendEmptyMessage(what); in sendEmptyMessage()
[all …]
DHandlerWrapper.java33 Message obtainMessage(int what); in obtainMessage() argument
36 Message obtainMessage(int what, @Nullable Object obj); in obtainMessage() argument
39 Message obtainMessage(int what, int arg1, int arg2); in obtainMessage() argument
42 Message obtainMessage(int what, int arg1, int arg2, @Nullable Object obj); in obtainMessage() argument
45 boolean sendEmptyMessage(int what); in sendEmptyMessage() argument
48 boolean sendEmptyMessageAtTime(int what, long uptimeMs); in sendEmptyMessageAtTime() argument
51 void removeMessages(int what); in removeMessages() argument
/external/python/cpython2/Lib/test/
Dtest_imghdr.py41 self.assertEqual(imghdr.what(filename), expected)
43 self.assertEqual(imghdr.what(ufilename), expected)
45 self.assertEqual(imghdr.what(stream), expected)
48 self.assertEqual(imghdr.what(None, data), expected)
56 self.assertEqual(imghdr.what(None, b'eggs'), 'ham')
65 self.assertEqual(imghdr.what(stream), 'png')
70 imghdr.what()
72 imghdr.what(None)
74 imghdr.what(self.testfile, 1)
77 imghdr.what(f.fileno())
[all …]
/external/libcxx/test/std/re/re.badexp/
Dregex_error.pass.cpp30 … assert(e.what() == std::string("The expression contained an invalid collating element name.")); in main()
35 … assert(e.what() == std::string("The expression contained an invalid character class name.")); in main()
40 … assert(e.what() == std::string("The expression contained an invalid escaped character, or a " in main()
46 assert(e.what() == std::string("The expression contained an invalid back reference.")); in main()
51 assert(e.what() == std::string("The expression contained mismatched [ and ].")); in main()
56 assert(e.what() == std::string("The expression contained mismatched ( and ).")); in main()
61 assert(e.what() == std::string("The expression contained mismatched { and }.")); in main()
66 … assert(e.what() == std::string("The expression contained an invalid range in a {} expression.")); in main()
71 assert(e.what() == std::string("The expression contained an invalid character range, " in main()
77 … assert(e.what() == std::string("There was insufficient memory to convert the expression into " in main()
[all …]
/external/llvm-project/libcxx/test/std/re/re.badexp/
Dregex_error.pass.cpp29 … assert(e.what() == std::string("The expression contained an invalid collating element name.")); in main()
34 … assert(e.what() == std::string("The expression contained an invalid character class name.")); in main()
39 … assert(e.what() == std::string("The expression contained an invalid escaped character, or a " in main()
45 assert(e.what() == std::string("The expression contained an invalid back reference.")); in main()
50 assert(e.what() == std::string("The expression contained mismatched [ and ].")); in main()
55 assert(e.what() == std::string("The expression contained mismatched ( and ).")); in main()
60 assert(e.what() == std::string("The expression contained mismatched { and }.")); in main()
65 … assert(e.what() == std::string("The expression contained an invalid range in a {} expression.")); in main()
70 assert(e.what() == std::string("The expression contained an invalid character range, " in main()
76 … assert(e.what() == std::string("There was insufficient memory to convert the expression into " in main()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMessageTest.java62 m.what = 24; in testCopyFrom()
71 assertThat(m2.what).isEqualTo(m.what); in testCopyFrom()
93 int what = 10; in testObtainWithHandlerAndWhat() local
94 Message m = Message.obtain(h, what); in testObtainWithHandlerAndWhat()
97 assertThat(m.what).isEqualTo(what); in testObtainWithHandlerAndWhat()
104 int what = 10; in testObtainWithHandlerWhatAndObject() local
106 Message m = Message.obtain(h, what, obj); in testObtainWithHandlerWhatAndObject()
109 assertThat(m.what).isEqualTo(what); in testObtainWithHandlerWhatAndObject()
117 int what = 2; in testObtainWithHandlerWhatAndTwoArgs() local
120 Message m = Message.obtain(h, what, arg1, arg2); in testObtainWithHandlerWhatAndTwoArgs()
[all …]
/external/clang/test/SemaObjC/
Ddefault-synthesize-1.m12 @property (retain) NSString* what; // expected-warning {{auto property synthesis is synthesizing pr… property
16 //@synthesize howMany, what;
22 @property (nonatomic, retain) NSString* what; // expected-warning {{auto property synthesis is syn… property
26 //@synthesize howMany, what;
33 - (NSString*) what { method
42 @property (nonatomic, retain) NSString* what; // expected-warning {{auto property synthesis is synt… property
46 //@synthesize howMany, what;
53 // - (NSString*) what
65 @property (retain) NSString* what; property
69 //@synthesize howMany, what; // REM: Redundant anyway
[all …]
Ddefault-synthesize.m9 @property (retain) NSString* what; property
14 @synthesize howMany, what;
21 @property (nonatomic, retain) NSString* what; property
26 @synthesize howMany, what;
34 - (NSString*) what { method in objc_default_synthesize_properties
35 return self.what;
43 @property (nonatomic, retain) NSString* what; property
48 @synthesize howMany, what;
56 // - (NSString*) what
58 if (self.what != value) {
[all …]
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeClock.java190 public Message obtainMessage(int what) { in obtainMessage() argument
191 return handler.obtainMessage(what); in obtainMessage()
195 public Message obtainMessage(int what, @Nullable Object obj) { in obtainMessage() argument
196 return handler.obtainMessage(what, obj); in obtainMessage()
200 public Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage() argument
201 return handler.obtainMessage(what, arg1, arg2); in obtainMessage()
205 public Message obtainMessage(int what, int arg1, int arg2, @Nullable Object obj) { in obtainMessage() argument
206 return handler.obtainMessage(what, arg1, arg2, obj); in obtainMessage()
210 public boolean sendEmptyMessage(int what) { in sendEmptyMessage() argument
211 return handler.sendEmptyMessage(what); in sendEmptyMessage()
[all …]
/external/toybox/toys/posix/
Dfile.c286 char *what; in do_regular_file() local
290 if (s[4] == 7) what = (bit==32)?"x86":"x86-"; in do_regular_file()
291 else if (s[4] == 12) what = "arm"; in do_regular_file()
292 else if (s[4] == 18) what = "ppc"; in do_regular_file()
293 else what = NULL; in do_regular_file()
294 if (what) xprintf("%s%s ", what, (bit==32)?"":"64"); in do_regular_file()
297 if (s[12] == 1) what = "object"; in do_regular_file()
298 else if (s[12] == 2) what = "executable"; in do_regular_file()
299 else if (s[12] == 6) what = "shared library"; in do_regular_file()
300 else what = NULL; in do_regular_file()
[all …]
/external/llvm-project/clang/test/SemaObjC/
Ddefault-synthesize-1.m12 @property (retain) NSString* what; // expected-warning {{auto property synthesis is synthesizing pr… property
16 //@synthesize howMany, what;
22 @property (nonatomic, retain) NSString* what; // expected-warning {{auto property synthesis is syn… property
26 //@synthesize howMany, what;
33 - (NSString*) what { method
42 @property (nonatomic, retain) NSString* what; // expected-warning {{auto property synthesis is synt… property
46 //@synthesize howMany, what;
53 // - (NSString*) what
65 @property (retain) NSString* what; property
69 //@synthesize howMany, what; // REM: Redundant anyway
[all …]
Ddefault-synthesize.m9 @property (retain) NSString* what; property
14 @synthesize howMany, what;
21 @property (nonatomic, retain) NSString* what; property
26 @synthesize howMany, what;
34 - (NSString*) what { method in objc_default_synthesize_properties
35 return self.what;
43 @property (nonatomic, retain) NSString* what; property
48 @synthesize howMany, what;
56 // - (NSString*) what
58 if (self.what != value) {
[all …]
/external/curl/tests/libtest/
Dlib586.c42 const char *what; in my_lock() local
50 what = "share"; in my_lock()
53 what = "dns"; in my_lock()
56 what = "cookie"; in my_lock()
59 what = "ssl_session"; in my_lock()
65 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in my_lock()
72 const char *what; in my_unlock() local
77 what = "share"; in my_unlock()
80 what = "dns"; in my_unlock()
83 what = "cookie"; in my_unlock()
[all …]
Dtest1013.pl31 my $what=$ARGV[2];
35 open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
38 $curl_protocols = lc($_) if ( /$what:/i );
52 open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config $what list\n";
68 print "Mismatch in $what lists:\n";
/external/python/pybind11/tests/
Dtest_exceptions.cpp16 const char * what() const noexcept override {return message.c_str();} in what() function in MyException
25 const char * what() const noexcept override {return message.c_str();} in what() function in MyException2
34 virtual const char * what() const noexcept {return message.c_str();} in what() function in MyException3
51 const char * what() const noexcept override {return message.c_str();} in what() function in MyException4
60 explicit MyException5(const std::string &what) : std::logic_error(what) {} in MyException5() argument
106 ex(e.what()); in TEST_SUBMODULE()
118 PyErr_SetString(PyExc_RuntimeError, e.what()); in TEST_SUBMODULE()
129 throw MyException(e.what()); in TEST_SUBMODULE()
188 if ((err && e.what() != std::string("ValueError: foo")) || in TEST_SUBMODULE()
189 (!err && e.what() != std::string("Unknown internal error occurred"))) in TEST_SUBMODULE()
[all …]
/external/curl/lib/
Dparsedate.c212 const char * const *what; in checkday() local
215 what = &weekday[0]; in checkday()
217 what = &Curl_wkday[0]; in checkday()
219 if(strcasecompare(check, what[0])) { in checkday()
223 what++; in checkday()
231 const char * const *what; in checkmonth() local
234 what = &Curl_month[0]; in checkmonth()
236 if(strcasecompare(check, what[0])) { in checkmonth()
240 what++; in checkmonth()
251 const struct tzinfo *what; in checktz() local
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Dblocking_observable.cpp21 printf("Exception: %s\n", ex.what());
34 printf("Exception: %s\n", ex.what());
54 printf("Exception: %s\n", ex.what());
68 printf("Exception: %s\n", ex.what());
90 printf("Exception: %s\n", ex.what());
110 printf("Exception: %s\n", ex.what());
124 printf("Exception: %s\n", ex.what());
144 printf("Exception: %s\n", ex.what());
158 printf("Exception: %s\n", ex.what());
178 printf("Exception: %s\n", ex.what());
[all …]
/external/openssh/regress/
Dmodpipe.c45 enum { MOD_XOR, MOD_AND_OR } what; member
53 char what[16+1]; in parse_modification() local
58 what, &m->offset, &m1, &m2)) < 3) in parse_modification()
60 if (strcasecmp(what, "xor") == 0) { in parse_modification()
65 m->what = MOD_XOR; in parse_modification()
67 } else if (strcasecmp(what, "andor") == 0) { in parse_modification()
74 m->what = MOD_AND_OR; in parse_modification()
78 errx(1, "Invalid modification type \"%s\"", what); in parse_modification()
119 switch (mods[i].what) { in main()
/external/autotest/cli/
Daction_common.py206 def _add_remove_uh_to_topic(self, item, what): argument
208 uhs = getattr(self, what)
212 op = '%s_%s_%s' % (self.topic, self.op_action, what)
215 **{'id': item, what: uhs}) # The data
216 setattr(self, 'good_%s' % what, uhs)
222 **{'id': item, what: good_uhs})
223 setattr(self, 'good_%s' % what, good_uhs)
250 for what in plurals:
252 self._add_remove_uh_to_topic(item, what)
260 oks.setdefault(item, []).append(what)
[all …]
/external/llvm-project/clang/test/SemaCXX/
D__try.cpp19 Exception(const char* s = "Unknown"){what = strdup(s); } in Exception()
20 Exception(const Exception& e ){what = strdup(e.what); } in Exception()
21 ~Exception() {free(what); } in ~Exception()
22 const char* msg() const {return what; } in msg()
24 const char* what; member in Exception
/external/clang/test/SemaCXX/
D__try.cpp19 Exception(const char* s = "Unknown"){what = strdup(s); } in Exception()
20 Exception(const Exception& e ){what = strdup(e.what); } in Exception()
21 ~Exception() {free(what); } in ~Exception()
22 const char* msg() const {return what; } in msg()
24 const char* what; member in Exception

12345678910>>...173