Searched refs:bufsiz (Results 1 – 2 of 2) sorted by relevance
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | cdf.c | 1253 cdf_print_property_name(char *buf, size_t bufsiz, uint32_t p) in cdf_print_property_name() argument 1259 return snprintf(buf, bufsiz, "%s", vn[i].n); in cdf_print_property_name() 1260 return snprintf(buf, bufsiz, "%#x", p); in cdf_print_property_name() 1264 cdf_print_elapsed_time(char *buf, size_t bufsiz, cdf_timestamp_t ts) in cdf_print_elapsed_time() argument 1279 len += snprintf(buf + len, bufsiz - len, "%dd+", days); in cdf_print_elapsed_time() 1280 if ((size_t)len >= bufsiz) in cdf_print_elapsed_time() 1285 len += snprintf(buf + len, bufsiz - len, "%.2d:", hours); in cdf_print_elapsed_time() 1286 if ((size_t)len >= bufsiz) in cdf_print_elapsed_time() 1290 len += snprintf(buf + len, bufsiz - len, "%.2d:", mins); in cdf_print_elapsed_time() 1291 if ((size_t)len >= bufsiz) in cdf_print_elapsed_time() [all …]
|
H A D | funcs.c | 548 file_printable(char *buf, size_t bufsiz, const char *str) in file_printable() argument 553 for (ptr = buf, eptr = ptr + bufsiz - 1; ptr < eptr && *s; s++) { in file_printable()
|
Completed in 10 milliseconds