Home
last modified time | relevance | path

Searched refs:full_path (Results 1 – 25 of 231) sorted by relevance

12345678910

/external/cronet/tot/third_party/boringssl/src/crypto/test/
Dtest_data.cc38 std::string full_path = runfiles->Rlocation(std::string("boringssl/") + path); in GetTestData() local
39 if (full_path.empty()) { in GetTestData()
47 std::string full_path = root; in GetTestData()
48 full_path.push_back('/'); in GetTestData()
49 full_path.append(path); in GetTestData()
52 bssl::ScopedFILE file(fopen(full_path.c_str(), "rb")); in GetTestData()
54 fprintf(stderr, "Could not open '%s'.\n", full_path.c_str()); in GetTestData()
66 fprintf(stderr, "Error reading from '%s'.\n", full_path.c_str()); in GetTestData()
/external/boringssl/src/crypto/test/
Dtest_data.cc39 std::string full_path = runfiles->Rlocation(std::string("boringssl/") + path); in GetTestData() local
40 if (full_path.empty()) { in GetTestData()
48 std::string full_path = root; in GetTestData()
49 full_path.push_back('/'); in GetTestData()
50 full_path.append(path); in GetTestData()
53 bssl::ScopedFILE file(fopen(full_path.c_str(), "rb")); in GetTestData()
55 fprintf(stderr, "Could not open '%s'.\n", full_path.c_str()); in GetTestData()
67 fprintf(stderr, "Error reading from '%s'.\n", full_path.c_str()); in GetTestData()
/external/cronet/stable/third_party/boringssl/src/crypto/test/
Dtest_data.cc38 std::string full_path = runfiles->Rlocation(std::string("boringssl/") + path); in GetTestData() local
39 if (full_path.empty()) { in GetTestData()
47 std::string full_path = root; in GetTestData()
48 full_path.push_back('/'); in GetTestData()
49 full_path.append(path); in GetTestData()
52 bssl::ScopedFILE file(fopen(full_path.c_str(), "rb")); in GetTestData()
54 fprintf(stderr, "Could not open '%s'.\n", full_path.c_str()); in GetTestData()
66 fprintf(stderr, "Error reading from '%s'.\n", full_path.c_str()); in GetTestData()
/external/perfetto/src/base/test/
Dutils.cc33 std::string full_path = self_path + "/../../" + path; in GetTestDataPath() local
34 if (FileExists(full_path)) in GetTestDataPath()
35 return full_path; in GetTestDataPath()
36 full_path = self_path + "/" + path; in GetTestDataPath()
37 if (FileExists(full_path)) in GetTestDataPath()
38 return full_path; in GetTestDataPath()
/external/angle/src/tests/py_utils/
Dangle_path_util.py15 full_path = os.path.join(ANGLE_ROOT_DIR, relative_path)
16 if not os.path.exists(full_path):
19 full_path = os.path.join(chromium_root_dir, relative_path)
20 assert os.path.exists(full_path)
22 if full_path not in sys.path:
23 sys.path.insert(0, full_path)
/external/python/cpython3/Lib/unittest/
Dloader.py316 full_path = os.path.abspath(module.__file__)
318 if os.path.basename(full_path).lower().startswith('__init__.py'):
319 return os.path.dirname(os.path.dirname(full_path))
324 return os.path.dirname(full_path)
342 def _match_path(self, path, full_path, pattern): argument
365 full_path = os.path.join(start_dir, path)
366 tests, should_recurse = self._find_test_path(full_path, pattern)
371 name = self._get_name_from_path(full_path)
374 yield from self._find_tests(full_path, pattern)
378 def _find_test_path(self, full_path, pattern): argument
[all …]
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/
Dquantize_model_test.py159 input_saved_model_path = self.create_tempdir('input').full_path
180 input_saved_model_path = self.create_tempdir('input').full_path
194 input_saved_model_path = self.create_tempdir('input').full_path
274 input_saved_model_path = self.create_tempdir('input').full_path
281 output_directory = self.create_tempdir().full_path
314 output_directory = self.create_tempdir().full_path
387 input_saved_model_path = self.create_tempdir('input').full_path
392 output_directory = self.create_tempdir().full_path
481 input_saved_model_path = self.create_tempdir('input').full_path
494 output_directory = self.create_tempdir().full_path
[all …]
/external/tensorflow/tensorflow/lite/tools/versioning/
Dgpu_compatibility_test.cc54 const std::string& full_path = tensorflow::GetDataDependencyFilepath( in TEST() local
56 auto model = FlatBufferModel::BuildFromFile(full_path.data()); in TEST()
62 const std::string& full_path = tensorflow::GetDataDependencyFilepath( in TEST() local
64 auto model = FlatBufferModel::BuildFromFile(full_path.data()); in TEST()
71 const std::string& full_path = tensorflow::GetDataDependencyFilepath( in TEST() local
73 auto model = FlatBufferModel::BuildFromFile(full_path.data()); in TEST()
/external/jsoncpp/devtools/
Dantglob.py117 def apply_filter(full_path, filter_rexs): argument
120 if rex.match(full_path):
129 full_path = os.path.join(dir_path, entry)
131 is_dir = os.path.isdir(full_path)
134 child_dirs.append(full_path)
135 included = apply_filter(full_path, include_filter)
136 rejected = apply_filter(full_path, exclude_filter)
140 link = os.path.islink(full_path)
141 is_file = os.path.isfile(full_path)
/external/armnn/src/armnnUtils/
DFilesystem.cpp51 std::string full_path = tmpDir.generic_string() + path; in CreateDirectory() local
53 RemoveDirectoryAndContents(full_path); in CreateDirectory()
55 result = _mkdir(full_path.c_str()); // can be used on Windows in CreateDirectory()
60 if(!fs::create_directory(full_path)) in CreateDirectory()
62 throw armnn::RuntimeException("Unable to create directory: " + full_path); in CreateDirectory()
73 return full_path + "/"; in CreateDirectory()
/external/perfetto/tools/
Dgen_amalgamated343 full_path = os.path.join(gn_utils.repo_root(), rel_path)
344 if os.path.exists(full_path):
347 if full_path in self._processed_headers:
349 if full_path in self._processed_source_headers:
351 self._processed_source_headers.add(full_path)
352 with open(full_path) as f:
354 (tool_name, normalize_path(full_path)))
369 full_path = os.path.join(gn_utils.repo_root(), source_name)
370 if not os.path.exists(full_path):
372 with open(full_path) as f:
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dprotobuf_util.cc55 std::string* full_path) { in DumpProtoToDirectory() argument
60 if (!full_path) { in DumpProtoToDirectory()
61 full_path = &full_path_impl; in DumpProtoToDirectory()
63 *full_path = tensorflow::io::JoinPath(directory, safe_file_name); in DumpProtoToDirectory()
64 return tensorflow::WriteBinaryProto(env, *full_path, message); in DumpProtoToDirectory()
/external/cronet/stable/build/
Dtree_truth.sh81 local full_path=$CHROME_SRC/../$project
82 tt_list_commits $full_path tree_truth $project
83 tt_tag_head $full_path tree_truth
92 local full_path=$CHROME_SRC/../$project
93 (cd $full_path && git log -n 10 --format=" %H %s %an, %ad" | cat)
/external/cronet/tot/build/
Dtree_truth.sh81 local full_path=$CHROME_SRC/../$project
82 tt_list_commits $full_path tree_truth $project
83 tt_tag_head $full_path tree_truth
92 local full_path=$CHROME_SRC/../$project
93 (cd $full_path && git log -n 10 --format=" %H %s %an, %ad" | cat)
/external/angle/build/
Dtree_truth.sh81 local full_path=$CHROME_SRC/../$project
82 tt_list_commits $full_path tree_truth $project
83 tt_tag_head $full_path tree_truth
92 local full_path=$CHROME_SRC/../$project
93 (cd $full_path && git log -n 10 --format=" %H %s %an, %ad" | cat)
/external/crosvm/perfetto/
Dbuild.rs58 let mut full_path = manifest_dir; in proto_path() localVariable
59 full_path.extend(["..", "third_party", "perfetto", "protos", "perfetto"]); in proto_path()
60 full_path.extend(path); in proto_path()
61 full_path in proto_path()
/external/tensorflow/tensorflow/c/
Dc_test.c65 char* full_path = malloc(length); in main() local
66 snprintf(full_path, length, "%s/%s", path, file_name); in main()
70 TF_NewWritableFile(full_path, &h, status); in main()
75 fprintf(stderr, "wrote %s\n", full_path); in main()
76 free(full_path); in main()
/external/rust/beto-rust/nearby/presence/test_helper/src/
Dlib.rs26 let mut full_path = std::path::PathBuf::from(env!("WORKSPACE_DIR")); in get_data_file() localVariable
27 full_path.push(file); in get_data_file()
28 full_path in get_data_file()
34 let full_path = get_data_file(file); in load_data_file_contents_as_string() localVariable
35 let mut file = fs::File::open(full_path).expect("Should be able to open data file"); in load_data_file_contents_as_string()
/external/f2fs-tools/fsck/
Dsload.c147 ret = lstat(de->full_path, &stat); in set_inode_metadata()
178 ret = readlink(de->full_path, de->link, F2FS_BLKSIZE - 1); in set_inode_metadata()
201 static int build_directory(struct f2fs_sb_info *sbi, const char *full_path, in build_directory() argument
210 entries = scandir(full_path, &namelist, filter_dot, (void *)alphasort); in build_directory()
212 ERR_MSG("No entries in %s\n", full_path); in build_directory()
230 ret = asprintf(&dentries[i].full_path, "%s/%s", in build_directory()
231 full_path, namelist[i]->d_name); in build_directory()
254 dentries[i].full_path); in build_directory()
284 free(dentries[i].full_path); in build_directory()
290 free(dentries[i].full_path); in build_directory()
[all …]
/external/cronet/stable/net/tools/crash_cache/
Dcrash_cache.cc99 base::FilePath* full_path) { in CreateTargetFolder() argument
128 *full_path = path.AppendASCII(folders[action]); in CreateTargetFolder()
130 if (base::PathExists(*full_path)) in CreateTargetFolder()
133 return base::CreateDirectory(*full_path); in CreateTargetFolder()
350 base::FilePath full_path; in SlaveCode() local
351 if (!CreateTargetFolder(path, action, &full_path)) { in SlaveCode()
362 return SimpleInsert(full_path, action, &cache_thread); in SlaveCode()
365 return LoadOperations(full_path, action, &cache_thread); in SlaveCode()
368 return SimpleRemove(full_path, action, &cache_thread); in SlaveCode()
371 return HeadRemove(full_path, action, &cache_thread); in SlaveCode()
[all …]
/external/cronet/tot/net/tools/crash_cache/
Dcrash_cache.cc99 base::FilePath* full_path) { in CreateTargetFolder() argument
128 *full_path = path.AppendASCII(folders[action]); in CreateTargetFolder()
130 if (base::PathExists(*full_path)) in CreateTargetFolder()
133 return base::CreateDirectory(*full_path); in CreateTargetFolder()
350 base::FilePath full_path; in SlaveCode() local
351 if (!CreateTargetFolder(path, action, &full_path)) { in SlaveCode()
362 return SimpleInsert(full_path, action, &cache_thread); in SlaveCode()
365 return LoadOperations(full_path, action, &cache_thread); in SlaveCode()
368 return SimpleRemove(full_path, action, &cache_thread); in SlaveCode()
371 return HeadRemove(full_path, action, &cache_thread); in SlaveCode()
[all …]
/external/tink/python/tink/cc/pybind/
Dimport_helper.cc30 std::string full_path = "tink"; in ImportTinkPythonModule() local
32 absl::StrAppend(&full_path, ".", relative_import_path); in ImportTinkPythonModule()
34 pybind11::module::import(full_path.c_str()); in ImportTinkPythonModule()
/external/python/watchdog/src/watchdog/
Devents.py516 full_path = os.path.join(root, directory) # type: ignore[call-overload]
517 renamed_path = full_path.replace(dest_dir_path, src_dir_path) if src_dir_path else ""
518 yield DirMovedEvent(renamed_path, full_path, is_synthetic=True)
520 full_path = os.path.join(root, filename) # type: ignore[call-overload]
521 renamed_path = full_path.replace(dest_dir_path, src_dir_path) if src_dir_path else ""
522 yield FileMovedEvent(renamed_path, full_path, is_synthetic=True)
538 full_path = os.path.join(root, directory) # type: ignore[call-overload]
539 yield DirCreatedEvent(full_path, is_synthetic=True)
541 full_path = os.path.join(root, filename) # type: ignore[call-overload]
542 yield FileCreatedEvent(full_path, is_synthetic=True)
/external/python/asn1crypto/tests/
Dtest_init.py110 full_path = os.path.join(root, f)
111 rel_path = full_path.replace(mod_root + os.sep, '')
112 files.append((full_path, rel_path))
114 for full_path, rel_path in sorted(files):
115 with open(full_path, 'rb') as f:
130 module_node = ast.parse(full_code, filename=full_path)
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dgenerator.py72 def WriteFile(contents, full_path): argument
74 if os.path.isfile(full_path):
75 with open(full_path, 'rb') as destination_file:
80 full_dir = os.path.dirname(full_path)
84 with open(full_path, "wb") as f:
190 full_path = os.path.join(self.output_dir, filename)
191 WriteFile(contents.encode(), full_path)

12345678910