Searched refs:str_size (Results 1 – 2 of 2) sorted by relevance
312 size_t str_size) in fetch_kernel_version() argument325 if (str && str_size) { in fetch_kernel_version()326 strncpy(str, utsname.release, str_size); in fetch_kernel_version()327 str[str_size - 1] = '\0'; in fetch_kernel_version()
3909 int str_size = (nr_bits + 3) / 4; in print_bitmask_to_seq() local3920 str_size += (nr_bits - 1) / 32; in print_bitmask_to_seq()3922 str = malloc(str_size + 1); in print_bitmask_to_seq()3927 str[str_size] = 0; in print_bitmask_to_seq()3930 for (i = str_size - 2; i >= 0; i -= 2) { in print_bitmask_to_seq()