/dports/databases/db18/db-18.1.40/src/os_windows/ |
H A D | ce_ctime.c | 20 __os_ctime(tod, time_buf) in __os_ctime() argument 22 char *time_buf; 48 time_buf[0] = *ncp++; 49 time_buf[1] = *ncp++; 50 time_buf[2] = *ncp; 52 time_buf[4] = *ncp++; 53 time_buf[5] = *ncp++; 54 time_buf[6] = *ncp; 63 time_buf[20] = ' '; 64 time_buf[21] = ' '; [all …]
|
/dports/databases/db5/db-5.3.28/src/os_windows/ |
H A D | ce_ctime.c | 20 __os_ctime(tod, time_buf) in __os_ctime() argument 22 char *time_buf; 48 time_buf[0] = *ncp++; 49 time_buf[1] = *ncp++; 50 time_buf[2] = *ncp; 52 time_buf[4] = *ncp++; 53 time_buf[5] = *ncp++; 54 time_buf[6] = *ncp; 63 time_buf[20] = ' '; 64 time_buf[21] = ' '; [all …]
|
/dports/devel/z88dk/z88dk/libsrc/time/ |
H A D | asctime.c | 16 char time_buf[26]; 60 memset(time_buf,' ',26); 61 time_buf[24]='\n'; 62 time_buf[25]='\0'; 63 time_buf[13]=':'; 64 time_buf[16]=':'; 68 memcpy(time_buf+8,to_str(time->tm_mday),2); 69 memcpy(time_buf+11,to_str(time->tm_hour),2); 70 memcpy(time_buf+14,to_str(time->tm_min),2); 71 memcpy(time_buf+17,to_str(time->tm_sec),2); [all …]
|
/dports/databases/db18/db-18.1.40/src/os/ |
H A D | os_ctime.c | 23 __os_ctime(tod, time_buf) in __os_ctime() argument 25 char *time_buf; 27 time_buf[CTIME_BUFLEN - 1] = '\0'; 38 (void)ctime_r(tod, time_buf); 40 (void)ctime_r(tod, time_buf, CTIME_BUFLEN); 42 (void)ctime_r(tod, time_buf); 44 (void)strncpy(time_buf, ctime(tod), CTIME_BUFLEN - 1); 46 return (time_buf);
|
/dports/databases/db5/db-5.3.28/src/os/ |
H A D | os_ctime.c | 20 __os_ctime(tod, time_buf) in __os_ctime() argument 22 char *time_buf; 24 time_buf[CTIME_BUFLEN - 1] = '\0'; 37 (void)ctime_r(tod, time_buf, &buflen); 40 (void)ctime_r(tod, time_buf, CTIME_BUFLEN); 42 (void)ctime_r(tod, time_buf); 44 (void)strncpy(time_buf, ctime(tod), CTIME_BUFLEN - 1); 46 return (time_buf);
|
/dports/comms/liquid-dsp/liquid-dsp-1.3.2/src/filter/src/ |
H A D | fftfilt.c | 48 float complex * time_buf; // time buffer [size: 2*n x 1] in FFTFILT() local 102 q->fft = fft_create_plan(2*q->n, q->time_buf, q->freq_buf, LIQUID_FFT_FORWARD, 0); in FFTFILT() 112 q->time_buf[i] = (i < q->h_len) ? q->h[i] : 0; in FFTFILT() 136 free(_q->time_buf); // buffer (time domain) in FFTFILT() 209 memmove(_q->time_buf, _x, _q->n*sizeof(TI)); in FFTFILT() 214 _q->time_buf[i] = _x[i]; in FFTFILT() 220 memset(&_q->time_buf[_q->n], 0, _q->n*sizeof(TI)); in FFTFILT() 223 _q->time_buf[_q->n + i] = 0; in FFTFILT() 258 _y[i] = (_q->time_buf[i] + _q->w[i]) * _q->scale; in FFTFILT() 263 _y[i] = (T) crealf(_q->time_buf[i] + _q->w[i]) * _q->scale; in FFTFILT() [all …]
|
/dports/comms/tlf/tlf-tlf-1.4.1/src/ |
H A D | time_update.c | 71 char time_buf[40]; in update_line() local 77 strncpy(time_buf, timestr, 8); in update_line() 78 mvaddstr(12, 17, time_buf); in update_line() 79 strftime(time_buf, 60, "%d-%b-%y", time_ptr); in update_line() 80 mvaddstr(12, 7, time_buf); in update_line() 121 char time_buf[11]; in time_update() local 175 strftime(time_buf, 10, "%H:%M:%S", time_ptr); in time_update() 176 time_buf[5] = '\0'; in time_update() 190 update_line(time_buf); in time_update()
|
/dports/sysutils/rmlint/rmlint-2.10.1-11-ga726d0cb/lib/formats/ |
H A D | timestamp.c | 47 char time_buf[256]; in rm_fmt_prog() local 48 memset(time_buf, 0, sizeof(time_buf)); in rm_fmt_prog() 49 rm_iso8601_format(time(NULL), time_buf, sizeof(time_buf)); in rm_fmt_prog() 50 fprintf(out, "%s", time_buf); in rm_fmt_prog()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/rtc/ |
H A D | rtc-hid-sensor-time.c | 30 struct rtc_time time_buf; member 56 time_state->last_time = time_state->time_buf; in hid_time_proc_event() 81 struct rtc_time *time_buf = &time_state->time_buf; in hid_time_capture_sample() local 91 time_buf->tm_year = *(u8 *)raw_data; in hid_time_capture_sample() 92 if (time_buf->tm_year < 70) in hid_time_capture_sample() 94 time_buf->tm_year += 100; in hid_time_capture_sample() 96 time_buf->tm_year = in hid_time_capture_sample() 104 time_buf->tm_mday = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample() 107 time_buf->tm_hour = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample() 110 time_buf->tm_min = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/rtc/ |
H A D | rtc-hid-sensor-time.c | 30 struct rtc_time time_buf; member 56 time_state->last_time = time_state->time_buf; in hid_time_proc_event() 81 struct rtc_time *time_buf = &time_state->time_buf; in hid_time_capture_sample() local 91 time_buf->tm_year = *(u8 *)raw_data; in hid_time_capture_sample() 92 if (time_buf->tm_year < 70) in hid_time_capture_sample() 94 time_buf->tm_year += 100; in hid_time_capture_sample() 96 time_buf->tm_year = in hid_time_capture_sample() 104 time_buf->tm_mday = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample() 107 time_buf->tm_hour = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample() 110 time_buf->tm_min = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/rtc/ |
H A D | rtc-hid-sensor-time.c | 30 struct rtc_time time_buf; member 56 time_state->last_time = time_state->time_buf; in hid_time_proc_event() 81 struct rtc_time *time_buf = &time_state->time_buf; in hid_time_capture_sample() local 91 time_buf->tm_year = *(u8 *)raw_data; in hid_time_capture_sample() 92 if (time_buf->tm_year < 70) in hid_time_capture_sample() 94 time_buf->tm_year += 100; in hid_time_capture_sample() 96 time_buf->tm_year = in hid_time_capture_sample() 104 time_buf->tm_mday = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample() 107 time_buf->tm_hour = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample() 110 time_buf->tm_min = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample() [all …]
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/common/ |
H A D | print_fields.c | 323 char time_buf[32]; in print_fields_time() local 324 mins2time_str((time_t) value, time_buf, sizeof(time_buf)); in print_fields_time() 328 printf("%s", time_buf); in print_fields_time() 330 printf("%s|", time_buf); in print_fields_time() 334 printf("%*s ", abs_len, time_buf); in print_fields_time() 336 printf("%-*s ", abs_len, time_buf); in print_fields_time() 357 char time_buf[32]; in print_fields_time_from_secs() local 358 secs2time_str((time_t) value, time_buf, sizeof(time_buf)); in print_fields_time_from_secs() 362 printf("%s", time_buf); in print_fields_time_from_secs() 364 printf("%s|", time_buf); in print_fields_time_from_secs() [all …]
|
/dports/science/py-dlib/dlib-19.22/dlib/ |
H A D | timing.h | 80 inline std::atomic<uint64_t>* time_buf() in time_buf() function 108 time_buf()[i] -= ts(); in start() 113 time_buf()[i] -= ts(); in start() 119 time_buf()[i] += ts(); in stop() 142 if (time_buf()[i] != 0) in print() 144 double time = time_buf()[i]/1000.0/1000.0; in print() 173 time_buf()[i] = 0; in clear()
|
/dports/devel/concurrentqueue/concurrentqueue-1.0.3-15-g0753496/benchmarks/dlib/ |
H A D | timing.h | 80 inline std::atomic<uint64_t>* time_buf() in time_buf() function 108 time_buf()[i] -= ts(); in start() 113 time_buf()[i] -= ts(); in start() 119 time_buf()[i] += ts(); in stop() 142 if (time_buf()[i] != 0) in print() 144 double time = time_buf()[i]/1000.0/1000.0; in print() 173 time_buf()[i] = 0; in clear()
|
/dports/science/dlib-cpp/dlib-19.22/dlib/ |
H A D | timing.h | 80 inline std::atomic<uint64_t>* time_buf() in time_buf() function 108 time_buf()[i] -= ts(); in start() 113 time_buf()[i] -= ts(); in start() 119 time_buf()[i] += ts(); in stop() 142 if (time_buf()[i] != 0) in print() 144 double time = time_buf()[i]/1000.0/1000.0; in print() 173 time_buf()[i] = 0; in clear()
|
/dports/security/xinetd/xinetd-2.3.15/xinetd/ |
H A D | builtins.c | 268 char time_buf[ BUFFER_SIZE ] ; in stream_daytime() local 269 unsigned int buflen = sizeof( time_buf ) ; in stream_daytime() 281 daytime_protocol( time_buf, &buflen ) ; in stream_daytime() 289 char time_buf[ BUFFER_SIZE ] ; in dgram_daytime() local 292 unsigned int buflen = sizeof( time_buf ) ; in dgram_daytime() 301 val = recvfrom( descriptor, time_buf, sizeof( time_buf ), 0, in dgram_daytime() 306 daytime_protocol( time_buf, &buflen ) ; in dgram_daytime() 334 unsigned char time_buf[4]; in stream_time() local 347 time_protocol( time_buf ) ; in stream_time() 357 unsigned char time_buf[4]; in dgram_time() local [all …]
|
H A D | sensor.c | 69 char time_buf[40], *tmp; in process_sensor() local 77 strcpy(time_buf, "-1"); in process_sensor() 79 strx_nprint(time_buf, 38, "%ld", in process_sensor() 82 tmp = new_string(time_buf); in process_sensor() 119 char time_buf[40], *new_exp_time; in process_sensor() local 121 strx_nprint(time_buf, 38, "%ld", (long)new_time); in process_sensor() 122 new_exp_time = new_string(time_buf); in process_sensor()
|
/dports/sysutils/msyslog/msyslog-v1.08g/src/modules/ |
H A D | om_regex.c | 211 char *str, time_buf[16]; in om_regex_write() local 226 strftime(time_buf, sizeof(time_buf), "%b %e %H:%M:%S", in om_regex_write() 229 time_buf[6] = 0; in om_regex_write() 230 time_buf[15] = 0; in om_regex_write() 252 str = time_buf; in om_regex_write() 257 str = time_buf + 7; in om_regex_write()
|
/dports/sysutils/lnav/lnav-0.10.1/src/ |
H A D | fstat_vtab.cc | 139 char time_buf[32]; in get_column() local 232 sql_strftime(time_buf, sizeof(time_buf), vc.c_stat.st_atime, 0); in get_column() 233 sqlite3_result_text(ctx, time_buf, -1, SQLITE_TRANSIENT); in get_column() 236 sql_strftime(time_buf, sizeof(time_buf), vc.c_stat.st_mtime, 0); in get_column() 237 sqlite3_result_text(ctx, time_buf, -1, SQLITE_TRANSIENT); in get_column() 240 sql_strftime(time_buf, sizeof(time_buf), vc.c_stat.st_ctime, 0); in get_column() 241 sqlite3_result_text(ctx, time_buf, -1, SQLITE_TRANSIENT); in get_column()
|
/dports/security/snort3/snort3-3.1.19.0/src/detection/ |
H A D | detection_util.cc | 115 char time_buf[26]; in EventTrace_Init() local 116 ctime_r(&now, time_buf); in EventTrace_Init() 119 TextLog_Print(tlog, "\nTrace started at %s", time_buf); in EventTrace_Init() 129 char time_buf[26]; in EventTrace_Term() local 130 ctime_r(&now, time_buf); in EventTrace_Term() 133 TextLog_Print(tlog, "Trace stopped at %s", time_buf); in EventTrace_Term()
|
/dports/devel/caf/actor-framework-0.18.5/libcaf_core/src/detail/ |
H A D | print.cpp | 12 tm time_buf; in print_timestamp() local 14 localtime_s(&time_buf, &ts); in print_timestamp() 16 localtime_r(&ts, &time_buf); in print_timestamp() 18 auto pos = strftime(buf, buf_size, "%FT%T", &time_buf); in print_timestamp()
|
/dports/mail/courier/courier-0.65.3/courier/libs/ |
H A D | comtmpfile.c | 21 void gettmpfilenameargs(const char **time_buf, in gettmpfilenameargs() argument 48 *time_buf=timeptr; in gettmpfilenameargs() 53 void getnewtmpfilenameargs(const char **time_buf, in getnewtmpfilenameargs() argument 57 gettmpfilenameargs(time_buf, pid_buf, hostname_buf); in getnewtmpfilenameargs()
|
/dports/net/tcpdump/tcpdump-4.99.1/ |
H A D | ntp.c | 59 char time_buf[128]; in p_ntp_time() local 79 strftime(time_buf, sizeof (time_buf), "%Y-%m-%dT%H:%M:%SZ", tm); in p_ntp_time() 80 ND_PRINT(" (%s)", time_buf); in p_ntp_time()
|
/dports/math/ideep/ideep-2.0.0-119-gb57539e/dlcp/src/ |
H A D | dl_compression_util.hpp | 47 char time_buf[20]; \ 48 dl_comp_get_time(time_buf, 20); \ 53 printf("%s: ERROR: (%ld): %s:%d " fmt "\n", time_buf, GET_TID(), \ 65 printf("%s: (%ld): %s:%d " fmt "\n", time_buf, GET_TID(), \
|
/dports/net/mosquitto/mosquitto-2.0.13/plugins/message-timestamp/ |
H A D | mosquitto_message_timestamp.c | 48 char time_buf[25]; in callback_message() local 55 strftime(time_buf, sizeof(time_buf), "%Y-%m-%dT%H:%M:%SZ", ti); in callback_message() 57 …osquitto_property_add_string_pair(&ed->properties, MQTT_PROP_USER_PROPERTY, "timestamp", time_buf); in callback_message()
|