/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | error.hpp | 61 error(cl_int code, std::string what = "") : in error() 62 std::runtime_error(what), code(code) { in error() 75 invalid_build_options_error(const std::string &what = "") : in invalid_build_options_error() 76 error(CL_INVALID_BUILD_OPTIONS, what) {} in invalid_build_options_error() 81 build_error(const std::string &what = "") : in build_error() 82 error(CL_BUILD_PROGRAM_FAILURE, what) {} in build_error() 91 invalid_object_error(std::string what = "") : in invalid_object_error() 92 error(CL_INVALID_COMMAND_QUEUE, what) {} in invalid_object_error() 98 invalid_object_error(std::string what = "") : in invalid_object_error() 99 error(CL_INVALID_CONTEXT, what) {} in invalid_object_error() [all...] |
/third_party/python/Lib/test/ |
H A D | test_imghdr.py | 49 self.assertEqual(imghdr.what(filename), expected) 51 self.assertEqual(imghdr.what(stream), expected) 54 self.assertEqual(imghdr.what(None, data), expected) 55 self.assertEqual(imghdr.what(None, bytearray(data)), expected) 61 self.assertEqual(imghdr.what(pathlib.Path(filename)), expected) 69 self.assertEqual(imghdr.what(None, b'eggs'), 'ham') 78 self.assertEqual(imghdr.what(stream), 'png') 83 imghdr.what() 85 imghdr.what(None) 87 imghdr.what(sel [all...] |
H A D | test_sndhdr.py | 22 what = sndhdr.what(filename) 23 self.assertNotEqual(what, None, filename) 24 self.assertSequenceEqual(what, expected) 25 self.assertEqual(what.filetype, expected[0]) 26 self.assertEqual(what.framerate, expected[1]) 27 self.assertEqual(what.nchannels, expected[2]) 28 self.assertEqual(what.nframes, expected[3]) 29 self.assertEqual(what.sampwidth, expected[4]) 33 what [all...] |
H A D | test_string.py | 209 s = Template('$who likes to eat a bag of $what worth $$100') 210 self.assertEqual(s.substitute(dict(who='tim', what='ham')), 216 s = Template('$who likes ${what} for ${meal}') 217 d = dict(who='tim', what='ham', meal='dinner') 220 dict(who='tim', what='ham')) 234 s = Template('$who likes to eat a bag of $$what worth $$100') 235 eq(s.substitute(dict(who='tim', what='ham')), 236 'tim likes to eat a bag of $what worth $100') 238 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $') 265 s = Template('$who likes ${what} fo [all...] |
/third_party/node/test/parallel/ |
H A D | test-child-process-fork-net-server.js | 39 if (msg.what !== 'server') return; 49 process.send({ what: 'connection' }); 55 process.send({ what: 'listening' }); 64 if (msg.what !== 'close') return; 68 process.send({ what: 'close' }); 75 process.send({ what: 'ready' }); 92 child.send({ what: 'close' }); 116 child.send({ what: 'server' }, server); 126 if (msg.what === 'listening') { 139 } else if (msg.what [all...] |
/third_party/toybox/toys/posix/ |
H A D | file.c | 93 // If what we've seen so far doesn't seem consistent, bail. in do_elf_file() 105 // Stash what we need from the header; it's okay to reuse toybuf after this. in do_elf_file() 292 char *what; in do_regular_file() local 296 if (s[4] == 7) what = (bit==32)?"x86":"x86-"; in do_regular_file() 297 else if (s[4] == 12) what = "arm"; in do_regular_file() 298 else if (s[4] == 18) what = "ppc"; in do_regular_file() 299 else what = NULL; in do_regular_file() 300 if (what) xprintf("%s%s ", what, (bit==32)?"":"64"); in do_regular_file() 303 if (s[12] == 1) what in do_regular_file() 410 char *what = 0; do_regular_file() local 450 char *name = *arg, *what = "unknown"; file_main() local [all...] |
/third_party/gn/src/gn/ |
H A D | desc_builder.cc | 69 // Optionally, if "what" is specified while generating description, two other 121 BaseDescBuilder(const std::set<std::string>& what, in BaseDescBuilder() argument 125 : what_(what), all_(all), tree_(tree), blame_(blame) {} in BaseDescBuilder() 130 bool what(const std::string& w) const { in what() function in __anon2891::BaseDescBuilder 217 if (what(variables::kPrecompiledHeader) && in FillInPrecompiledHeader() 223 if (what(variables::kPrecompiledSource) && in FillInPrecompiledHeader() 238 ConfigDescBuilder(const Config* config, const std::set<std::string>& what) in ConfigDescBuilder() argument 239 : BaseDescBuilder(what, false, false, false), config_(config) {} in ConfigDescBuilder() 251 if (what(variables::kConfigs) && !config_->configs().empty()) { in BuildDescription() 257 if (what(variable in BuildDescription() 318 TargetDescBuilder(const Target* target, const std::set<std::string>& what, bool all, bool tree, bool blame) TargetDescBuilder() argument 919 DescriptionForTarget( const Target* target, const std::string& what, bool all, bool tree, bool blame) DescriptionForTarget() argument 932 DescriptionForConfig( const Config* config, const std::string& what) DescriptionForConfig() argument [all...] |
H A D | command_help.cc | 140 // over what's in and out. in PrintAllHelp() 215 bool PrintHelpOnSwitch(const std::string& what) { in PrintHelpOnSwitch() argument 218 all.find(std::string_view(what)); in PrintHelpOnSwitch() 240 const char kHelp_HelpShort[] = "help: Does what you think."; 261 std::string what; in RunHelp() local 280 what = args[0]; in RunHelp() 286 if (what == "args") { in RunHelp() 293 auto found_command = command_map.find(what); in RunHelp() 303 auto found_function = function_map.find(what); in RunHelp() 312 auto found_builtin_var = builtin_vars.find(what); in RunHelp() [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib586.c | 44 const char *what; in my_lock() local 52 what = "share"; in my_lock() 55 what = "dns"; in my_lock() 58 what = "cookie"; in my_lock() 61 what = "ssl_session"; in my_lock() 67 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in my_lock() 74 const char *what; in my_unlock() local 79 what = "share"; in my_unlock() 82 what = "dns"; in my_unlock() 85 what in my_unlock() [all...] |
H A D | lib506.c | 48 const char *what; in my_lock() local 57 what = "share"; in my_lock() 61 what = "dns"; in my_lock() 65 what = "cookie"; in my_lock() 75 printf("lock: double locked %s\n", what); in my_lock() 80 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in my_lock() 87 const char *what; in my_unlock() local 93 what = "share"; in my_unlock() 97 what = "dns"; in my_unlock() 101 what in my_unlock() [all...] |
/third_party/ltp/testcases/kernel/controllers/cpuset/ |
H A D | cpuset_regression_test.sh | 35 # cpuset_find_parent_first <what> 36 # Do a parent first find of <what> 39 local what=$1 41 find . -mindepth 2 -name ${what} | 46 # cpuset_find_child_first <what> 47 # Do a child first find of <what> 50 local what=$1 52 find . -mindepth 2 -name ${what} | 57 # cpuset_backup_and_update <backup_dir> <what> 58 # Create backup of the values of a specific file (<what>) [all...] |
/third_party/FreeBSD/sys/sys/ |
H A D | mutex.h | 72 #define _mtx_assert(m, what) do { \ 73 switch (what) { \ 86 #define mtx_assert_(m, what, file, line) \ 87 _mtx_assert((m), (what), (file), (line)) 92 #define mtx_assert_(m, what, file, line) (void)0 96 #define mtx_assert(m, what) mtx_assert_(m, what, __FILE__, __LINE__)
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-debug.hh | 121 _hb_debug_msg_va (const char *what, 130 _hb_debug_msg_va (const char *what, in _hb_debug_msg_va() argument 142 fprintf (stderr, "%-10s", what ? what : ""); in _hb_debug_msg_va() 179 _hb_debug_msg_va<0> (const char *what HB_UNUSED, in _hb_debug_msg_va() 189 _hb_debug_msg (const char *what, 198 _hb_debug_msg (const char *what, in _hb_debug_msg() argument 209 _hb_debug_msg_va<max_level> (what, obj, func, indented, level, level_dir, message, ap); in _hb_debug_msg() 213 _hb_debug_msg<0> (const char *what HB_UNUSED, 222 _hb_debug_msg<0> (const char *what HB_UNUSE 319 const char *what; global() member [all...] |
/third_party/curl/lib/ |
H A D | parsedate.c | 214 const char * const *what; in checkday() local 216 what = &weekday[0]; in checkday() 218 what = &Curl_wkday[0]; in checkday() 222 size_t ilen = strlen(what[0]); in checkday() 224 strncasecompare(check, what[0], len)) in checkday() 226 what++; in checkday() 234 const char * const *what = &Curl_month[0]; in checkmonth() local 239 if(strncasecompare(check, what[0], 3)) in checkmonth() 241 what++; in checkmonth() 252 const struct tzinfo *what in checktz() local [all...] |
/third_party/curl/tests/ |
H A D | servers.pm | 145 our $SOCKSIN="socksd-request.log"; # what curl sent to the SOCKS proxy 323 my (@what)=@_; 325 for(my $i = scalar(@what) - 1; $i >= 0; $i--) { 326 my $srvrline = $what[$i]; 346 $what[$i] = "$server$lnrest" if($tlsext); 350 return &startservers(@what); 2324 my @what = @_; 2327 for(@what) { 2329 my $what = lc($whatlist[0]); 2330 $what [all...] |
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | signal.h | 206 #define sigaddset(what, sig) (*(what) |= (1U << (sig)), 0) 207 #define sigdelset(what, sig) (*(what) &= ~(1U << (sig)), 0) 208 #define sigemptyset(what) (*(what) = 0, 0) 209 #define sigfillset(what) (*(what) = ~(0), 0) 210 #define sigismember(what, sig) (((*(what)) [all...] |
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | signal.h | 206 #define sigaddset(what, sig) (*(what) |= (1U << (sig)), 0) 207 #define sigdelset(what, sig) (*(what) &= ~(1U << (sig)), 0) 208 #define sigemptyset(what) (*(what) = 0, 0) 209 #define sigfillset(what) (*(what) = ~(0), 0) 210 #define sigismember(what, sig) (((*(what)) [all...] |
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | signal.h | 206 #define sigaddset(what, sig) (*(what) |= (1U << (sig)), 0) 207 #define sigdelset(what, sig) (*(what) &= ~(1U << (sig)), 0) 208 #define sigemptyset(what) (*(what) = 0, 0) 209 #define sigfillset(what) (*(what) = ~(0), 0) 210 #define sigismember(what, sig) (((*(what)) [all...] |
/third_party/json/docs/examples/ |
H A D | at__json_pointer.cpp | 47 std::cout << e.what() << '\n'; in main() 58 std::cout << e.what() << '\n'; in main() 69 std::cout << e.what() << '\n'; in main() 80 std::cout << e.what() << '\n'; in main() 91 std::cout << e.what() << '\n'; in main() 102 std::cout << e.what() << '\n'; in main()
|
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | derive.rs | 6 pub what: Trait, 28 let what = match ident.to_string().as_str() { in from() 44 Some(Derive { what, span }) in from() 50 self.what == *other in eq() 75 formatter.write_str(self.what.as_ref()) in fmt() 80 derives.iter().any(|derive| derive.what == query) in contains()
|
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | derive.rs | 6 pub what: Trait, 28 let what = match ident.to_string().as_str() { in from() 44 Some(Derive { what, span }) in from() 50 self.what == *other in eq() 75 formatter.write_str(self.what.as_ref()) in fmt() 80 derives.iter().any(|derive| derive.what == query) in contains()
|
/third_party/rust/crates/cxx/syntax/ |
H A D | derive.rs | 6 pub what: Trait, 28 let what = match ident.to_string().as_str() { in from() 44 Some(Derive { what, span }) in from() 50 self.what == *other in eq() 75 formatter.write_str(self.what.as_ref()) in fmt() 80 derives.iter().any(|derive| derive.what == query) in contains()
|
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | derive.rs | 6 pub what: Trait, 28 let what = match ident.to_string().as_str() { in from() 44 Some(Derive { what, span }) in from() 50 self.what == *other in eq() 75 formatter.write_str(self.what.as_ref()) in fmt() 80 derives.iter().any(|derive| derive.what == query) in contains()
|
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | derive.rs | 6 pub what: Trait, 28 let what = match ident.to_string().as_str() { in from() 44 Some(Derive { what, span }) in from() 50 self.what == *other in eq() 75 formatter.write_str(self.what.as_ref()) in fmt() 80 derives.iter().any(|derive| derive.what == query) in contains()
|
/third_party/FreeBSD/sys/dev/usb/controller/ |
H A D | xhcireg.h | 210 #define XREAD1(sc, what, a) \ 212 (a) + (sc)->sc_##what##_off) 213 #define XREAD2(sc, what, a) \ 215 (a) + (sc)->sc_##what##_off) 216 #define XREAD4(sc, what, a) \ 218 (a) + (sc)->sc_##what##_off) 219 #define XWRITE1(sc, what, a, x) \ 221 (a) + (sc)->sc_##what##_off, (x)) 222 #define XWRITE2(sc, what, a, x) \ 224 (a) + (sc)->sc_##what##_of [all...] |