Home
last modified time | relevance | path

Searched refs:dir_list (Results 1 – 19 of 19) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dfinddev.c42 struct dir_list { struct
44 struct dir_list *next; argument
50 static void add_to_dirlist(const char *name, struct dir_list **list) in add_to_dirlist()
52 struct dir_list *dp; in add_to_dirlist()
54 dp = malloc(sizeof(struct dir_list)); in add_to_dirlist()
70 static void free_dirlist(struct dir_list **list) in free_dirlist()
72 struct dir_list *dp, *next; in free_dirlist()
82 static int scan_dir(char *dirname, dev_t device, struct dir_list **list, in scan_dir()
133 struct dir_list *list = 0, *new_list = 0; in ext2fs_find_block_device()
134 struct dir_list *current; in ext2fs_find_block_device()
/external/e2fsprogs/debugfs/
Dfilefrag.c35 struct dir_list { struct
38 struct dir_list *next; argument
54 struct dir_list *dir_list, *dir_last; member
215 struct dir_list *p; in filefrag_dir_proc()
217 p = malloc(sizeof(struct dir_list)); in filefrag_dir_proc()
223 memset(p, 0, sizeof(struct dir_list)); in filefrag_dir_proc()
229 fs->dir_list = p; in filefrag_dir_proc()
243 struct dir_list *p = NULL; in dir_iterate()
254 fs->dir_list = p->next; in dir_iterate()
255 if (!fs->dir_list) in dir_iterate()
[all …]
/external/e2fsprogs/lib/blkid/
Ddevno.c76 static void add_to_dirlist(const char *name, struct dir_list **list) in add_to_dirlist()
78 struct dir_list *dp; in add_to_dirlist()
80 dp = malloc(sizeof(struct dir_list)); in add_to_dirlist()
95 static void free_dirlist(struct dir_list **list) in free_dirlist()
97 struct dir_list *dp, *next; in free_dirlist()
107 void blkid__scan_dir(const char *dirname, dev_t devno, struct dir_list **list, in blkid__scan_dir()
157 struct dir_list *list = NULL, *new_list = NULL; in blkid_devno_to_devname()
169 struct dir_list *current = list; in blkid_devno_to_devname()
DblkidP.h171 struct dir_list { struct
173 struct dir_list *next; argument
175 extern void blkid__scan_dir(const char *, dev_t, struct dir_list **, char **);
/external/tpm2-tss/src/tss2-fapi/
Difapi_helpers.c936 create_dirs(const char *supdir, NODE_STR_T *dir_list, mode_t mode) in create_dirs() argument
939 for (size_t i = 1; i <= ifapi_path_length(dir_list); i++) { in create_dirs()
940 TSS2_RC r = ifapi_path_string_n(&new_dir, supdir, dir_list, NULL, i); in create_dirs()
1829 NODE_STR_T *dir_list = split_string(path, IFAPI_FILE_DELIM); in ifapi_get_nv_start_index() local
1833 return_if_null(dir_list, "Out of memory.", TSS2_FAPI_RC_MEMORY); in ifapi_get_nv_start_index()
1834 if (dir_list->next && strcmp(dir_list->str, "nv") == 0) { in ifapi_get_nv_start_index()
1835 if (strcmp(dir_list->next->str, "TPM") == 0) in ifapi_get_nv_start_index()
1837 else if (strcmp(dir_list->next->str, "Platform") == 0) in ifapi_get_nv_start_index()
1839 else if (strcmp(dir_list->next->str, "Owner") == 0) in ifapi_get_nv_start_index()
1841 else if (strcmp(dir_list->next->str, "Endorsement_Certificate") == 0) in ifapi_get_nv_start_index()
[all …]
/external/autotest/client/tools/
Dcrash_handler.py183 def write_cores(core_data, dir_list): argument
191 syslog.syslog("Writing core files to %s" % dir_list)
192 for result_dir in dir_list:
/external/tensorflow/tensorflow/core/platform/
Dfile_system.cc133 std::vector<string> dir_list; // List of all dirs discovered in DeleteRecursively() local
142 dir_list.push_back(dir); in DeleteRecursively()
169 std::reverse(dir_list.begin(), dir_list.end()); in DeleteRecursively()
170 for (const string& dir : dir_list) { in DeleteRecursively()
/external/libaom/test/
Dvisual_metrics.py356 dir_list = sorted(fnmatch.filter(os.listdir(baseline_dir), file_pattern))
358 metrics = GetMetrics(baseline_dir + "/" + dir_list[0])
379 for filename in dir_list:
430 for filename in dir_list:
/external/exfatprogs/fsck/
Dde_iter.c125 if (list_empty(&exfat->dir_list)) in read_ahead_next_dir_blocks()
128 current = exfat->dir_list.next; in read_ahead_next_dir_blocks()
130 current->next != &exfat->dir_list) { in read_ahead_next_dir_blocks()
Dfsck.h67 struct list_head dir_list; member
Dfsck.c212 INIT_LIST_HEAD(&exfat->dir_list); in init_exfat()
255 list_for_each_entry_safe(dir, i, &exfat->dir_list, list) { in exfat_free_dir_list()
1174 list_add_tail(&node->list, &exfat->dir_list); in read_children()
1361 list_add(&exfat->root->list, &exfat->dir_list); in exfat_filesystem_check()
1363 while (!list_empty(&exfat->dir_list)) { in exfat_filesystem_check()
1364 dir = list_entry(exfat->dir_list.next, struct exfat_inode, list); in exfat_filesystem_check()
/external/autotest/server/cros/
Dtelemetry_runner.py642 dir_list = [CHROME_EXTERNAL_SRC]
643 dir_list.extend(
646 dir_list.insert(0, os.environ['CHROME_ROOT'])
649 for dir in dir_list:
/external/toybox/toys/pending/
Dbootchartd.c120 char *dir_list[] = {"/tmp", "/mnt", "/boot", "/proc"}, **target = dir_list; in create_tmp_dir() local
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionStress/
Dkernel_ExternalUsbPeripheralsDetectionStress.py174 def parse_device_dir_for_info(self, dir_list, usb_device_dict): argument
182 for d_path in dir_list:
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_test.py316 dir_list = file_io.list_directory(dir_path)
317 self.assertItemsEqual(files + ["sub_dir"], dir_list)
/external/python/cpython2/
Dsetup.py471 for env_var, arg_name, dir_list in (
497 add_dir_to_list(dir_list, directory)
/external/python/cpython3/
Dsetup.py800 for env_var, arg_name, dir_list in (
823 add_dir_to_list(dir_list, directory)
/external/sonivox/jet_tools/JetCreator/
Dmidifile.py1538 for root, dir_list, file_list in os.walk(d):
/external/tpm2-tss/doc/
Ddoxygen.dox2070 \fn static TSS2_RC create_dirs(const char *supdir, NODE_STR_T *dir_list, mode_t mode)