Home
last modified time | relevance | path

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

123

/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/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()
209 errorcode = pcre2_match(code, (PCRE2_SPTR)data, (PCRE2_SIZE)match_size, 0, in LLVMFuzzerTestOneInput()
213 if (errorcode >= 0) printf("Match returned %d\n", errorcode); else in LLVMFuzzerTestOneInput()
216 pcre2_get_error_message(errorcode, buffer, 256); in LLVMFuzzerTestOneInput()
217 printf("Match failed: error %d: %s\n", errorcode, buffer); in LLVMFuzzerTestOneInput()
245 errorcode = pcre2_dfa_match(code, (PCRE2_SPTR)data, in LLVMFuzzerTestOneInput()
250 if (errorcode >= 0) printf("Match returned %d\n", errorcode); else in LLVMFuzzerTestOneInput()
253 pcre2_get_error_message(errorcode, buffer, 256); in LLVMFuzzerTestOneInput()
254 printf("Match failed: error %d: %s\n", errorcode, buffer); in LLVMFuzzerTestOneInput()
[all …]
Dpcre2_compile.c2616 int errorcode = 0; in parse_regex() local
2656 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2700 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2706 errorcode = ERR19; in parse_regex()
2730 errorcode = ERR28; in parse_regex()
2798 errorcode = ERR76; in parse_regex()
2817 escape = PRIV(check_escape)(&ptr, ptrend, &c, &errorcode, options, in parse_regex()
2819 if (errorcode != 0) goto FAILED; in parse_regex()
2840 errorcode = ERR40; /* Invalid in verb name */ in parse_regex()
2902 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()
Dpcre2_substitute.c118 int errorcode; in find_text_end() local
132 erc = PRIV(check_escape)(&ptr, ptrend, &ch, &errorcode, in find_text_end()
135 if (errorcode != 0) in find_text_end()
137 rc = errorcode; in find_text_end()
819 int errorcode; in pcre2_substitute() local
850 rc = PRIV(check_escape)(&ptr, repend, &ch, &errorcode, in pcre2_substitute()
852 if (errorcode != 0) goto BADESCAPE; in pcre2_substitute()
/third_party/rust/crates/codespan/codespan-reporting/tests/snapshots/
Dterm__message_errorcode__rich_no_color.snap13 error: where did my errorcode go?
15 warning: where did my errorcode go?
17 note: where did my errorcode go?
19 help: where did my errorcode go?
Dterm__message_errorcode__short_no_color.snap9 error: where did my errorcode go?
10 warning: where did my errorcode go?
11 note: where did my errorcode go?
12 help: where did my errorcode go?
/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;
/third_party/python/Lib/test/
Dtest_errno.py20 for value in errno.errorcode.values():
30 self.assertIn(getattr(errno, attribute), errno.errorcode,
/third_party/mesa3d/src/glx/apple/
Dapple_glx_pbuffer.c124 int width, int height, int *errorcode, in apple_glx_pbuffer_create() argument
147 *errorcode = BadAlloc; in apple_glx_pbuffer_create()
152 *errorcode = BadAlloc; in apple_glx_pbuffer_create()
170 *errorcode = BadMatch; in apple_glx_pbuffer_create()
Dapple_glx_drawable.h195 int width, int height, int *errorcode,
/third_party/openssl/test/
Derrtest.c58 unsigned long errorcode; in test_print_error_format() local
69 errorcode = ERR_peek_error(); in test_print_error_format()
70 reasoncode = ERR_GET_REASON(errorcode); in test_print_error_format()
91 errorcode, lib, func, reason, file, line); in test_print_error_format()
/third_party/mesa3d/src/glx/
Dapplegl_glx.c129 int errorcode; in applegl_create_context() local
155 &errorcode, &x11error)) { in applegl_create_context()
156 __glXSendError(dpy, errorcode, 0, X_GLXCreateContext, x11error); in applegl_create_context()
Dglx_pbuffer.c738 int errorcode; in glXCreatePbuffer() local
772 if (apple_glx_pbuffer_create(dpy, config, width, height, &errorcode, in glXCreatePbuffer()
778 __glXSendError(dpy, errorcode, 0, X_GLXCreatePbuffer, true); in glXCreatePbuffer()
/third_party/python/Lib/
Dasyncore.py58 errorcode
79 if err in errorcode:
80 return errorcode[err]
347 raise OSError(err, errorcode[err])
/third_party/toybox/toys/pending/
Dtftp.c121 static int mkpkt_err(uint8_t *buffer, uint16_t errorcode, char *errormsg) in mkpkt_err() argument
125 buffer[2] = errorcode >> 8; in mkpkt_err()
126 buffer[3] = errorcode & 0xff; in mkpkt_err()
/third_party/python/Doc/library/
Derrno.rst15 .. data:: errorcode
18 underlying system. For instance, ``errno.errorcode[errno.EPERM]`` maps to
25 ``errno.errorcode.keys()``. Symbols available can include:
/third_party/curl/
Dbackport-CVE-2022-42915.patch148 +<errorcode>
150 +</errorcode>
Dbackport-0002-CVE-2023-23916.patch220 +<errorcode>
222 +</errorcode>
/third_party/NuttX/fs/vfs/
Dfs_poll.c242 int errorcode = get_errno(); in fdesc_poll() local
243 return -errorcode; in fdesc_poll()
/third_party/node/deps/icu-small/source/common/
DBUILD177 name = "errorcode",
181 "errorcode.cpp",
618 ":errorcode",

123