Searched refs:result_sz (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/perf/tests/ |
D | tests-scripts.c | 172 size_t *result_sz) in append_script() argument 208 result_tmp = realloc(*result, (*result_sz + 1) * sizeof(*result_tmp)); in append_script() 217 (*result)[*result_sz] = test_suite; in append_script() 218 (*result_sz)++; in append_script() 223 size_t *result_sz) in append_scripts_in_dir() argument 242 append_script(dir_fd, ent->d_name, desc, result, result_sz); in append_scripts_in_dir() 257 append_scripts_in_dir(fd, result, result_sz); in append_scripts_in_dir() 267 size_t result_sz = 0; in create_script_test_suites() local 275 append_scripts_in_dir(dir_fd, &result, &result_sz); in create_script_test_suites() 277 result_tmp = realloc(result, (result_sz + 1) * sizeof(*result_tmp)); in create_script_test_suites() [all …]
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf.c | 11893 static int resolve_full_path(const char *file, char *result, size_t result_sz) in resolve_full_path() argument 11924 snprintf(result, result_sz, "%.*s/%s", seg_len, s, file); in resolve_full_path()
|