/external/e2fsprogs/lib/ss/ |
D | help.c | 133 register char **dirs; in ss_add_info_dir() local 145 dirs = info->info_dirs; in ss_add_info_dir() 146 for (n_dirs = 0; dirs[n_dirs] != (char *)NULL; n_dirs++) in ss_add_info_dir() 148 dirs = (char **)realloc((char *)dirs, in ss_add_info_dir() 150 if (dirs == (char **)NULL) { in ss_add_info_dir() 155 info->info_dirs = dirs; in ss_add_info_dir() 156 dirs[n_dirs + 1] = (char *)NULL; in ss_add_info_dir() 157 dirs[n_dirs] = malloc((unsigned)strlen(info_dir)+1); in ss_add_info_dir() 158 strcpy(dirs[n_dirs], info_dir); in ss_add_info_dir()
|
/external/autotest/client/bin/result_tools/ |
D | view.py | 331 def _get_dirs_html(dirs, parent_path, total_bytes, indentation): argument 340 if not dirs: 344 dirs[entry][utils_lib.ORIGINAL_SIZE_BYTES] for entry in dirs]) 345 for entry in sorted(dirs.keys()): 346 subdirs = dirs[entry].get(utils_lib.DIRS, {}) 348 size_original = dirs[entry][utils_lib.ORIGINAL_SIZE_BYTES] 349 size_trimmed = dirs[entry].get( 372 subdir_total_size = dirs[entry][utils_lib.ORIGINAL_SIZE_BYTES] 397 dirs = summary[utils_lib.ROOT_DIR].get(utils_lib.DIRS, {}) 417 dirs, '..', size_original, indentation + INDENTATION)
|
/external/toybox/toys/pending/ |
D | modprobe.c | 33 struct arg_list *dirs; 504 struct arg_list *dirs; in modprobe_main() local 517 if (!TT.dirs) { in modprobe_main() 519 TT.dirs = xzalloc(sizeof(struct arg_list)); in modprobe_main() 520 TT.dirs->arg = xmprintf("/lib/modules/%s", uts.release); in modprobe_main() 525 for (dirs = TT.dirs; dirs; dirs = dirs->next) { in modprobe_main() 526 xchdir(dirs->arg); in modprobe_main() 558 for (dirs = TT.dirs; dirs; dirs = dirs->next) { in modprobe_main() 559 xchdir(dirs->arg); in modprobe_main() 564 for (dirs = TT.dirs; dirs; dirs = dirs->next) { in modprobe_main() [all …]
|
/external/ltp/utils/ffsb-6.0-rc2/ |
D | metaops.c | 42 static void createdir(struct benchfiles *dirs, randdata_t * rd) in createdir() argument 46 newdir = add_file(dirs, 0, rd); in createdir() 54 static void removedir(struct benchfiles *dirs, randdata_t * rd) in removedir() argument 58 deldir = choose_file_writer(dirs, rd); in removedir() 59 remove_file(dirs, deldir); in removedir() 68 static void renamedir(struct benchfiles *dirs, randdata_t * rd) in renamedir() argument 73 dir = choose_file_writer(dirs, rd); in renamedir()
|
/external/boringssl/src/crypto/x509/ |
D | by_dir.c | 84 STACK_OF(BY_DIR_ENTRY) *dirs; 153 a->dirs = NULL; in new_dir() 186 if (a->dirs != NULL) in free_dir() 187 sk_BY_DIR_ENTRY_pop_free(a->dirs, by_dir_entry_free); in free_dir() 213 for (j = 0; j < sk_BY_DIR_ENTRY_num(ctx->dirs); j++) { in add_cert_dir() 214 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir() 219 if (j < sk_BY_DIR_ENTRY_num(ctx->dirs)) in add_cert_dir() 221 if (ctx->dirs == NULL) { in add_cert_dir() 222 ctx->dirs = sk_BY_DIR_ENTRY_new_null(); in add_cert_dir() 223 if (!ctx->dirs) { in add_cert_dir() [all …]
|
/external/autotest/client/site_tests/power_CPUFreq/ |
D | power_CPUFreq.py | 29 dirs = glob.glob(cpufreq_path) 30 if not dirs: 37 self.test_cores_in_series(dirs) 45 self.test_cores_in_parallel(dirs) 53 def test_cores_in_series(self, dirs): argument 54 for dir in dirs: 81 def test_cores_in_parallel(self, dirs): argument 82 cpus = [cpufreq(dir) for dir in dirs]
|
/external/python/cpython2/Mac/ |
D | Extras.install.py | 24 for cursrc, dirs, files in os.walk(src): 41 for i in range(len(dirs)-1, -1, -1): 42 if not isclean(dirs[i]): 44 print "skipdir", os.path.join(cursrc, dirs[i]) 45 del dirs[i]
|
/external/ltp/testcases/kernel/syscalls/chdir/ |
D | chdir02.c | 123 char *dirs[2] = { "/", "/tmp" }; variable 137 TEST(chdir(dirs[lc % 2])); in main() 141 dirs[lc % 2]); in main() 144 dirs[lc % 2], TEST_RETURN); in main()
|
/external/elfutils/tests/ |
D | get-files.c | 79 const char *const *dirs; in main() local 81 if (dwarf_getsrcdirs (files, &dirs, &ndirs) != 0) in main() 88 if (dirs[0] == NULL) in main() 91 printf (" dirs[0] = \"%s\"\n", dirs[0]); in main() 93 printf (" dirs[%zu] = \"%s\"\n", i, dirs[i]); in main()
|
/external/trappy/tests/ |
D | test_copyright.py | 71 for root, dirs, files in os.walk(base_dir): 86 for dirname in dirs: 89 dirs.remove(dirname) 103 if '.git' in dirs: 104 dirs.remove('.git')
|
/external/curl/docs/cmdline-opts/ |
D | create-dirs.d | 1 Long: create-dirs 5 necessary local directory hierarchy as needed. This option creates the dirs 7 uses no dir or if the dirs it mentions already exist, no dir will be created. 9 To create remote directories when using FTP or SFTP, try --ftp-create-dirs.
|
D | ftp-create-dirs.d | 1 Long: ftp-create-dirs 3 Help: Create the remote dirs if not present 4 See-also: create-dirs
|
/external/autotest/client/site_tests/power_CPUIdle/ |
D | power_CPUIdle.py | 63 dirs = glob.glob(self.__base_path) 64 if not dirs: 67 for dir in dirs: 88 dirs = glob.glob(os.path.join(self.__base_path, 'state*')) 89 if not dirs: 92 for dir in dirs:
|
/external/python/cpython2/Lib/lib-tk/ |
D | FileDialog.py | 82 self.dirs = Listbox(self.midframe, exportselection=0, 84 self.dirs.pack(side=LEFT, expand=YES, fill=BOTH) 85 self.dirsbar.config(command=(self.dirs, 'yview')) 86 btags = self.dirs.bindtags() 87 self.dirs.bindtags(btags[1:] + btags[:1]) 88 self.dirs.bind('<ButtonRelease-1>', self.dirs_select_event) 89 self.dirs.bind('<Double-ButtonRelease-1>', self.dirs_double_event) 143 subdir = self.dirs.get('active') 178 self.dirs.delete(0, END) 180 self.dirs.insert(END, name)
|
/external/autotest/client/site_tests/network_3GNoGobi/ |
D | network_3GNoGobi.py | 36 dirs = self.GobiDirs() 37 if dirs: 39 ', '.join(dirs))
|
/external/squashfs-tools/squashfs-tools/ |
D | unsquash-1.c | 233 dir->dirs = NULL; in squashfs_opendir_1() 292 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_1() 297 dir->dirs = new_dir; in squashfs_opendir_1() 299 strcpy(dir->dirs[dir->dir_count].name, dire->name); in squashfs_opendir_1() 300 dir->dirs[dir->dir_count].start_block = in squashfs_opendir_1() 302 dir->dirs[dir->dir_count].offset = dire->offset; in squashfs_opendir_1() 303 dir->dirs[dir->dir_count].type = dire->type; in squashfs_opendir_1() 312 free(dir->dirs); in squashfs_opendir_1()
|
D | unsquash-4.c | 279 dir->dirs = NULL; in squashfs_opendir_4() 328 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_4() 333 dir->dirs = new_dir; in squashfs_opendir_4() 335 strcpy(dir->dirs[dir->dir_count].name, dire->name); in squashfs_opendir_4() 336 dir->dirs[dir->dir_count].start_block = in squashfs_opendir_4() 338 dir->dirs[dir->dir_count].offset = dire->offset; in squashfs_opendir_4() 339 dir->dirs[dir->dir_count].type = dire->type; in squashfs_opendir_4() 348 free(dir->dirs); in squashfs_opendir_4()
|
D | unsquash-3.c | 310 dir->dirs = NULL; in squashfs_opendir_3() 370 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_3() 375 dir->dirs = new_dir; in squashfs_opendir_3() 377 strcpy(dir->dirs[dir->dir_count].name, dire->name); in squashfs_opendir_3() 378 dir->dirs[dir->dir_count].start_block = in squashfs_opendir_3() 380 dir->dirs[dir->dir_count].offset = dire->offset; in squashfs_opendir_3() 381 dir->dirs[dir->dir_count].type = dire->type; in squashfs_opendir_3() 390 free(dir->dirs); in squashfs_opendir_3()
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_clean.py | 20 dirs = [(d, os.path.join(pkg_dir, d)) 24 for name, path in dirs: 38 for name, path in dirs:
|
/external/nanopb-c/tests/site_scons/ |
D | site_init.py | 49 dirs = ' '.join(['-I' + esc(env.GetBuildPath(d)) for d in env['PROTOCPATH']]) 51 dirs, env['MESSAGE'], esc(str(source[1])), esc(str(source[0])), esc(str(target[0]))) 60 dirs = ' '.join(['-I' + esc(env.GetBuildPath(d)) for d in env['PROTOCPATH']]) 62 dirs, env['MESSAGE'], esc(str(source[1])), esc(str(source[0])), esc(str(target[0])))
|
/external/curl/tests/data/ |
D | test624 | 6 --ftp-create-dirs 22 SFTP put with --ftp-create-dirs 25 --ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file624.txt s…
|
/external/python/cpython2/Lib/test/ |
D | test_site.py | 230 dirs = site.getsitepackages() 233 self.assertEqual(len(dirs), 1) 235 self.assertEqual(dirs[0], wanted) 238 self.assertEqual(len(dirs), 2) 241 self.assertEqual(dirs[0], wanted) 243 self.assertEqual(dirs[1], wanted) 246 self.assertEqual(len(dirs), 2) 247 self.assertEqual(dirs[0], 'xoxo') 249 self.assertEqual(dirs[1], wanted)
|
/external/python/cpython2/Tools/scripts/ |
D | svneol.py | 84 for root, dirs, files in os.walk('.'): 85 if '.svn' in dirs: 86 dirs.remove('.svn')
|
/external/libmojo/build/android/pylib/constants/ |
D | __init__.py | 203 dirs = glob.glob(os.path.join(DIR_SOURCE_ROOT, 'out', '*', 'build.ninja')) 204 if len(dirs) == 1: 205 SetOutputDirectory(dirs[0]) 209 'out dirs exist: %r' % dirs)
|
/external/python/cpython2/Lib/ |
D | glob.py | 56 dirs = iglob(dirname) 58 dirs = [dirname] 63 for dirname in dirs:
|