Home
last modified time | relevance | path

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

12

/external/valgrind/none/tests/
Dthreadederrno.c12 char errstr[128]; in thr2() local
14 strerror_r(errno, errstr, sizeof(errstr)); in thr2()
15 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, errstr); in thr2()
21 char errstr[128]; in thr3() local
23 strerror_r(errno, errstr, sizeof(errstr)); in thr3()
24 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, errstr); in thr3()
31 char errstr[128]; in main() local
37 strerror_r(errno, errstr, sizeof(errstr)); in main()
38 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, errstr); in main()
/external/netcat/
Dnetcat.c132 const char *errstr, *proxyhost = "", *proxyport = NULL; in main() local
175 iflag = strtonum(optarg, 0, UINT_MAX, &errstr); in main()
176 if (errstr) in main()
177 errx(1, "interval %s: %s", errstr, optarg); in main()
215 RT_TABLEID_MAX, &errstr); in main()
216 if (errstr) in main()
217 errx(1, "rtable %s: %s", errstr, optarg); in main()
227 timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr); in main()
228 if (errstr) in main()
229 errx(1, "timeout %s: %s", errstr, optarg); in main()
[all …]
/external/llvm/bindings/go/llvm/
Dsupport.go31 var errstr *C.char
34 C.LLVMLoadLibraryPermanently2(libstr, &errstr)
35 if errstr != nil {
36 err := errors.New(C.GoString(errstr))
37 C.free(unsafe.Pointer(errstr))
Dtarget.go224 var errstr *C.char
227 fail := C.LLVMGetTargetFromTriple(ctriple, &t.C, &errstr)
229 err = errors.New(C.GoString(errstr))
230 C.free(unsafe.Pointer(errstr))
276 var errstr *C.char
278 fail := C.LLVMTargetMachineEmitToMemoryBuffer(tm.C, m.C, C.LLVMCodeGenFileType(ft), &errstr, &mb.C)
280 err := errors.New(C.GoString(errstr))
281 C.free(unsafe.Pointer(errstr))
/external/libevent/
Dlog.c59 static void _warn_helper(int severity, const char *errstr, const char *fmt,
170 _warn_helper(int severity, const char *errstr, const char *fmt, va_list ap) in _warn_helper() argument
180 if (errstr) { in _warn_helper()
183 evutil_snprintf(buf + len, sizeof(buf) - len, ": %s", errstr); in _warn_helper()
/external/valgrind/helgrind/
Dhg_errors.c342 HChar* errstr; /* persistent, in tool-arena */ member
362 HChar* errstr; /* persistent, in tool-arena */ member
615 Word err, const HChar* errstr ) in HG_()
620 tl_assert(errstr); in HG_()
626 xe.XE.PthAPIerror.errstr = string_table_strdup(errstr); in HG_()
634 void HG_(record_error_Misc_w_aux) ( Thread* thr, const HChar* errstr, in HG_()
639 tl_assert(errstr); in HG_()
643 xe.XE.Misc.errstr = string_table_strdup(errstr); in HG_()
653 void HG_(record_error_Misc) ( Thread* thr, const HChar* errstr ) in HG_()
655 HG_(record_error_Misc_w_aux)(thr, errstr, NULL, NULL); in HG_()
[all …]
Dhg_errors.h78 void HG_(record_error_Misc_w_aux) ( Thread*, const HChar* errstr,
81 void HG_(record_error_Misc) ( Thread* thr, const HChar* errstr );
Dhg_main.c2105 const HChar* errstr = "Attempt to re-lock a " in evh__HG_PTHREAD_MUTEX_LOCK_PRE() local
2109 HG_(record_error_Misc_w_aux)( thr, errstr, auxstr, lk->acquired_at ); in evh__HG_PTHREAD_MUTEX_LOCK_PRE()
2111 HG_(record_error_Misc)( thr, errstr ); in evh__HG_PTHREAD_MUTEX_LOCK_PRE()
/external/autotest/client/cros/cellular/wardmodem/
Dat_transceiver.py472 errstr = ('Ill formed action |%s|. Action must be of the form: '
477 self._setup_error(errstr)
479 self._setup_error(errstr)
481 self._setup_error(errstr)
490 self._setup_error(errstr)
494 self._setup_error(errstr)
/external/libpcap/
Dpcap-bpf.c1111 char *errstr; in bpf_odminit() local
1114 if (odm_err_msg(odmerrno, &errstr) == -1) in bpf_odminit()
1115 errstr = "Unknown error"; in bpf_odminit()
1118 errstr); in bpf_odminit()
1123 if (odm_err_msg(odmerrno, &errstr) == -1) in bpf_odminit()
1124 errstr = "Unknown error"; in bpf_odminit()
1127 errstr); in bpf_odminit()
1138 char *errstr; in bpf_odmcleanup() local
1142 if (odm_err_msg(odmerrno, &errstr) == -1) in bpf_odmcleanup()
1143 errstr = "Unknown error"; in bpf_odmcleanup()
[all …]
/external/valgrind/exp-sgcheck/
Dpc_common.c787 const HChar* errstr = VG_(get_error_string)(err); in pc_get_extra_suppression_info() local
788 tl_assert(errstr); in pc_get_extra_suppression_info()
789 return VG_(snprintf)(buf, nBuf, "%s", errstr); in pc_get_extra_suppression_info()
/external/dnsmasq/src/
Dtftp.c501 char *errstr = strerror(errno); in tftp_err() local
505 ret += (snprintf(mess->message, 500, message, file, errstr) + 1); in tftp_err()
/external/sqlite/dist/orig/
Dsqlite3ext.h244 const char *(*errstr)(int); member
487 #define sqlite3_errstr sqlite3_api->errstr
/external/sqlite/dist/
Dsqlite3ext.h244 const char *(*errstr)(int); member
487 #define sqlite3_errstr sqlite3_api->errstr
/external/valgrind/memcheck/
Dmc_errors.c1530 const HChar* errstr = VG_(get_error_string)(err); in MC_() local
1531 tl_assert(errstr); in MC_()
1532 return VG_(snprintf)(buf, nBuf, "%s", errstr); in MC_()
/external/javasqlite/src/main/native/
Dsqlite_jni.c2036 transstr errstr; in Java_SQLite_FunctionContext_set_1error() local
2039 trans2iso(env, f->h->haveutf, f->h->enc, err, &errstr); in Java_SQLite_FunctionContext_set_1error()
2046 errstr.result, -1); in Java_SQLite_FunctionContext_set_1error()
2047 transfree(&errstr); in Java_SQLite_FunctionContext_set_1error()
2060 transstr errstr; in Java_SQLite_FunctionContext_set_1error()
2063 trans2iso(env, f->h->haveutf, f->h->enc, err, &errstr); in Java_SQLite_FunctionContext_set_1error()
2069 sqlite_set_result_error((sqlite_func *) f->sf, errstr.result, -1); in Java_SQLite_FunctionContext_set_1error()
2070 transfree(&errstr); in Java_SQLite_FunctionContext_set_1error()
/external/google-breakpad/autotools/
Dltmain.sh3796 char *errstr = strerror (errno);
3797 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
/external/libogg/
Dltmain.sh3796 char *errstr = strerror (errno);
3797 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
/external/libvorbis/
Dltmain.sh3796 char *errstr = strerror (errno);
3797 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
/external/google-tv-pairing-protocol/cpp/
Dltmain.sh3796 char *errstr = strerror (errno);
3797 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
Dlibtool4297 char *errstr = strerror (errno);
4298 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
/external/libusb-compat/
Dltmain.sh3803 char *errstr = strerror (errno);
3804 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
/external/libusb/
Dltmain.sh3796 char *errstr = strerror (errno);
3797 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
/external/libmtp/
Dltmain.sh3796 char *errstr = strerror (errno);
3797 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
/external/libxml2/
Dparser.c347 char errstr[129] = ""; in xmlFatalErr() local
535 snprintf(errstr, 128, "%s\n", errmsg); in xmlFatalErr()
537 snprintf(errstr, 128, "%s: %%s\n", errmsg); in xmlFatalErr()
541 XML_ERR_FATAL, NULL, 0, info, NULL, NULL, 0, 0, &errstr[0], in xmlFatalErr()

12