Home
last modified time | relevance | path

Searched refs:abs_path (Results 1 – 25 of 75) sorted by relevance

123

/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_store.c30 char **abs_path) in policy_rel_path_to_abs_path() argument
35 r = ifapi_asprintf(abs_path, "%s%s%s.json", pstore->policydir, in policy_rel_path_to_abs_path()
38 r = ifapi_asprintf(abs_path, "%s%s%s%s%s.json", pstore->policydir, in policy_rel_path_to_abs_path()
60 char *abs_path = NULL; in ifapi_policy_delete() local
63 r = policy_rel_path_to_abs_path(pstore, path, &abs_path); in ifapi_policy_delete()
66 if (!ifapi_io_path_exists(abs_path)) { in ifapi_policy_delete()
71 if (remove(abs_path) != 0) { in ifapi_policy_delete()
72 LOG_WARNING("File: %s can't be deleted.", abs_path); in ifapi_policy_delete()
76 SAFE_FREE(abs_path); in ifapi_policy_delete()
139 char *abs_path = NULL; in ifapi_policy_store_load_async() local
[all …]
Difapi_keystore.c420 char **abs_path) in rel_path_to_abs_path() argument
430 keystore->userdir, abs_path); in rel_path_to_abs_path()
434 if (!ifapi_io_path_exists(*abs_path)) { in rel_path_to_abs_path()
436 SAFE_FREE(*abs_path); in rel_path_to_abs_path()
438 keystore->systemdir, abs_path); in rel_path_to_abs_path()
441 if (ifapi_io_path_exists(*abs_path)) { in rel_path_to_abs_path()
488 char *abs_path = NULL; in ifapi_keystore_load_async() local
496 r = rel_path_to_abs_path(keystore, path, &abs_path); in ifapi_keystore_load_async()
500 r = ifapi_io_read_async(io, abs_path); in ifapi_keystore_load_async()
503 SAFE_FREE(abs_path); in ifapi_keystore_load_async()
[all …]
/external/ltp/testcases/kernel/syscalls/faccessat2/
Dfaccessat201.c30 static char *abs_path; variable
40 {&bad_fd, &abs_path, 0},
43 {&bad_fd, &abs_path, AT_EACCESS},
59 abs_path = tst_tmpdir_genpath(RELPATH); in setup()
63 SAFE_TOUCH(abs_path, 0444, NULL); in setup()
64 SAFE_SYMLINK(abs_path, TESTSYMLINK); in setup()
/external/curl/tests/
Dpathhelp.pm120 return Cwd::abs_path($path) if !os_is_win();
127 $res = Cygwin::posix_to_win_path(Cwd::abs_path($path));
133 $res = Cwd::abs_path($path);
149 return Cwd::abs_path($path) if !os_is_win();
156 $res = Cwd::abs_path($path);
Dhttp2-server.pl108 $certfile = abs_path($certfile);
109 $keyfile = abs_path($keyfile);
Dhttp3-server.pl108 $certfile = abs_path($certfile);
109 $keyfile = abs_path($keyfile);
/external/toolchain-utils/binary_search_tool/android/
Dgenerate_cmd.sh13 abs_path=$1
21 real_path=$(realpath --relative-to="${BISECT_WORK_BUILD}" "${abs_path}")
44 output+="\nln -f $tmp_ir $abs_path"
45 output+="\ntouch $abs_path"
/external/cronet/tot/testing/merge_scripts/
Dstandard_isolated_script_merge_test.py43 abs_path = os.path.join(self.temp_dir, path.replace('/', os.sep))
44 if not os.path.exists(os.path.dirname(abs_path)):
45 os.makedirs(os.path.dirname(abs_path))
46 with open(abs_path, 'w') as f:
52 return abs_path
57 abs_path = self._write_temp_file(path, content)
58 self.test_files.append(abs_path)
Dstandard_gtest_merge_test.py354 abs_path = os.path.join(self.temp_dir, path.replace('/', os.sep))
355 if not os.path.exists(os.path.dirname(abs_path)):
356 os.makedirs(os.path.dirname(abs_path))
357 with open(abs_path, 'w') as f:
363 return abs_path
424 abs_path = self._write_temp_file(path, content)
425 self.test_files.append(abs_path)
/external/cronet/stable/testing/merge_scripts/
Dstandard_isolated_script_merge_test.py43 abs_path = os.path.join(self.temp_dir, path.replace('/', os.sep))
44 if not os.path.exists(os.path.dirname(abs_path)):
45 os.makedirs(os.path.dirname(abs_path))
46 with open(abs_path, 'w') as f:
52 return abs_path
57 abs_path = self._write_temp_file(path, content)
58 self.test_files.append(abs_path)
Dstandard_gtest_merge_test.py354 abs_path = os.path.join(self.temp_dir, path.replace('/', os.sep))
355 if not os.path.exists(os.path.dirname(abs_path)):
356 os.makedirs(os.path.dirname(abs_path))
357 with open(abs_path, 'w') as f:
363 return abs_path
424 abs_path = self._write_temp_file(path, content)
425 self.test_files.append(abs_path)
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dresource_loader.py184 def LoadImage(self, abs_path): argument
185 if abs_path in self.loaded_images:
186 return self.loaded_images[abs_path]
188 if not os.path.exists(abs_path):
189 raise module.DepsException("url('%s') did not exist" % abs_path)
191 res = self.FindResourceGivenAbsolutePath(abs_path, binary=True)
193 raise module.DepsException("url('%s') was not in search path" % abs_path)
196 self.loaded_images[abs_path] = image
/external/ltp/testcases/kernel/syscalls/fchmodat/
Dfchmodat01.c30 static char *abs_path; variable
40 {&file_fd, &abs_path, &abs_path},
63 abs_path = tst_tmpdir_genpath(FILEPATH); in setup()
/external/ltp/testcases/kernel/syscalls/pathconf/
Dpathconf02.c35 static char *abs_path; variable
48 {&abs_path, -1, EINVAL, "name is invalid"},
49 {&abs_path, 0, EACCES, "without full permissions of the path prefix"},
73 abs_path = tst_tmpdir_genpath(FILEPATH); in setup()
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Dasset.cc36 std::string abs_path = in Create() local
38 AbstractTensorPtr tensor(ctx->CreateStringScalar(abs_path)); in Create()
41 "Failed to create scalar string tensor for Asset at path ", abs_path); in Create()
/external/ltp/testcases/kernel/syscalls/faccessat/
Dfaccessat01.c33 static char *abs_path; variable
43 {&dir_fd, &abs_path, 0},
58 abs_path = tst_tmpdir_genpath(FILEPATH); in setup()
/external/ltp/testcases/kernel/syscalls/futimesat/
Dfutimesat01.c101 char *abs_path = tst_get_tmpdir(); in setup() local
103 SAFE_ASPRINTF(cleanup, &testfile3, "%s/futimesatfile3.txt", abs_path); in setup()
104 free(abs_path); in setup()
/external/webrtc/tools_webrtc/mb/
Dmb_unittest.py64 abs_path = self._AbsPath(path)
65 return self.files.get(abs_path) is not None or abs_path in self.dirs
126 def RemoveDirectory(self, abs_path): argument
129 abs_path = self._AbsPath(abs_path)
130 self.rmdirs.append(abs_path)
131 files_to_delete = [f for f in self.files if f.startswith(abs_path)]
/external/ltp/testcases/kernel/syscalls/fstatat/
Dfstatat01.c118 char *abs_path = tst_get_tmpdir(); in setup() local
120 SAFE_ASPRINTF(cleanup, &testfile3, "%s/fstatattestfile3.txt", abs_path); in setup()
121 free(abs_path); in setup()
/external/webrtc/tools_webrtc/vim/
Dwebrtc.ycm_extra_conf.py244 abs_path = os.path.normpath(os.path.join(out_dir, flag[2:]))
245 clang_flags.append('-I' + abs_path)
266 abs_path = os.path.normpath(os.path.join(out_dir, sysroot_path))
267 clang_flags.append('--sysroot=' + abs_path)
/external/cronet/tot/base/files/
Dfile_enumerator_win.cc191 const FilePath abs_path = root_path_.Append(filename); in Next() local
199 DWORD attributes = GetFileAttributes(abs_path.value().c_str()); in Next()
201 pending_paths_.push(abs_path); in Next()
205 return abs_path; in Next()
/external/cronet/stable/base/files/
Dfile_enumerator_win.cc191 const FilePath abs_path = root_path_.Append(filename); in Next() local
199 DWORD attributes = GetFileAttributes(abs_path.value().c_str()); in Next()
201 pending_paths_.push(abs_path); in Next()
205 return abs_path; in Next()
/external/pytorch/tools/
Dnvcc_fix_deps.py26 abs_path = include_path / path
27 if abs_path.exists():
28 return abs_path
/external/harfbuzz_ng/src/
Dcheck-header-guards.py11 abs_path = os.path.join(base_srcdir, s)
12 return os.path.relpath(abs_path, srcdir)
Dcheck-c-linkage-decls.py11 abs_path = os.path.join(base_srcdir, s)
12 return os.path.relpath(abs_path, srcdir)

123