/third_party/selinux/libsepol/cil/test/unit/ |
D | test_cil_post.c | 47 afilecon->path_str = "foo"; in test_cil_post_filecon_compare_meta_a_not_b() 50 bfilecon->path_str = "foo"; in test_cil_post_filecon_compare_meta_a_not_b() 65 afilecon->path_str = "foo"; in test_cil_post_filecon_compare_meta_b_not_a() 68 bfilecon->path_str = "foo"; in test_cil_post_filecon_compare_meta_b_not_a() 83 afilecon->path_str = ".$({"; in test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b() 86 bfilecon->path_str = "."; in test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b() 101 afilecon->path_str = ".$({"; in test_cil_post_filecon_compare_type_atype_greater_btype() 105 bfilecon->path_str = ".$({"; in test_cil_post_filecon_compare_type_atype_greater_btype() 120 afilecon->path_str = ".$({"; in test_cil_post_filecon_compare_type_btype_greater_atype() 124 bfilecon->path_str = ".$({"; in test_cil_post_filecon_compare_type_btype_greater_atype() [all …]
|
/third_party/cef/libcef/browser/ |
D | context.cc | 95 base::FilePath NormalizePath(const cef_string_t& path_str, in NormalizePath() argument 101 base::FilePath path = base::FilePath(CefString(&path_str)); in NormalizePath() 119 void SetPath(cef_string_t& path_str, const base::FilePath& path) { in SetPath() argument 121 CefString(&path_str).FromWString(path.value()); in SetPath() 123 CefString(&path_str).FromString(path.value()); in SetPath() 128 base::FilePath NormalizePathAndSet(cef_string_t& path_str, const char* name) { in NormalizePathAndSet() argument 129 const base::FilePath& path = NormalizePath(path_str, name); in NormalizePathAndSet() 130 SetPath(path_str, path); in NormalizePathAndSet() 161 base::FilePath NormalizeCachePathAndSet(cef_string_t& path_str, in NormalizeCachePathAndSet() argument 164 base::FilePath path = NormalizePath(path_str, "cache_path", &has_error); in NormalizeCachePathAndSet() [all …]
|
/third_party/mindspore/mindspore/profiler/common/validator/ |
D | validate_path.py | 44 path_str = str(path) 46 path_components = path_str.split("/") 52 if not path_str.startswith("/"):
|
/third_party/boost/boost/wave/util/ |
D | cpp_include_paths.hpp | 468 std::string path_str(p.native_file_string()); in save() local 469 ar & make_nvp("filepath", path_str); in save() 477 std::string path_str; in load() local 478 ar & make_nvp("filepath", path_str); in load() 479 p = wave::util::create_path(path_str); in load()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/ |
D | python_adapter.cc | 43 std::string path_str = py::cast<std::string>(sys_path[i]); in SetPythonPath() local 44 if (path_str == path) { in SetPythonPath()
|
/third_party/grpc/src/core/ext/filters/client_channel/ |
D | service_config.cc | 215 UniquePtr<char> path_str(grpc_slice_to_c_string(path)); in GetMethodParsedConfigVector() local 216 char* sep = strrchr(path_str.get(), '/'); in GetMethodParsedConfigVector() 219 grpc_slice wildcard_path = grpc_slice_from_static_string(path_str.get()); in GetMethodParsedConfigVector()
|
/third_party/gn/src/base/files/ |
D | file_path.cc | 525 StringType path_str; in AsEndingWithSeparator() local 526 path_str.reserve(path_.length() + 1); // Only allocate string once. in AsEndingWithSeparator() 528 path_str = path_; in AsEndingWithSeparator() 529 path_str.append(&kSeparators[0], 1); in AsEndingWithSeparator() 530 return FilePath(path_str); in AsEndingWithSeparator()
|
D | file_util_posix.cc | 174 const char* path_str = path.value().c_str(); in DeleteFile() local 176 if (CallLstat(path_str, &file_info) != 0) { in DeleteFile() 181 return (unlink(path_str) == 0); in DeleteFile() 183 return (rmdir(path_str) == 0); in DeleteFile()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_post.c | 215 char *a_path = cil_malloc(strlen(a_filecon->path_str) + 1); in cil_post_filecon_compare() 216 char *b_path = cil_malloc(strlen(b_filecon->path_str) + 1); in cil_post_filecon_compare() 219 strcat(a_path, a_filecon->path_str); in cil_post_filecon_compare() 220 strcat(b_path, b_filecon->path_str); in cil_post_filecon_compare() 240 rc = strcmp(a_filecon->path_str, b_filecon->path_str); in cil_post_filecon_compare() 304 rc = strcmp(agenfscon->path_str, bgenfscon->path_str); in cil_post_genfscon_compare()
|
D | cil_internal.h | 744 char *path_str; member 793 char *path_str; member
|
D | cil_copy_ast.c | 1130 new->path_str = orig->path_str; in cil_copy_genfscon() 1151 new->path_str = orig->path_str; in cil_copy_filecon()
|
D | cil.c | 1725 str_len += strlen(filecon->path_str); in cil_filecons_to_string() 1764 buf_pos = sprintf(str_tmp, "%s", filecon->path_str); in cil_filecons_to_string() 2532 (*filecon)->path_str = NULL; in cil_filecon_init() 2576 (*genfscon)->path_str = NULL; in cil_genfscon_init()
|
D | cil_write_ast.c | 1234 fprintf(out, "\"%s\" ", filecon->path_str); in cil_write_ast_node() 1320 fprintf(out, "%s \"%s\" ", genfscon->fs_str, genfscon->path_str); in cil_write_ast_node()
|
D | cil_policy.c | 1711 fprintf(out, "genfscon %s %s ", genfscon->fs_str, genfscon->path_str); in cil_genfscons_to_policy()
|
D | cil_build_ast.c | 4230 filecon->path_str = parse_current->next->data; in cil_gen_filecon() 4593 genfscon->path_str = parse_current->next->next->data; in cil_gen_genfscon()
|
D | cil_binary.c | 3463 new_ocon->u.name = cil_strdup(cil_genfscon->path_str); in cil_genfscon_to_policydb()
|
/third_party/mesa3d/src/mesa/main/ |
D | shaderapi.c | 3383 char *path_str = strtok_r(full_path, "/", &save_ptr); in validate_and_tokenise_sh_incl() local 3389 while (path_str != NULL) { in validate_and_tokenise_sh_incl() 3390 if (strlen(path_str) == 0) { in validate_and_tokenise_sh_incl() 3399 if (strcmp(path_str, ".") == 0) { in validate_and_tokenise_sh_incl() 3401 } else if (strcmp(path_str, "..") == 0) { in validate_and_tokenise_sh_incl() 3408 path->path = strdup(path_str); in validate_and_tokenise_sh_incl() 3412 path_str = strtok_r(NULL, "/", &save_ptr); in validate_and_tokenise_sh_incl()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gsturi.c | 1606 gchar *path_str = g_strndup (uri, len); in _gst_uri_from_string_internal() local 1607 uri_obj->path = _gst_uri_string_to_list (path_str, "/", FALSE, TRUE); in _gst_uri_from_string_internal() 1608 g_free (path_str); in _gst_uri_from_string_internal()
|
/third_party/boost/libs/filesystem/src/ |
D | operations.cpp | 1987 const char* const path_str = p.c_str(); in read_symlink() local 1989 ssize_t result = ::readlink(path_str, small_buf, sizeof(small_buf)); in read_symlink() 2021 result = ::readlink(path_str, buf.get(), path_max); in read_symlink()
|
/third_party/python/Modules/ |
D | posixmodule.c | 14258 const char *path_str; in os_scandir_impl() local 14324 path_str = iterator->path.narrow; in os_scandir_impl() 14326 path_str = "."; in os_scandir_impl() 14329 iterator->dirp = opendir(path_str); in os_scandir_impl()
|