Home
last modified time | relevance | path

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

12345678910>>...130

/external/mesa3d/src/gallium/state_trackers/clover/core/
Derror.hpp56 error(cl_int code, std::string what = "") : in error() argument
57 std::runtime_error(what), code(code) { in error()
70 invalid_build_options_error(const std::string &what = "") : in invalid_build_options_error() argument
71 error(CL_INVALID_BUILD_OPTIONS, what) {} in invalid_build_options_error()
76 build_error(const std::string &what = "") : in build_error() argument
77 error(CL_BUILD_PROGRAM_FAILURE, what) {} in build_error()
86 invalid_object_error(std::string what = "") : in invalid_object_error() argument
87 error(CL_INVALID_COMMAND_QUEUE, what) {} in invalid_object_error()
93 invalid_object_error(std::string what = "") : in invalid_object_error() argument
94 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/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/toybox/toys/posix/
Dfile.c284 char *what; in do_regular_file() local
288 if (s[4] == 7) what = (bit==32)?"x86":"x86-"; in do_regular_file()
289 else if (s[4] == 12) what = "arm"; in do_regular_file()
290 else if (s[4] == 18) what = "ppc"; in do_regular_file()
291 else what = NULL; in do_regular_file()
292 if (what) xprintf("%s%s ", what, (bit==32)?"":"64"); in do_regular_file()
295 if (s[12] == 1) what = "object"; in do_regular_file()
296 else if (s[12] == 2) what = "executable"; in do_regular_file()
297 else if (s[12] == 6) what = "shared library"; in do_regular_file()
298 else what = NULL; in do_regular_file()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMessageTest.java61 m.what = 24; in testCopyFrom()
70 assertThat(m2.what).isEqualTo(m.what); in testCopyFrom()
92 int what = 10; in testObtainWithHandlerAndWhat() local
93 Message m = Message.obtain(h, what); in testObtainWithHandlerAndWhat()
96 assertThat(m.what).isEqualTo(what); in testObtainWithHandlerAndWhat()
103 int what = 10; in testObtainWithHandlerWhatAndObject() local
105 Message m = Message.obtain(h, what, obj); in testObtainWithHandlerWhatAndObject()
108 assertThat(m.what).isEqualTo(what); in testObtainWithHandlerWhatAndObject()
116 int what = 2; in testObtainWithHandlerWhatAndTwoArgs() local
119 Message m = Message.obtain(h, what, arg1, arg2); in testObtainWithHandlerWhatAndTwoArgs()
[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/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.pl10 my $what=$ARGV[2];
14 open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
17 $curl_protocols = lc($_) if ( /$what:/i );
31 open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config $what list\n";
47 print "Mismatch in $what lists:\n";
/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/curl/lib/
Dparsedate.c206 const char * const *what; in checkday() local
209 what = &weekday[0]; in checkday()
211 what = &Curl_wkday[0]; in checkday()
213 if(strcasecompare(check, what[0])) { in checkday()
217 what++; in checkday()
225 const char * const *what; in checkmonth() local
228 what = &Curl_month[0]; in checkmonth()
230 if(strcasecompare(check, what[0])) { in checkmonth()
234 what++; in checkmonth()
245 const struct tzinfo *what; in checktz() local
[all …]
/external/autotest/cli/
Daction_common.py204 def _add_remove_uh_to_topic(self, item, what): argument
206 uhs = getattr(self, what)
210 op = '%s_%s_%s' % (self.topic, self.op_action, what)
213 **{'id': item, what: uhs}) # The data
214 setattr(self, 'good_%s' % what, uhs)
220 **{'id': item, what: good_uhs})
221 setattr(self, 'good_%s' % what, good_uhs)
248 for what in plurals:
250 self._add_remove_uh_to_topic(item, what)
258 oks.setdefault(item, []).append(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/python/cpython2/Lib/hotshot/
Dlog.py98 what, tdelta, fileno, lineno = self._nextitem()
102 if what == WHAT_ENTER:
106 return what, t, tdelta
108 if what == WHAT_EXIT:
110 return what, self._pop(), tdelta
114 if what == WHAT_LINENO:
116 return what, (filename, lineno, funcname), tdelta
118 if what == WHAT_DEFINE_FILE:
121 elif what == WHAT_DEFINE_FUNC:
124 elif what == WHAT_ADD_INFO:
/external/catch2/projects/SelfTest/IntrospectiveTests/
DTagAlias.tests.cpp27 std::string what = ex.what(); variable
29 CHECK_THAT( what, Contains( "[@zzz]" ) );
30 CHECK_THAT( what, Contains( "file" ) );
31 CHECK_THAT( what, Contains( "2" ) );
32 CHECK_THAT( what, Contains( "10" ) );
/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
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dmirror_gre_changes.sh71 local what=$1; shift
88 log_test "$what: TTL change ($tcflags)"
94 local what=$1; shift
107 log_test "$what: tunnel down/up ($tcflags)"
114 local what=$1; shift
131 log_test "$what: egress down/up ($tcflags)"
140 local what=$1; shift
152 log_test "$what: remote address change ($tcflags)"
162 local what=$1; shift
181 log_test "$what: tunnel deleted ($tcflags)"
[all …]
/external/libcxx/test/std/diagnostics/std.exceptions/domain.error/
Ddomain_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
36 assert(e.what() == msg); in main()
38 assert(e2.what() == msg); in main()
40 assert(e2.what() == msg); in main()
/external/libcxx/test/std/diagnostics/std.exceptions/runtime.error/
Druntime_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
36 assert(e.what() == msg); in main()
38 assert(e2.what() == msg); in main()
40 assert(e2.what() == msg); in main()
/external/libcxx/test/std/diagnostics/std.exceptions/logic.error/
Dlogic_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
36 assert(e.what() == msg); in main()
38 assert(e2.what() == msg); in main()
40 assert(e2.what() == msg); in main()
/external/libcxx/test/std/diagnostics/std.exceptions/out.of.range/
Dout_of_range.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
36 assert(e.what() == msg); in main()
38 assert(e2.what() == msg); in main()
40 assert(e2.what() == msg); in main()
/external/libcxx/test/std/diagnostics/std.exceptions/underflow.error/
Dunderflow_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
36 assert(e.what() == msg); in main()
38 assert(e2.what() == msg); in main()
40 assert(e2.what() == msg); in main()

12345678910>>...130