Home
last modified time | relevance | path

Searched refs:errstr (Results 1 – 25 of 36) sorted by relevance

12

/third_party/python/Parser/
Dpegen_errors.c18 PyObject *errstr = NULL; in _PyPegen_raise_tokenizer_init_error() local
24 errstr = PyObject_Str(value); in _PyPegen_raise_tokenizer_init_error()
25 if (!errstr) { in _PyPegen_raise_tokenizer_init_error()
34 tuple = PyTuple_Pack(2, errstr, tmp); in _PyPegen_raise_tokenizer_init_error()
45 Py_XDECREF(errstr); in _PyPegen_raise_tokenizer_init_error()
129 PyObject *errstr; in _Pypegen_raise_decode_error() local
131 errstr = PyObject_Str(value); in _Pypegen_raise_decode_error()
132 if (errstr) { in _Pypegen_raise_decode_error()
133 RAISE_SYNTAX_ERROR("(%s) %U", errtype, errstr); in _Pypegen_raise_decode_error()
134 Py_DECREF(errstr); in _Pypegen_raise_decode_error()
[all …]
Dpegen.c267 PyObject *errstr; in raise_decode_error() local
269 errstr = PyObject_Str(value); in raise_decode_error()
270 if (errstr) { in raise_decode_error()
271 RAISE_SYNTAX_ERROR("(%s) %U", errtype, errstr); in raise_decode_error()
272 Py_DECREF(errstr); in raise_decode_error()
305 PyObject *errstr = NULL; in raise_tokenizer_init_error() local
311 errstr = PyObject_Str(value); in raise_tokenizer_init_error()
312 if (!errstr) { in raise_tokenizer_init_error()
321 tuple = PyTuple_Pack(2, errstr, tmp); in raise_tokenizer_init_error()
332 Py_XDECREF(errstr); in raise_tokenizer_init_error()
[all …]
/third_party/libnl/src/lib/
Dcls.c59 char *errstr = NULL; in nl_cli_cls_parse_ematch() local
62 if ((err = rtnl_ematch_parse_expr(arg, &errstr, &tree)) < 0) in nl_cli_cls_parse_ematch()
64 errstr); in nl_cli_cls_parse_ematch()
66 if (errstr) in nl_cli_cls_parse_ematch()
67 free(errstr); in nl_cli_cls_parse_ematch()
/third_party/openssl/doc/man1/
Derrstr.pod5 openssl-errstr,
6 errstr - lookup error codes
10 B<openssl errstr error_code>
15 numerical forms will be available. The B<errstr> utility can be used to
31 openssl errstr 2006D080
/third_party/musl/porting/liteos_a/kernel/src/stdio/
Dperror.c9 char *errstr = strerror(errno); in perror() local
23 fwrite(errstr, strlen(errstr), 1, f); in perror()
/third_party/musl/porting/uniproton/kernel/src/stdio/
Dperror.c9 char *errstr = strerror(errno); in perror() local
23 fwrite(errstr, strlen(errstr), 1, f); in perror()
/third_party/musl/src/stdio/
Dperror.c9 char *errstr = strerror(errno); in perror() local
23 fwrite(errstr, strlen(errstr), 1, f); in perror()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
Dperror.c9 char *errstr = strerror(errno); in perror() local
23 fwrite(errstr, strlen(errstr), 1, f); in perror()
/third_party/optimized-routines/math/test/rtest/
Ddotest.c1631 char *errstr = NULL; in docase() local
1800 errstr = ((testsemi1)(fn->func))(args, result); in docase()
1804 errstr = ((testsemi2)(fn->func))(args, args+2, result); in docase()
1809 errstr = ((testsemi2f)(fn->func))(args, args+2, result); in docase()
1812 errstr = ((testldexp)(fn->func))(args, args+2, result); in docase()
1815 errstr = ((testfrexp)(fn->func))(args, result, result+2); in docase()
1818 errstr = ((testfrexp)(fn->func))(args, result, result+2); in docase()
1821 errstr = ((testmodf)(fn->func))(args, result, result+2); in docase()
1824 errstr = ((testmodf)(fn->func))(args, result, result+2); in docase()
1827 errstr = ((testclassify)(fn->func))(args, &result[0]); in docase()
[all …]
/third_party/libsnd/tests/
Derror_test.c45 { const char *noerror, *errstr ; in error_number_test() local
53 { errstr = sf_error_number (k) ; in error_number_test()
56 if (errstr == noerror) in error_number_test()
60 if (strstr (errstr, "This is a bug in libsndfile.")) in error_number_test()
61 { printf ("\n\nError : error number %d : %s\n\n\n", k, errstr) ; in error_number_test()
Dcompression_size_test.c74 { const char * errstr ; in vorbis_test() local
76 errstr = sf_strerror (NULL) ; in vorbis_test()
77 if (strstr (errstr, "Sample rate chosen is known to trigger a Vorbis") == NULL) in vorbis_test()
78 { printf ("Line %d: sf_open (SFM_WRITE) failed : %s\n", __LINE__, errstr) ; in vorbis_test()
Dlossy_comp_test.c1451 { const char * errstr ; in sdlcomp_test_short() local
1453 errstr = sf_strerror (NULL) ; in sdlcomp_test_short()
1454 if (strstr (errstr, "Sample rate chosen is known to trigger a Vorbis") != NULL) in sdlcomp_test_short()
1458 else if (strstr (errstr, "Opus only supports sample rates of") != NULL) in sdlcomp_test_short()
1463 { printf ("Line %d: sf_open_fd (SFM_WRITE) failed : %s\n", __LINE__, errstr) ; in sdlcomp_test_short()
1671 { const char * errstr ; in sdlcomp_test_int() local
1673 errstr = sf_strerror (NULL) ; in sdlcomp_test_int()
1674 if (strstr (errstr, "Sample rate chosen is known to trigger a Vorbis") != NULL) in sdlcomp_test_int()
1678 else if (strstr (errstr, "Opus only supports sample rates of") != NULL) in sdlcomp_test_int()
1683 { printf ("Line %d: sf_open_fd (SFM_WRITE) failed : %s\n", __LINE__, errstr) ; in sdlcomp_test_int()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/
DSDL_error.c127 SDL_GetErrorMsg(char *errstr, int maxlen) in SDL_GetErrorMsg() argument
132 *errstr = '\0'; in SDL_GetErrorMsg()
139 char *msg = errstr; in SDL_GetErrorMsg()
221 return (errstr); in SDL_GetErrorMsg()
/third_party/python/Modules/_ctypes/darwin/
Ddlfcn_simple.c84 static char errstr[ERR_STR_LEN]; in error() local
91 strncpy(errstr, "dlcompat: ", ERR_STR_LEN); in error()
92 vsnprintf(errstr + 10, ERR_STR_LEN - 10, str, arg); in error()
102 retval = errstr; in error()
/third_party/boost/libs/graph/test/
Dcore_numbers_test.cpp15 const char* errstr = ""; variable
156 printf("%20s %50s\n", name, errstr); in main()
169 printf("%20s %50s\n", name, errstr); in main()
182 printf("%20s %50s\n", name, errstr); in main()
/third_party/boost/boost/vmd/detail/
Dassert.hpp21 #define BOOST_VMD_DETAIL_ASSERT_VC_GEN_ERROR_OUTPUT(errstr) \ argument
23 typedef char errstr[-1]; \
/third_party/grpc/src/core/lib/surface/
Devent_string.cc38 static const char* errstr(int success) { return success ? "OK" : "ERROR"; } in errstr() function
41 buf->push_back(absl::StrFormat(" %s", errstr(success))); in adderr()
/third_party/ffmpeg/doc/examples/
Dfilter_audio.c276 uint8_t errstr[1024]; in main() local
360 av_strerror(err, errstr, sizeof(errstr)); in main()
361 fprintf(stderr, "%s\n", errstr); in main()
/third_party/lwip/src/core/
Dmem.c107 char errstr[128]; in mem_overflow_check_raw() local
108 snprintf(errstr, sizeof(errstr), "detected mem overflow in %s%s", descr1, descr2); in mem_overflow_check_raw()
109 LWIP_ASSERT(errstr, 0); in mem_overflow_check_raw()
118 char errstr[128]; in mem_overflow_check_raw() local
119 snprintf(errstr, sizeof(errstr), "detected mem underflow in %s%s", descr1, descr2); in mem_overflow_check_raw()
120 LWIP_ASSERT(errstr, 0); in mem_overflow_check_raw()
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dmemtoy.c80 char *errstr; in die() local
87 errstr = strerror(errno); in die()
94 fprintf(stderr, "Error = (%d) %s\n", saverrno, errstr); in die()
/third_party/mindspore/mindspore/ccsrc/profiler/device/gpu/
Dgpu_profiling.cc38 const char *errstr; \
39 CuptiGetResultString(expression, &errstr); \
40 MS_LOG(ERROR) << "CUPTI Error:" << errstr << " function:" << (message) \
49 const char *errstr; \
50 CuptiGetResultString(expression, &errstr); \
51 MS_LOG(EXCEPTION) << "CUPTI Error:" << errstr << " function:" << (message); \
/third_party/mesa3d/include/CL/
Dcl_ext.h71 extern void CL_API_ENTRY clLogMessagesToSystemLogAPPLE( const char * errstr,
77 extern void CL_API_ENTRY clLogMessagesToStdoutAPPLE( const char * errstr,
83 extern void CL_API_ENTRY clLogMessagesToStderrAPPLE( const char * errstr,
/third_party/python/Modules/
D_ssl.c446 const char *errstr, int lineno, unsigned long errcode) in fill_and_set_sslerror() argument
477 if (errstr == NULL) in fill_and_set_sslerror()
478 errstr = ERR_reason_error_string(errcode); in fill_and_set_sslerror()
480 if (errstr == NULL) in fill_and_set_sslerror()
481 errstr = "unknown error"; in fill_and_set_sslerror()
524 lib_obj, reason_obj, errstr, verify_obj, in fill_and_set_sslerror()
528 lib_obj, reason_obj, errstr, lineno); in fill_and_set_sslerror()
531 lib_obj, errstr, lineno); in fill_and_set_sslerror()
533 msg = PyUnicode_FromFormat("%s (_ssl.c:%d)", errstr, lineno); in fill_and_set_sslerror()
588 char *errstr = NULL; in PySSL_SetError() local
[all …]
/third_party/opencl-headers/CL/
Dcl_ext.h71 extern void CL_API_ENTRY clLogMessagesToSystemLogAPPLE( const char * errstr,
77 extern void CL_API_ENTRY clLogMessagesToStdoutAPPLE( const char * errstr,
83 extern void CL_API_ENTRY clLogMessagesToStderrAPPLE( const char * errstr,
/third_party/glib/glib/
Dgspawn-win32.c945 GString *errstr = NULL; in g_spawn_sync() local
1003 errstr = g_string_new (NULL); in g_spawn_sync()
1075 switch (read_data (errstr, errchannel, error)) in g_spawn_sync()
1150 if (errstr) in g_spawn_sync()
1151 g_string_free (errstr, TRUE); in g_spawn_sync()
1161 *standard_error = g_string_free (errstr, FALSE); in g_spawn_sync()

12