Home
last modified time | relevance | path

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

/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
132 if (getcwd(path_name, sizeof(path_name)) == NULL) in setup()
139 SAFE_MOUNT(cleanup, path_name, path_name, "none", MS_BIND, NULL); in setup()
143 SAFE_MOUNT(cleanup, "none", path_name, "none", MS_PRIVATE, NULL); in setup()
145 snprintf(mntpoint_src, PATH_MAX, "%s/%s", path_name, MNTPOINT_SRC); in setup()
146 snprintf(mntpoint_des, PATH_MAX, "%s/%s", path_name, MNTPOINT_DES); in setup()
156 if (mount_flag && tst_umount(path_name) != 0) in cleanup()
157 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, "%smount03_setuid_test", path_name); in test_rwflag()
292 snprintf(file, PATH_MAX, "%satime", path_name); in test_rwflag()
358 if (getcwd(path_name, sizeof(path_name)) == NULL) in setup()
361 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/parameter-framework/asio-1.10.6/include/asio/local/detail/impl/
Dendpoint.ipp36 endpoint::endpoint(const char* path_name)
39 init(path_name, strlen(path_name));
42 endpoint::endpoint(const std::string& path_name)
44 init(path_name.data(), path_name.length());
95 void endpoint::init(const char* path_name, std::size_t path_length)
107 memcpy(data_.local.sun_path, path_name, path_length);
/external/grpc-grpc/test/core/iomgr/
Dresolve_address_posix_test.cc145 char* path_name = in test_unix_socket_path_name_too_long() local
147 memset(path_name, 'a', path_name_length); in test_unix_socket_path_name_too_long()
148 memcpy(path_name, prefix, strlen(prefix) - 1); in test_unix_socket_path_name_too_long()
149 path_name[path_name_length - 1] = '\0'; in test_unix_socket_path_name_too_long()
153 path_name, nullptr, args.pollset_set, in test_unix_socket_path_name_too_long()
156 gpr_free(path_name); in test_unix_socket_path_name_too_long()
/external/parameter-framework/asio-1.10.6/include/asio/local/
Dbasic_endpoint.hpp56 basic_endpoint(const char* path_name) in basic_endpoint() argument
57 : impl_(path_name) in basic_endpoint()
62 basic_endpoint(const std::string& path_name) in basic_endpoint() argument
63 : impl_(path_name) in basic_endpoint()
/external/python/cpython3/Lib/
Drunpy.py239 def run_path(path_name, init_globals=None, run_name=None): argument
252 importer = get_importer(path_name)
261 code, fname = _get_code_from_file(run_name, path_name)
267 sys.path.insert(0, path_name)
277 _ModifiedArgv0(path_name):
283 sys.path.remove(path_name)
/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/parameter-framework/asio-1.10.6/include/asio/local/detail/
Dendpoint.hpp37 ASIO_DECL endpoint(const char* path_name);
40 ASIO_DECL endpoint(const std::string& path_name);
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util.py32 def ResolvePath(path_name): argument
33 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_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()
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()
/external/pdfium/core/fxge/win32/
Dcfx_windowsdib.h27 const wchar_t* path_name; member
Dfx_win32_dib.cpp124 args.path_name = filename; in LoadFromFile()
163 HBITMAP hBitmap = (HBITMAP)LoadImageW(nullptr, (wchar_t*)args.path_name, in LoadDIBitmap()
Dfx_win32_gdipext.cpp1445 status = CallFunc(GdipCreateBitmapFromFileICM)((wchar_t*)args.path_name, in LoadDIBitmap()
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage.py480 path_name, extension = os.path.splitext(
484 GetIfChanged(path_name, bucket)
/external/python/cpython2/Lib/multiprocessing/
Dforking.py504 file, path_name, etc = imp.find_module(main_name, dirs)
510 '__parents_main__', file, path_name, etc
/external/kernel-headers/original/uapi/linux/
Dhyperv.h132 __u16 path_name[W_MAX_PATH]; member
/external/selinux/libsemanage/src/
Dsemanage_store.c485 enum semanage_sandbox_defs path_name) in semanage_path() argument
487 assert(semanage_paths[store][path_name]); in semanage_path()
488 return semanage_paths[store][path_name]; in semanage_path()
500 enum semanage_final_path_defs path_name) in semanage_final_path() argument
502 assert(semanage_final_paths[store][path_name]); in semanage_final_path()
503 return semanage_final_paths[store][path_name]; in semanage_final_path()