Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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 …]
/third_party/boost/boost/asio/local/detail/impl/
Dendpoint.ipp41 endpoint::endpoint(const char* path_name)
44 init(path_name, strlen(path_name));
47 endpoint::endpoint(const std::string& path_name)
49 init(path_name.data(), path_name.length());
53 endpoint::endpoint(string_view path_name)
55 init(path_name.data(), path_name.length());
107 void endpoint::init(const char* path_name, std::size_t path_length)
120 memcpy(data_.local.sun_path, path_name, path_length);
/third_party/boost/boost/asio/local/
Dbasic_endpoint.hpp69 basic_endpoint(const char* path_name) in basic_endpoint() argument
70 : impl_(path_name) in basic_endpoint()
75 basic_endpoint(const std::string& path_name) in basic_endpoint() argument
76 : impl_(path_name) in basic_endpoint()
82 basic_endpoint(string_view path_name) in basic_endpoint() argument
83 : impl_(path_name) in basic_endpoint()
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/
Dcheck_print.c164 char *path_name = NULL; in tr_xmlprint() local
191 path_name = strdup ("."); in tr_xmlprint()
194 path_name = strdup (tr->file); in tr_xmlprint()
195 path_name[slash - tr->file] = 0; /* Terminate the temporary string. */ in tr_xmlprint()
203 (path_name == NULL ? "" : path_name)); in tr_xmlprint()
219 free (path_name); in tr_xmlprint()
/third_party/glib/gio/
Dgregistrysettingsbackend.c241 gchar *path_name, *c; in parse_key() local
250 path_name = g_strdup (key_name); in parse_key()
252 path_name = g_strjoin ("/", registry_prefix, key_name, NULL); in parse_key()
255 for (c = path_name + (registry_prefix ? strlen (registry_prefix) : 0); *c != 0; c++) in parse_key()
267 return path_name; in parse_key()
310 const gchar *path_name, in handle_read_error() argument
316 path_name, value_name); in handle_read_error()
777 const gchar *path_name, in registry_read() argument
796 handle_read_error (result, path_name, value_name); in registry_read()
819 handle_read_error (result, path_name, value_name); in registry_read()
[all …]
/third_party/grpc/test/core/iomgr/
Dresolve_address_posix_test.cc160 char* path_name = in test_unix_socket_path_name_too_long() local
162 memset(path_name, 'a', path_name_length); in test_unix_socket_path_name_too_long()
163 memcpy(path_name, prefix, strlen(prefix) - 1); in test_unix_socket_path_name_too_long()
164 path_name[path_name_length - 1] = '\0'; in test_unix_socket_path_name_too_long()
168 path_name, nullptr, args.pollset_set, in test_unix_socket_path_name_too_long()
171 gpr_free(path_name); in test_unix_socket_path_name_too_long()
/third_party/boost/boost/asio/local/detail/
Dendpoint.hpp43 BOOST_ASIO_DECL endpoint(const char* path_name);
46 BOOST_ASIO_DECL endpoint(const std::string& path_name);
50 BOOST_ASIO_DECL endpoint(string_view path_name);
/third_party/python/Lib/
Drunpy.py245 def run_path(path_name, init_globals=None, run_name=None): argument
258 importer = get_importer(path_name)
267 code, fname = _get_code_from_file(run_name, path_name)
273 sys.path.insert(0, path_name)
283 _ModifiedArgv0(path_name):
289 sys.path.remove(path_name)
/third_party/protobuf/python/google/protobuf/internal/
Dwell_known_types.py521 def _SnakeCaseToCamelCase(path_name): argument
525 for c in path_name:
529 '{0} must not contain uppercase letters.'.format(path_name))
538 'in path name {0}.'.format(path_name))
546 'in path name {0}.'.format(path_name))
550 def _CamelCaseToSnakeCase(path_name): argument
553 for c in path_name:
556 '{0} must not contain "_"s.'.format(path_name))
/third_party/boost/tools/inspect/doc/
Dinspect.qbk68 -path_name
109 [ [[^-path_name]]
/third_party/pulseaudio/src/modules/alsa/
Dalsa-mixer.c3356 static pa_alsa_path *profile_set_get_path(pa_alsa_profile_set *ps, const char *path_name) { in profile_set_get_path() argument
3360 pa_assert(path_name); in profile_set_get_path()
3362 if ((path = pa_hashmap_get(ps->output_paths, path_name))) in profile_set_get_path()
3365 return pa_hashmap_get(ps->input_paths, path_name); in profile_set_get_path()
/third_party/boost/libs/asio/doc/
Dreference.qbk100492 const char * path_name);
100496 const std::string & path_name);
100529 const char * path_name);
100544 const std::string & path_name);