Searched defs:bufsiz (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfuncs.c512 file_printable(char *buf, size_t bufsiz, const char *str) argument
517 for (ptr = buf, eptr = ptr + bufsiz - 1; ptr < eptr && *s; s++) {
H A Dcdf.c1129 cdf_print_property_name(char *buf, size_t bufsiz, uint32_t p) argument
1135 return snprintf(buf, bufsiz, "%s", vn[i].n);
1136 return snprintf(buf, bufsiz, "0x%x", p);
1140 cdf_print_elapsed_time(char *buf, size_t bufsiz, cdf_timestamp_t ts) argument
1155 len += snprintf(buf + len, bufsiz - len, "%dd+", days);
1156 if ((size_t)len >= bufsiz)
1161 len += snprintf(buf + len, bufsiz - len, "%.2d:", hours);
1162 if ((size_t)len >= bufsiz)
1166 len += snprintf(buf + len, bufsiz - len, "%.2d:", mins);
1167 if ((size_t)len >= bufsiz)
[all...]

Completed in 5 milliseconds