/external/bison/lib/ |
H A D | dirname.c | 32 dir_name (char const *file) function
|
/external/e2fsprogs/lib/e2p/ |
H A D | iod.c | 27 int iterate_on_dir (const char * dir_name, argument 36 max_len = pathconf(dir_name, _PC_NAME_MAX); 56 dir = opendir (dir_name); 70 if ((*func)(dir_name, de, private))
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
H A D | rmdir05.c | 62 static char dir_name[256]; variable 177 if (mkdir(dir_name, 0777) != 0) { 180 dir_name, errno, strerror(errno)); 183 TEST(rmdir(dir_name)); 188 dir_name, TEST_ERRNO, strerror(TEST_ERRNO)); 191 if (stat(dir_name, &stat_buf) != 0) { 194 dir_name); 198 dir_name); 222 sprintf(dir_name, "./dir_%d", getpid());
|
/external/google-breakpad/src/common/ |
H A D | dwarf_line_to_module.cc | 81 string dir_name; local 85 dir_name = compilation_dir_; 89 dir_name = directory_it->second; 99 string full_name = ExpandPath(name, dir_name);
|
/external/selinux/python/sepolgen/src/sepolgen/ |
H A D | module.py | 54 def dir_name(self): member in class:ModuleTree
|
/external/e2fsprogs/misc/ |
H A D | lsattr.c | 139 static int lsattr_dir_proc (const char * dir_name, struct dirent * de, argument 144 int dir_len = strlen(dir_name); 148 if (dir_len && dir_name[dir_len-1] == '/') 149 sprintf (path, "%s%s", dir_name, de->d_name); 151 sprintf (path, "%s/%s", dir_name, de->d_name);
|
H A D | chattr.c | 286 static int chattr_dir_proc (const char * dir_name, struct dirent * de, argument 294 path = malloc(strlen (dir_name) + 1 + strlen (de->d_name) + 1); 301 sprintf(path, "%s/%s", dir_name, de->d_name);
|
H A D | e4defrag.c | 1677 char dir_name[PATH_MAX + 1]; local 1719 memset(dir_name, 0, PATH_MAX + 1); 1752 if (get_mount_point(argv[i], dir_name, PATH_MAX) < 0) 1754 if (lstat64(dir_name, &buf) < 0) { 1770 strncpy(dir_name, argv[i], strnlen(argv[i], PATH_MAX)); 1790 if (realpath(argv[i], dir_name) == NULL) { 1830 if (dir_name[mount_dir_len] != '\0') { 1835 if (strncmp(lost_found_dir, dir_name, 1838 (dir_name[strnlen(lost_found_dir, 1840 dir_name[strnle [all...] |
/external/webrtc/webrtc/base/ |
H A D | filerotatingstream_unittest.cc | 25 void Init(const std::string& dir_name, argument 32 test_path.AppendFolder(dir_name); 187 void Init(const std::string& dir_name, size_t max_total_log_size) { argument 191 test_path.AppendFolder(dir_name);
|
/external/e2fsprogs/debugfs/ |
H A D | filefrag.c | 44 const char *dir_name; member in struct:filefrag_struct 195 cp = malloc(strlen(fs->dir_name) + strlen(name) + 2); 198 fs->dir_name, name); 202 sprintf(cp, "%s/%s", fs->dir_name, name); 241 fs->dir_name = fs->name; 259 fs->dir_name = p->name;
|
/external/e2fsprogs/ext2ed/ |
H A D | dir_com.c | 220 char *ptr,full_dir_name [500],dir_name [500],temp [500],temp2 [500]; local 226 ptr=parse_word (command_line,dir_name); 242 strcpy (dir_name,full_dir_name); 247 strncpy (dir_name,full_dir_name,ptr-full_dir_name); 248 dir_name [ptr-full_dir_name]=0; 251 /* dir_name contains the current entry, while */ 254 strcpy (name_search,dir_name); /* name_search is used to hold the required entry name */ 256 if (dir_entry_ptr->name_len != strlen (dir_name) || 257 strncmp (dir_name,dir_entry_ptr->name,dir_entry_ptr->name_len)!=0) 309 wprintw (command_win,"Error - Directory entry %s not found.\n",dir_name); /* Hm [all...] |
/external/vboot_reference/cgpt/ |
H A D | cgpt_nor.c | 153 static int split_gpt(const char *dir_name, const char *file_name) { argument 156 if (asprintf(&source, "%s/%s", dir_name, file_name) == -1) {
|
/external/webrtc/webrtc/tools/converter/ |
H A D | converter.cc | 155 std::string Converter::FindFullFileName(std::string dir_name, argument 157 return dir_name + SEPARATOR + file_name;
|
/external/libmicrohttpd/src/examples/ |
H A D | demo.c | 312 char dir_name[128]; local 339 snprintf (dir_name, sizeof (dir_name), 343 if (0 != stat (dir_name, &sbuf)) 353 if (MHD_NO == list_directory (&rdc, dir_name))
|
H A D | demo_https.c | 313 char dir_name[128]; local 340 snprintf (dir_name, sizeof (dir_name), 344 if (0 != stat (dir_name, &sbuf)) 354 if (MHD_NO == list_directory (&rdc, dir_name))
|
/external/syslinux/core/fs/fat/ |
H A D | fat.c | 404 static uint8_t get_checksum(const char *dir_name) argument 410 sum = ((sum & 1) << 7) + (sum >> 1) + (uint8_t)*dir_name++;
|
/external/v8/src/ |
H A D | d8.cc | 552 const std::string& dir_name) { 557 result = dir_name + '/' + path; 658 std::string dir_name = DirName(file_name); local 660 .insert(std::make_pair(Global<Module>(isolate, module), dir_name)) 665 std::string absolute_path = NormalizePath(ToSTLString(name), dir_name); 551 NormalizePath(const std::string& path, const std::string& dir_name) argument
|
/external/squashfs-tools/squashfs-tools/ |
H A D | mksquashfs.c | 3422 char *dir_name = getbase(source_path[index]); local 3425 if(dir_name == NULL) { 3432 dir_name = strdup(dir_name); 3436 for(; dir_ent && strcmp(dir_ent->name, dir_name) != 0; 3441 " ", dir_name); 3443 basename = dir_name; 3445 free(dir_name); 3446 res = asprintf(&dir_name, "%s_%d", basename, pass++); 3450 ERROR("%s\n", dir_name); 3475 char *dir_name = strdup(d_name->d_name); local 3540 char *dir_name = dir_ent->name; local [all...] |
/external/valgrind/drd/tests/ |
H A D | tsan_unittest.cpp | 6502 char *dir_name = NULL, member in namespace:test141 6527 // rmdir deletes a directory 'dir_name' 6530 CHECK(rmdir(dir_name) == 0); 6535 while ((tmp = opendir(dir_name)) != NULL) { 6548 dir_name = strdup("/tmp/tsan-XXXXXX"); 6549 IGNORE_RETURN_VALUE(mkdtemp(dir_name)); 6551 filename = strdup((std::string() + dir_name + "/XXXXXX").c_str()); 6565 free(dir_name); 6566 dir_name = 0;
|