Home
last modified time | relevance | path

Searched refs:errorcode (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DMutex.cpp53 int errorcode = pthread_mutexattr_init(&attr); in MutexImpl() local
54 assert(errorcode == 0); (void)errorcode; in MutexImpl()
59 errorcode = pthread_mutexattr_settype(&attr, kind); in MutexImpl()
60 assert(errorcode == 0); in MutexImpl()
63 errorcode = pthread_mutex_init(mutex, &attr); in MutexImpl()
64 assert(errorcode == 0); in MutexImpl()
67 errorcode = pthread_mutexattr_destroy(&attr); in MutexImpl()
68 assert(errorcode == 0); in MutexImpl()
89 int errorcode = pthread_mutex_lock(mutex); in acquire() local
90 return errorcode == 0; in acquire()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRWMutex.cpp53 int errorcode = pthread_rwlock_init(rwlock, nullptr); in RWMutexImpl() local
54 (void)errorcode; in RWMutexImpl()
55 assert(errorcode == 0); in RWMutexImpl()
76 int errorcode = pthread_rwlock_rdlock(rwlock); in lock_shared() local
77 return errorcode == 0; in lock_shared()
86 int errorcode = pthread_rwlock_unlock(rwlock); in unlock_shared() local
87 return errorcode == 0; in unlock_shared()
96 int errorcode = pthread_rwlock_wrlock(rwlock); in lock() local
97 return errorcode == 0; in lock()
106 int errorcode = pthread_rwlock_unlock(rwlock); in unlock() local
[all …]
/third_party/boost/libs/fiber/examples/
Dadapt_callbacks.cpp60 typedef int errorcode; typedef in AsyncAPI
72 void inject_error( errorcode ec);
76 errorcode injected_;
89 void AsyncAPI::inject_error( errorcode ec) { in inject_error()
96 errorcode injected( injected_); in init_write()
121 errorcode injected( injected_); in init_read()
145 std::runtime_error make_exception( std::string const& desc, AsyncAPI::errorcode);
148 AsyncAPI::errorcode write_ec( AsyncAPI & api, std::string const& data) { in write_ec()
149 boost::fibers::promise< AsyncAPI::errorcode > promise; in write_ec()
150 boost::fibers::future< AsyncAPI::errorcode > future( promise.get_future() ); in write_ec()
[all …]
Dadapt_method_calls.cpp21 typedef int errorcode; typedef
34 virtual void error( AsyncAPIBase::errorcode ec) = 0;
50 void inject_error( errorcode ec);
54 errorcode injected_;
66 void AsyncAPI::inject_error( errorcode ec) { in inject_error()
72 errorcode injected( injected_); in init_read()
95 std::runtime_error make_exception( std::string const& desc, AsyncAPI::errorcode);
106 virtual void error( AsyncAPIBase::errorcode ec) { in error()
137 std::runtime_error make_exception( std::string const& desc, AsyncAPI::errorcode ec) { in make_exception()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DThreadLocal.inc32 int errorcode = pthread_key_create(key, nullptr);
33 assert(errorcode == 0);
34 (void) errorcode;
39 int errorcode = pthread_key_delete(*key);
40 assert(errorcode == 0);
41 (void) errorcode;
46 int errorcode = pthread_setspecific(*key, d);
47 assert(errorcode == 0);
48 (void) errorcode;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DThreadLocal.inc31 int errorcode = pthread_key_create(key, nullptr);
32 assert(errorcode == 0);
33 (void) errorcode;
38 int errorcode = pthread_key_delete(*key);
39 assert(errorcode == 0);
40 (void) errorcode;
45 int errorcode = pthread_setspecific(*key, d);
46 assert(errorcode == 0);
47 (void) errorcode;
/third_party/pcre2/pcre2/src/
Dpcre2_fuzzsupport.c109 int errorcode; in LLVMFuzzerTestOneInput() local
145 &errorcode, &erroroffset, NULL); in LLVMFuzzerTestOneInput()
205 errorcode = pcre2_match(code, (PCRE2_SPTR)data, (PCRE2_SIZE)match_size, 0, in LLVMFuzzerTestOneInput()
209 if (errorcode >= 0) printf("Match returned %d\n", errorcode); else in LLVMFuzzerTestOneInput()
212 pcre2_get_error_message(errorcode, buffer, 256); in LLVMFuzzerTestOneInput()
213 printf("Match failed: error %d: %s\n", errorcode, buffer); in LLVMFuzzerTestOneInput()
241 errorcode = pcre2_dfa_match(code, (PCRE2_SPTR)data, in LLVMFuzzerTestOneInput()
246 if (errorcode >= 0) printf("Match returned %d\n", errorcode); else in LLVMFuzzerTestOneInput()
249 pcre2_get_error_message(errorcode, buffer, 256); in LLVMFuzzerTestOneInput()
250 printf("Match failed: error %d: %s\n", errorcode, buffer); in LLVMFuzzerTestOneInput()
[all …]
Dpcre2_compile.c2531 int errorcode = 0; in parse_regex() local
2571 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2615 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2621 errorcode = ERR19; in parse_regex()
2645 errorcode = ERR28; in parse_regex()
2713 errorcode = ERR76; in parse_regex()
2732 escape = PRIV(check_escape)(&ptr, ptrend, &c, &errorcode, options, in parse_regex()
2734 if (errorcode != 0) goto FAILED; in parse_regex()
2755 errorcode = ERR40; /* Invalid in verb name */ in parse_regex()
2817 errorcode = ERR18; /* A special error for missing ) in a comment */ in parse_regex()
[all …]
Dpcre2posix.c300 int errorcode; in pcre2_regcomp() local
317 &errorcode, &erroffset, NULL); in pcre2_regcomp()
327 if (errorcode < COMPILE_ERROR_BASE) return REG_BADPAT; in pcre2_regcomp()
328 errorcode -= COMPILE_ERROR_BASE; in pcre2_regcomp()
330 if (errorcode < (int)(sizeof(eint1)/sizeof(const int))) in pcre2_regcomp()
331 return eint1[errorcode]; in pcre2_regcomp()
333 if (errorcode == eint2[i]) return eint2[i+1]; in pcre2_regcomp()
/third_party/curl/tests/data/
Dtest50440 # TEST_ERR_SUCCESS is errorcode 120
42 <errorcode>
44 </errorcode>
Dtest53835 # TEST_ERR_SUCCESS is errorcode 120
37 <errorcode>
39 </errorcode>
Dtest151164 # TEST_ERR_SUCCESS is errorcode 120
66 <errorcode>
68 </errorcode>
Dtest153341 # TEST_ERR_SUCCESS is errorcode 120
43 <errorcode>
45 </errorcode>
Dtest87525 <errorcode>
27 </errorcode>
Dtest142725 <errorcode>
27 </errorcode>
Dtest82925 <errorcode>
27 </errorcode>
Dtest93125 <errorcode>
27 </errorcode>
Dtest153026 <errorcode>
28 </errorcode>
Dtest140927 <errorcode>
29 </errorcode>
Dtest123429 <errorcode>
31 </errorcode>
Dtest141027 <errorcode>
29 </errorcode>
Dtest22625 <errorcode>
27 </errorcode>
Dtest123629 <errorcode>
31 </errorcode>
/third_party/python/Modules/_sqlite/
Dutil.c44 int errorcode = sqlite3_errcode(db); in _pysqlite_seterror() local
46 switch (errorcode) in _pysqlite_seterror()
91 return errorcode; in _pysqlite_seterror()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DThreadLocal.inc42 int errorcode = TlsSetValue(*tls, const_cast<void*>(d));
43 assert(errorcode != 0);
44 (void)errorcode;

12345678910>>...16