HomeSort by relevance Sort by last modified time
    Searched refs:real_path (Results 1 - 25 of 41) sorted by null

1 2

  /external/curl/lib/
curl_path.c 38 char *real_path = NULL; local
49 real_path = malloc(working_path_len + 1);
50 if(real_path == NULL) {
56 memcpy(real_path, working_path + 3, 4 + working_path_len-3);
58 memcpy(real_path, working_path, 1 + working_path_len);
63 real_path = malloc(homelen + working_path_len + 1);
64 if(real_path == NULL) {
70 memcpy(real_path, homedir, homelen);
71 real_path[homelen] = '/';
72 real_path[homelen + 1] = '\0'
    [all...]
file.c 195 char *real_path; local
204 CURLcode result = Curl_urldecode(data, data->state.path, 0, &real_path,
224 actual_path = real_path;
238 Curl_safefree(real_path);
245 if(memchr(real_path, 0, real_path_len)) {
247 Curl_safefree(real_path);
251 fd = open_readonly(real_path, O_RDONLY);
252 file->path = real_path;
254 file->freepath = real_path; /* free this when done */
  /external/python/cpython3/Mac/Tools/
pythonw.c 155 static char real_path[PATH_MAX * 2]; local
176 if (realpath(path, real_path) == NULL) {
180 if (strlcat(real_path, slash, sizeof(real_path)) > sizeof(real_path)) {
186 if (realpath(".", real_path) == NULL) {
189 if (strlcat(real_path, "/", sizeof(real_path)) > sizeof(real_path)) {
193 if (strlcat(real_path, path, sizeof(real_path)) > sizeof(real_path))
    [all...]
  /bionic/tests/
gtest_globals.cpp 41 std::string real_path; local
42 if (!android::base::Realpath(out_path, &real_path)) {
47 return real_path;
  /external/syslinux/extlinux/
mountinfo.c 198 char *real_path; local
211 real_path = realpath(path, NULL);
212 if (!real_path)
219 len = strlen(real_path);
233 !memcmp(m->path, real_path, m->pathlen) &&
234 (real_path[m->pathlen] == '/' || real_path[m->pathlen] == '\0')) {
241 if (real_path[best->pathlen] == '\0')
244 *subpath = strdup(real_path + best->pathlen);
  /system/extras/simpleperf/scripts/
utils.py 458 real_path = find_real_dso_path(dso_path, self.binary_cache_path)
459 if not real_path:
464 if not self._check_debug_line_section(real_path):
465 log_debug("file %s doesn't contain .debug_line section." % real_path)
468 addr_step = self._get_addr_step(real_path)
469 self._collect_line_info(dso, real_path, [0])
470 self._collect_line_info(dso, real_path, range(-addr_step, -addr_step * 4 - 1, -addr_step))
471 self._collect_line_info(dso, real_path,
474 def _check_debug_line_section(self, real_path):
476 output = subprocess.check_output([self.readelf_path, '-S', real_path])
    [all...]
report_html.py 362 self.real_path = None # file path in the file system
369 def add_source_code(self, real_path):
370 self.real_path = real_path
371 with open(real_path, 'r') as f:
396 real_path = file_searcher.get_real_path(source_file.abstract_path)
397 if real_path:
398 source_file.add_source_code(real_path)
780 if not source_file.real_path:
784 file_data['path'] = source_file.real_path
    [all...]
  /external/clang/lib/Frontend/
ModuleDependencyCollector.cpp 84 static bool real_path(StringRef SrcPath, SmallVectorImpl<char> &RealPath) { function
113 if (!real_path(Path, TmpDest))
123 if (real_path(UpperDest, RealDest) && Path.equals(RealDest))
165 // Use real_path to fix any symbolic link component present in a path.
169 if (!real_path(Dir, RealPath))
  /external/autotest/client/site_tests/security_DeviceJail_Filesystem/
security_DeviceJail_Filesystem.py 78 real_path = os.path.realpath(os.path.join(dirpath, filename))
80 mode = os.stat(real_path).st_mode
85 self._check_device(real_path)
  /external/libcxx/
run_tests.py 131 real_path = os.path.realpath(arg)
132 if not real_path.startswith(default_test_path):
134 if not os.path.exists(real_path):
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/
run_tests.py 131 real_path = os.path.realpath(arg)
132 if not real_path.startswith(default_test_path):
134 if not os.path.exists(real_path):
  /device/google/marlin/recovery/gpt-utils/
gpt-utils.cpp 529 char real_path[PATH_MAX] = {0}; local
538 if (readlink(bootdev_path, real_path, sizeof(real_path) - 1) < 0) {
544 if(strlen(real_path) < PATH_TRUNCATE_LOC + 1){
546 real_path);
551 real_path[PATH_TRUNCATE_LOC] = '\0';
552 if(strlen(real_path) < LUN_NAME_START_LOC + 1){
554 real_path);
562 &real_path[LUN_NAME_START_LOC]);
984 char real_path[PATH_MAX] = {0}; local
    [all...]
  /hardware/qcom/msm8998/gpt-utils/
gpt-utils.cpp 529 char real_path[PATH_MAX] = {0}; local
538 if (readlink(bootdev_path, real_path, sizeof(real_path) - 1) < 0) {
544 if(strlen(real_path) < PATH_TRUNCATE_LOC + 1){
546 real_path);
551 real_path[PATH_TRUNCATE_LOC] = '\0';
552 if(strlen(real_path) < LUN_NAME_START_LOC + 1){
554 real_path);
562 &real_path[LUN_NAME_START_LOC]);
984 char real_path[PATH_MAX] = {0}; local
    [all...]
  /external/toolchain-utils/binary_search_tool/
binary_search_perforce.py 35 real_path = p4_path[1]
36 if real_path.endswith('...'):
37 real_path = real_path.replace('/...', '')
39 '; mkdir -p ' + checkoutdir + '/' + os.path.dirname(real_path))
40 command += ('&& rsync -lr ' + p4_snapshot + '/' + real_path + ' ' +
41 checkoutdir + '/' + os.path.dirname(real_path))
  /external/autotest/client/bin/result_tools/
result_info.py 277 real_path = os.path.realpath(path)
285 if ((os.path.islink(path) and real_path.startswith(top_dir)) or
286 real_path in all_dirs):
288 all_dirs.add(real_path)
  /external/libchrome/base/process/
launch.h 160 base::FilePath real_path; member in struct:base::LaunchOptions
launch_posix.cc 506 const char* executable_path = !options.real_path.empty() ?
507 options.real_path.value().c_str() : argv_cstr[0];
  /external/tensorflow/tensorflow/tools/pip_package/
build_pip_package.sh 20 function real_path() { function
50 DEST=$(real_path $1)
  /system/extras/simpleperf/
environment.cpp 501 std::string real_path; local
502 if (!android::base::Readlink(fd_path + file, &real_path)) {
505 if (real_path.find("app") != std::string::npos && real_path.find(".apk") != std::string::npos) {
  /external/toolchain-utils/
test_toolchains.py 73 real_path = os.path.realpath(sym_path)
76 path_pieces = real_path.split('/')
  /external/libchrome/base/files/
file_util.h 275 // Sets |real_path| to |path| with symbolic links and junctions expanded.
280 // or if |real_path| would be longer than MAX_PATH characters.
281 BASE_EXPORT bool NormalizeFilePath(const FilePath& path, FilePath* real_path);
291 // Given an existing file in |path|, set |real_path| to the path
file_util_posix.cc 85 bool RealPath(const FilePath& path, FilePath* real_path) {
91 *real_path = FilePath(buf);
  /frameworks/native/cmds/dumpstate/
utils.cpp 1122 const std::string& real_path = path.empty() ? screenshot_path_ : path; local
    [all...]
  /external/libcxx/src/experimental/filesystem/
operations.cpp 352 const path real_path(__read_symlink(existing_symlink, ec));
357 __create_symlink(real_path, new_symlink, ec);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/experimental/filesystem/
operations.cpp 315 const path real_path(__read_symlink(existing_symlink, ec));
320 __create_symlink(real_path, new_symlink, ec);

Completed in 1142 milliseconds

1 2