Home
last modified time | relevance | path

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

12

/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/openssh/
Ddh.c48 const char *errstr = NULL; in parse_prime() local
67 n = strtonum(arg, 0, 5, &errstr); in parse_prime()
68 if (errstr != NULL || n != MODULI_TYPE_SAFE) in parse_prime()
74 n = strtonum(arg, 0, 0x1f, &errstr); in parse_prime()
75 if (errstr != NULL || in parse_prime()
81 n = strtonum(arg, 0, 1<<30, &errstr); in parse_prime()
82 if (errstr != NULL || n == 0) in parse_prime()
86 (dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 || in parse_prime()
87 errstr) in parse_prime()
Dssh-keygen.c1929 const char *errstr; in main() local
1962 bits = (u_int32_t)strtonum(optarg, 256, 32768, &errstr); in main()
1963 if (errstr) in main()
1965 optarg, errstr); in main()
2078 UINT_MAX, &errstr); in main()
2079 if (errstr) in main()
2081 optarg, errstr); in main()
2084 trials = (u_int32_t)strtonum(optarg, 1, UINT_MAX, &errstr); in main()
2085 if (errstr) in main()
2087 optarg, errstr); in main()
[all …]
Dmisc.c237 const char *errstr; in a2port() local
239 port = strtonum(s, 0, 65535, &errstr); in a2port()
240 if (errstr != NULL) in a2port()
248 const char *errstr = NULL; in a2tun() local
269 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr); in a2tun()
270 if (errstr != NULL) in a2tun()
Dssh-agent.c1209 const char *errstr = NULL; in main() local
1217 pid = (int)strtonum(pidstr, 2, INT_MAX, &errstr); in main()
1218 if (errstr) { in main()
1221 SSH_AGENTPID_ENV_NAME, pidstr, errstr); in main()
Dscp.c373 const char *errstr; in main() local
433 &errstr); in main()
434 if (errstr != NULL) in main()
Dsftp.c2090 const char *errstr; in main() local
2179 &errstr); in main()
2180 if (errstr != NULL) in main()
/external/libpcap/
Dpcap-bpf.c373 char *errstr; in bpf_odminit() local
376 if (odm_err_msg(odmerrno, &errstr) == -1) in bpf_odminit()
377 errstr = "Unknown error"; in bpf_odminit()
380 errstr); in bpf_odminit()
385 if (odm_err_msg(odmerrno, &errstr) == -1) in bpf_odminit()
386 errstr = "Unknown error"; in bpf_odminit()
389 errstr); in bpf_odminit()
399 char *errstr; in bpf_odmcleanup() local
402 if (odm_err_msg(odmerrno, &errstr) == -1) in bpf_odmcleanup()
403 errstr = "Unknown error"; in bpf_odmcleanup()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/
DSDL_error.c118 char *SDL_GetErrorMsg(char *errstr, unsigned int maxlen) in SDL_GetErrorMsg() argument
123 *errstr = '\0'; --maxlen; in SDL_GetErrorMsg()
129 char *msg = errstr; in SDL_GetErrorMsg()
183 return(errstr); in SDL_GetErrorMsg()
/external/openssl/apps/
Dopenssl.c158 const char *errstr = NULL; in lock_dbg_cb() local
164 errstr = "invalid mode"; in lock_dbg_cb()
170 errstr = "type out of bounds"; in lock_dbg_cb()
178 errstr = "already locked"; in lock_dbg_cb()
190 errstr = "not locked"; in lock_dbg_cb()
196 errstr = (rw == CRYPTO_READ) ? in lock_dbg_cb()
205 errstr = "invalid mode"; in lock_dbg_cb()
210 if (errstr) in lock_dbg_cb()
214 errstr, mode, type, file, line); in lock_dbg_cb()
/external/openssh/openbsd-compat/
Dstrtonum.c41 const char *errstr; in strtonum() member
64 *errstrp = ev[error].errstr; in strtonum()
/external/valgrind/main/helgrind/
Dhg_errors.c332 HChar* errstr; /* persistent, in tool-arena */ member
352 HChar* errstr; /* persistent, in tool-arena */ member
645 Word err, HChar* errstr ) in HG_()
650 tl_assert(errstr); in HG_()
656 xe.XE.PthAPIerror.errstr = string_table_strdup(errstr); in HG_()
664 void HG_(record_error_Misc_w_aux) ( Thread* thr, HChar* errstr, in HG_()
669 tl_assert(errstr); in HG_()
673 xe.XE.Misc.errstr = string_table_strdup(errstr); in HG_()
683 void HG_(record_error_Misc) ( Thread* thr, HChar* errstr ) in HG_()
685 HG_(record_error_Misc_w_aux)(thr, errstr, NULL, NULL); in HG_()
[all …]
Dhg_errors.h66 void HG_(record_error_Misc_w_aux) ( Thread*, HChar* errstr,
68 void HG_(record_error_Misc) ( Thread* thr, HChar* errstr );
Dhg_main.c1956 HChar* errstr = "Attempt to re-lock a " in evh__HG_PTHREAD_MUTEX_LOCK_PRE() local
1960 HG_(record_error_Misc_w_aux)( thr, errstr, auxstr, lk->acquired_at ); in evh__HG_PTHREAD_MUTEX_LOCK_PRE()
1962 HG_(record_error_Misc)( thr, errstr ); in evh__HG_PTHREAD_MUTEX_LOCK_PRE()
/external/qemu/distrib/sdl-1.2.15/src/loadso/macosx/
DSDL_dlcompat.c199 char errstr[ERR_STR_LEN]; member
288 err_str = tss->errstr; in error()
779 const char *errstr; in loadModule() local
844 NSLinkEditError(&ler, &lerno, &file, &errstr); in loadModule()
845 if (!errstr || (!SDL_strlen(errstr))) in loadModule()
848 error(errstr); in loadModule()
870 NSLinkEditError(&ler, &lerno, &file, &errstr); in loadModule()
875 error(errstr); in loadModule()
1181 err_str = tss->errstr; in SDL_OSX_dlerror()
/external/libppp/src/
Dradius.c535 free(r->errstr); in radius_Process()
537 r->errstr = NULL; in radius_Process()
549 if ((r->errstr = rad_cvt_string((const char *)data, in radius_Process()
558 " MS-CHAP-Error \"%s\"\n", r->errstr); in radius_Process()
780 r->errstr = NULL; in radius_Init()
814 free(r->errstr); in radius_Destroy()
815 r->errstr = NULL; in radius_Destroy()
1320 prompt_Printf(p, " Error Message: %s\n", r->errstr ? r->errstr : ""); in radius_Show()
Dradius.h58 char *errstr; /* Error-Message */ member
Dchap.c598 if (*bundle->radius.cfg.file && bundle->radius.errstr) in chap_Failure()
599 msg = bundle->radius.errstr; in chap_Failure()
/external/openssl/ssl/
Dssltest.c422 const char *errstr = NULL; in lock_dbg_cb() local
428 errstr = "invalid mode"; in lock_dbg_cb()
434 errstr = "type out of bounds"; in lock_dbg_cb()
442 errstr = "already locked"; in lock_dbg_cb()
454 errstr = "not locked"; in lock_dbg_cb()
460 errstr = (rw == CRYPTO_READ) ? in lock_dbg_cb()
469 errstr = "invalid mode"; in lock_dbg_cb()
474 if (errstr) in lock_dbg_cb()
478 errstr, mode, type, file, line); in lock_dbg_cb()
/external/openssl/
DApps-config.mk49 apps/errstr.c \
/external/valgrind/main/exp-sgcheck/
Dpc_common.c787 Char* errstr = VG_(get_error_string)(err); in pc_get_extra_suppression_info() local
788 tl_assert(errstr); in pc_get_extra_suppression_info()
789 VG_(snprintf)(buf, nBuf-1, "%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/llvm/lib/IR/
DPassManager.cpp1395 std::string errstr; in run() local
1396 if (F.Materialize(&errstr)) in run()
1397 report_fatal_error("Error reading bitcode file: " + Twine(errstr)); in run()
/external/valgrind/main/memcheck/
Dmc_errors.c1568 Char* errstr = VG_(get_error_string)(err); in MC_() local
1569 tl_assert(errstr); in MC_()
1570 VG_(snprintf)(buf, nBuf-1, "%s", errstr); in MC_()
/external/javasqlite/src/main/native/
Dsqlite_jni.c2037 transstr errstr; in Java_SQLite_FunctionContext_set_1error() local
2040 trans2iso(env, f->h->haveutf, f->h->enc, err, &errstr); in Java_SQLite_FunctionContext_set_1error()
2047 errstr.result, -1); in Java_SQLite_FunctionContext_set_1error()
2048 transfree(&errstr); in Java_SQLite_FunctionContext_set_1error()
2061 transstr errstr; in Java_SQLite_FunctionContext_set_1error()
2064 trans2iso(env, f->h->haveutf, f->h->enc, err, &errstr); in Java_SQLite_FunctionContext_set_1error()
2070 sqlite_set_result_error((sqlite_func *) f->sf, errstr.result, -1); in Java_SQLite_FunctionContext_set_1error()
2071 transfree(&errstr); in Java_SQLite_FunctionContext_set_1error()

12