Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 28) sorted by relevance

12

/unit/src/
H A Dnxt_sprintf.c135 fmt++; in nxt_vsprintf()
142 fmt++; in nxt_vsprintf()
154 fmt++; in nxt_vsprintf()
171 fmt++; in nxt_vsprintf()
197 while (*fmt >= '0' && *fmt <= '9') { in nxt_vsprintf()
231 while (*fmt >= '0' && *fmt <= '9') { in nxt_vsprintf()
266 fmt++; in nxt_vsprintf()
373 fmt++; in nxt_vsprintf()
460 fmt++; in nxt_vsprintf()
465 fmt++; in nxt_vsprintf()
[all …]
H A Dnxt_file_name.c28 const char *fmt; in nxt_file_name_create() local
32 fmt = format; in nxt_file_name_create()
37 ch = *fmt++; in nxt_file_name_create()
49 ch = *fmt++; in nxt_file_name_create()
76 fmt++; in nxt_file_name_create()
81 ch = *fmt++; in nxt_file_name_create()
123 fmt = format; in nxt_file_name_create()
126 ch = *fmt++; in nxt_file_name_create()
138 ch = *fmt++; in nxt_file_name_create()
165 ch = *fmt++; in nxt_file_name_create()
[all …]
H A Dnxt_unit.h362 const char* fmt, ...) NXT_ATTR_FORMAT;
366 #define nxt_unit_debug(ctx, fmt, ARGS...) \ argument
369 #define nxt_unit_req_debug(req, fmt, ARGS...) \ argument
374 #define nxt_unit_debug(ctx, fmt, ARGS...) argument
376 #define nxt_unit_req_debug(req, fmt, ARGS...) argument
381 #define nxt_unit_warn(ctx, fmt, ARGS...) \ argument
384 #define nxt_unit_req_warn(req, fmt, ARGS...) \ argument
387 #define nxt_unit_error(ctx, fmt, ARGS...) \ argument
390 #define nxt_unit_req_error(req, fmt, ARGS...) \ argument
393 #define nxt_unit_alert(ctx, fmt, ARGS...) \ argument
[all …]
H A Dnxt_sprintf.h16 const char *fmt, ...);
18 const char *fmt, va_list args);
H A Dnxt_polarssl.c25 const char *fmt, ...);
102 const char *fmt, ...) in nxt_polarssl_log_error() argument
109 va_start(args, fmt); in nxt_polarssl_log_error()
110 p = nxt_vsprintf(msg, end, fmt, args); in nxt_polarssl_log_error()
H A Dnxt_time_parse.c33 } fmt; in nxt_time_parse() local
35 fmt = RFC822; in nxt_time_parse()
46 fmt = ISOC; in nxt_time_parse()
66 if (fmt != ISOC) { in nxt_time_parse()
82 fmt = RFC850; in nxt_time_parse()
132 switch (fmt) { in nxt_time_parse()
222 if (fmt == ISOC) { in nxt_time_parse()
H A Dnxt_log.c67 nxt_log_handler(nxt_uint_t level, nxt_log_t *log, const char *fmt, ...) in nxt_log_handler() argument
92 va_start(args, fmt); in nxt_log_handler()
93 p = nxt_vsprintf(p, end, fmt, args); in nxt_log_handler()
H A Dnxt_app_log.c20 nxt_log_time_handler(nxt_uint_t level, nxt_log_t *log, const char *fmt, ...) in nxt_log_time_handler() argument
71 va_start(args, fmt); in nxt_log_time_handler()
72 p = nxt_vsprintf(p, end, fmt, args); in nxt_log_time_handler()
H A Dnxt_process_title.c190 nxt_process_title(nxt_task_t *task, const char *fmt, ...) in nxt_process_title() argument
203 va_start(args, fmt); in nxt_process_title()
204 p = nxt_vsprintf(start, end, fmt, args); in nxt_process_title()
H A Dnxt_cyassl.c39 const char *fmt, ...);
43 int ret, const char *fmt, ...);
536 nxt_cyassl_conn_error(nxt_event_conn_t *c, nxt_err_t err, const char *fmt, ...) in nxt_cyassl_conn_error() argument
552 va_start(args, fmt); in nxt_cyassl_conn_error()
553 p = nxt_vsprintf(msg, end, fmt, args); in nxt_cyassl_conn_error()
586 const char *fmt, ...) in nxt_cyassl_log_error() argument
596 va_start(args, fmt); in nxt_cyassl_log_error()
597 p = nxt_vsprintf(msg, end, fmt, args); in nxt_cyassl_log_error()
H A Dnxt_process.h206 #define nxt_process_title(task, fmt, ...) \ argument
207 setproctitle(fmt, __VA_ARGS__)
212 NXT_EXPORT void nxt_process_title(nxt_task_t *task, const char *fmt, ...);
H A Dnxt_gnutls.c56 ssize_t err, const char *fmt, ...);
59 int err, const char *fmt, ...);
682 const char *fmt, ...) in nxt_gnutls_conn_log_error() argument
692 va_start(args, fmt); in nxt_gnutls_conn_log_error()
693 p = nxt_vsprintf(msg, msg + sizeof(msg), fmt, args); in nxt_gnutls_conn_log_error()
731 const char *fmt, ...) in nxt_gnutls_log_error() argument
736 va_start(args, fmt); in nxt_gnutls_log_error()
737 p = nxt_vsprintf(msg, msg + sizeof(msg), fmt, args); in nxt_gnutls_log_error()
H A Dnxt_log.h23 const char *fmt, ...);
41 const char *fmt, ...);
H A Dnxt_tls.h99 const char *fmt, ...);
H A Dnxt_openssl.c104 nxt_err_t err, const char *fmt, ...);
1627 nxt_openssl_conn_error(nxt_task_t *task, nxt_err_t err, const char *fmt, ...) argument
1640 va_start(args, fmt);
1641 p = nxt_vsprintf(msg, end, fmt, args);
1736 nxt_openssl_log_error(nxt_task_t *task, nxt_uint_t level, const char *fmt, ...) argument
1744 va_start(args, fmt);
1745 p = nxt_vsprintf(msg, end, fmt, args);
/unit/pkg/deb/debian/
H A Dunit.example-go-app4 "fmt"
12 fmt.Fprintf(w, "Method : %s\n", r.Method)
13 fmt.Fprintf(w, "URL : %s\n", r.URL.Path)
14 fmt.Fprintf(w, "Host : %s\n", r.Host)
/unit/pkg/deb/debian.module/
H A Dunit.example-go-app4 "fmt"
12 fmt.Fprintf(w, "Method : %s\n", r.Method)
13 fmt.Fprintf(w, "URL : %s\n", r.URL.Path)
14 fmt.Fprintf(w, "Host : %s\n", r.Host)
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example-go-app4 "fmt"
12 fmt.Fprintf(w, "Method : %s\n", r.Method)
13 fmt.Fprintf(w, "URL : %s\n", r.URL.Path)
14 fmt.Fprintf(w, "Host : %s\n", r.Host)
/unit/test/go/variables/
H A Dapp.go17 w.Header().Set("Server-Protocol-Major", fmt.Sprintf("%v", r.ProtoMajor))
18 w.Header().Set("Server-Protocol-Minor", fmt.Sprintf("%v", r.ProtoMinor))
19 w.Header().Set("Content-Length", fmt.Sprintf("%v", len))
/unit/test/go/command_line_arguments/
H A Dapp.go15 w.Header().Add("X-Arg-0", fmt.Sprintf("%v", os.Args[0]))
16 w.Header().Add("Content-Length", fmt.Sprintf("%v", len(args)))
/unit/src/test/
H A Dnxt_sprintf_test.c30 nxt_sprintf_test_double(u_char *buf, u_char *end, const char *fmt, in nxt_sprintf_test_double() argument
35 p = nxt_sprintf(buf, end, fmt, n); in nxt_sprintf_test_double()
H A Dnxt_clone_test.c34 const char *fmt, ...);
388 const char *fmt, ...) in nxt_clone_test_log_handler() argument
402 va_start(args, fmt); in nxt_clone_test_log_handler()
403 p = nxt_vsprintf(p, end, fmt, args); in nxt_clone_test_log_handler()
/unit/test/go/mirror/
H A Dapp.go14 w.Header().Add("Content-Length", fmt.Sprintf("%v", len))
/unit/go/
H A Dunit.go88 str := fmt.Sprintf("[go] " + format, args...)
94 str := fmt.Sprintf("[go] " + format, args...)
/unit/test/go/ns_inspect/
H A Dapp.go42 str, err := os.Readlink(fmt.Sprintf("/proc/self/ns/%s", nstype))

12