Searched refs:bufsiz (Results 1 – 2 of 2) sorted by relevance
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | cdf.c | 1254 cdf_print_property_name(char *buf, size_t bufsiz, uint32_t p) in cdf_print_property_name() argument 1260 return snprintf(buf, bufsiz, "%s", vn[i].n); in cdf_print_property_name() 1261 return snprintf(buf, bufsiz, "%#x", p); in cdf_print_property_name() 1265 cdf_print_elapsed_time(char *buf, size_t bufsiz, cdf_timestamp_t ts) in cdf_print_elapsed_time() argument 1280 len += snprintf(buf + len, bufsiz - len, "%dd+", days); in cdf_print_elapsed_time() 1281 if (CAST(size_t, len) >= bufsiz) in cdf_print_elapsed_time() 1286 len += snprintf(buf + len, bufsiz - len, "%.2d:", hours); in cdf_print_elapsed_time() 1287 if (CAST(size_t, len) >= bufsiz) in cdf_print_elapsed_time() 1291 len += snprintf(buf + len, bufsiz - len, "%.2d:", mins); in cdf_print_elapsed_time() 1292 if (CAST(size_t, len) >= bufsiz) in cdf_print_elapsed_time() [all …]
|
H A D | funcs.c | 688 file_printable(char *buf, size_t bufsiz, const char *str, size_t slen) in file_printable() argument 690 char *ptr, *eptr = buf + bufsiz - 1; in file_printable()
|
Completed in 10 milliseconds