| /foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/drawing_fuzzer/ |
| H A D | drawing_fuzzer.cpp | 158 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in NativeDrawingCanvasDrawPathTest() local 159 OH_Drawing_CanvasDrawPath(canvas, path); in NativeDrawingCanvasDrawPathTest() 163 OH_Drawing_PathDestroy(path); in NativeDrawingCanvasDrawPathTest() 223 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in NativeDrawingPathMoveToTest() local 224 OH_Drawing_PathMoveTo(path, x, y); in NativeDrawingPathMoveToTest() 225 OH_Drawing_PathDestroy(path); in NativeDrawingPathMoveToTest() 236 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in NativeDrawingPathLineToTest() local 237 OH_Drawing_PathLineTo(path, x, y); in NativeDrawingPathLineToTest() 238 OH_Drawing_PathDestroy(path); in NativeDrawingPathLineToTest() 249 OH_Drawing_Path* path in NativeDrawingPathResetTest() local 267 OH_Drawing_Path* path = OH_Drawing_PathCreate(); NativeDrawingPathArcToTest() local 282 OH_Drawing_Path* path = OH_Drawing_PathCreate(); NativeDrawingPathQuadToTest() local 299 OH_Drawing_Path* path = OH_Drawing_PathCreate(); NativeDrawingPathCubicToTest() local 312 OH_Drawing_Path* path = OH_Drawing_PathCreate(); NativeDrawingPathCloseTest() local [all...] |
| /test/testfwk/xdevice/plugins/devicetest/core/ |
| H A D | variables.py | 47 get project path 54 project_path = os.path.dirname(Variables.top_dir) 56 log.info("project path is None.") 58 if not os.path.exists(project_path): 59 log.info("project path not exists.") 60 log.debug("project path:{}".format(project_path)) 180 case_screenshot_dir = os.path.join(task_report_dir, "details", round_folder) 189 case_screenshot_dir = os.path.abspath( 190 os.path.join(task_report_dir, _list[1].strip(os.sep))) 192 self.log.debug("set case screenshot dir path a [all...] |
| /third_party/rust/crates/nix/test/ |
| H A D | test_stat.rs | 10 use std::path::Path; 100 let filename = tempdir.path().join("foo.txt"); in test_stat_and_fstat() 114 let filename = tempdir.path().join("foo.txt"); in test_fstatat() 117 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()); in test_fstatat() 130 let filename = tempdir.path().join("bar.txt"); in test_stat_fstat_lstat() 131 let linkname = tempdir.path().join("barlink"); in test_stat_fstat_lstat() 152 let filename = tempdir.path().join("foo.txt"); in test_fchmod() 177 let fullpath = tempdir.path().join(filename); in test_fchmodat() 181 fcntl::open(tempdir.path(), fcnt in test_fchmodat() [all...] |
| /third_party/vulkan-loader/loader/ |
| H A D | vk_loader_platform.h | 227 // Returns true if the DIRECTORY_SYMBOL is contained within path 228 static inline bool loader_platform_is_path(const char *path) { return strchr(path, DIRECTORY_SYMBOL) != NULL; } in loader_platform_is_path() argument 253 static inline bool loader_platform_file_exists(const char *path) { in loader_platform_file_exists() argument 254 if (access(path, F_OK)) in loader_platform_file_exists() 261 // path, as opposed to a bare filename. 262 static inline bool loader_platform_is_path_absolute(const char *path) { in loader_platform_is_path_absolute() argument 263 if (path[0] == '/') in loader_platform_is_path_absolute() 269 static inline char *loader_platform_dirname(char *path) { return dirname(path); } in loader_platform_dirname() argument 469 loader_platform_file_exists(const char *path) loader_platform_file_exists() argument 486 loader_platform_is_path_absolute(const char *path) loader_platform_is_path_absolute() argument 497 loader_platform_dirname(char *path) loader_platform_dirname() argument [all...] |
| /applications/standard/app_samples/code/SystemFeature/Media/Audio/entry/src/main/resources/base/media/ |
| H A D | ic_index_spatial.svg | 6 <path d="M45.8828128,36.712308 C47.5640653,34.0217416 50.3810798,32.7492228 52.1747908,33.8700578 C52.4453079,34.0390956 52.6532752,34.3506632 53.4483569,35.1520227 C54.5702025,36.2827261 55.5463366,37.682019 55.5463366,39.5166747 C55.5463366,42.3275362 53.3103222,44.7810866 50.4623294,44.7810866 C49.2736327,44.7810866 46.6866702,44.0910165 46.0919484,43.7883541 C44.2070718,42.8291137 44.2015603,39.4028745 45.8828128,36.712308 Z" id="路径" fill="#1D1F27" opacity="0.2"></path> 7 <path d="M52.4700362,38.5286179 C52.5780463,38.5440858 52.6785634,38.5802326 52.7685095,38.6386443 C53.328681,39.0024239 53.2667118,40.0920159 52.6300975,41.0723161 C51.9934831,42.0526163 51.0232964,42.5524049 50.4631249,42.1886253 C50.4016943,42.1487318 50.3477456,42.1001095 50.3012164,42.0438599 C50.3091473,41.4217566 50.5513754,40.6647119 51.0164199,39.9486061 C51.4206912,39.326083 51.9217142,38.8448037 52.41695,38.5585797 L52.4700362,38.5286179 Z" id="路径" fill="#000000" opacity="0.6"></path> 8 <path d="M52.5012903,38.5116905 C53.035227,38.2266148 53.5556103,38.1727474 53.9331618,38.4179322 C54.6800571,38.9029717 54.585144,40.3746822 53.7211673,41.7050896 C52.8571907,43.035497 51.5513209,43.7208031 50.8044255,43.2357636 C50.4595294,43.0117854 50.2941357,42.5774152 50.3010816,42.0437198 C50.347672,42.1000432 50.4016523,42.1487046 50.4631249,42.1886253 C51.0232964,42.5524049 51.9934831,42.0526163 52.6300975,41.0723161 C53.2667118,40.0920159 53.328681,39.0024239 52.7685095,38.6386443 C52.6785634,38.5802326 52.5780463,38.5440858 52.4700362,38.5286179 L52.5012903,38.5116905 Z" id="路径" fill="#1E1F27" opacity="0.4"></path> 9 <path d="M43.9563435,28.7833333 C46.9461081,28.7833333 49.4474491,30.9901305 51.0908266,33.4881435 C49.3801228,33.2671355 47.253829,34.5182235 45.8828128,36.712308 C44.4428863,39.0166721 44.2402429,41.8606702 45.3958812,43.2322722 L45.4123169,43.2514976 L45.4315398,43.2564241 L45.4315398,43.2564241 C45.6177201,43.4678744 45.8377425,43.6421153 46.0919484,43.7714843 L46.1331496,43.7915854 L46.1331496,43.7915854 L46.1797011,43.8127019 L46.1797011,43.8127019 L46.231399,43.8347688 L46.231399,43.8347688 L46.2880397,43.8577215 L46.2880397,43.8577215 L46.3818226,43.8936698 L46.3818226,43.8936698 L46.4499287,43.9185536 L46.4499287,43.9185536 L46.5222644,43.9440966 L46.5222644,43.9440966 L46.598626,43.9702341 L46.598626,43.9702341 L46.6788098,43.9969011 L46.6788098,43.9969011 L46.8058063,44.0377532 L46.8058063,44.0377532 L46.9402566,44.0794329 L46.9402566,44.0794329 L47.0336915,44.1075711 L47.0336915,44.1075711 L47.1790367,44.1501443 L47.1790367,44.1501443 L47.2790982,44.1786759 L47.2790982,44.1786759 L47.4334283,44.2215358 L47.4334283,44.2215358 L47.5922324,44.2642762 L47.5922324,44.2642762 L47.7548229,44.3066787 L47.7548229,44.3066787 L47.8649806,44.3346513 L47.8649806,44.3346513 L48.0323539,44.376005 C48.0510721,44.3805527 48.0698265,44.3850834 48.0886128,44.3895957 L48.088428,53.4750577 C48.088428,54.1986463 47.5018435,54.7852308 46.7782548,54.7852308 L42.4446053,54.7852308 C41.7210166,54.7852308 41.1344321,54.1986463 41.1344321,53.4750577 L41.1343135,41.8740333 L41.1057204,41.8600842 C41.0862753,41.8511367 41.0662201,41.8430416 41.0455424,41.8358385 L41.0609058,41.8436265 C38.6440651,40.6215155 37.1031302,38.4153869 37.1031302,35.6365466 C37.1031302,31.8516214 40.1714183,28.7833333 43.9563435,28.7833333 Z" id="路径" fill="#1D1F27" opacity="0.4"></path> 11 <path d="M39.269955,33.822687 C39.7856116,33.822687 40.0258241,33.2361025 40.0258241,32.5125139 C40.0258241,31.7889252 39.8110966,31.2023407 39.269955,31.2023407 C38.7288133,31.2023407 38.5140859,31.7889252 38.5140859,32.5125139 C38.5140859,33.2361025 38.7542984,33.822687 39.269955,33.822687 Z" id="椭圆形" fill="#000000" opacity="0.6" transform="translate(39.269955, 32.512514) rotate(33.000000) translate(-39.269955, -32.512514) "></path> [all...] |
| /foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
| H A D | rs_mask_test.cpp | 63 * @tc.steps: step1. create RSMask by Path in HWTEST_F() 66 Drawing::Path path; in HWTEST_F() local 67 std::shared_ptr<RSMask> mask = RSMask::CreatePathMask(path, brush); in HWTEST_F() 82 Drawing::Path path; in HWTEST_F() local 83 std::shared_ptr<RSMask> mask = RSMask::CreatePathMask(path, maskPen, brush); in HWTEST_F() 137 * @tc.steps: step1. create RSMask by Path in HWTEST_F() 140 Drawing::Path path; in HWTEST_F() local 221 Drawing::Path path; HWTEST_F() local 270 Drawing::Path path; HWTEST_F() local [all...] |
| /foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/ |
| H A D | fscrypt_control.c | 229 * Splic full path, Caller need to free *buf after using 232 * @path: base key path 236 static int SpliceKeyPath(const char *path, size_t pathLen, in SpliceKeyPath() argument 240 LOGI("key path %s, name %s", path, name); in SpliceKeyPath() 245 LOGE("No memory for fscrypt v1 path buffer"); in SpliceKeyPath() 250 int ret = strncat_s(tmpBuf, bufMax, path, pathLen); in SpliceKeyPath() 253 LOGE("splic previous path error"); in SpliceKeyPath() 259 LOGE("splic later path erro in SpliceKeyPath() 267 ReadKeyFile(const char *path, char *buf, size_t len) ReadKeyFile() argument 412 ActSetFileXattrActSetFileXattr(const char *path, char *keyDesc, int storageType) ActSetFileXattrActSetFileXattr() argument [all...] |
| /test/testfwk/developer_test/src/core/config/ |
| H A D | resource_manager.py | 38 current_dir = os.path.dirname(test_suit_file_path) 46 if os.path.exists(os.path.join(current_dir, "resource")): 48 current_dir = os.path.dirname(current_dir) 51 xml_filepath = os.path.join( 55 if not os.path.exists(xml_filepath): 56 xml_filepath = os.path.join( 69 if os.path.exists(file_path): 86 _, fullname = os.path.split(filepath) 87 filename, ext = os.path [all...] |
| /third_party/ffmpeg/libavutil/ |
| H A D | avstring.c | 263 const char *av_basename(const char *path) in av_basename() argument 270 if (!path || *path == '\0') in av_basename() 273 p = strrchr(path, '/'); in av_basename() 275 q = strrchr(path, '\\'); in av_basename() 276 d = strchr(path, ':'); in av_basename() 281 return path; in av_basename() 286 const char *av_dirname(char *path) in av_dirname() argument 288 char *p = path ? strrchr(path, '/') in av_dirname() 307 av_append_path_component(const char *path, const char *component) av_append_path_component() argument [all...] |
| /third_party/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-filepath.h | 63 // A FilePath with a value ending in a path separator ("like/this/") represents 117 // Returns true if and only if the path is "". 126 // Example: FilePath("path/to/file").RemoveDirectoryName() returns 130 // On Windows platform, '\' is the path separator, otherwise it is '/'. 133 // RemoveFileName returns the directory path with the filename removed. 134 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". 138 // On Windows platform, '\' is the path separator, otherwise it is '/'. 147 // Creates directories so that path exists. Returns true if successful or if 150 // not represent a directory (that is, it doesn't end with a path separato [all...] |
| /third_party/node/deps/googletest/include/gtest/internal/ |
| H A D | gtest-filepath.h | 63 // A FilePath with a value ending in a path separator ("like/this/") represents 117 // Returns true if and only if the path is "". 126 // Example: FilePath("path/to/file").RemoveDirectoryName() returns 130 // On Windows platform, '\' is the path separator, otherwise it is '/'. 133 // RemoveFileName returns the directory path with the filename removed. 134 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". 138 // On Windows platform, '\' is the path separator, otherwise it is '/'. 147 // Creates directories so that path exists. Returns true if successful or if 150 // not represent a directory (that is, it doesn't end with a path separato [all...] |
| /third_party/node/deps/npm/node_modules/@npmcli/fs/lib/cp/ |
| H A D | polyfill.js | 12 // - throws ENOTDIR when rmdir gets an ENOENT for a path that exists in Windows 57 } = require('path') 80 const path = fileURLOrPath != null && fileURLOrPath.href 84 return path 110 path: dest, 119 path: dest, 128 path: dest, 138 path: dest, 188 // parent and stops once it reaches the src parent or the root path. 209 path [all...] |
| /third_party/node/deps/npm/node_modules/ignore-walk/lib/ |
| H A D | index.js | 4 const path = require('path') 12 // set to true if this.path is a symlink, whether follow is true or not 14 this.path = opts.path || process.cwd() 15 this.basename = path.basename(this.path) 20 this.root = this.parent ? this.parent.root : this.path 53 fs.readdir(this.path, (er, entries) => 68 this.result.add(this.path [all...] |
| /third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
| H A D | load-virtual.js | 4 const { resolve } = require('path') 46 path: this.path, 69 const pj = this.path + '/package.json' 147 cwd: this.path, 151 for (const [name, path] of workspaces.entries()) { 152 lockWS[name] = `file:${path.replace(/#/g, '%23')}` 200 const targetPath = resolve(this.path, meta.resolved) 201 const targetLoc = relpath(this.path, targetPath) 249 const p = this.virtualTree ? this.virtualTree.realpath : this.path [all...] |
| /third_party/vk-gl-cts/external/amber/src/tests/ |
| H A D | run_tests.py | 190 base = os.path.basename(self.input_path) 289 base_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) 294 default=os.path.join(base_path, 'out', 'Debug'), 295 help='path to build directory') 297 default=os.path.join(os.path.dirname(__file__), 'cases'), 298 help='path to directory containing test files') 299 parser.add_option('--test-prog-path', defaul [all...] |
| /third_party/vk-gl-cts/external/amber/src/tools/ |
| H A D | git-sync-deps | 26 GIT_EXECUTABLE: path to "git" binary; if unset, will look for one of 27 ['git', 'git.exe', 'git.bat'] in your default path. 36 cd path/to/repository 40 cd path/to/repository 75 DEFAULT_DEPS_PATH = os.path.normpath( 76 os.path.join(os.path.dirname(__file__), os.pardir, 'DEPS')) 107 directory (string) the path into which the repository 113 return os.path.realpath(bytes(directory, 'utf8')) == os.path [all...] |
| /third_party/skia/third_party/externals/spirv-tools/utils/ |
| H A D | git-sync-deps | 36 GIT_EXECUTABLE: path to "git" binary; if unset, will look for one of 37 ['git', 'git.exe', 'git.bat'] in your default path. 46 cd path/to/repository 50 cd path/to/repository 83 DEFAULT_DEPS_PATH = os.path.normpath( 84 os.path.join(os.path.dirname(__file__), os.pardir, 'DEPS')) 115 directory (string) the path into which the repository 121 return os.path.realpath(bytes(directory, 'utf8')) == os.path [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
| H A D | git-sync-deps | 36 GIT_EXECUTABLE: path to "git" binary; if unset, will look for one of 37 ['git', 'git.exe', 'git.bat'] in your default path. 46 cd path/to/repository 50 cd path/to/repository 83 DEFAULT_DEPS_PATH = os.path.normpath( 84 os.path.join(os.path.dirname(__file__), os.pardir, 'DEPS')) 115 directory (string) the path into which the repository 121 return os.path.realpath(bytes(directory, 'utf8')) == os.path [all...] |
| /third_party/protobuf/src/google/protobuf/util/ |
| H A D | field_mask_util.h | 53 // Converts FieldMask to/from string, formatted by separating each path 80 // Get the descriptors of the fields which the given path from the message 82 // Return false if the path is not valid, and the content of field_descriptors 85 const Descriptor* descriptor, StringPiece path, 88 // Checks whether the given path is valid for type T. 90 static bool IsValidPath(StringPiece path) { in IsValidPath() argument 91 return GetFieldDescriptors(T::descriptor(), path, nullptr); in IsValidPath() 104 // Adds a path to FieldMask after checking whether the given path is valid. 105 // This method check-fails if the path i 107 AddPathToFieldMask(StringPiece path, FieldMask* mask) AddPathToFieldMask() argument [all...] |
| /third_party/skia/infra/bots/task_drivers/perf_puppeteer_skottie_frames/ |
| H A D | perf_puppeteer_skottie_frames_test.go | 11 "path/filepath" 26 const fakeNodeBinPath = "/fake/path/to/node/bin" 38 assert.Equal(t, "/fake/path/to/node/bin/npm", cmd.Name) 57 const fakeNodeBinPath = "/fake/path/to/node/bin" 58 const fakeCanvasKitPath = "/fake/path/to/canvaskit" 59 const fakeBenchmarkPath = "/fake/path/to/perf-puppeteer" 77 assert.Equal(t, "/fake/path/to/node/bin/node", cmd.Name) 80 "--canvaskit_js", "/fake/path/to/canvaskit/canvaskit.js", 81 "--canvaskit_wasm", "/fake/path/to/canvaskit/canvaskit.wasm", 84 "--output", "/fake/path/t [all...] |
| /third_party/weex-loader/src/ |
| H A D | util.js | 20 import path from 'path' 35 return path.basename(resourcePath).replace(/\..*$/, '') 39 const filename = path.relative('.', resourcePath) 47 return path.relative('.', filepath) 144 const sourceRoot = path.resolve('.') 223 return filePath.slice(0, filePath.indexOf(moduleName.replace(/\//g, path.sep)) + moduleName.length) 314 name: path.resolve(__dirname, 'json.js') 316 name: path.resolve(__dirname, 'template.js') 321 name: path [all...] |
| /third_party/eudev/src/libudev/ |
| H A D | libudev-device.c | 49 * by their syspath, every device has exactly one path in the kernel sys 489 char path[UTIL_PATH_SIZE]; in udev_device_add_property_from_string_parse() local 491 strscpyl(path, sizeof(path), "/sys", &property[8], NULL); in udev_device_add_property_from_string_parse() 492 udev_device_set_syspath(udev_device, path); in udev_device_add_property_from_string_parse() 748 * @syspath: sys device path including sys directory 752 * path to the device, including the sys mount point. 762 char path[UTIL_PATH_SIZE]; in udev_device_new_from_syspath() local 777 /* path starts in sys */ in udev_device_new_from_syspath() 784 /* path i in udev_device_new_from_syspath() 842 char path[UTIL_PATH_SIZE]; udev_device_new_from_devnum() local 958 char path[UTIL_PATH_SIZE]; udev_device_new_from_subsystem_sysname() local 1062 char path[UTIL_PATH_SIZE]; device_new_from_parent() local 1465 char path[UTIL_PATH_SIZE]; udev_device_get_sysattr_value() local 1549 char path[UTIL_PATH_SIZE]; udev_device_set_sysattr_value() local 1637 char path[UTIL_PATH_SIZE]; udev_device_sysattr_list_read() local [all...] |
| /device/soc/rockchip/common/sdk_linux/scripts/ |
| H A D | resource_tool.c | 593 char path[MAX_INDEX_ENTRY_PATH_LEN]; member 614 char path[MAX_INDEX_ENTRY_PATH_LEN]; member 643 static const char *fix_path(const char *path) in fix_path() argument 645 if (!memcmp(path, "./", 2)) { in fix_path() 646 return path + 2; in fix_path() 648 return path; in fix_path() 800 static void tests_dump_file(const char *path, void *data, int len) in tests_dump_file() argument 802 FILE *file = fopen(path, "wb"); in tests_dump_file() 825 tests_dump_file(content->path, content->load_addr, content->content_size); in load_content() 834 tests_dump_file(content->path, dat in load_content_data() 1220 mkdirs(char *path) mkdirs() argument 1247 char path[MAX_INDEX_ENTRY_PATH_LEN * 2 + 1]; dump_file() local 1378 get_file_size(const char *path) get_file_size() argument 1488 const char *path = files[i]; write_index_tbl() local [all...] |
| /device/soc/rockchip/rk3588/kernel/scripts/ |
| H A D | resource_tool.c | 610 char path[MAX_INDEX_ENTRY_PATH_LEN]; member 631 char path[MAX_INDEX_ENTRY_PATH_LEN]; member 660 static const char *fix_path(const char *path) in fix_path() argument 662 if (!memcmp(path, "./", 2)) { in fix_path() 663 return path + 2; in fix_path() 665 return path; in fix_path() 811 static void tests_dump_file(const char *path, void *data, int len) in tests_dump_file() argument 813 FILE *file = fopen(path, "wb"); in tests_dump_file() 834 tests_dump_file(content->path, content->load_addr, content->content_size); in load_content() 845 tests_dump_file(content->path, dat in load_content_data() 1240 mkdirs(char *path) mkdirs() argument 1267 char path[MAX_INDEX_ENTRY_PATH_LEN * 2 + 1]; dump_file() local 1397 get_file_size(const char *path) get_file_size() argument 1504 const char *path = files[i]; write_index_tbl() local [all...] |
| /third_party/node/tools/gyp/pylib/gyp/generator/ |
| H A D | make.py | 122 qualified_out_dir = os.path.normpath( 123 os.path.join(output_dir, builddir_name, "gypfiles") 402 # http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces 420 # ccache or distcc lose the path to the target, so we convert a rule of 424 # path/to/foobar.o: DEP1 DEP2 442 # Fixup path as in (1). 685 return os.path.splitext(filename)[0] + ".o" 727 def Sourceify(path): 728 """Convert a path to its source directory form.""" 729 if "$(" in path [all...] |