| /test/xts/acts/ability/ability_runtime/actsabilityamstest/actsstartchildprocesstest/entry/src/ohosTest/ets/test/ |
| H A D | StartArkChildProcess.test.ets | 104 let path = context.filesDir + '/test.txt'; 105 let file = fs.openSync(path, fs.OpenMode.READ_ONLY | fs.OpenMode.CREATE); 137 let path = context.filesDir + '/test.txt'; 138 let file = fs.openSync(path, fs.OpenMode.READ_ONLY | fs.OpenMode.CREATE); 162 * @tc.name Child process source file path is null 169 let path = context.filesDir + '/test.txt'; 170 let file = fs.openSync(path, fs.OpenMode.READ_ONLY | fs.OpenMode.CREATE); 189 'Test passed: startArkChildProcess returns error 401 when Child process source file path is null.'); 196 * @tc.name Child process source file path is undefined 203 let path [all...] |
| /third_party/backends/ |
| H A D | OAT.xml | 20 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/libuv/src/ |
| H A D | heap-inl.h | 112 unsigned int path; in HEAP_EXPORT() local 120 /* Calculate the path from the root to the insertion point. This is a min in HEAP_EXPORT() 123 path = 0; in HEAP_EXPORT() 125 path = (path << 1) | (n & 1); in HEAP_EXPORT() 127 /* Now traverse the heap using the path we calculated in the previous step. */ in HEAP_EXPORT() 131 if (path & 1) in HEAP_EXPORT() 135 path >>= 1; in HEAP_EXPORT() 157 unsigned int path; in HEAP_EXPORT() local 164 /* Calculate the path fro in HEAP_EXPORT() [all...] |
| /third_party/node/tools/gyp/ |
| H A D | test_gyp.py | 24 result.extend([os.path.join(root, f) for f in files if is_test_name(f)]) 60 "--path", action="append", default=[], help="additional $PATH directory" 80 if args.path: 81 extra_path = [os.path.abspath(p) for p in args.path] 83 os.environ["PATH"] = extra_path + os.pathsep + os.environ["PATH"] 93 if os.path.isdir(arg): 94 tests.extend(find_all_gyptest_files(os.path [all...] |
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/ |
| H A D | test_gyp.py | 24 result.extend([os.path.join(root, f) for f in files if is_test_name(f)]) 60 "--path", action="append", default=[], help="additional $PATH directory" 80 if args.path: 81 extra_path = [os.path.abspath(p) for p in args.path] 83 os.environ["PATH"] = extra_path + os.pathsep + os.environ["PATH"] 93 if os.path.isdir(arg): 94 tests.extend(find_all_gyptest_files(os.path [all...] |
| /third_party/ltp/testcases/kernel/syscalls/nftw/ |
| H A D | lib64.c | 55 * Create a path containing a component of length pathconf(NAME_MAX) + 1 179 char *path, *tmpPtr; in test_ENAMETOOLONG_path() local 194 if ((path = malloc(pcPathMax + 2)) == NULL) { in test_ENAMETOOLONG_path() 195 tst_resm(TFAIL, "malloc(%zu) for path failed: %s", in test_ENAMETOOLONG_path() 200 path = strcpy(path, tmp_path); in test_ENAMETOOLONG_path() 201 pathLength = (int)strlen(path); in test_ENAMETOOLONG_path() 204 /* leave some chars for element that pushes path over PC_PATH_MAX */ in test_ENAMETOOLONG_path() 207 tmpPtr = path + strlen(path); in test_ENAMETOOLONG_path() [all...] |
| H A D | lib.c | 55 * Create a path containing a component of length pathconf(NAME_MAX) + 1 179 char *path, *tmpPtr; in test_ENAMETOOLONG_path() local 194 if ((path = malloc(pcPathMax + 2)) == NULL) { in test_ENAMETOOLONG_path() 195 tst_resm(TFAIL, "malloc(%zu) for path failed: %s", in test_ENAMETOOLONG_path() 200 path = strcpy(path, tmp_path); in test_ENAMETOOLONG_path() 201 pathLength = (int)strlen(path); in test_ENAMETOOLONG_path() 204 /* leave some chars for element that pushes path over PC_PATH_MAX */ in test_ENAMETOOLONG_path() 207 tmpPtr = path + strlen(path); in test_ENAMETOOLONG_path() [all...] |
| /third_party/node/deps/uv/src/ |
| H A D | heap-inl.h | 111 unsigned int path; in HEAP_EXPORT() local 119 /* Calculate the path from the root to the insertion point. This is a min in HEAP_EXPORT() 122 path = 0; in HEAP_EXPORT() 124 path = (path << 1) | (n & 1); in HEAP_EXPORT() 126 /* Now traverse the heap using the path we calculated in the previous step. */ in HEAP_EXPORT() 130 if (path & 1) in HEAP_EXPORT() 134 path >>= 1; in HEAP_EXPORT() 156 unsigned int path; in HEAP_EXPORT() local 163 /* Calculate the path fro in HEAP_EXPORT() [all...] |
| /third_party/python/Tools/wasm/ |
| H A D | wasm_assets.py | 20 SRCDIR = pathlib.Path(__file__).parent.parent.parent.absolute() 128 def get_builddir(args: argparse.Namespace) -> pathlib.Path: 129 """Get builddir path from pybuilddir.txt""" 132 return pathlib.Path(builddir) 135 def get_sysconfigdata(args: argparse.Namespace) -> pathlib.Path: 136 """Get path to sysconfigdata relative to build root""" 152 pathname = pathlib.Path(filename).resolve() 203 def path(val: str) -> pathlib.Path: function 204 return pathlib.Path(va [all...] |
| /third_party/python/Lib/ |
| H A D | glob.py | 62 dirname, basename = os.path.split(pathname) 81 # `os.path.split()` returns the argument itself as a dirname if it is a 82 # drive or UNC path. Prevent an infinite recursion if a drive or UNC path 99 yield os.path.join(dirname, name) 116 # `os.path.split()` returns an empty basename for paths ending with a 185 path = _join(dirname, x) if dirname else x 186 for y in _rlistdir(path, dir_fd, dironly, 192 # Same as os.path.lexists(), but with dir_fd 194 return os.path [all...] |
| /third_party/python/Lib/test/support/ |
| H A D | import_helper.py | 44 for dirname in sys.path: 45 source = os.path.join(dirname, modname + '.py') 56 :param source: The file system path to the source file. The source file 58 :return: The file system path to the legacy pyc file. 61 up_one = os.path.dirname(os.path.abspath(source)) 62 legacy_pyc = os.path.join(up_one, source + 'c') 205 """Context manager to temporarily add directories to sys.path. 207 This makes a copy of sys.path, appends any directories given 208 as positional arguments, then reverts sys.path t [all...] |
| /third_party/skia/third_party/externals/swiftshader/tests/regres/cov/ |
| H A D | import.go | 23 "path/filepath" 32 Path string 46 RootDir string // path to SwiftShader git root directory 47 ExePath string // path to the executable binary 48 TurboCov string // path to turbo-cov (optional) 75 filepath.Walk(filepath.Join(e.RootDir, "src"), func(path string, info os.FileInfo, err error) error { 79 rel, err := filepath.Rel(e.RootDir, path) 84 switch filepath.Ext(path) { 87 cov.Files = append(cov.Files, File{Path: rel}) 187 file := File{Path 274 type Path []string global() type [all...] |
| /third_party/skia/third_party/externals/swiftshader/tests/regres/llvm/ |
| H A D | llvm.go | 26 "path/filepath" 130 func relfile(path string) string { 133 return filepath.Join(thisDir, path) 168 // If paths is empty, then PATH is searched. 173 for _, path := range paths { 174 if util.IsFile(path) { 175 path = filepath.Dir(path) 177 if t := toolchain(path); t != nil { 181 if t := toolchain(filepath.Join(path, "bi [all...] |
| /third_party/skia/tests/ |
| H A D | PathOpsAsWindingTest.cpp | 13 SkPath path; in build_squircle() local 17 path.addRect(rect, dir); in build_squircle() 21 path.moveTo(rect.centerX(), rect.fTop); in build_squircle() 22 path.quadTo(rect.fRight, rect.fTop, rect.fRight, rect.centerY()); in build_squircle() 23 path.quadTo(rect.fRight, rect.fBottom, rect.centerX(), rect.fBottom); in build_squircle() 24 path.quadTo(rect.fLeft, rect.fBottom, rect.fLeft, rect.centerY()); in build_squircle() 25 path.quadTo(rect.fLeft, rect.fTop, rect.centerX(), rect.fTop); in build_squircle() 28 path.addCircle(rect.centerX(), rect.centerY(), rect.width() / 2, dir); in build_squircle() 36 path.moveTo(rect.centerX(), rect.fTop); in build_squircle() 37 path in build_squircle() [all...] |
| H A D | GrStyledShapeTest.cpp | 35 return fShape.isPath() && !fShape.path().isVolatile(); in testingOnly_isNonVolatilePath() 58 static bool test_bounds_by_rasterizing(const SkPath& path, const SkRect& bounds) { in test_bounds_by_rasterizing() argument 59 // We test the bounds by rasterizing the path into a kRes by kRes grid. The bounds is in test_bounds_by_rasterizing() 61 // rendering within the bounds (with a tolerance). Then we render the path and check that in test_bounds_by_rasterizing() 77 surface->getCanvas()->drawPath(path, whitePaint); in test_bounds_by_rasterizing() 99 SkPath path; in can_interchange_winding_and_even_odd_fill() local 100 shape.asPath(&path); in can_interchange_winding_and_even_odd_fill() 107 (shape.style().isSimpleFill() && path.isConvex()); in can_interchange_winding_and_even_odd_fill() 113 // when there is a path effect. Thus, if there are two GrStyledShapes representing the same in check_equivalence() 114 // rrect but one has a path effec in check_equivalence() 352 SkPath path; global() variable 382 SkPath path; global() variable 408 SkPath path; global() variable 432 PathGeo(const SkPath& path, Invert invert) PathGeo() argument 499 RRectPathGeo(const SkPath& path, const SkRRect& equivalentRRect, RRectForStroke rrectForStroke, Invert invert) RRectPathGeo() argument 505 RRectPathGeo(const SkPath& path, const SkRect& equivalentRect, RRectForStroke rrectForStroke, Invert invert) RRectPathGeo() argument 572 SkPath path; CheckBounds() local 626 SkPath path; init() local 1921 SkPath path; DEF_TEST() local 2361 SkPath path; DEF_TEST() local [all...] |
| /third_party/skia/third_party/externals/dawn/src/dawn_node/ |
| H A D | README.md | 14 Dawn uses the Chromium build system and dependency management so you need to [install depot_tools] and add it to the PATH. 38 mkdir <build-output-path> 39 cd <build-output-path> 40 cmake <dawn-root-path> -GNinja -DDAWN_BUILD_NODE_BINDINGS=1 -DDAWN_ENABLE_PIC=1 51 ./src/dawn_node/tools/run-cts --cts=<path-to-webgpu-cts> --dawn-node=<path-to-dawn.node> [WebGPU CTS query] 59 VK_ICD_FILENAMES=<swiftshader-cmake-build>/Linux/vk_swiftshader_icd.json ./src/dawn_node/tools/run-cts --cts=<path-to-webgpu-cts> --dawn-node=<path-to-dawn.node> --flag=dawn-backend=vulkan [WebGPU CTS query] 64 * `dlldir=<path>` - used to add an extra DLL search path o [all...] |
| /third_party/toybox/toys/posix/ |
| H A D | getconf.c | 9 * Added -a, copied FSF behavior of assuming "/" if no path supplied. 17 usage: getconf -a [PATH] | -l | NAME [PATH] 19 Get system configuration values. Values from pathconf(3) require a path. 21 -a Show all (defaults to "/" if no path given) 120 // Probe the live system with a path 135 CONF(PATH), CONF(V7_ENV) 174 static void show_conf(int i, struct config *c, const char *path) in show_conf() argument 177 long l = i ? pathconf(path, c->value) : sysconf(c->value); in show_conf() 196 char *name, *path in getconf_main() local [all...] |
| /third_party/typescript/src/testRunner/unittests/tscWatch/ |
| H A D | moduleResolution.ts | 8 path: `${projectRoot}/packages/pkg1/package.json`,
16 path: `${projectRoot}/packages/pkg1/index.ts`,
22 path: `${projectRoot}/packages/pkg1/tsconfig.json`,
30 path: `${projectRoot}/packages/pkg2/build/const.d.ts`,
34 path: `${projectRoot}/packages/pkg2/build/index.d.ts`,
38 path: `${projectRoot}/packages/pkg2/build/other.d.ts`,
42 path: `${projectRoot}/packages/pkg2/package.json`,
50 path: `${projectRoot}/node_modules/pkg2`,
81 path: `${projectRoot}/tsconfig.json`,
92 path [all...] |
| H A D | projectsWithReferences.ts | 48 references: [{ path: "../core" }]
97 path: TestFSWithWatch.getTsBuildProjectFilePath("transitiveReferences", "nrefs/a.d.ts"),
152 path: TestFSWithWatch.getTsBuildProjectFilePath("transitiveReferences", "tsconfig.b.json"),
156 references: [{ path: "tsconfig.a.json" }]
162 path: TestFSWithWatch.getTsBuildProjectFilePath("transitiveReferences", "b.ts"),
183 path: TestFSWithWatch.getTsBuildProjectFilePath("transitiveReferences", "a/tsconfig.json"),
190 path: TestFSWithWatch.getTsBuildProjectFilePath("transitiveReferences", "b/tsconfig.json"),
194 references: [{ path: `../a` }]
198 path: TestFSWithWatch.getTsBuildProjectFilePath("transitiveReferences", "c/tsconfig.json"),
202 references: [{ path [all...] |
| /third_party/skia/infra/bots/ |
| H A D | utils.py | 118 def RemoveDirectory(*path): 124 Remove the directory located at *path, if it exists. 137 file_path = os.path.join(*path) 138 if not os.path.exists(file_path): 143 file_path = os.path.normcase(file_path) 153 def RemoveWithRetry_non_win(rmfunc, path): 154 if os.path.islink(path): 155 return os.remove(path) [all...] |
| /base/security/selinux_adapter/sepolicy/ohos_policy/web/webview/system/ |
| H A D | nwebspawn.te | 14 # avc: denied { open } for pid=1601 comm="nwebspawn" path="/system/bin/nwebspawn" dev="mmcblk0p7" ino=300 scontext=u:r:nwebspawn:s0 tcontext=u:object_r:system_bin_file:s0 tclass=file permissive=1 17 # avc: denied { execute_no_trans } for pid=1601 comm="nwebspawn" path="/system/bin/nwebspawn" dev="mmcblk0p7" ino=300 scontext=u:r:nwebspawn:s0 tcontext=u:object_r:system_bin_file:s0 tclass=file permissive=1 20 # avc: denied { execute } for pid=1601 comm="nwebspawn" path="/system/app/ArkWeb/ArkWebCore.hap" dev="mmcblk0p7" ino=78 scontext=u:r:nwebspawn:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1 30 #avc: denied { open } for pid=1852 comm="nwebspawn" path="/data/init_agent/begetctl.log" dev="mmcblk0p11" ino=15 scontext=u:r:nwebspawn:s0 tcontext=u:object_r:data_init_agent:s0 tclass=file permissive=1 31 #avc: denied { ioctl } for pid=2616 comm="nwebspawn" path="/data/init_agent/begetctl.log" dev="mmcblk0p11" ino=22 ioctlcmd=0x5413 scontext=u:r:nwebspawn:s0 tcontext=u:object_r:data_init_agent:s0 tclass=file permissive=1 37 #avc: denied { accept } for pid=3598 comm="nwebspawn" path="/dev/unix/socket/NWebSpawn" scontext=u:r:nwebspawn:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1 38 #avc: denied { getattr } for pid=3598 comm="nwebspawn" path="/dev/unix/socket/NWebSpawn" scontext=u:r:nwebspawn:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1 39 #avc: denied { getopt } for pid=3598 comm="nwebspawn" path="/dev/unix/socket/NWebSpawn" scontext=u:r:nwebspawn:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1 42 #avc: denied { ioctl } for pid=4499 comm="nwebspawn" path="/dev/access_token_id" dev="tmpfs" ino=172 ioctlcmd=0x4102 scontext=u:r:nwebspawn:s0 tcontext=u:object_r:dev_at_file:s0 tclass=chr_file permissive=1 49 #avc: denied { open } for pid=4499 comm="nwebspawn" path [all...] |
| /base/update/packaging_tools/test/ |
| H A D | test_build_update.py | 53 if not os.path.exists("./output_test"): 65 pkg_re = os.path.join(output, os.listdir(output)[0]).endswith('zip') 79 if not os.path.exists("./output_test"): 92 pkg_re = os.path.join(output, os.listdir(output)[0]).endswith('zip') 106 if not os.path.exists("./output_test"): 132 if not os.path.exists("./output_test"): 143 pkg_re = os.path.join(output, os.listdir(output)[0]).endswith('bin') 156 if not os.path.exists("./output_test"): 182 if not os.path.exists("./output_test"): 185 if os.path [all...] |
| /third_party/e2fsprogs/ |
| H A D | 1003-add-dac-config.patch | 41 + string path; 43 + DacConfig() : uid(0), gid(0), mode(0), capabilities(0), path("") {} 49 + path(p) {} 57 + this->path = p; 163 + vector<string> values(DAC_NUM, ""); // path, mode, uid, gid, cap 201 + g_configMap[dacConfig.path] = dacConfig; 207 + void GetDacConfig(const char* path, int dir, char* targetOutPath, 211 + if (path && path[0] == '/') { 212 + path [all...] |
| /third_party/python/Doc/library/ |
| H A D | pkgutil.rst | 20 .. function:: extend_path(path, name) 22 Extend the search path for the modules which comprise a package. Intended 28 For each directory on :data:`sys.path` that has a subdirectory that matches the 38 :file:`\*.pkg` file are added to the path, regardless of whether they exist 41 If the input path is not a list (as is the case for frozen packages) it is 42 returned unchanged. The input path is not modified; an extended copy is 45 It is assumed that :data:`sys.path` is a sequence. Items of :data:`sys.path` 47 items on :data:`sys.path` that cause errors when used as filenames may cause 48 this function to raise an exception (in line with :func:`os.path [all...] |
| /foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
| H A D | ext_extension.cpp | 107 string path = string(BConstants::PATH_BUNDLE_BACKUP_HOME).append(BConstants::SA_BUNDLE_BACKUP_RESTORE); in GetRestoreTempPath() local 113 path = string(BConstants::PATH_FILEMANAGE_BACKUP_HOME).append(BConstants::SA_BUNDLE_BACKUP_RESTORE); in GetRestoreTempPath() 115 path = string(BConstants::PATH_MEDIALDATA_BACKUP_HOME).append(BConstants::SA_BUNDLE_BACKUP_RESTORE); in GetRestoreTempPath() 117 return path; in GetRestoreTempPath() 201 string path = filePath.substr(0, filePathPrefix); in GetFileHandleForSpecialCloneCloud() local 202 if (access(path.c_str(), F_OK) != 0) { in GetFileHandleForSpecialCloneCloud() 203 bool created = ForceCreateDirectory(path.data()); in GetFileHandleForSpecialCloneCloud() 207 "FAILED", "GetFileHandleForSpecialCloneCloud", "CommonFile", GetAnonyPath(path)}; in GetFileHandleForSpecialCloneCloud() 246 string path = GetRestoreTempPath(bundleName_); in GetFileHandle() local 247 if (mkdir(path in GetFileHandle() 288 string path = string(BConstants::PATH_BUNDLE_BACKUP_HOME).append(BConstants::SA_BUNDLE_BACKUP_RESTORE); GetIncreFileHandleForSpecialVersion() local 317 string path = string(BConstants::PATH_BUNDLE_BACKUP_HOME).append(BConstants::SA_BUNDLE_BACKUP_RESTORE); GetIncrementalFileHandlePath() local 649 string path = string(BConstants::PATH_BUNDLE_BACKUP_HOME).append(BConstants::SA_BUNDLE_BACKUP_BACKUP); TarFileReady() local 690 string path = string(BConstants::PATH_BUNDLE_BACKUP_HOME).append(BConstants::SA_BUNDLE_BACKUP_BACKUP); DoPacket() local 741 string path = string(BConstants::PATH_BUNDLE_BACKUP_HOME).append(BConstants::SA_BUNDLE_BACKUP_BACKUP); DoBackup() local 797 string path = GetRestoreTempPath(bundleName_); DoRestore() local 886 string path = GetRestoreTempPath(bundleName_); DoIncrementalRestore() local 1091 RestoreBigFilePrecheck(string &fileName, const string &path, const string &hashName, const string &filePath) RestoreBigFilePrecheck() argument 1134 RestoreOneBigFile(const std::string &path, const ExtManageInfo &item, const bool appendTargetPath) RestoreOneBigFile() argument 1187 string path = GetRestoreTempPath(bundleName_); RestoreBigFiles() local 1210 FillEndFileInfos(const std::string &path, const unordered_map<string, struct ReportFileInfo> &result) FillEndFileInfos() argument 1765 const string &path = storageFiles.filePath; CompareFiles() local 1857 string path = BReportEntity::EncodeReportItem(item.filePath, item.encodeFlag); WriteFile() local [all...] |