Home
last modified time | relevance | path

Searched full:path (Results 1326 - 1350 of 36763) sorted by relevance

1...<<51525354555657585960>>...1471

/base/startup/init/ueventd/
H A Dueventd_device_handler.c96 static void SetDeviceLable(const char *path, char **symLinks) in SetDeviceLable() argument
103 p = path; in SetDeviceLable()
104 slash = strchr(path, '/'); in SetDeviceLable()
116 if (memcpy_s(buffer, PATH_MAX, path, p - path - 1) != EOK) { in SetDeviceLable()
117 INIT_LOGE("[uevent] Failed to memcpy path %s", path); in SetDeviceLable()
124 rc += Restorecon(path); in SetDeviceLable()
126 INIT_LOGE("[uevent] Failed to Restorecon \" %s \"", path); in SetDeviceLable()
138 setfilecon(path, contex in SetDeviceLable()
228 FindPlatformDeviceName(char *path) FindPlatformDeviceName() argument
[all...]
/foundation/ability/ability_base/interfaces/kits/native/want/include/
H A Dskills.h206 * @brief Obtains the specified path.
208 * @param pathId Id of the specified path.
213 * @brief Adds a path to this Skills object.
215 * @param path Indicates the path to add.
217 void AddPath(const std::string &path);
220 * @brief Adds a path to this Skills object.
222 * @param path Indicates the path to add.
227 * @brief Adds a path t
[all...]
/test/xts/acts/storage/storagefileurijstest/entry/src/ohosTest/js/test/
H A Dfileuri.test.js32 * @tc.desc Function of API, get Uri from Path. Test normal function.
39 let path = "/data/storage/el2/base/haps/entry/files/sync.jpg";
40 let uri = fileUri.getUriFromPath(path);
55 * @tc.desc Function of API, get Uri from Path. Test path is empty.
77 * @tc.desc Function of API, get Uri from Path. Test argument is empty.
95 * @tc.desc Function of API, get Uri from Path. Test argument is number.
113 * @tc.desc Get the FileURI object through 'path' and validates the properties of the FileURI object.
122 let path = '/data/storage/el2/base/haps/sync_000.txt';
123 let uri = fileUri.getUriFromPath(path);
[all...]
/third_party/node/deps/v8/tools/dev/
H A Dv8gen.py11 This script can be added to the PATH and be used on other checkouts. It always
50 CONFIG = os.path.join('infra', 'mb', 'mb_config.pyl')
51 GOMA_DEFAULT = os.path.join(os.path.expanduser("~"), 'goma')
54 TOOLS_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
55 sys.path.append(os.path.join(TOOLS_PATH, 'mb'))
139 # outdir is used as path, whil
[all...]
/third_party/python/Tools/ssl/
H A Dmultissltests.py62 HERE = os.path.dirname(os.path.abspath(__file__))
63 PYTHONROOT = os.path.abspath(os.path.join(HERE, '..', '..'))
64 MULTISSL_DIR = os.path.abspath(os.path.join(PYTHONROOT, '..', 'multissl'))
158 os.path.join(PYTHONROOT, "Modules/_ssl.c"),
159 os.path.join(PYTHONROOT, "Modules/_hashopenssl.c"),
167 self.install_dir = os.path.join(
168 os.path
[all...]
/third_party/python/Lib/test/test_importlib/
H A Dtest_namespace_pkgs.py15 # need to test when nested, so that the top-level path isn't sys.path
16 # need to test dynamic path detection, both at top-level and nested
17 # with dynamic path, check when a loader is returned on path reload (that is,
46 >>> with namespace_tree_context(path=['/tmp/xxyy/portion1',
60 to be added to sys.path.
62 root = os.path.join(os.path.dirname(__file__), 'namespace_pkgs')
66 os.path
[all...]
/third_party/skia/tests/
H A DClipStackTest.cpp40 // Build up a clip stack with a path, an empty clip, and a rect. in test_assign_and_comparison()
90 // Test that version constructed with rect-path rather than a rect is still considered equal. in test_assign_and_comparison()
375 SkPath path;
376 path.addRect(rect);
377 path.toggleInverseFillType();
379 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false);
463 // Simplified path-based version of test_rect_replace.
465 auto replacePath = [](SkClipStack* stack, const SkPath& path, bool doAA) {
468 stack->clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, doAA);
471 SkPath path; local
700 SkPath path; test_quickContains() local
709 SkPath path; test_quickContains() local
718 SkPath path; test_quickContains() local
727 SkPath path; test_quickContains() local
737 SkPath path = outsideCircle; test_quickContains() local
745 SkPath path = insideCircle; test_quickContains() local
753 SkPath path = intersectingCircle; test_quickContains() local
761 SkPath path = nonIntersectingCircle; test_quickContains() local
774 SkPath path; set_region_to_stack() local
795 SkPath path; test_invfill_diff_bug() local
[all...]
/third_party/vulkan-loader/tests/framework/
H A Dtest_util.h34 * path abstraction class - modelled after C++17's filesystem::path
186 struct path {
194 path() {}
195 path(std::string const& in) : contents(make_native(in)) {}
196 path(const char* in) : contents(make_native(std::string(in))) {}
199 path& operator+=(path const& in);
200 path& operator+=(std::string const& in);
201 path
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DIntervalMap.h759 //--- IntervalMapImpl::Path ---//
762 // A Path is used by iterators to represent a position in a B+-tree, and the
763 // path to get there from the root.
765 // The Path class also contains the tree navigation code that doesn't have to
770 class Path {
771 /// Entry - Each step in the path is a node pointer and an offset into that
789 /// path - The path entries, path[0] is the root node, path
[all...]
/base/update/sys_installer/
H A DOAT.xml21 basedir: Root dir, the basedir + project path is the real source file location.
30 5. task project: Projects to be checked, the path field define the source root dir of the project.
35 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is:
36 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
38 "compatibility" is used to check license compatibility in the specified path;
39 "license" is used to check source license header in the specified path;
40 "copyright" is used to check source copyright header in the specified path;
41 "import" is used to check source dependency in the specified path, such as import ... ,include ...
42 "filetype" is used to check file type in the specified path, supported file types: archive, binary
43 "filename" is used to check whether the specified file exists in the specified path(suppor
[all...]
/foundation/ai/ai_engine/services/server/plugin_manager/
H A Dget_config_ini.py49 # Ini config file relative path in build folder
51 # Ini config file relative path in out folder
99 Get all ini file path
100 :return: file path list
112 os.path.join(build_folder, folder) for folder in ini_config_folder
116 for path in config_folder:
117 if not os.path.isdir(path):
119 for file_name in os.listdir(path):
120 file_path_list.append(os.path
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Drosen_render_option.cpp60 SkPath path; in PaintBackground() local
64 path.addRRect(skRRect); in PaintBackground()
68 canvas->drawPath(path, paint); in PaintBackground()
73 canvas->drawPath(path, paint); in PaintBackground()
75 canvas->drawPath(path, paint); in PaintBackground()
77 RSRecordingPath path; in PaintBackground() local
80 path.AddRoundRect(tempRect, radius, radius); in PaintBackground()
85 canvas->DrawPath(path); in PaintBackground()
92 canvas->DrawPath(path); in PaintBackground()
96 canvas->DrawPath(path); in PaintBackground()
142 SkPath path; PaintLine() local
151 RSRecordingPath path; PaintLine() local
[all...]
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
H A Dbundle_file_utils.cpp28 bool BundleFileUtils::IsExistDir(const char *path) in IsExistDir() argument
30 if (path == nullptr) { in IsExistDir()
35 if (stat(path, &buf) != 0) { in IsExistDir()
107 bool BundleFileUtils::RemoveFile(const char *path) in RemoveFile() argument
109 if (IsExistFile(path)) { in RemoveFile()
110 return remove(path) == 0; in RemoveFile()
111 } else if (IsExistDir(path)) { in RemoveFile()
112 DIR *dir = opendir(path); in RemoveFile()
122 std::string dirName = std::string(path) + "/" + dp->d_name; in RemoveFile()
129 return remove(path) in RemoveFile()
176 IsValidPath(const std::string &rootDir, const std::string &path) IsValidPath() argument
188 GetPathDir(const std::string &path) GetPathDir() argument
[all...]
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dfilesystem_api.cpp60 bool AddPath(const string_view path) override;
61 bool RemovePath(const string_view path) override;
135 string_view path; in ResolvePath() local
138 SplitPath(pathIn, drive, path, filename, ext); in ResolvePath()
148 if (path.empty()) { in ResolvePath()
151 if (path[0] != '/') { in ResolvePath()
152 // relative path. in ResolvePath()
153 normalizedPath = NormalizePath(curPath + path); in ResolvePath()
155 normalizedPath = NormalizePath(path); in ResolvePath()
177 string_view path; variable
237 AddPath(const string_view path) AddPath() argument
245 RemovePath(const string_view path) RemovePath() argument
[all...]
/foundation/multimedia/image_framework/plugins/manager/src/
H A Dplugin_server.cpp49 for (string &path : pluginPaths) { in Register()
50 if (platformAdp_.CheckAndNormalizePath(path) != SUCCESS) { in Register()
51 IMAGE_LOGE("failed to check and normalize path: %{public}s.", path.c_str()); in Register()
55 PluginFWType fwType = AnalyzeFWType(path); in Register()
58 // directory path parameters, usually not too much, will not cause massive logs. in Register()
59 IMAGE_LOGD("PluginFW path: %{public}s.", path.c_str()); in Register()
60 canonicalPaths.push_back(std::move(path)); in Register()
64 // directory path parameter in Register()
[all...]
/foundation/resourceschedule/memmgr/common/include/
H A Dkernel_interface.h46 bool EchoToPath(const char* path, const char* content);
49 bool IsFileExists(const std::string& path);
50 bool CreateFile(const std::string& path); // default mode 644(-rw-r--r--)
51 bool CreateFile(const std::string& path, const mode_t& mode);
52 bool RemoveFile(const std::string& path);
53 bool WriteToFile(const std::string& path, const std::string& content, bool truncated = true);
54 bool ReadFromFile(const std::string& path, std::string& content);
55 bool ReadLinesFromFile(const std::string& path, std::vector<std::string>& lines);
57 bool IsDirExists(const std::string& path);
58 bool IsExists(const std::string& path); // fil
[all...]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_securitylabel/
H A Dsecuritylabel_n_exporter.cpp40 std::unique_ptr<char []> path; in SetSecurityLabel() local
42 tie(succ, path, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::FIRST)]).ToUTF8StringPath(); in SetSecurityLabel()
44 HILOGE("Invalid path"); in SetSecurityLabel()
60 auto cbExec = [pathString = string(path.get()), dataLevelString]() -> NError { in SetSecurityLabel()
93 std::unique_ptr<char []> path; in SetSecurityLabelSync() local
95 tie(succ, path, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::FIRST)]).ToUTF8StringPath(); in SetSecurityLabelSync()
97 HILOGE("Invalid path"); in SetSecurityLabelSync()
115 bool ret = SecurityLabel::SetSecurityLabel(path.get(), dataLevel.get()); in SetSecurityLabelSync()
134 std::unique_ptr<char []> path; in GetSecurityLabel() local
135 tie(succ, path, st in GetSecurityLabel()
177 std::unique_ptr<char []> path; GetSecurityLabelSync() local
[all...]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_statvfs/
H A Dstatvfs_n_exporter.cpp36 std::unique_ptr<char[]> path; in GetFreeSizeSync() local
37 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetFreeSizeSync()
39 HILOGE("Invalid path"); in GetFreeSizeSync()
45 int ret = statvfs(path.get(), &diskInfo); in GetFreeSizeSync()
65 std::unique_ptr<char []> path; in GetFreeSize() local
66 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetFreeSize()
68 HILOGE("Invalid path"); in GetFreeSize()
74 std::string pathString(path.get()); in GetFreeSize()
112 std::unique_ptr<char[]> path; in GetTotalSizeSync() local
113 tie(succ, path, st in GetTotalSizeSync()
141 std::unique_ptr<char []> path; GetTotalSize() local
[all...]
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_wrapper_loader.cpp57 std::string path = std::string(VENDOR_LIB_PATH) + std::string(libName); in LoadEgl() local
59 if (!PathToRealPath(path, realPath) || in LoadEgl()
61 WLOGD("Vendor path is invalid or not within vendor directory: %{private}s", path.c_str()); in LoadEgl()
67 path = std::string(SYSTEM_LIB_PATH) + std::string(libName); in LoadEgl()
68 if (!PathToRealPath(path, realPath) || in LoadEgl()
70 WLOGE("System path is invalid or not within system directory: %{private}s", path.c_str()); in LoadEgl()
110 std::string path = std::string(VENDOR_LIB_PATH) + std::string(libName); in LoadGl() local
113 if (!PathToRealPath(path, realPat in LoadGl()
[all...]
/test/testfwk/developer_test/local_coverage/resident_service/
H A Dpull_service_gcda.py26 sys.localcoverage_path = os.path.join(current_path, "..")
27 sys.path.insert(0, sys.localcoverage_path)
43 origin_foundation = os.path.join(cfg_path, "foundation_origin.json")
65 local_sh_path = os.path.join(resident_service_path, "resources", "gcov_flush.sh")
86 gcov_root = os.path.join(gcda_path, 'out', product_name, component_gcda_path)
87 gcda_file_name = os.path.basename(gcov_root)
88 gcda_file_path = os.path.dirname(gcov_root)
95 local_gcda_path = os.path.dirname(
96 os.path.join(developertest_path, "reports/coverage/data/cxx",
99 if not os.path
[all...]
/third_party/f2fs-tools/
H A DOAT.xml24 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is:
25 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
27 "compatibility" is used to check license compatibility in the specified path;
28 "license" is used to check source license header in the specified path;
29 "copyright" is used to check source copyright header in the specified path;
30 "import" is used to check source dependency in the specified path, such as import ... ,include ...
31 "filetype" is used to check file type in the specified path, supported file types: archive, binary
32 "filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource
34 5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem.
38 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path
[all...]
/third_party/curl/src/
H A Dtool_operhlp.c97 char *path = NULL; in add_file_name_to_url() local
107 uerr = curl_url_get(uh, CURLUPART_PATH, &path, 0); in add_file_name_to_url()
115 curl_free(path); in add_file_name_to_url()
119 ptr = strrchr(path, '/'); in add_file_name_to_url()
121 /* The URL path has no file name part, add the local file name. In order in add_file_name_to_url()
124 /* We only want the part of the local path that is on the right in add_file_name_to_url()
143 /* there is a trailing slash on the path */ in add_file_name_to_url()
144 newpath = aprintf("%s%s", path, encfile); in add_file_name_to_url()
146 /* there is no trailing slash on the path */ in add_file_name_to_url()
147 newpath = aprintf("%s/%s", path, encfil in add_file_name_to_url()
187 char *path = NULL; get_url_file_name() local
[all...]
/third_party/libsnd/
H A DOAT.xml20 basedir: Root dir, the basedir + project path is the real source file location.
29 5. task project: Projects to be checked, the path field define the source root dir of the project.
34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is:
35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
37 "compatibility" is used to check license compatibility in the specified path;
38 "license" is used to check source license header in the specified path;
39 "copyright" is used to check source copyright header in the specified path;
40 "import" is used to check source dependency in the specified path, such as import ... ,include ...
41 "filetype" is used to check file type in the specified path, supported file types: archive, binary
42 "filename" is used to check whether the specified file exists in the specified path(suppor
[all...]
/third_party/node/deps/v8/third_party/test262-harness/src/
H A D_packagerConfig.py21 #Path to the root of the Hg repository (relative to this file's location)
22 TEST262_ROOT = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..")
23 TEST262_ROOT = os.path.abspath(TEST262_ROOT)
27 TEST262_CASES_DIR = os.path.join(TEST262_ROOT, "test")
31 TEST262_HARNESS_DIR = os.path.join(TEST262_ROOT, "harness")
34 TEST262_WEB_CASES_DIR = os.path.join(TEST262_ROOT, WEBSITE_SHORT_NAME, "json")
35 TEST262_CONSOLE_CASES_DIR = os.path.join(TEST262_ROOT, CONSOLE_SHORT_NAME)
39 TEST262_WEB_HARNESS_DIR = os.path
[all...]
/third_party/node/test/parallel/
H A Dtest-snapshot-warning.js13 const path = require('path');
16 const warningScript = fixtures.path('snapshot', 'warning.js');
17 const blobPath = path.join(tmpdir.path, 'snapshot.blob');
18 const empty = fixtures.path('empty.js');
29 cwd: tmpdir.path
45 cwd: tmpdir.path
67 cwd: tmpdir.path
87 cwd: tmpdir.path
[all...]

Completed in 18 milliseconds

1...<<51525354555657585960>>...1471