Lines Matching refs:size
39 int string_get_size(u64 size, u64 blk_size, const enum string_size_units units, in string_get_size() argument
66 size = 0; in string_get_size()
67 if (size == 0) in string_get_size()
86 while (size >> 32) { in string_get_size()
87 do_div(size, divisor[units_base]); in string_get_size()
93 size *= blk_size; in string_get_size()
96 while (size >= divisor[units_base]) { in string_get_size()
97 remainder = do_div(size, divisor[units_base]); in string_get_size()
103 sf_cap = size; in string_get_size()
120 size += 1; in string_get_size()
134 return snprintf(buf, len, "%u%s%s%s%s", (u32)size, tmp, in string_get_size()
323 int string_unescape(char *src, char *dst, size_t size, unsigned int flags) in string_unescape() argument
327 if (!size) in string_unescape()
328 size = SIZE_MAX; in string_unescape()
330 while (*src && --size) { in string_unescape()
331 if (src[0] == '\\' && src[1] != '\0' && size > 1) { in string_unescape()
333 size--; in string_unescape()
863 size_t size; in strim() local
866 size = strlen(s); in strim()
867 if (!size) in strim()
870 end = s + size - 1; in strim()
1028 void __fortify_report(const u8 reason, const size_t avail, const size_t size) in __fortify_report() argument
1036 name, size, str_read_write(!write), avail); in __fortify_report()
1040 void __fortify_panic(const u8 reason, const size_t avail, const size_t size) in __fortify_panic() argument
1042 __fortify_report(reason, avail, size); in __fortify_panic()