Home
last modified time | relevance | path

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

12

/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_log.c113 u_char errstr[NGX_MAX_ERROR_STR]; in ngx_log_error_core() local
115 last = errstr + NGX_MAX_ERROR_STR; in ngx_log_error_core()
168 log->writer(log, level, errstr, p - errstr); in ngx_log_error_core()
183 n = ngx_write_fd(log->file->fd, errstr, p - errstr); in ngx_log_error_core()
247 u_char errstr[NGX_MAX_CONF_ERRSTR]; in ngx_log_abort() local
250 p = ngx_vsnprintf(errstr, sizeof(errstr) - 1, fmt, args); in ngx_log_abort()
254 "%*s", p - errstr, errstr); in ngx_log_abort()
263 u_char errstr[NGX_MAX_ERROR_STR]; in ngx_log_stderr() local
265 last = errstr + NGX_MAX_ERROR_STR; in ngx_log_stderr()
267 p = ngx_cpymem(errstr, "nginx: ", 7); in ngx_log_stderr()
[all …]
H A Dngx_regex.c100 const char *errstr; in ngx_regex_compile() local
106 &errstr, &erroff, NULL); in ngx_regex_compile()
115 errstr, &rc->pattern) in ngx_regex_compile()
121 errstr, &rc->pattern, rc->pattern.data + erroff) in ngx_regex_compile()
290 const char *errstr; in ngx_regex_module_init() local
341 elts[i].regex->extra = pcre_study(elts[i].regex->code, opt, &errstr); in ngx_regex_module_init()
343 if (errstr != NULL) { in ngx_regex_module_init()
346 errstr, elts[i].name); in ngx_regex_module_init()
H A Dngx_conf_file.c995 u_char errstr[NGX_MAX_CONF_ERRSTR], *p, *last; in ngx_conf_log_error() local
998 last = errstr + NGX_MAX_CONF_ERRSTR; in ngx_conf_log_error()
1001 p = ngx_vslprintf(errstr, last, fmt, args); in ngx_conf_log_error()
1009 ngx_log_error(level, cf->log, 0, "%*s", p - errstr, errstr); in ngx_conf_log_error()
1015 p - errstr, errstr); in ngx_conf_log_error()
1020 p - errstr, errstr, in ngx_conf_log_error()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_002_pos.ksh34 typeset errstr="feature refcount mismatch"
39 grep "$errstr" $tmpfile
46 grep -q "$errstr" $tmpfile && \
/f-stack/app/redis-5.0.5/deps/hiredis/examples/
H A Dexample-ivykis.c21 printf("Error: %s\n", c->errstr); in connectCallback()
29 printf("Error: %s\n", c->errstr); in disconnectCallback()
43 printf("Error: %s\n", c->errstr); in main()
H A Dexample-libev.c21 printf("Error: %s\n", c->errstr); in connectCallback()
29 printf("Error: %s\n", c->errstr); in disconnectCallback()
41 printf("Error: %s\n", c->errstr); in main()
H A Dexample-libevent.c21 printf("Error: %s\n", c->errstr); in connectCallback()
29 printf("Error: %s\n", c->errstr); in disconnectCallback()
42 printf("Error: %s\n", c->errstr); in main()
H A Dexample-libuv.c21 printf("Error: %s\n", c->errstr); in connectCallback()
29 printf("Error: %s\n", c->errstr); in disconnectCallback()
42 printf("Error: %s\n", c->errstr); in main()
H A Dexample-macosx.c23 printf("Error: %s\n", c->errstr); in connectCallback()
31 printf("Error: %s\n", c->errstr); in disconnectCallback()
50 printf("Error: %s\n", c->errstr); in main()
H A Dexample-ae.c24 printf("Error: %s\n", c->errstr); in connectCallback()
34 printf("Error: %s\n", c->errstr); in disconnectCallback()
49 printf("Error: %s\n", c->errstr); in main()
H A Dexample-glib.c14 g_printerr("Failed to connect: %s\n", ac->errstr); in connect_cb()
26 g_error("Failed to disconnect: %s", ac->errstr); in disconnect_cb()
57 g_printerr("%s\n", ac->errstr); in main()
H A Dexample-qt.cpp25 cerr << "Error: " << m_ctx->errstr << endl; in run()
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dtest.c117 printf("Connection error: %s\n", c->errstr); in connect()
302 strncasecmp(reader->errstr,"No support for",14) == 0); in test_reply_reader()
365 (strcmp(c->errstr,"Name or service not known") == 0 || in test_blocking_connection_errors()
366 strcmp(c->errstr,"Can't resolve: idontexist.test") == 0 || in test_blocking_connection_errors()
367 strcmp(c->errstr,"nodename nor servname provided, or not known") == 0 || in test_blocking_connection_errors()
368 strcmp(c->errstr,"No address associated with hostname") == 0 || in test_blocking_connection_errors()
369 strcmp(c->errstr,"Temporary failure in name resolution") == 0 || in test_blocking_connection_errors()
370 strcmp(c->errstr,"hostname nor servname provided, or not known") == 0 || in test_blocking_connection_errors()
371 strcmp(c->errstr,"no address associated with name") == 0)); in test_blocking_connection_errors()
377 strcmp(c->errstr,"Connection refused") == 0); in test_blocking_connection_errors()
[all …]
H A Dread.h82 char errstr[128]; /* String representation of error when applicable */ member
105 #define redisReaderGetError(_r) (((redisReader*)(_r))->errstr)
H A Dhiredis.c578 len = len < (sizeof(c->errstr)-1) ? len : (sizeof(c->errstr)-1); in __redisSetError()
579 memcpy(c->errstr,str,len); in __redisSetError()
580 c->errstr[len] = '\0'; in __redisSetError()
584 __redis_strerror_r(errno, c->errstr, sizeof(c->errstr)); in __redisSetError()
600 c->errstr[0] = '\0'; in redisContextInit()
645 memset(c->errstr, '\0', strlen(c->errstr)); in redisReconnect()
815 __redisSetError(c,c->reader->err,c->reader->errstr); in redisBufferRead()
864 __redisSetError(c,c->reader->err,c->reader->errstr); in redisGetReplyFromReader()
H A Dread.c67 len = len < (sizeof(r->errstr)-1) ? len : (sizeof(r->errstr)-1); in __redisReaderSetError()
68 memcpy(r->errstr,str,len); in __redisReaderSetError()
69 r->errstr[len] = '\0'; in __redisReaderSetError()
424 r->errstr[0] = '\0'; in redisReaderCreateWithFunctions()
H A Dasync.c120 ac->errstr = NULL; in redisAsyncInitialize()
150 ac->errstr = c->errstr; in __redisAsyncCopyError()
457 snprintf(c->errstr,sizeof(c->errstr),"%s",((redisReply*)reply)->str); in redisProcessCallbacks()
/f-stack/tools/ifconfig/
H A Daf_inet.c153 const char *errstr; in in_getaddr() local
159 errstr = "invalid"; in in_getaddr()
161 masklen = (int)strtonum(p + 1, 0, 32, &errstr); in in_getaddr()
162 if (errstr != NULL) { in in_getaddr()
164 errx(1, "%s: bad value (width %s)", s, errstr); in in_getaddr()
/f-stack/tools/compat/
H A Dstrtonum.c43 const char *errstr; in strtonum() member
66 *errstrp = ev[error].errstr; in strtonum()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_errno.c33 ngx_strerror(ngx_err_t err, u_char *errstr, size_t size) in ngx_strerror() argument
41 return ngx_cpymem(errstr, msg->data, size); in ngx_strerror()
H A Dngx_errno.h75 u_char *ngx_strerror(ngx_err_t err, u_char *errstr, size_t size);
/f-stack/freebsd/contrib/openzfs/lib/libshare/
H A Dlibshare.c184 static char errstr[32]; in sa_errorstr() local
291 (void) snprintf(errstr, sizeof (errstr), in sa_errorstr()
293 ret = errstr; in sa_errorstr()
/f-stack/freebsd/contrib/ngatm/netnatm/sig/
H A Dsig_print.c58 static const char *const errstr[] = { in uni_strerr() local
65 if (err >= sizeof(errstr)/sizeof(errstr[0]) || errstr[err] == NULL) { in uni_strerr()
69 return (errstr[err]); in uni_strerr()
/f-stack/tools/ipfw/
H A Dmain.c113 const char *errstr; in ipfw_main() local
407 &errstr); in ipfw_main()
408 if (errstr) in ipfw_main()
/f-stack/dpdk/drivers/net/failsafe/
H A Dfailsafe_ether.c32 const char *errstr; in fs_flow_complain() local
38 errstr = "unknown type"; in fs_flow_complain()
40 errstr = errstrlist[error->type]; in fs_flow_complain()
42 error->type, errstr, in fs_flow_complain()

12