Home
last modified time | relevance | path

Searched refs:timebuf (Results 1 - 12 of 12) sorted by relevance

/third_party/curl/src/
H A Dtool_cb_dbg.c37 static void dump(const char *timebuf, const char *idsbuf, const char *text,
70 static void log_line_start(FILE *log, const char *timebuf, in log_line_start() argument
80 if((timebuf && *timebuf) || (idsbuf && *idsbuf)) in log_line_start()
81 fprintf(log, "%s%s%s", timebuf, idsbuf, s_infotype[type]); in log_line_start()
101 char timebuf[20]; in tool_debug_cb() local
114 msnprintf(timebuf, sizeof(timebuf), "%s.%06ld ", in tool_debug_cb()
118 timebuf[0] = 0; in tool_debug_cb()
167 log_line_start(output, timebuf, idsbu in tool_debug_cb()
249 dump(const char *timebuf, const char *idsbuf, const char *text, FILE *stream, const unsigned char *ptr, size_t size, trace tracetype, curl_infotype infotype) dump() argument
[all...]
/third_party/curl/tests/libtest/
H A Dtesttrace.c36 void libtest_debug_dump(const char *timebuf, const char *text, FILE *stream, in libtest_debug_dump() argument
48 fprintf(stream, "%s%s, %zu bytes (0x%zx)\n", timebuf, text, in libtest_debug_dump()
95 char timebuf[20]; in libtest_debug_cb() local
101 timebuf[0] = '\0'; in libtest_debug_cb()
102 timestr = &timebuf[0]; in libtest_debug_cb()
113 msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld ", in libtest_debug_cb()
143 libtest_debug_dump(timebuf, text, stderr, data, size, trace_cfg->nohex); in libtest_debug_cb()
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dsyslog.c90 char timebuf[16]; in _vsyslog() local
106 strftime(timebuf, sizeof timebuf, "%b %e %T", &tm); in _vsyslog()
110 priority, timebuf, &hlen, log_ident, "["+!pid, pid, "]"+!pid); in _vsyslog()
/third_party/musl/src/misc/
H A Dsyslog.c91 char timebuf[16]; in _vsyslog() local
107 strftime_l(timebuf, sizeof timebuf, "%b %e %T", &tm, C_LOCALE); in _vsyslog()
111 priority, timebuf, &hlen, log_ident, "["+!pid, pid, "]"+!pid); in _vsyslog()
/third_party/lz4/programs/
H A Dutil.h365 struct utimbuf timebuf; in UTIL_setFileStat() local
366 timebuf.actime = time(NULL); in UTIL_setFileStat()
367 timebuf.modtime = statbuf->st_mtime; in UTIL_setFileStat()
368 res += utime(filename, &timebuf); /* set access and modification times */ in UTIL_setFileStat()
370 struct timespec timebuf[2]; in UTIL_setFileStat()
371 memset(timebuf, 0, sizeof(timebuf)); in UTIL_setFileStat()
372 timebuf[0].tv_nsec = UTIME_NOW; in UTIL_setFileStat()
373 timebuf[1].tv_sec = statbuf->st_mtime; in UTIL_setFileStat()
374 res += utimensat(AT_FDCWD, filename, timebuf, in UTIL_setFileStat()
[all...]
/third_party/curl/docs/examples/
H A Dhttp2-upload.c112 char timebuf[60]; in my_trace() local
130 curl_msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld", in my_trace()
135 fprintf(stderr, "%s [%d] Info: %s", timebuf, num, data); in my_trace()
/third_party/ffmpeg/libavformat/tests/
H A Dmovenc.c111 char timebuf[30], content[5] = { 0 }; in io_write_data_type() local
122 snprintf(timebuf, sizeof(timebuf), "nopts"); in io_write_data_type()
124 snprintf(timebuf, sizeof(timebuf), "%"PRId64, time); in io_write_data_type()
134 printf("write_data len %d, time %s, type %s atom %s\n", size, timebuf, str, content); in io_write_data_type()
/third_party/curl/tests/server/
H A Dutil.c95 char timebuf[20]; in logmsg() local
113 msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld", in logmsg()
123 fprintf(logfp, "%s %s\n", timebuf, buffer); in logmsg()
131 fprintf(stderr, "Msg not logged: %s %s\n", timebuf, buffer); in logmsg()
/third_party/node/src/
H A Dnode_report.cc120 char timebuf[64]; in WriteNodeReport() local
122 snprintf(timebuf, in WriteNodeReport()
123 sizeof(timebuf), in WriteNodeReport()
131 writer.json_keyvalue("dumpEventTime", timebuf); in WriteNodeReport()
133 snprintf(timebuf, in WriteNodeReport()
134 sizeof(timebuf), in WriteNodeReport()
142 writer.json_keyvalue("dumpEventTime", timebuf); in WriteNodeReport()
/third_party/libcoap/src/
H A Dcoap_debug.c1209 char timebuf[32]; in coap_log_impl() local
1218 len = print_timestamp(timebuf,sizeof(timebuf), now); in coap_log_impl()
1220 fprintf(log_fd, "%.*s ", (int)len, timebuf); in coap_log_impl()
/third_party/curl/lib/
H A Dasyn-ares.c294 struct timeval timebuf; in Curl_resolver_getsock() local
304 &timebuf); in Curl_resolver_getsock()
H A Dftp.c2114 char timebuf[24]; in ftp_state_mdtm_resp() local
2115 msnprintf(timebuf, sizeof(timebuf), in ftp_state_mdtm_resp()
2119 data->info.filetime = Curl_getdate_capped(timebuf); in ftp_state_mdtm_resp()

Completed in 20 milliseconds