| /applications/standard/app_samples/code/BasicFeature/Native/NdkTsDrawing/entry/src/main/ets/pages/ |
| H A D | Index.ets | 49 // 创建一个path对象,然后使用接口连接成一个五角星形状 50 let path = new drawing.Path(); 52 // 指定path的起始位置 53 path.moveTo(aX, aY); 56 path.lineTo(bX, bY); 57 path.lineTo(cX, cY); 58 path.lineTo(dX, dY); 59 path.lineTo(eX, eY); 61 // 闭合形状,path绘制完毕 [all...] |
| /applications/standard/permission_manager/permissionmanager/src/main/resources/base/media/ |
| H A D | nopermission.svg | 5 <path d="M59.4581299,16 C86.6146598,16 109.038027,36.2650767 112.430732,62.4977292 L108.637493,61.8229287 L105.06218,61.1707783 L101.778945,60.5538938 L99.2660295,60.0667626 L97.4017358,59.6946907 L95.2539169,59.2516419 L93.3089293,58.8330833 L91.5667729,58.4390149 L90.3190864,58.1413932 L89.4685106,57.9284627 L88.6909541,57.7243488 L87.9864169,57.5290513 L77.8677758,54.5731447 L66.7894981,51.1680269 L57.9371338,48.4139094 C56.7942297,48.0539454 55.7030916,47.859825 54.6733965,47.7962595 L54.2491555,47.7754726 L54.0682228,47.7621595 L54.0682228,47.7621595 L53.9027597,47.7528092 L53.6171458,47.7440478 L53.4309435,47.7444286 L53.2277586,47.752122 L53.0955308,47.7629891 L52.4582603,47.8593968 L52.1089448,47.9071648 L52.1089448,47.9071648 L51.7674991,47.9652318 L49.3823353,48.3248282 L44.3676854,49.0591119 L39.7137617,49.7130263 L36.6988963,50.1196502 L35.3959471,50.290406 L33.9121451,50.4806179 L31.628643,50.7630268 L30.0300679,50.951742 L29.2503825,51.0405566 C22.8538019,51.759555 15.6292591,53.6294398 7.57675411,56.6502109 C13.299677,33.3135469 34.3570057,16 59.4581299,16 Z" id="bg" fill="#A1A7B3" opacity="0.200000003"></path> 6 <path d="M56.8271484,48.2007747 C58.8140613,48.6552252 62.1843262,49.7802408 66.1083984,51.0405566 C70.0324707,52.3008723 77.4980715,54.4672541 87.7677976,57.4659114 C91.7729665,58.6353806 99.9677379,60.3126532 112.352112,62.4977292 L113.475677,69.947845 L105.420284,69.947845 C105.515503,69.947845 81.2993409,72.2327726 81.6954859,74.5301224 C82.0916308,76.8274722 99.3699996,76.0025743 98.9824309,82.4701437 C98.5948622,88.9377131 77.9556254,86.2999254 71.3243189,90.3372515 C64.6930124,94.3745777 89.5466966,98.1225156 85.080416,101.653566 C80.6141354,105.184617 69.0001029,104.951003 52.8399857,104.951003 C36.6798686,104.951003 17.283563,100.959176 15.6241654,95.3548112 C14.5080002,91.5851318 20.9160791,89.1698933 30.6138684,87.0230943 L30.6150805,94.3332156 C30.6150805,94.8460515 31.0011207,95.2687228 31.4984593,95.3264879 L31.6150805,95.3332156 L33.7889935,95.3332156 C34.3018293,95.3332156 34.7245007,94.9471754 34.7822658,94.4498368 L34.7889935,94.3332156 L34.7881583,86.150266 C38.4629761,85.4191098 42.4680589,84.7024891 46.6230204,83.9541417 C64.3101133,80.7685311 87.9965907,82.2080371 88.7730009,80.9913581 C89.5494111,79.7746792 84.6584513,78.9375381 81.276188,78.050091 C77.8939247,77.1626438 73.419899,76.2773181 75.5919383,73.7000727 C77.3259385,71.642585 85.4099044,70.4103211 94.893497,69.9149371 C84.3665458,69.8744702 66.3423173,69.7969031 40.8210864,69.6822087 L37.254428,66.1155433 L42.9469177,60.4239462 C42.9469773,60.4238867 42.9470368,60.4238272 42.9470963,60.4237677 L43.0816197,60.2809349 C44.2026486,59.0165661 44.1578074,57.0814762 42.9470963,55.870765 C41.6896864,54.6133552 39.6510515,54.6132602 38.3935245,55.870553 L38.3935245,55.870553 L32.7017559,61.5612613 L27.0104691,55.8706333 C25.7529995,54.6133092 23.7143746,54.6133682 22.4569777,55.870765 C21.1995808,57.1281619 21.1995218,59.1667868 22.4568459,60.4242565 L22.4568459,60.4242565 L28.147474,66.1155433 L24.6552847,69.6091481 C18.757625,69.5823599 12.539196,69.5539829 6,69.5240168 L7.57675411,56.6502109 C15.3903507,53.656294 22.6148935,51.7864092 29.2503825,51.0405566 C39.203616,49.9217776 53.0230713,47.7725114 53.0230713,47.7725114 C53.0230713,47.7725114 54.1008813,47.5772176 56.8271484,48.2007747 Z" id="形状结合" fill="#A1A7B3" opacity="0.300000012"></path> 7 <path d="M44.8846961,53.1949619 C44.3221238,51.6576356 49.8259865,45.8592581 57.9371338,48.4139094 C63.3445653,50.1170103 72.8644831,53.0117247 86.4968872,57.0980525 C91.4632081,58.326879 95.4767173,59.2578279 98.5374146,59.8908992 C101.598112,60.5239704 106.229218,61.3929138 112.430732,62.4977292 L113.475677,69.947845 L35.3018692,63.7473708 C46.6103424,60.9097092 52.264579,58.7408478 52.264579,57.2407866 C52.264579,54.9906948 45.4472685,54.7322883 44.8846961,53.1949619 Z" id="mountain-1" fill="#A1A7B3" opacity="0.100000001"></path> 11 <path d="M34.7889095,94.3226088 C38.3894263,94.4384424 41.0498631,94.8469929 41.0498631,95.3332156 C41.0498631,95.9095128 37.312414,96.3766939 32.702037,96.3766939 L32.3890794,96.3759742 C27.9237064,96.355402 24.3542109,95.8964151 24.3542109,95.3332156 C24.3542109,94.8470322 27.0142171,94.4385085 30.6142905,94.3226369 L30.6150805,94.3332156 C30.6150805,94.8855004 31.0627957,95.3332156 31.6150805,95.3332156 L31.6150805,95.3332156 L33.7889935,95.3332156 C34.3412783,95.3332156 34.7889935,94.8855004 34.7889935,94.3332156 L34.7889935,94.3332156 Z" id="形状结合" fill-opacity="0.2" fill="#A1A7B3"></path> 12 <path d="M34.7882277,84.5512153 L34.7889935,94.3332156 C34.7889935,94.8855004 34.3412783,95.3332156 33.7889935,95.3332156 L31.6150805,95.3332156 C31.0627957,95.3332156 30.6150805,94.8855004 30.6150805,94.3332156 L30.6142277,85.3622153 L34.7882277,84.5512153 Z M32.7017559,70.6682153 L34.7882277,72.7552153 L34.7882277,78.1722153 L30.6142277,78.9842153 L30.6142277,72.7552153 L32.7017559,70.6682153 Z" id="形状结合" fill-opacity="0.6" fill="#A1A7B3"></path> [all...] |
| /foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
| H A D | test_base.cpp | 282 std::string path = "/data/storage/el2/base/files/" + fileName_ + ".dat";
in Pixmap2RawFile() local 283 auto err = remove(path.c_str());
in Pixmap2RawFile() 285 DRAWING_LOGE("failed to remove path: %{public}s", path.c_str());
in Pixmap2RawFile() 287 int fd = open(path.c_str(), O_RDWR | O_CREAT);
in Pixmap2RawFile() 289 DRAWING_LOGE("failed to open fd = %{public}d path = %{public}s", fd, path.c_str());
in Pixmap2RawFile() 324 std::string path = "/data/storage/el2/base/files/" + fileName_ + ".png";
in Pixmap2ImageFile() local 325 auto err = remove(path.c_str());
in Pixmap2ImageFile() 327 DRAWING_LOGE("failed to remove path in Pixmap2ImageFile() [all...] |
| /foundation/filemanagement/app_file_service/utils/src/b_json/ |
| H A D | b_json_entity_ext_manage.cpp | 59 HILOGE("file is not backup path"); in CheckOwnPackTar() 146 auto [path, sta, isBigFile, isUserTar] = item->second; in SetExtManageForClone() 147 value["information"]["path"] = path; in SetExtManageForClone() 163 auto [path, sta, isBeforeTar] = item->second; in SetExtManage() 164 value["information"]["path"] = path; in SetExtManage() 166 value["isUserTar"] = isBeforeTar && CheckUserTar(path, sta); in SetExtManage() 167 value["isBigFile"] = !CheckOwnPackTar(path) && CheckBigFile(sta); in SetExtManage() 212 string path in GetExtManageInfo() local [all...] |
| /third_party/cups/ |
| H A D | OAT.xml | 19 basedir: Root dir|the basedir + project path is the real source file location.
28 5. task project: Projects to be checked|the path field define the source root dir of the project.
33 2. policyitem: The fields type|name|path|desc is required|and the fields rule|group|filefilter is optional,the default value is:
34 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
36 "compatibility" is used to check license compatibility in the specified path;
37 "license" is used to check source license header in the specified path;
38 "copyright" is used to check source copyright header in the specified path;
39 "import" is used to check source dependency in the specified path|such as import ... ,include ...
40 "filetype" is used to check file type in the specified path|supported file types: archive|binary
41 "filename" is used to check whether the specified file exists in the specified path(suppor [all...] |
| /third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
| H A D | adp.c | 62 void fs_show(const char *path) in fs_show() argument 66 if (path == NULL) { in fs_show() 67 PRINTK("path is NULL\n"); in fs_show() 70 ret = statfs(path, &fss); in fs_show() 71 PRINTK("Filesystem %s info: \n", path); in fs_show() 165 char *basename(const char *path) in basename() argument 171 if ((path != NULL) && *path) { in basename() 172 first = (CHAR *)path; in basename() 173 last = (CHAR *)path in basename() [all...] |
| /third_party/libuv/ |
| 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/node/test/parallel/ |
| H A D | test-runner-reporters.js | 9 const path = require('node:path'); 12 const testFile = fixtures.path('test-runner/reporters.js'); 59 const file = path.join(tmpdir.path, `${tmpFiles++}.out`); 75 const file = path.join(tmpdir.path, `${tmpFiles++}.out`); 76 const file2 = path.join(tmpdir.path, `${tmpFiles++}.out`); 108 { cwd: fixtures.path('tes [all...] |
| /third_party/node/deps/v8/tools/testrunner/local/ |
| H A D | android.py | 14 BASE_DIR = os.path.normpath( 15 os.path.join(os.path.dirname(__file__), '..', '..', '..')) 16 ANDROID_DIR = os.path.join(BASE_DIR, 'build', 'android') 35 assert os.path.exists(ANDROID_DIR) 36 sys.path.insert(0, ANDROID_DIR) 77 file_on_host = os.path.join(host_dir, file_name) 83 file_on_device_tmp = os.path.join(DEVICE_DIR, '_tmp_', file_name) 84 file_on_device = os.path.join(DEVICE_DIR, target_rel, file_name) 85 folder_on_device = os.path [all...] |
| /third_party/node/deps/npm/test/lib/commands/ |
| H A D | ci.js | 5 const path = require('path') 42 // integrity changes w/ each test cause the path is different? 49 // integrity changes w/ each test cause the path is different? 71 tarball: path.join(npm.prefix, 'abbrev'), 76 const nmTest = path.join(npm.prefix, 'node_modules', 'test') 78 const nmAbbrev = path.join(npm.prefix, 'node_modules', 'abbrev') 94 tarball: path.join(npm.prefix, 'abbrev'), 100 const nmTest = path.join(npm.prefix, 'node_modules', 'test') 102 const nmAbbrev = path [all...] |
| /third_party/node/deps/openssl/openssl/ |
| H A D | NOTES-UNIX.md | 26 a bit of help from a defined runtime shared library search path. 29 scripts do NOT generally set the runtime shared library search path for 40 Possible options to set the runtime shared library search path include 43 -Wl,-rpath,/whatever/path # Linux, *BSD, etc. 44 -R /whatever/path # Solaris 45 -Wl,-R,/whatever/path # AIX (-bsvr4 is passed internally) 46 -Wl,+b,/whatever/path # HP-UX 47 -rpath /whatever/path # Tru64, IRIX 55 search path! Some OpenSSL config targets add an extra directory level 58 used with the runtime shared library search path option [all...] |
| /third_party/node/deps/openssl/openssl/crypto/http/ |
| H A D | http_lib.c | 56 const char *path, *path_end; in OSSL_parse_url() local 102 /* look for start of optional port, path, query, or fragment */ in OSSL_parse_url() 130 /* check for optional path starting with '/' or '?'. Else must start '#' */ in OSSL_parse_url() 131 path = p; in OSSL_parse_url() 132 if (*path != '\0' && *path != '/' && *path != '?' && *path != '#') { in OSSL_parse_url() 136 path_end = query = query_end = frag = frag_end = path + strlen(path); in OSSL_parse_url() [all...] |
| /third_party/openssl/crypto/http/ |
| H A D | http_lib.c | 49 const char *path, *path_end; in OSSL_parse_url() local 94 /* look for start of optional port, path, query, or fragment */ in OSSL_parse_url() 122 /* check for optional path starting with '/' or '?'. Else must start '#' */ in OSSL_parse_url() 123 path = p; in OSSL_parse_url() 124 if (*path != '\0' && *path != '/' && *path != '?' && *path != '#') { in OSSL_parse_url() 128 path_end = query = query_end = frag = frag_end = path + strlen(path); in OSSL_parse_url() [all...] |
| /third_party/openssl/ |
| H A D | NOTES-UNIX.md | 26 a bit of help from a defined runtime shared library search path. 29 scripts do NOT generally set the runtime shared library search path for 40 Possible options to set the runtime shared library search path include 43 -Wl,-rpath,/whatever/path # Linux, *BSD, etc. 44 -R /whatever/path # Solaris 45 -Wl,-R,/whatever/path # AIX (-bsvr4 is passed internally) 46 -Wl,+b,/whatever/path # HP-UX 47 -rpath /whatever/path # Tru64, IRIX 55 search path! Some OpenSSL config targets add an extra directory level 58 used with the runtime shared library search path option [all...] |
| /third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
| H A D | retrace_restricted_traces.py | 33 script_dir = os.path.dirname(sys.argv[0]) 34 return os.path.join(script_dir, trace) 42 try_path = os.path.join(trace_path, header) 43 if os.path.isfile(try_path): 101 def path_contains_header(path): 102 for file in os.listdir(path): 110 parser.add_argument('gn_path', help='GN build path') 138 script_dir = os.path.dirname(sys.argv[0]) 141 with open(os.path.join(script_dir, DEFAULT_TEST_JSON)) as f: 146 binary = os.path [all...] |
| /third_party/skia/third_party/externals/zlib/google/ |
| H A D | zip.cc | 59 for (const auto& path : paths) { 61 if (base::PathExists(path) && !base::DirectoryExists(path)) { 62 file = base::File(path, base::File::FLAG_OPEN | base::File::FLAG_READ); 79 for (base::FilePath path = file_enumerator.Next(); !path.value().empty(); 80 path = file_enumerator.Next()) { 81 files.push_back(DirectoryContentEntry(path, base::DirectoryExists(path))); 86 base::Time GetLastModifiedTime(const base::FilePath& path) overrid [all...] |
| /third_party/skia/infra/bots/recipes/ |
| H A D | skpbench.py | 17 'recipe_engine/path', 32 with api.context(cwd=api.path['start_dir'].join('skia')): 61 table = api.path.join(api.vars.swarming_out_dir, 'table') 81 skpbench_invocation = api.path.join(api.flavor.device_dirs.bin_dir, 'skpbench') 112 api.path.join(api.flavor.device_dirs.skp_dir, 'desk_*svg.skp'), 113 api.path.join(api.flavor.device_dirs.skp_dir, 'desk_motionmark*.skp'), 114 api.path.join(api.flavor.device_dirs.skp_dir, 'desk_chalkboard.skp')] 145 json_path = api.path.join( 200 api.path.exists( 201 api.path['start_di [all...] |
| /third_party/selinux/libsepol/cil/src/ |
| H A D | cil_tree.c | 44 struct cil_tree_node *cil_tree_get_next_path(struct cil_tree_node *node, char **info_kind, uint32_t *hll_line, char **path) in cil_tree_get_next_path() argument 66 *path = node->cl_head->next->next->next->data; in cil_tree_get_next_path() 75 *path = info->path; in cil_tree_get_next_path() 93 *path = NULL; in cil_tree_get_next_path() 101 char *path; in cil_tree_get_cil_path() local 104 node = cil_tree_get_next_path(node, &info_kind, &hll_line, &path); in cil_tree_get_cil_path() 106 return path; in cil_tree_get_cil_path() 122 char *path = NULL; in cil_tree_log() local 125 path in cil_tree_log() [all...] |
| /third_party/rust/crates/nix/test/ |
| H A D | test_mount.rs | 36 tempdir.path(), in test_mount_tmpfs_without_flags_allows_rwx() 43 let test_path = tempdir.path().join("test"); in test_mount_tmpfs_without_flags_allows_rwx() 93 umount(tempdir.path()) in test_mount_tmpfs_without_flags_allows_rwx() 102 tempdir.path(), in test_mount_rdonly_disallows_write() 112 File::create(tempdir.path().join("test")) in test_mount_rdonly_disallows_write() 118 umount(tempdir.path()) in test_mount_rdonly_disallows_write() 127 tempdir.path(), in test_mount_noexec_disallows_exec() 134 let test_path = tempdir.path().join("test"); in test_mount_noexec_disallows_exec() 167 umount(tempdir.path()) in test_mount_noexec_disallows_exec() 179 Some(tempdir.path()), in test_mount_bind() [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
| H A D | xml-utils.c | 64 xml_node_t *root, const char *path) in get_node_iter() 70 end = os_strchr(path, '/'); in get_node_iter() 77 if (os_strcasecmp(name, path) == 0) in get_node_iter() 90 const char *path) in get_node() 95 search = os_strdup(path); in get_node() 107 const char *path) in get_child_node() 114 match = get_node(ctx, node, path); in get_child_node() 246 xml_node_create_text(ctx, tnds, NULL, "Path", uri); in node_to_tnds() 340 char *nodename, *value, *path; in add_mo_node() local 359 path in add_mo_node() 63 get_node_iter(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) get_node_iter() argument 89 get_node(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) get_node() argument 106 get_child_node(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) get_child_node() argument [all...] |
| /third_party/vk-gl-cts/framework/qphelper/ |
| H A D | gen_release_info.py | 60 genFileName = os.path.basename(__file__), 93 curDir = os.path.dirname(__file__) 94 defaultGitDir = os.path.normpath(os.path.join(curDir, "..", "..", ".git")) 95 defaultGlslGitDir = os.path.normpath(os.path.join(curDir, "..", "..", "external", "glslang", "src", ".git")) 96 defaultSpirvToolsGitDir = os.path.normpath(os.path.join(curDir, "..", "..", "external", "spirv-tools", "src", ".git")) 97 defaultSpirvHeadersGitDir = os.path.normpath(os.path [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
| H A D | xml-utils.c | 64 xml_node_t *root, const char *path) in get_node_iter() 70 end = os_strchr(path, '/'); in get_node_iter() 77 if (os_strcasecmp(name, path) == 0) in get_node_iter() 90 const char *path) in get_node() 95 search = os_strdup(path); in get_node() 107 const char *path) in get_child_node() 114 match = get_node(ctx, node, path); in get_child_node() 246 xml_node_create_text(ctx, tnds, NULL, "Path", uri); in node_to_tnds() 340 char *nodename, *value, *path; in add_mo_node() local 359 path in add_mo_node() 63 get_node_iter(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) get_node_iter() argument 89 get_node(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) get_node() argument 106 get_child_node(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) get_child_node() argument [all...] |
| /foundation/arkui/napi/module_manager/ |
| H A D | native_module_manager.cpp | 236 HILOG_ERROR("get native module path failed"); in GetModuleFileName() 462 // Performs a namespace check on the full path passed directly or the full path converted after setting rpath. in CreateLdNamespace() 475 // Performs a namespace check on the full path passed directly or the full path converted after setting rpath. in CreateLdNamespace() 493 HILOG_DEBUG("end. moduleName: %{public}s, path: %{public}s", moduleName.c_str(), lib_ld_path); in CreateLdNamespace() 526 HILOG_DEBUG("path: %{public}s", appLibPathMap_[moduleName]); in SetAppLibPath() 537 NativeModule* NativeModuleManager::LoadNativeModule(const char* moduleName, const char* path, bool isAppModule, in LoadNativeModule() argument 552 HILOG_DEBUG("moduleName is %{public}s, path is %{public}s, relativePath is %{public}s", in LoadNativeModule() 553 moduleName, path, relativePat in LoadNativeModule() 681 GetNativeModulePath(const char* moduleName, const char* path, const char* relativePath, bool isAppModule, char nativeModulePath[][NAPI_PATH_MAX], int32_t pathLength) GetNativeModulePath() argument 863 LoadModuleLibrary(std::string& moduleKey, const char* path, const char* pathKey, const bool isAppModule, std::string& errInfo, uint32_t& errReason) LoadModuleLibrary() argument 982 FindNativeModuleByDisk(const char* moduleName, const char* path, const char* relativePath, bool internal, const bool isAppModule, std::string& errInfo, char nativeModulePath[][NAPI_PATH_MAX], NativeModule* cacheNativeModule) FindNativeModuleByDisk() argument [all...] |
| /test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
| H A D | oh_jsunit_driver.py | 108 self.result = os.path.join( 119 LOG.debug("Test case file path: %s" % suite_file) 177 LOG.debug("Test case file path: %s" % suite_file) 182 if not os.path.exists(config_file): 209 if not os.path.exists(config_file): 239 # save coverage data to report path 271 "package-tool-path", json_config.get_driver(), "") 372 if not os.path.isfile(json_file_list[0]): 456 LOG.debug("Coverage data path is null") 458 LOG.debug("Coverage data path [all...] |
| /third_party/typescript/src/compiler/ |
| H A D | program.ts | 19 // Each file contributes into common source file path
21 sourcePathComponents.pop(); // The base file name is not part of the common directory path
33 // Failed to find any common path component
37 // New common path found that is 0 -> i-1
49 // A common path can not be found when paths span multiple drives on windows, for example
108 (path, data, writeByteOrderMark) => system.writeFile(path, data, writeByteOrderMark),
109 path => (compilerHost.createDirectory || system.createDirectory)(path),
110 path [all...] |