Home
last modified time | relevance | path

Searched refs:errorcode (Results 1 - 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DMutex.cpp53 int errorcode = pthread_mutexattr_init(&attr);
54 assert(errorcode == 0); (void)errorcode;
59 errorcode = pthread_mutexattr_settype(&attr, kind);
60 assert(errorcode == 0);
63 errorcode = pthread_mutex_init(mutex, &attr);
64 assert(errorcode == 0);
67 errorcode = pthread_mutexattr_destroy(&attr);
68 assert(errorcode == 0);
89 int errorcode
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DRWMutex.cpp53 int errorcode = pthread_rwlock_init(rwlock, nullptr);
54 (void)errorcode;
55 assert(errorcode == 0);
76 int errorcode = pthread_rwlock_rdlock(rwlock);
77 return errorcode == 0;
86 int errorcode = pthread_rwlock_unlock(rwlock);
87 return errorcode == 0;
96 int errorcode = pthread_rwlock_wrlock(rwlock);
97 return errorcode == 0;
106 int errorcode
[all...]
/third_party/pcre2/pcre2/src/
H A 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); els in LLVMFuzzerTestOneInput()
[all...]
H A Dpcre2posix.c286 int errorcode; in pcre2_regcomp() local
303 &errorcode, &erroffset, NULL); in pcre2_regcomp()
313 if (errorcode < COMPILE_ERROR_BASE) return REG_BADPAT; in pcre2_regcomp()
314 errorcode -= COMPILE_ERROR_BASE; in pcre2_regcomp()
316 if (errorcode < (int)(sizeof(eint1)/sizeof(const int))) in pcre2_regcomp()
317 return eint1[errorcode]; in pcre2_regcomp()
319 if (errorcode == eint2[i]) return eint2[i+1]; in pcre2_regcomp()
H A Dpcre2_compile.c1314 FALSE - errorcode == 0 => no number was found
1315 errorcode != 0 => an error occurred
1399 Returns: FALSE if not a repeat quantifier, errorcode set zero
1400 FALSE on error, with errorcode set non-zero
1492 errorcodeptr points to the errorcode variable (containing zero)
2618 int errorcode = 0; in parse_regex() local
2658 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2702 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2708 errorcode = ERR19; in parse_regex()
2732 errorcode in parse_regex()
9607 int errorcode = 0; check_lookbehinds() local
9797 int errorcode = 0; /* Initialize to avoid compiler warn */ pcre2_compile() local
[all...]
H A 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()
822 int errorcode; in pcre2_substitute() local
853 rc = PRIV(check_escape)(&ptr, repend, &ch, &errorcode, in pcre2_substitute()
855 if (errorcode != 0) goto BADESCAPE; in pcre2_substitute()
H A Dpcre2_jit_test.c2002 int result, errorcode; in run_invalid_utf8_test() local
2010 current->compile_options, &errorcode, &erroroffset, ccontext); in run_invalid_utf8_test()
2211 int result, errorcode; in run_invalid_utf16_test() local
2220 current->compile_options, &errorcode, &erroroffset, ccontext); in run_invalid_utf16_test()
2398 int result, errorcode; in run_invalid_utf32_test() local
2407 current->compile_options, &errorcode, &erroroffset, ccontext); in run_invalid_utf32_test()
H A Dpcre2test.c4365 print_error_message(int errorcode, const char *before, const char *after) in print_error_message() argument
4368 PCRE2_GET_ERROR_MESSAGE(len, errorcode, pbuffer); in print_error_message()
4795 int errorcode; in show_pattern_info() local
4796 PCRE2_CALLOUT_ENUMERATE(errorcode, callout_callback, 0); in show_pattern_info()
4797 if (errorcode != 0) in show_pattern_info()
4799 fprintf(outfile, "Callout enumerate failed: error %d: ", errorcode); in show_pattern_info()
4800 if (errorcode < 0 && !print_error_message(errorcode, "", "\n")) in show_pattern_info()
5172 int errorcode; in process_pattern() local
5662 errorcode in process_pattern()
[all...]
/third_party/python/Modules/_sqlite/
H A Dutil.c29 get_exception_class(pysqlite_state *state, int errorcode) in get_exception_class() argument
31 switch (errorcode) { in get_exception_class()
123 int errorcode = sqlite3_errcode(db); in _pysqlite_seterror() local
124 PyObject *exc_class = get_exception_class(state, errorcode); in _pysqlite_seterror()
127 return errorcode; in _pysqlite_seterror()
/third_party/python/Lib/test/
H A Dtest_errno.py19 # Every key value in errno.errorcode should be on the module.
20 for value in errno.errorcode.values():
30 self.assertIn(getattr(errno, attribute), errno.errorcode,
31 'no %s attr in errno.errorcode' % attribute)
H A Dtest_exception_hierarchy.py93 othercodes = set(errno.errorcode) - set(self._map)
/third_party/mesa3d/src/glx/
H A 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()
H A Dglx_pbuffer.c738 int errorcode; in glXCreatePbuffer() local
772 if (apple_glx_pbuffer_create(dpy, config, width, height, &errorcode, in glXCreatePbuffer()
775 * apple_glx_pbuffer_create only sets the errorcode to core X11 in glXCreatePbuffer()
778 __glXSendError(dpy, errorcode, 0, X_GLXCreatePbuffer, true); in glXCreatePbuffer()
H A Dglxcmds.c632 int errorcode; in glXCopyContext() local
636 mask, &errorcode, &x11error)) { in glXCopyContext()
637 __glXSendError(dpy, errorcode, 0, X_GLXCopyContext, x11error); in glXCopyContext()
/third_party/mesa3d/src/glx/apple/
H A Dapple_glx_pbuffer.c124 int width, int height, int *errorcode, in apple_glx_pbuffer_create()
147 *errorcode = BadAlloc; in apple_glx_pbuffer_create()
152 *errorcode = BadAlloc; in apple_glx_pbuffer_create()
170 *errorcode = BadMatch; in apple_glx_pbuffer_create()
123 apple_glx_pbuffer_create(Display * dpy, GLXFBConfig config, int width, int height, int *errorcode, GLXPbuffer * result) apple_glx_pbuffer_create() argument
H A Dapple_glx_drawable.h195 int width, int height, int *errorcode,
/third_party/openssl/test/
H A 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/python/Lib/
H A Dasyncore.py58 errorcode namespace
77 if err in errorcode:
78 return errorcode[err]
345 raise OSError(err, errorcode[err])
/third_party/toybox/toys/pending/
H A 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/NuttX/fs/vfs/
H A Dfs_poll.c242 int errorcode = get_errno(); in fdesc_poll() local
243 return -errorcode; in fdesc_poll()
/third_party/ffmpeg/libavfilter/
H A Debur128.c56 #define CHECK_ERROR(condition, errorcode, goto_point) \
58 errcode = (errorcode); \
/third_party/curl/tests/
H A Druntests.pl1190 my @err = getpart("verify", "errorcode");
1191 my $errorcode = $err[0] || "0";
1194 chomp $errorcode;
1605 my @splerr = split(/ *, */, $errorcode);
1621 (!$tool)?"curl":$tool, $errorcode);
/third_party/curl/lib/vtls/
H A Dschannel.c662 DWORD errorcode = GetLastError(); in schannel_acquire_credential_handle() local
663 if(errorcode == ERROR_INVALID_PASSWORD) in schannel_acquire_credential_handle()
670 cert_showfilename_error, errorcode); in schannel_acquire_credential_handle()

Completed in 38 milliseconds