/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Mutex.cpp | 53 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/ |
D | RWMutex.cpp | 53 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/ |
D | adapt_callbacks.cpp | 60 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 …]
|
D | adapt_method_calls.cpp | 21 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/ |
D | ThreadLocal.inc | 32 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/ |
D | ThreadLocal.inc | 31 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/ |
D | pcre2_fuzzsupport.c | 109 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 …]
|
D | pcre2_compile.c | 2531 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 …]
|
D | pcre2posix.c | 300 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/ |
D | test504 | 40 # TEST_ERR_SUCCESS is errorcode 120 42 <errorcode> 44 </errorcode>
|
D | test538 | 35 # TEST_ERR_SUCCESS is errorcode 120 37 <errorcode> 39 </errorcode>
|
D | test1511 | 64 # TEST_ERR_SUCCESS is errorcode 120 66 <errorcode> 68 </errorcode>
|
D | test1533 | 41 # TEST_ERR_SUCCESS is errorcode 120 43 <errorcode> 45 </errorcode>
|
D | test875 | 25 <errorcode> 27 </errorcode>
|
D | test1427 | 25 <errorcode> 27 </errorcode>
|
D | test829 | 25 <errorcode> 27 </errorcode>
|
D | test931 | 25 <errorcode> 27 </errorcode>
|
D | test1530 | 26 <errorcode> 28 </errorcode>
|
D | test1409 | 27 <errorcode> 29 </errorcode>
|
D | test1234 | 29 <errorcode> 31 </errorcode>
|
D | test1410 | 27 <errorcode> 29 </errorcode>
|
D | test226 | 25 <errorcode> 27 </errorcode>
|
D | test1236 | 29 <errorcode> 31 </errorcode>
|
/third_party/python/Modules/_sqlite/ |
D | util.c | 44 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/ |
D | ThreadLocal.inc | 42 int errorcode = TlsSetValue(*tls, const_cast<void*>(d)); 43 assert(errorcode != 0); 44 (void)errorcode;
|