/third_party/jerryscript/jerry-core/api/ |
D | generate-bytecode.c | 202 char* dir_name; member 214 if (tmp->dir_name != NULL) { in free_link() 215 OhosFree(tmp->dir_name); in free_link() 216 tmp->dir_name = NULL; in free_link() 309 head->dir_name = NULL; in walk_directory() 311 end->dir_name = start_folder; in walk_directory() 319 current_path = curr->dir_name; in walk_directory() 363 new_node->dir_name = input_file_path; in walk_directory() 400 OhosFree(curr->dir_name); in walk_directory() 401 curr->dir_name = NULL; in walk_directory() [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | conf-parser.c | 224 char *dir_name = pa_sprintf_malloc("%s.d", filename); in pa_config_parse() local 225 char *pattern = pa_sprintf_malloc("%s\\*.conf", dir_name); in pa_config_parse() 233 char *filename2 = pa_sprintf_malloc("%s\\%s", dir_name, wfd.cFileName); in pa_config_parse() 260 pa_xfree(dir_name); in pa_config_parse() 262 char *dir_name; in pa_config_parse() 266 dir_name = pa_sprintf_malloc("%s.d", filename); in pa_config_parse() 268 n = scandir(dir_name, &entries, conf_filter, alphasort); in pa_config_parse() 275 filename2 = pa_sprintf_malloc("%s" PA_PATH_SEP "%s", dir_name, entries[i]->d_name); in pa_config_parse() 285 pa_log_debug("%s does not exist, ignoring.", dir_name); in pa_config_parse() 287 pa_log_warn("scandir(\"%s\") failed: %s", dir_name, pa_cstrerror(errno)); in pa_config_parse() [all …]
|
/third_party/e2fsprogs/lib/e2p/ |
D | iod.c | 27 int iterate_on_dir (const char * dir_name, in iterate_on_dir() argument 36 max_len = pathconf(dir_name, _PC_NAME_MAX); in iterate_on_dir() 56 dir = opendir (dir_name); in iterate_on_dir() 70 if ((*func)(dir_name, de, private)) in iterate_on_dir()
|
D | e2p.h | 39 int iterate_on_dir (const char * dir_name,
|
/third_party/e2fsprogs/misc/ |
D | lsattr.c | 139 static int lsattr_dir_proc (const char * dir_name, struct dirent * de, in lsattr_dir_proc() argument 144 int dir_len = strlen(dir_name); in lsattr_dir_proc() 148 if (dir_len && dir_name[dir_len-1] == '/') in lsattr_dir_proc() 149 sprintf (path, "%s%s", dir_name, de->d_name); in lsattr_dir_proc() 151 sprintf (path, "%s/%s", dir_name, de->d_name); in lsattr_dir_proc()
|
D | e4defrag.c | 1684 char dir_name[PATH_MAX + 1]; in main() local 1728 memset(dir_name, 0, PATH_MAX + 1); in main() 1761 if (get_mount_point(argv[i], dir_name, PATH_MAX) < 0) in main() 1763 if (lstat64(dir_name, &buf) < 0) { in main() 1779 strncpy(dir_name, argv[i], strnlen(argv[i], PATH_MAX)); in main() 1799 if (realpath(argv[i], dir_name) == NULL) { in main() 1837 if (dir_name[mount_dir_len] != '\0') { in main() 1842 if (strncmp(lost_found_dir, dir_name, in main() 1845 (dir_name[strnlen(lost_found_dir, in main() 1847 dir_name[strnlen(lost_found_dir, in main() [all …]
|
D | chattr.c | 287 static int chattr_dir_proc (const char * dir_name, struct dirent * de, in chattr_dir_proc() argument 295 path = malloc(strlen (dir_name) + 1 + strlen (de->d_name) + 1); in chattr_dir_proc() 302 sprintf(path, "%s/%s", dir_name, de->d_name); in chattr_dir_proc()
|
/third_party/gstreamer/gstplugins_bad/ext/ladspa/ |
D | gstladspa.c | 260 ladspa_rdf_directory_search (const char *dir_name) in ladspa_rdf_directory_search() argument 267 GST_INFO ("scanning directory for rdfs \"%s\"", dir_name); in ladspa_rdf_directory_search() 269 dir = g_dir_open (dir_name, 0, NULL); in ladspa_rdf_directory_search() 274 file_name = g_build_filename (dir_name, entry_name, NULL); in ladspa_rdf_directory_search() 289 ladspa_plugin_directory_search (GstPlugin * ladspa_plugin, const char *dir_name) in ladspa_plugin_directory_search() argument 298 GST_INFO ("scanning directory for plugins \"%s\"", dir_name); in ladspa_plugin_directory_search() 300 dir = g_dir_open (dir_name, 0, NULL); in ladspa_plugin_directory_search() 316 file_name = g_build_filename (dir_name, entry_name, NULL); in ladspa_plugin_directory_search()
|
/third_party/gstreamer/gstplugins_bad/ext/curl/ |
D | gstcurlfilesink.c | 236 gchar *dir_name = g_strndup (file_name, last_slash - file_name); in gst_curl_file_sink_prepare_transfer() local 237 if (g_mkdir_with_parents (dir_name, S_IRWXU) < 0) { in gst_curl_file_sink_prepare_transfer() 239 dir_name); in gst_curl_file_sink_prepare_transfer() 241 g_free (dir_name); in gst_curl_file_sink_prepare_transfer() 244 g_free (dir_name); in gst_curl_file_sink_prepare_transfer()
|
D | gstcurlftpsink.c | 208 gchar *dir_name = in set_ftp_dynamic_options_unlocked() local 211 uploadfile_as = g_strdup_printf ("%s/%s", dir_name, tmpfile_name); in set_ftp_dynamic_options_unlocked() 212 g_free (dir_name); in set_ftp_dynamic_options_unlocked()
|
/third_party/e2fsprogs/ext2ed/ |
D | dir_com.c | 220 char *ptr,full_dir_name [500],dir_name [500],temp [500],temp2 [500]; in type_dir___cd() local 226 ptr=parse_word (command_line,dir_name); in type_dir___cd() 242 strcpy (dir_name,full_dir_name); in type_dir___cd() 247 strncpy (dir_name,full_dir_name,ptr-full_dir_name); in type_dir___cd() 248 dir_name [ptr-full_dir_name]=0; in type_dir___cd() 254 strcpy (name_search,dir_name); /* name_search is used to hold the required entry name */ in type_dir___cd() 256 if (dir_entry_ptr->name_len != strlen (dir_name) || in type_dir___cd() 257 strncmp (dir_name,dir_entry_ptr->name,dir_entry_ptr->name_len)!=0) in type_dir___cd() 309 …wprintw (command_win,"Error - Directory entry %s not found.\n",dir_name); /* Hmm, an invalid path … in type_dir___cd()
|
/third_party/flutter/engine/flutter/tools/fuchsia/ |
D | copy_path.py | 20 dir_name, _ = os.path.split(path) 21 if not os.path.exists(dir_name): 22 os.makedirs(dir_name)
|
D | gather_flutter_runner_artifacts.py | 27 dir_name, _ = os.path.split(path) 28 if not os.path.exists(dir_name): 29 os.makedirs(dir_name)
|
/third_party/e2fsprogs/debugfs/ |
D | filefrag.c | 44 const char *dir_name; member 195 cp = malloc(strlen(fs->dir_name) + strlen(name) + 2); in filefrag_dir_proc() 198 fs->dir_name, name); in filefrag_dir_proc() 202 sprintf(cp, "%s/%s", fs->dir_name, name); in filefrag_dir_proc() 241 fs->dir_name = fs->name; in dir_iterate() 259 fs->dir_name = p->name; in dir_iterate()
|
/third_party/skia/buildtools/checkdeps/ |
D | builddeps.py | 292 def GetAllRulesAndFiles(self, dir_name=None): argument 311 if dir_name and not os.path.isabs(dir_name): 312 dir_name = os.path.join(self.base_directory, dir_name) 313 dirs_to_check = [dir_name or self.base_directory]
|
/third_party/flutter/engine/flutter/sky/tools/ |
D | change_install_name.py | 13 dir_name = os.path.dirname(stamp_path) 15 if not os.path.isdir(dir_name):
|
/third_party/flutter/engine/flutter/fml/ |
D | file_unittest.cc | 45 auto dir_name = fml::CreateTemporaryDirectory(); in TEST() local 46 ASSERT_NE(dir_name, ""); in TEST() 48 fml::OpenDirectory(dir_name.c_str(), false, fml::FilePermission::kRead); in TEST() 51 ASSERT_TRUE(fml::UnlinkDirectory(dir_name.c_str())); in TEST()
|
/third_party/python/Tools/msi/ |
D | csv_to_wxs.py | 70 for dir_name in sorted(directories[dir_parent]): 71 …d(' <Directory Id="{}_{}" Name="{}" />'.format(dir_parent, make_id(dir_name), dir_name))
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
D | demo.c | 312 char dir_name[128]; in update_directory() local 339 snprintf (dir_name, sizeof (dir_name), in update_directory() 343 if (0 != stat (dir_name, &sbuf)) in update_directory() 353 if (MHD_NO == list_directory (&rdc, dir_name)) in update_directory()
|
D | demo_https.c | 313 char dir_name[128]; in update_directory() local 340 snprintf (dir_name, sizeof (dir_name), in update_directory() 344 if (0 != stat (dir_name, &sbuf)) in update_directory() 354 if (MHD_NO == list_directory (&rdc, dir_name)) in update_directory()
|
/third_party/uboot/u-boot-2020.01/include/ |
D | ubifs_uboot.h | 24 int ubifs_ls(const char *dir_name);
|
/third_party/jsoncpp/devtools/ |
D | antglob.py | 111 def is_pruned_dir(dir_name): argument 113 if fnmatch.fnmatch(dir_name, pattern):
|
/third_party/lwip/src/apps/http/makefsdata/ |
D | tinydir.h | 632 _tinydir_char_t *dir_name; in tinydir_open() local 689 dir_name = drive_buf; in tinydir_open() 695 dir_name = dirname(dir_name_buf); in tinydir_open() 701 if (tinydir_open(&dir, dir_name) == -1) in tinydir_open()
|
/third_party/glib/glib/tests/ |
D | fileutils.c | 1027 gchar *file_name = NULL, *link_name = NULL, *dir_name = NULL; in test_set_contents_full() local 1070 dir_name = g_dir_make_tmp ("glib-fileutils-set-contents-full-XXXXXX", &error); in test_set_contents_full() 1073 set_contents_name = dir_name; in test_set_contents_full() 1140 if (dir_name != NULL) in test_set_contents_full() 1141 g_rmdir (dir_name); in test_set_contents_full() 1147 g_free (dir_name); in test_set_contents_full() 1211 gchar *dir_name = NULL; in test_set_contents_full_read_only_directory() local 1218 dir_name = g_dir_make_tmp ("glib-file-set-contents-full-rodir-XXXXXX", &error); in test_set_contents_full_read_only_directory() 1220 can_override_dac = check_cap_dac_override (dir_name); in test_set_contents_full_read_only_directory() 1222 file_name = g_build_filename (dir_name, "file", NULL); in test_set_contents_full_read_only_directory() [all …]
|
/third_party/libsnd/ |
D | make_lite.py | 254 for dir_name in delete_dirs: 255 os.system ("rm -rf %s" % dir_name)
|