Home
last modified time | relevance | path

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

12345678910>>...13

/external/swiftshader/third_party/LLVM/lib/Support/
DMutex.cpp69 int errorcode = pthread_mutexattr_init(&attr); in MutexImpl() local
70 assert(errorcode == 0); in MutexImpl()
75 errorcode = pthread_mutexattr_settype(&attr, kind); in MutexImpl()
76 assert(errorcode == 0); in MutexImpl()
80 errorcode = pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_PRIVATE); in MutexImpl()
81 assert(errorcode == 0); in MutexImpl()
85 errorcode = pthread_mutex_init(mutex, &attr); in MutexImpl()
86 assert(errorcode == 0); in MutexImpl()
89 errorcode = pthread_mutexattr_destroy(&attr); in MutexImpl()
90 assert(errorcode == 0); in MutexImpl()
[all …]
DRWMutex.cpp75 int errorcode = pthread_rwlock_init(rwlock, NULL); in RWMutexImpl() local
76 (void)errorcode; in RWMutexImpl()
77 assert(errorcode == 0); in RWMutexImpl()
104 int errorcode = pthread_rwlock_rdlock(rwlock); in reader_acquire() local
105 return errorcode == 0; in reader_acquire()
117 int errorcode = pthread_rwlock_unlock(rwlock); in reader_release() local
118 return errorcode == 0; in reader_release()
130 int errorcode = pthread_rwlock_wrlock(rwlock); in writer_acquire() local
131 return errorcode == 0; in writer_acquire()
143 int errorcode = pthread_rwlock_unlock(rwlock); in writer_release() local
[all …]
DThreadLocal.cpp45 int errorcode = pthread_key_create(key, NULL); in ThreadLocalImpl() local
46 assert(errorcode == 0); in ThreadLocalImpl()
47 (void) errorcode; in ThreadLocalImpl()
53 int errorcode = pthread_key_delete(*key); in ~ThreadLocalImpl() local
54 assert(errorcode == 0); in ~ThreadLocalImpl()
55 (void) errorcode; in ~ThreadLocalImpl()
61 int errorcode = pthread_setspecific(*key, d); in setInstance() local
62 assert(errorcode == 0); in setInstance()
63 (void) errorcode; in setInstance()
/external/llvm/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 …]
DRWMutex.cpp59 int errorcode = pthread_rwlock_init(rwlock, nullptr); in RWMutexImpl() local
60 (void)errorcode; in RWMutexImpl()
61 assert(errorcode == 0); in RWMutexImpl()
82 int errorcode = pthread_rwlock_rdlock(rwlock); in reader_acquire() local
83 return errorcode == 0; in reader_acquire()
92 int errorcode = pthread_rwlock_unlock(rwlock); in reader_release() local
93 return errorcode == 0; in reader_release()
102 int errorcode = pthread_rwlock_wrlock(rwlock); in writer_acquire() local
103 return errorcode == 0; in writer_acquire()
112 int errorcode = pthread_rwlock_unlock(rwlock); in writer_release() local
[all …]
/external/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DMutex.cpp55 int errorcode = pthread_mutexattr_init(&attr); in MutexImpl() local
56 assert(errorcode == 0); (void)errorcode; in MutexImpl()
61 errorcode = pthread_mutexattr_settype(&attr, kind); in MutexImpl()
62 assert(errorcode == 0); in MutexImpl()
65 errorcode = pthread_mutex_init(mutex, &attr); in MutexImpl()
66 assert(errorcode == 0); in MutexImpl()
69 errorcode = pthread_mutexattr_destroy(&attr); in MutexImpl()
70 assert(errorcode == 0); in MutexImpl()
91 int errorcode = pthread_mutex_lock(mutex); in acquire() local
92 return errorcode == 0; in acquire()
[all …]
DRWMutex.cpp61 int errorcode = pthread_rwlock_init(rwlock, nullptr); in RWMutexImpl() local
62 (void)errorcode; in RWMutexImpl()
63 assert(errorcode == 0); in RWMutexImpl()
84 int errorcode = pthread_rwlock_rdlock(rwlock); in reader_acquire() local
85 return errorcode == 0; in reader_acquire()
94 int errorcode = pthread_rwlock_unlock(rwlock); in reader_release() local
95 return errorcode == 0; in reader_release()
104 int errorcode = pthread_rwlock_wrlock(rwlock); in writer_acquire() local
105 return errorcode == 0; in writer_acquire()
114 int errorcode = pthread_rwlock_unlock(rwlock); in writer_release() local
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Disacfix.c77 self->errorcode = 0; in WebRtcIsacfix_Assign()
109 (*(ISACFIX_SubStruct**)ISAC_main_inst)->errorcode = 0; in WebRtcIsacfix_Create()
308 ISAC_inst->errorcode = ISAC_DISALLOWED_CODING_MODE; in WebRtcIsacfix_EncoderInit()
414 ISAC_inst->errorcode = ISAC_ENCODER_NOT_INITIATED; in WebRtcIsacfix_Encode()
423 ISAC_inst->errorcode = -(int16_t)stream_len; in WebRtcIsacfix_Encode()
480 ISAC_inst->errorcode = ISAC_ENCODER_NOT_INITIATED; in WebRtcIsacfix_EncodeNb()
501 ISAC_inst->errorcode = - stream_len; in WebRtcIsacfix_EncodeNb()
546 ISAC_inst->errorcode = ISAC_ENCODER_NOT_INITIATED; in WebRtcIsacfix_GetNewBitStream()
554 ISAC_inst->errorcode = - stream_len; in WebRtcIsacfix_GetNewBitStream()
633 ISAC_inst->errorcode = ISAC_EMPTY_PACKET; in WebRtcIsacfix_UpdateBwEstimate1()
[all …]
/external/pcre/dist2/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 …]
Dpcre2posix.c236 int errorcode; in regcomp() local
253 &errorcode, &erroffset, NULL); in regcomp()
263 if (errorcode < COMPILE_ERROR_BASE) return REG_BADPAT; in regcomp()
264 errorcode -= COMPILE_ERROR_BASE; in regcomp()
266 if (errorcode < (int)(sizeof(eint1)/sizeof(const int))) in regcomp()
267 return eint1[errorcode]; in regcomp()
269 if (errorcode == eint2[i]) return eint2[i+1]; in regcomp()
Dpcre2_compile.c2339 int errorcode = 0; in parse_regex() local
2379 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2423 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2429 errorcode = ERR19; in parse_regex()
2453 errorcode = ERR28; in parse_regex()
2509 errorcode = ERR76; in parse_regex()
2528 escape = PRIV(check_escape)(&ptr, ptrend, &c, &errorcode, options, in parse_regex()
2530 if (errorcode != 0) goto FAILED; in parse_regex()
2548 errorcode = ERR40; /* Invalid in verb name */ in parse_regex()
2610 errorcode = ERR18; /* A special error for missing ) in a comment */ in parse_regex()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DThreadLocal.inc33 int errorcode = pthread_key_create(key, nullptr);
34 assert(errorcode == 0);
35 (void) errorcode;
40 int errorcode = pthread_key_delete(*key);
41 assert(errorcode == 0);
42 (void) errorcode;
47 int errorcode = pthread_setspecific(*key, d);
48 assert(errorcode == 0);
49 (void) errorcode;
/external/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;
/external/llvm/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;
/external/epid-sdk/ext/argtable3/
Dargtable3.c898 int errorcode = 0; in arg_date_scanfn() local
902 errorcode = EMAXCOUNT; in arg_date_scanfn()
919 errorcode = EBADDATE; in arg_date_scanfn()
922 ARG_TRACE(("%s:scanfn(%p) returns %d\n", __FILE__, parent, errorcode)); in arg_date_scanfn()
923 return errorcode; in arg_date_scanfn()
929 int errorcode = (parent->count < parent->hdr.mincount) ? EMINCOUNT : 0; in arg_date_checkfn() local
931 ARG_TRACE(("%s:checkfn(%p) returns %d\n", __FILE__, parent, errorcode)); in arg_date_checkfn()
932 return errorcode; in arg_date_checkfn()
939 int errorcode, in arg_date_errorfn() argument
951 switch(errorcode) in arg_date_errorfn()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Dwebrtc_cng.c33 int16_t errorcode; member
46 int16_t errorcode; member
89 (*(WebRtcCngEncoder**) cng_inst)->errorcode = 0; in WebRtcCng_CreateEnc()
110 (*(WebRtcCngDecoder**) cng_inst)->errorcode = 0; in WebRtcCng_CreateDec()
153 inst->errorcode = CNG_DISALLOWED_LPC_ORDER; in WebRtcCng_InitEnc()
254 inst->errorcode = CNG_ENCODER_NOT_INITIATED; in WebRtcCng_Encode()
260 inst->errorcode = CNG_DISALLOWED_FRAME_SIZE; in WebRtcCng_Encode()
423 inst->errorcode = CNG_DECODER_NOT_INITIATED; in WebRtcCng_UpdateSid()
494 inst->errorcode = CNG_DISALLOWED_FRAME_SIZE; in WebRtcCng_Generate()
596 return inst->errorcode; in WebRtcCng_GetErrorCodeEnc()
[all …]
/external/python/cpython2/Modules/_sqlite/
Dutil.c50 int errorcode; in _pysqlite_seterror() local
57 errorcode = sqlite3_errcode(db); in _pysqlite_seterror()
59 switch (errorcode) in _pysqlite_seterror()
104 return errorcode; in _pysqlite_seterror()
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dgenerate.py69 errorcode = p.wait()
70 if errorcode != 0:
71 sys.stderr.write('rJSmin exited with error code %d' % errorcode)
186 errorcode = p.wait()
187 if errorcode != 0:
188 sys.stderr.write('rCSSmin exited with error code %d' % errorcode)
/external/curl/tests/data/
Dtest50438 # TEST_ERR_SUCCESS is errorcode 120
40 <errorcode>
42 </errorcode>
Dtest53835 # TEST_ERR_SUCCESS is errorcode 120
37 <errorcode>
39 </errorcode>
Dtest151164 # TEST_ERR_SUCCESS is errorcode 120
66 <errorcode>
68 </errorcode>
/external/python/cpython3/Modules/_sqlite/
Dutil.c50 int errorcode = sqlite3_errcode(db); in _pysqlite_seterror() local
52 switch (errorcode) in _pysqlite_seterror()
97 return errorcode; in _pysqlite_seterror()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DThreadLocal.inc45 int errorcode = TlsSetValue(*tls, const_cast<void*>(d));
46 assert(errorcode != 0);
47 (void)errorcode;
/external/llvm/lib/Support/Windows/
DThreadLocal.inc44 int errorcode = TlsSetValue(*tls, const_cast<void*>(d));
45 assert(errorcode != 0);
46 (void)errorcode;

12345678910>>...13