Home
last modified time | relevance | path

Searched refs:timebuf (Results 1 – 15 of 15) sorted by relevance

/external/curl/src/
Dtool_cb_dbg.c36 static void dump(const char *timebuf, const char *text,
53 char timebuf[20]; in tool_debug_cb() local
70 msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld ", in tool_debug_cb()
74 timebuf[0] = 0; in tool_debug_cb()
116 fprintf(output, "%s%s ", timebuf, s_infotype[type]); in tool_debug_cb()
124 fprintf(output, "%s%s ", timebuf, s_infotype[type]); in tool_debug_cb()
133 fprintf(output, "%s%s ", timebuf, s_infotype[type]); in tool_debug_cb()
149 fprintf(output, "%s%s ", timebuf, s_infotype[type]); in tool_debug_cb()
176 dump(timebuf, text, output, (unsigned char *)data, i + 4, in tool_debug_cb()
190 fprintf(output, "%s== Info: %s", timebuf, data); in tool_debug_cb()
[all …]
/external/curl/tests/libtest/
Dtesttrace.c34 void libtest_debug_dump(const char *timebuf, const char *text, FILE *stream, in libtest_debug_dump() argument
46 fprintf(stream, "%s%s, %zu bytes (0x%zx)\n", timebuf, text, in libtest_debug_dump()
93 char timebuf[20]; in libtest_debug_cb() local
99 timebuf[0] = '\0'; in libtest_debug_cb()
100 timestr = &timebuf[0]; in libtest_debug_cb()
111 msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld ", in libtest_debug_cb()
142 libtest_debug_dump(timebuf, text, stderr, data, size, trace_cfg->nohex); in libtest_debug_cb()
/external/eigen/unsupported/doc/examples/
DFFT.cpp78 vector<T_time> timebuf(nfft); in fwd_inv() local
79 RandomFill(timebuf); in fwd_inv()
83 fft.fwd(freqbuf,timebuf); in fwd_inv()
88 long double rmse = mag2(timebuf - timebuf2) / mag2(timebuf); in fwd_inv()
/external/ppp/pppd/plugins/rp-pppoe/
Ddebug.c95 char timebuf[256]; in dumpPacket() local
103 strftime(timebuf, 256, "%H:%M:%S", lt); in dumpPacket()
104 fprintf(fp, "%s.%03d %s PPPoE ", timebuf, millisec, dir); in dumpPacket()
/external/linux-kselftest/tools/testing/selftests/net/
Dnettest.c104 static char *timestamp(char *timebuf, int buflen) in timestamp() argument
109 if (strftime(timebuf, buflen, "%T", localtime(&now)) == 0) { in timestamp()
110 memset(timebuf, 0, buflen); in timestamp()
111 strncpy(timebuf, "00:00:00", buflen-1); in timestamp()
114 return timebuf; in timestamp()
119 char timebuf[64]; in log_msg() local
126 timestamp(timebuf, sizeof(timebuf)), in log_msg()
137 char timebuf[64]; in log_error() local
144 timestamp(timebuf, sizeof(timebuf)), in log_error()
155 char timebuf[64]; in log_err_errno() local
[all …]
/external/curl/docs/examples/
Dhttp2-upload.c110 char timebuf[60]; in my_trace() local
128 curl_msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld", in my_trace()
133 fprintf(stderr, "%s [%d] Info: %s", timebuf, num, data); in my_trace()
/external/eigen/unsupported/test/
DFFTW.cpp29 long double fft_rmse( const VT1 & fftbuf,const VT2 & timebuf) in fft_rmse() argument
36 long double phinc = (long double)(-2.)*k0* pi / timebuf.size(); in fft_rmse()
37 for (size_t k1=0;k1<(size_t)timebuf.size();++k1) { in fft_rmse()
38 acc += promote( timebuf[k1] ) * exp( complex<long double>(0,k1*phinc) ); in fft_rmse()
/external/curl/tests/server/
Dutil.c107 char timebuf[20]; in logmsg() local
125 msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld", in logmsg()
135 fprintf(logfp, "%s %s\n", timebuf, buffer); in logmsg()
143 fprintf(stderr, "Msg not logged: %s %s\n", timebuf, buffer); in logmsg()
/external/blktrace/
Dblkparse_fmt.c91 static char timebuf[128]; in print_time() local
104 snprintf(timebuf, sizeof(timebuf), in print_time()
110 return timebuf; in print_time()
/external/zstd/programs/
Dutil.c178 struct timespec timebuf[2] = { {0, UTIME_NOW} }; in UTIL_setFileStat() local
179 timebuf[1] = statbuf->st_mtim; in UTIL_setFileStat()
180 res += utimensat(AT_FDCWD, filename, timebuf, 0); in UTIL_setFileStat()
184 struct utimbuf timebuf; in UTIL_setFileStat() local
185 timebuf.actime = time(NULL); in UTIL_setFileStat()
186 timebuf.modtime = statbuf->st_mtime; in UTIL_setFileStat()
187 res += utime(filename, &timebuf); in UTIL_setFileStat()
/external/lz4/programs/
Dutil.h290 struct utimbuf timebuf; in UTIL_setFileStat() local
295 timebuf.actime = time(NULL); in UTIL_setFileStat()
296 timebuf.modtime = statbuf->st_mtime; in UTIL_setFileStat()
297 res += utime(filename, &timebuf); /* set access and modification times */ in UTIL_setFileStat()
/external/curl/lib/
Dasyn-ares.c260 struct timeval timebuf; in Curl_resolver_getsock() local
270 &timebuf); in Curl_resolver_getsock()
Dftp.c2046 char timebuf[24]; in ftp_state_mdtm_resp() local
2047 msnprintf(timebuf, sizeof(timebuf), in ftp_state_mdtm_resp()
2051 data->info.filetime = Curl_getdate_capped(timebuf); in ftp_state_mdtm_resp()
/external/seccomp-tests/linux/
Dseccomp_bpf.c454 struct tms timebuf; in TEST_SIGNAL() local
455 clock_t clock = times(&timebuf); in TEST_SIGNAL()
464 EXPECT_LE(clock, syscall(__NR_times, &timebuf)); in TEST_SIGNAL()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c614 struct tms timebuf; in TEST_SIGNAL() local
615 clock_t clock = times(&timebuf); in TEST_SIGNAL()
624 EXPECT_LE(clock, syscall(__NR_times, &timebuf)); in TEST_SIGNAL()