Home
last modified time | relevance | path

Searched refs:filename_buf (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/profiling/memory/
Dproc_utils.cc46 bool GetProcFile(pid_t pid, const char* file, char* filename_buf, size_t size) { in GetProcFile() argument
47 ssize_t written = snprintf(filename_buf, size, "/proc/%d/%s", pid, file); in GetProcFile()
149 char filename_buf[128]; in FindAllProfilablePids() local
150 if (!GetProcFile(pid, "cmdline", filename_buf, sizeof(filename_buf))) in FindAllProfilablePids()
154 if (stat(filename_buf, &statbuf) == 0) in FindAllProfilablePids()
/external/ltp/utils/ffsb-6.0-rc2/
Dfilelist.c404 char filename_buf[FILENAME_MAX * 2]; in add_dir_to_filelist() local
406 if (FILENAME_MAX < snprintf(filename_buf, FILENAME_MAX, "%s/%s", in add_dir_to_filelist()
409 filename_buf); in add_dir_to_filelist()
412 tmp = opendir(filename_buf); in add_dir_to_filelist()
422 if (vfunc(bf, filename_buf, vf_data)) { in add_dir_to_filelist()
429 add_file_named(bf, ffsb_get_filesize(filename_buf), in add_dir_to_filelist()
430 filename_buf); in add_dir_to_filelist()
445 if (vfunc(bf, filename_buf, vf_data)) { in add_dir_to_filelist()
455 retval += add_dir_to_filelist(bf, tmp, filename_buf, in add_dir_to_filelist()
/external/jemalloc/src/
Dprof.c1707 char filename_buf[DUMP_FILENAME_BUFSIZE]; in prof_mdump() local
1719 prof_dump_filename(filename_buf, 'm', prof_dump_mseq); in prof_mdump()
1722 filename = filename_buf; in prof_mdump()
/external/jemalloc_new/src/
Dprof.c1819 char filename_buf[DUMP_FILENAME_BUFSIZE]; in prof_mdump() local
1826 prof_dump_filename(filename_buf, 'm', prof_dump_mseq); in prof_mdump()
1829 filename = filename_buf; in prof_mdump()