Searched refs:str_size (Results 1 – 3 of 3) sorted by relevance
348 size_t str_size) in fetch_kernel_version() argument361 if (str && str_size) { in fetch_kernel_version()362 strncpy(str, utsname.release, str_size); in fetch_kernel_version()363 str[str_size - 1] = '\0'; in fetch_kernel_version()
188 int i, str_size = strlen(evstr), in bench__repeat_event_string() local189 final_size = str_size * n + n, in bench__repeat_event_string()198 err = strbuf_add(&buf, evstr, str_size); in bench__repeat_event_string()
3923 int str_size = (nr_bits + 3) / 4; in print_bitmask_to_seq() local3934 str_size += (nr_bits - 1) / 32; in print_bitmask_to_seq()3936 str = malloc(str_size + 1); in print_bitmask_to_seq()3941 str[str_size] = 0; in print_bitmask_to_seq()3944 for (i = str_size - 2; i >= 0; i -= 2) { in print_bitmask_to_seq()