Searched refs:filename_prefix (Results 1 – 2 of 2) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | database.c | 38 char *machine_id = NULL, *filename_prefix, *full_path; in pa_database_open() local 53 filename_prefix = pa_sprintf_malloc("%s-%s", machine_id, fn); in pa_database_open() 55 filename_prefix = pa_xstrdup(fn); in pa_database_open() 73 if (pa_startswith(de->d_name, filename_prefix) in pa_database_open() 74 && de->d_name[strlen(filename_prefix)] == '.' in pa_database_open() 75 && pa_endswith(de->d_name + strlen(filename_prefix) + 1, filename_suffix)) { in pa_database_open() 80 pa_xfree(filename_prefix); in pa_database_open() 81 … filename_prefix = pa_xstrndup(de->d_name, strlen(de->d_name) - strlen(filename_suffix)); in pa_database_open() 91 full_path = pa_sprintf_malloc("%s" PA_PATH_SEP "%s%s", path, filename_prefix, filename_suffix); in pa_database_open() 101 pa_xfree(filename_prefix); in pa_database_open()
|
/third_party/ltp/testcases/realtime/func/periodic_cpu_load/ |
D | periodic_cpu_load_single.c | 58 static char *filename_prefix = DEFAULT_FILENAME_PREFIX; variable 103 if (asprintf(&samples_filename, "%s-samples", filename_prefix) == -1) { in periodic_thread() 109 if (asprintf(&hist_filename, "%s-hist", filename_prefix) == -1) { in periodic_thread() 174 filename_prefix = v; in parse_args() 223 printf(" logs: %s*\n", filename_prefix); in main()
|