Searched refs:str_size (Results 1 – 2 of 2) sorted by relevance
422 size_t str_size) in fetch_kernel_version() argument435 if (str && str_size) { in fetch_kernel_version()436 strncpy(str, utsname.release, str_size); in fetch_kernel_version()437 str[str_size - 1] = '\0'; in fetch_kernel_version()
3827 int str_size = (nr_bits + 3) / 4; in print_bitmask_to_seq() local3838 str_size += (nr_bits - 1) / 32; in print_bitmask_to_seq()3840 str = malloc(str_size + 1); in print_bitmask_to_seq()3845 str[str_size] = 0; in print_bitmask_to_seq()3848 for (i = str_size - 2; i >= 0; i -= 2) { in print_bitmask_to_seq()