Searched refs:dirname (Results 1 - 6 of 6) sorted by relevance
/system/core/debuggerd/ |
H A D | getevent.c | 93 static int read_notify(const char *dirname, int nfd) argument 112 strcpy(devname, dirname); 135 static int scan_dir(const char *dirname) argument 141 dir = opendir(dirname); 144 strcpy(devname, dirname);
|
/system/core/toolbox/ |
H A D | ls.c | 99 static int show_total_size(const char *dirname, DIR *d, int flags) argument 113 if (strcmp(dirname, "/") == 0) 116 snprintf(tmp, sizeof(tmp), "%s/%s", dirname, de->d_name); 308 static int listfile(const char *dirname, const char *filename, int flags) argument 318 if (dirname != NULL) { 319 snprintf(tmp, sizeof(tmp), "%s/%s", dirname, filename);
|
H A D | getevent.c | 262 const char *dirname = "/sys/kernel/debug/hid"; local 272 dir = opendir(dirname); 277 snprintf(filename, sizeof(filename), "%s/%s/rdesc", dirname, de->d_name); 407 static int read_notify(const char *dirname, int nfd, int print_flags) argument 426 strcpy(devname, dirname); 449 static int scan_dir(const char *dirname, int print_flags) argument 455 dir = opendir(dirname); 458 strcpy(devname, dirname);
|
/system/extras/tests/bionic/libc/ |
H A D | run-test.sh | 20 PROGDIR=`dirname $0`
|
/system/extras/latencytop/ |
H A D | latencytop.c | 202 char dirname[MAX_FILENAME]; local 208 sprintf(dirname, "/proc/%d/task", pid); 209 dir = opendir(dirname);
|
/system/extras/tests/bionic/libc/common/ |
H A D | test_libgen.c | 1 // test the basename, dirname, basename_r and dirname_r 138 ret = dirname(input); 142 "KO: dirname(\"%s\") returned \"%s\", NULL expected)\n", 147 "KO: dirname(\"%s\") returned NULL with error: %d (%d expected)\n", 151 printf( "OK: dirname(\"%s\") returned NULL with error %d\n", 156 fprintf(stderr, "KO: dirname(\"%s\") returned NULL with error %d\n", 161 fprintf(stderr, "KO: dirname(\"%s\") returned \"%s\", instead of \"%s\"\n", 165 printf( "OK: dirname(\"%s\") returned \"%s\"\n",
|
Completed in 2153 milliseconds