Home
last modified time | relevance | path

Searched refs:path_name (Results 1 – 21 of 21) sorted by relevance

/external/valgrind/tests/
Dcheck_headers_and_includes153 my $path_name = defined $path ? "$path/$file" : $file;
154 process_file($path_name);
164 my ($path_name) = @_;
166 return ($path_name =~ /^include\//) ? 1 : 0;
173 my ($path_name) = @_;
175 return ($path_name =~ /^coregrind\//) ? 1 : 0;
182 my ($path_name) = @_;
185 return 1 if ($path_name =~ /^$tool\//);
194 my ($path_name) = @_;
196 my $file = basename($path_name);
[all …]
/external/ltp/testcases/kernel/syscalls/nftw/
Dtest_func64.c41 test_func1(const char *path_name, const struct stat64 *stat_pointer, in test_func1() argument
48 if ((s = malloc((size_t)(strlen((char *)path_name) + 1))) in test_func1()
54 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func1()
57 p = path_name; in test_func1()
64 fprintf(temp, "INFO: Call to fn() at %s\n", path_name); in test_func1()
75 test_func3(const char *path_name, const struct stat64 *stat_pointer, in test_func3() argument
81 fprintf(temp, "INFO: Call to fn() at %s\n", path_name); in test_func3()
89 if (strcmp(path_name, "./tmp/data/dirl/dir_right.1/dir_right.2/right.3") in test_func3()
100 test_func4(const char *path_name, const struct stat64 *stat_pointer, in test_func4() argument
104 do_info(path_name); in test_func4()
[all …]
Dtest_func.c41 test_func1(const char *path_name, const struct stat *stat_pointer, in test_func1() argument
49 if ((s = malloc((size_t)(strlen((char *)path_name) + 1))) in test_func1()
55 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func1()
58 p = path_name; in test_func1()
65 fprintf(temp, "INFO: Call to fn() at %s\n", path_name); in test_func1()
76 test_func3(const char *path_name, const struct stat *stat_pointer, in test_func3() argument
82 fprintf(temp, "INFO: Call to fn() at %s\n", path_name); in test_func3()
90 if (strcmp(path_name, "./tmp/data/dirl/dir_right.1/dir_right.2/right.3") in test_func3()
101 test_func4(const char *path_name, const struct stat *stat_pointer, in test_func4() argument
105 do_info(path_name); in test_func4()
[all …]
Dtools64.c250 void do_info(const char *path_name) in do_info() argument
254 fprintf(temp, "INFO: Call to fn() at %s\n", path_name); in do_info()
Dtools.c250 void do_info(const char *path_name) in do_info() argument
254 fprintf(temp, "INFO: Call to fn() at %s\n", path_name); in do_info()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount06.c55 static char path_name[PATH_MAX]; variable
134 if (getcwd(path_name, sizeof(path_name)) == NULL) in setup()
141 if (mount(path_name, path_name, "none", MS_BIND, NULL) == -1) in setup()
146 if (mount("none", path_name, "none", MS_PRIVATE, NULL) == -1) in setup()
149 snprintf(mntpoint_src, PATH_MAX, "%s/%s", path_name, MNTPOINT_SRC); in setup()
150 snprintf(mntpoint_des, PATH_MAX, "%s/%s", path_name, MNTPOINT_DES); in setup()
160 if (mount_flag && tst_umount(path_name) != 0) in cleanup()
161 tst_resm(TWARN | TERRNO, "umount(2) %s failed", path_name); in cleanup()
Dmount03.c70 static char path_name[PATH_MAX]; variable
141 snprintf(file, PATH_MAX, "%stmp", path_name); in test_rwflag()
157 snprintf(file, PATH_MAX, "%smynod_%d_%d", path_name, getpid(), in test_rwflag()
180 snprintf(file, PATH_MAX, "%stmp1", path_name); in test_rwflag()
200 snprintf(file, PATH_MAX, "%s%s", path_name, TEMP_FILE); in test_rwflag()
250 snprintf(file, PATH_MAX, "%stmp2", path_name); in test_rwflag()
264 snprintf(file, PATH_MAX, "%ssetuid_test", path_name); in test_rwflag()
302 snprintf(file, PATH_MAX, "%satime", path_name); in test_rwflag()
367 if (getcwd(path_name, sizeof(path_name)) == NULL) in setup()
370 if (chmod(path_name, DIR_MODE) != 0) in setup()
[all …]
/external/python/cpython2/Lib/
Drunpy.py197 def _get_importer(path_name): argument
201 importer = cache[path_name]
206 cache[path_name] = None
209 importer = hook(path_name)
219 importer = imp.NullImporter(path_name)
222 cache[path_name] = importer
235 def run_path(path_name, init_globals=None, run_name=None): argument
247 importer = _get_importer(path_name)
251 code = _get_code_from_file(path_name)
252 return _run_module_code(code, init_globals, run_name, path_name)
[all …]
/external/libchrome/base/files/
Dfile_path_watcher_kqueue.cc114 std::string path_name; in AreKeventValuesValid() local
118 path_name = event_data->path_.value(); in AreKeventValuesValid()
121 if (path_name.empty()) { in AreKeventValuesValid()
122 path_name = base::StringPrintf( in AreKeventValuesValid()
125 DLOG(ERROR) << "Error: " << kevents[i].data << " for " << path_name; in AreKeventValuesValid()
/external/vixl/tools/
Dutil.py62 def ensure_dir(path_name): argument
63 if not os.path.exists(path_name):
64 os.makedirs(path_name)
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util.py31 def ResolvePath(path_name): argument
32 return os.path.realpath(os.path.abspath(path_name))
/external/google-breakpad/src/client/windows/unittests/
Dexception_handler_nesting_test.cc52 bool DoesPathExist(const wchar_t *path_name) { in DoesPathExist() argument
53 DWORD flags = GetFileAttributes(path_name); in DoesPathExist()
Dexception_handler_test.cc90 static BOOL DoesPathExist(const TCHAR *path_name);
144 BOOL ExceptionHandlerTest::DoesPathExist(const TCHAR *path_name) { in DoesPathExist() argument
145 DWORD flags = GetFileAttributes(path_name); in DoesPathExist()
Dexception_handler_death_test.cc55 BOOL DoesPathExist(const TCHAR *path_name);
95 BOOL DoesPathExist(const TCHAR *path_name) { in DoesPathExist() argument
96 DWORD flags = GetFileAttributes(path_name); in DoesPathExist()
/external/pdfium/core/fxge/win32/
Dcfx_windowsdib.h23 const FX_WCHAR* path_name; member
Dfx_win32_dib.cpp125 args.path_name = filename; in LoadFromFile()
166 HBITMAP hBitmap = (HBITMAP)LoadImageW(nullptr, (wchar_t*)args.path_name, in LoadDIBitmap()
Dfx_win32_gdipext.cpp1409 status = CallFunc(GdipCreateBitmapFromFileICM)((wchar_t*)args.path_name, in LoadDIBitmap()
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage.py439 path_name, extension = os.path.splitext(
443 GetIfChanged(path_name, bucket)
/external/kernel-headers/original/uapi/linux/
Dhyperv.h131 __u16 path_name[W_MAX_PATH]; member
/external/python/cpython2/Lib/multiprocessing/
Dforking.py503 file, path_name, etc = imp.find_module(main_name, dirs)
509 '__parents_main__', file, path_name, etc
/external/selinux/libsemanage/src/
Dsemanage_store.c482 enum semanage_sandbox_defs path_name) in semanage_path() argument
484 assert(semanage_paths[store][path_name]); in semanage_path()
485 return semanage_paths[store][path_name]; in semanage_path()
497 enum semanage_final_path_defs path_name) in semanage_final_path() argument
499 assert(semanage_final_paths[store][path_name]); in semanage_final_path()
500 return semanage_final_paths[store][path_name]; in semanage_final_path()