Home
last modified time | relevance | path

Searched refs:dirname (Results 1 – 6 of 6) sorted by relevance

/system/core/debuggerd/
Dgetevent.c93 static int read_notify(const char *dirname, int nfd) in read_notify() argument
112 strcpy(devname, dirname); in read_notify()
135 static int scan_dir(const char *dirname) in scan_dir() argument
141 dir = opendir(dirname); in scan_dir()
144 strcpy(devname, dirname); in scan_dir()
/system/core/toolbox/
Dls.c98 static int show_total_size(const char *dirname, DIR *d, int flags) in show_total_size() argument
112 if (strcmp(dirname, "/") == 0) in show_total_size()
115 snprintf(tmp, sizeof(tmp), "%s/%s", dirname, de->d_name); in show_total_size()
299 static int listfile(const char *dirname, const char *filename, int flags) in listfile() argument
311 if (dirname != NULL) { in listfile()
312 snprintf(tmp, sizeof(tmp), "%s/%s", dirname, filename); in listfile()
Dgetevent.c262 const char *dirname = "/sys/kernel/debug/hid"; in print_hid_descriptor() local
272 dir = opendir(dirname); in print_hid_descriptor()
277 snprintf(filename, sizeof(filename), "%s/%s/rdesc", dirname, de->d_name); in print_hid_descriptor()
407 static int read_notify(const char *dirname, int nfd, int print_flags) in read_notify() argument
426 strcpy(devname, dirname); in read_notify()
449 static int scan_dir(const char *dirname, int print_flags) in scan_dir() argument
455 dir = opendir(dirname); in scan_dir()
458 strcpy(devname, dirname); in scan_dir()
/system/extras/latencytop/
Dlatencytop.c202 char dirname[MAX_FILENAME]; in read_process_stats() local
208 sprintf(dirname, "/proc/%d/task", pid); in read_process_stats()
209 dir = opendir(dirname); in read_process_stats()
/system/extras/tests/bionic/libc/
Drun-test.sh20 PROGDIR=`dirname $0`
/system/extras/tests/bionic/libc/common/
Dtest_libgen.c138 ret = dirname(input); in test_dirname()