/external/ltrace/sysdeps/linux-gnu/ |
D | hooks.c | 48 add_dir(struct vect *dirs, const char *str1, const char *str2) in add_dir() argument 52 && VECT_PUSHBACK(dirs, &dir) < 0) in add_dir() 61 struct vect *dirs = data; in add_dir_component_cb() local 63 add_dir(dirs, entry->pathname, "/ltrace"); in add_dir_component_cb() 82 static struct vect dirs; in os_get_config_dirs() local 92 *retp = VECT_ELEMENT(&dirs, const char *, 0); in os_get_config_dirs() 94 *retp = VECT_ELEMENT(&dirs, const char *, in os_get_config_dirs() 101 VECT_INIT(&dirs, char *); in os_get_config_dirs() 132 add_dir(&dirs, xdg_home, "/ltrace"); in os_get_config_dirs() 134 add_dir(&dirs, home, "/.ltrace"); in os_get_config_dirs() [all …]
|
/external/e2fsprogs/lib/ss/ |
D | help.c | 132 register char **dirs; in ss_add_info_dir() local 144 dirs = info->info_dirs; in ss_add_info_dir() 145 for (n_dirs = 0; dirs[n_dirs] != (char *)NULL; n_dirs++) in ss_add_info_dir() 147 dirs = (char **)realloc((char *)dirs, in ss_add_info_dir() 149 if (dirs == (char **)NULL) { in ss_add_info_dir() 154 info->info_dirs = dirs; in ss_add_info_dir() 155 dirs[n_dirs + 1] = (char *)NULL; in ss_add_info_dir() 156 dirs[n_dirs] = malloc((unsigned)strlen(info_dir)+1); in ss_add_info_dir() 157 strcpy(dirs[n_dirs], info_dir); in ss_add_info_dir()
|
/external/dbus/bus/ |
D | dir-watch-kqueue.c | 47 static char *dirs[MAX_DIRS_TO_WATCH]; variable 169 if (dirs[j] && strcmp (new_dirs[i], dirs[j]) == 0) in bus_set_watched_dirs() 172 new_dirs[i] = dirs[j]; in bus_set_watched_dirs() 174 dirs[j] = NULL; in bus_set_watched_dirs() 188 dbus_free (dirs[j]); in bus_set_watched_dirs() 190 dirs[j] = NULL; in bus_set_watched_dirs() 245 dirs[i] = new_dirs[i]; in bus_set_watched_dirs()
|
D | dir-watch-inotify.c | 46 static char *dirs[MAX_DIRS_TO_WATCH]; variable 119 if (dirs[j] && strcmp (new_dirs[i], dirs[j]) == 0) in _set_watched_dirs_internal() 122 new_dirs[i] = dirs[j]; in _set_watched_dirs_internal() 124 dirs[j] = NULL; in _set_watched_dirs_internal() 138 dbus_free (dirs[j]); in _set_watched_dirs_internal() 140 dirs[j] = NULL; in _set_watched_dirs_internal() 184 dirs[i] = new_dirs[i]; in _set_watched_dirs_internal()
|
/external/boringssl/src/crypto/x509/ |
D | by_dir.c | 88 STACK_OF(BY_DIR_ENTRY) *dirs; 163 a->dirs=NULL; in new_dir() 197 if (a->dirs != NULL) in free_dir() 198 sk_BY_DIR_ENTRY_pop_free(a->dirs, by_dir_entry_free); in free_dir() 226 for (j=0; j < sk_BY_DIR_ENTRY_num(ctx->dirs); j++) in add_cert_dir() 228 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir() 233 if (j < sk_BY_DIR_ENTRY_num(ctx->dirs)) in add_cert_dir() 235 if (ctx->dirs == NULL) in add_cert_dir() 237 ctx->dirs = sk_BY_DIR_ENTRY_new_null(); in add_cert_dir() 238 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/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/v8/test/mozilla/ |
D | testcfg.py | 69 for dirname, dirs, files in os.walk(current_root): 70 for dotted in [x for x in dirs if x.startswith(".")]: 71 dirs.remove(dotted) 73 if excluded in dirs: 74 dirs.remove(excluded) 75 dirs.sort()
|
/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/v8/test/intl/ |
D | testcfg.py | 41 for dirname, dirs, files in os.walk(self.root): 42 for dotted in [x for x in dirs if x.startswith('.')]: 43 dirs.remove(dotted) 44 dirs.sort()
|
/external/v8/test/webkit/ |
D | testcfg.py | 48 for dirname, dirs, files in os.walk(self.root): 49 for dotted in [x for x in dirs if x.startswith('.')]: 50 dirs.remove(dotted) 51 if 'resources' in dirs: 52 dirs.remove('resources') 54 dirs.sort()
|
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
D | fake_fs.py | 123 dirs = set() 136 dirs.add(dirpart) 139 dirs.add(parts[0]) 142 dirs = sorted(dirs) 143 yield prefix, dirs, files
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
D | DebuggingClassWriter.java | 78 String dirs = className.replace('.', File.separatorChar); in toByteArray() local 80 … new File(debugLocation + File.separatorChar + dirs).getParentFile().mkdirs(); in toByteArray() 82 File file = new File(new File(debugLocation), dirs + ".class"); in toByteArray() 91 file = new File(new File(debugLocation), dirs + ".asm"); in toByteArray()
|
/external/autotest/client/site_tests/network_3GNoGobi/ |
D | network_3GNoGobi.py | 36 dirs = self.GobiDirs() 37 if dirs: 39 ', '.join(dirs))
|
/external/v8/test/test262/ |
D | testcfg.py | 110 for dirname, dirs, files in os.walk(self.testroot): 111 for dotted in [x for x in dirs if x.startswith(".")]: 112 dirs.remove(dotted) 113 if context.noi18n and "intl402" in dirs: 114 dirs.remove("intl402") 115 dirs.sort()
|
/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-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()
|
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()
|
/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/v8/test/mjsunit/ |
D | testcfg.py | 48 for dirname, dirs, files in os.walk(self.root, followlinks=True): 49 for dotted in [x for x in dirs if x.startswith('.')]: 50 dirs.remove(dotted) 51 dirs.sort()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
D | path.py | 58 for root, dirs, files in os.walk(base_directory): 59 dirs[:] = [dir_name for dir_name in dirs if should_include_dir(dir_name)]
|
/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…
|
D | test625 | 6 --ftp-create-dirs 22 SFTP put with --ftp-create-dirs twice 25 --ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file625.txt s…
|
/external/chromium-trace/catapult/third_party/typ/typ/fakes/ |
D | host_fake.py | 46 self.dirs = set([]) 111 path in self.dirs) 135 return path in self.dirs 166 if path not in self.dirs: 167 self.dirs.add(path) 182 self.dirs.add(self.last_tmpdir) 219 self.dirs.remove(path)
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/ |
D | run_tests.py | 106 for dirname, dirs, files in shell.walk(basedir): 107 dirs[:] = [ 108 item for item in dirs if item not in ('.svn', '.git', 'out') 110 dirs.sort()
|