| /external/chromium_org/ppapi/native_client/tests/breakpad_crash_test/ |
| crash_dump_tester.py | 66 def ListPathsInDir(dir_path): 67 if os.path.exists(dir_path): 68 return [os.path.join(dir_path, name) 69 for name in os.listdir(dir_path)]
|
| /external/chromium_org/tools/export_tarball/ |
| export_v8_tarball.py | 82 dir_path = os.path.join(GetV8Directory(), nonessential_dir) 83 if (name.startswith(dir_path) and
|
| /external/chromium_org/webkit/browser/database/ |
| vfs_backend.cc | 97 base::File VfsBackend::OpenTempFileInDirectory(const base::FilePath& dir_path, 108 if (!base::CreateTemporaryFileInDir(dir_path, &temp_file_path))
|
| /development/testrunner/coverage/ |
| coverage.py | 268 def _TidyDir(self, dir_path): 269 """Recursively tidy all html files in given dir_path.""" 270 html_file_pattern = os.path.join(dir_path, "*.html") 274 sub_dirs = os.listdir(dir_path) 276 sub_dir_path = os.path.join(dir_path, sub_dir_name)
|
| /external/chromium_org/chrome/browser/extensions/ |
| extension_browsertest.cc | 274 const base::FilePath& dir_path) { 283 dir_path.ReplaceExtension(FILE_PATH_LITERAL(".pem")); 295 return PackExtensionWithOptions(dir_path, crx_path, pem_path, pem_path_out); 299 const base::FilePath& dir_path, 303 if (!base::PathExists(dir_path)) { 304 ADD_FAILURE() << "Extension dir not found: " << dir_path.value(); 314 if (!creator->Run(dir_path,
|
| extension_browsertest.h | 112 // Pack the extension in |dir_path| into a crx file and return its path. 114 base::FilePath PackExtension(const base::FilePath& dir_path); 116 // Pack the extension in |dir_path| into a crx file at |crx_path|, using the 120 base::FilePath PackExtensionWithOptions(const base::FilePath& dir_path,
|
| /external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
| parse-events.c | 166 char dir_path[MAXPATHLEN]; local 177 snprintf(dir_path, MAXPATHLEN, "%s/%s", tracing_events_path, 179 evt_dir = opendir(dir_path); 185 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, 999 char dir_path[MAXPATHLEN]; local 1013 snprintf(dir_path, MAXPATHLEN, "%s/%s", tracing_events_path, 1015 evt_dir = opendir(dir_path); 1048 char dir_path[MAXPATHLEN]; local 1059 snprintf(dir_path, MAXPATHLEN, "%s/%s", tracing_events_path, 1061 evt_dir = opendir(dir_path); [all...] |
| /external/chromium_org/chrome/browser/ui/libgtk2ui/ |
| app_indicator_icon.cc | 225 void DeleteTempDirectory(const base::FilePath& dir_path) { 226 if (dir_path.empty()) 228 base::DeleteFile(dir_path, true);
|
| /external/chromium_org/third_party/leveldatabase/ |
| env_chromium_unittest.cc | 117 base::FilePath dir_path = dir.path(); local 122 FilePathToString(dir_path.Append(FILE_PATH_LITERAL("MANIFEST-001"))); 133 FilePathToString(dir_path.Append(FILE_PATH_LITERAL("000003.sst")));
|
| /external/chromium_org/third_party/skia/tools/skpdiff/ |
| skpdiff_server.py | 440 def serve_if_in_dir(self, dir_path, file_path): 441 # Determine if the file exists relative to the given dir_path AND exists 442 # under the dir_path. This is to prevent accidentally serving files 444 real_path = os.path.normpath(os.path.join(dir_path, file_path)) 445 if os.path.commonprefix([real_path, dir_path]) == dir_path:
|
| /external/lldb/include/lldb/Host/ |
| FileSpec.h | 668 EnumerateDirectory (const char *dir_path,
|
| /external/skia/tools/skpdiff/ |
| skpdiff_server.py | 440 def serve_if_in_dir(self, dir_path, file_path): 441 # Determine if the file exists relative to the given dir_path AND exists 442 # under the dir_path. This is to prevent accidentally serving files 444 real_path = os.path.normpath(os.path.join(dir_path, file_path)) 445 if os.path.commonprefix([real_path, dir_path]) == dir_path:
|
| /external/chromium_org/base/ |
| file_util.cc | 170 bool IsDirectoryEmpty(const FilePath& dir_path) { 171 FileEnumerator files(dir_path, false,
|
| /external/chromium_org/build/android/ |
| provision_devices.py | 114 dir_path = '/'.join(path_list[:len(path_list)-1]) 115 device.RunShellCommand('mkdir -p %s' % dir_path, root=True)
|
| /external/chromium_org/components/metrics/chromeos/ |
| serialization_utils_unittest.cc | 22 base::FilePath dir_path = temporary_dir.path(); local 23 filename = dir_path.value() + "chromeossampletest";
|
| /system/extras/puncture_fs/ |
| puncture_fs.c | 72 static bool create_unique_file(const char * const dir_path, const u64 size, 82 sprintf(file_path, "%s/file_%lu", dir_path, id);
|
| /external/lldb/source/Host/common/ |
| FileSpec.cpp | 900 const char *dir_path, 908 if (dir_path && dir_path[0]) 910 lldb_utility::CleanUp <DIR *, int> dir_path_dir (opendir(dir_path), NULL, closedir); 957 const int child_path_len = ::snprintf (child_path, sizeof(child_path), "%s/%s", dir_path, dp->d_name); [all...] |
| /external/qemu/distrib/ext4_utils/src/ |
| make_ext4fs.c | 82 static u32 build_default_directory_structure(const char *dir_path, 106 asprintf(&path, "%slost+found", dir_path); 126 dir_path is an absolute path, with trailing slash, to the same directory 128 static u32 build_directory_structure(const char *full_path, const char *dir_path, 169 asprintf(&dentries[i].path, "%s%s", dir_path, namelist[i]->d_name); 245 asprintf(&dentries[0].path, "%slost+found", dir_path);
|
| /system/extras/ext4_utils/ |
| make_ext4fs.c | 82 static u32 build_default_directory_structure(const char *dir_path, 106 asprintf(&path, "%slost+found", dir_path); 126 dir_path is an absolute path, with trailing slash, to the same directory 128 static u32 build_directory_structure(const char *full_path, const char *dir_path, 169 asprintf(&dentries[i].path, "%s%s", dir_path, namelist[i]->d_name); 249 asprintf(&dentries[0].path, "%slost+found", dir_path);
|
| /external/jsoncpp/ |
| makerelease.py | 37 def rmdir_if_exist( dir_path ): 38 if os.path.isdir( dir_path ): 39 shutil.rmtree( dir_path )
|
| /hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/ |
| omx_proxy_camera.c | 551 OMX_S32 read_DCCdir(OMX_PTR buffer, OMX_STRING * dir_path, OMX_U16 numofURI) 568 d = opendir(dir_path[i]); 575 strcpy(temp, dir_path[i]);
|
| /external/chromium_org/chrome/browser/media_galleries/linux/ |
| mtp_device_task_helper.cc | 94 const std::string& dir_path, 102 device_handle_, dir_path,
|
| /external/chromium_org/content/browser/renderer_host/pepper/ |
| pepper_flash_file_message_filter.cc | 235 ppapi::PepperFilePath dir_path(ppapi::PepperFilePath::DOMAIN_MODULE_LOCAL, 238 dir_path, base::Bind(&CanCreateReadWrite));
|
| /external/chromium_org/third_party/skia/tools/tests/ |
| render_pictures_test.py | 628 def _assert_directory_contents(self, dir_path, expected_filenames): 632 dir_path: Path to a directory on local disk. 639 self.assertEqual(set(os.listdir(dir_path)), set(expected_filenames))
|
| /external/chromium_org/tools/telemetry/telemetry/core/ |
| memory_cache_http_server.py | 197 dir_path = os.path.dirname(file_path) 198 self.resource_map[dir_path] = self.resource_map[file_path]
|