| /third_party/rust/crates/nom/benchmarks/ |
| H A D | Cargo.toml | 11 nom = { path = "../" } 18 path = "benches/arithmetic.rs" 23 path = "benches/number.rs" 28 path = "benches/http.rs" 33 path = "benches/ini.rs" 38 path = "benches/ini_str.rs" 43 path = "benches/json.rs"
|
| /third_party/rust/crates/syn/codegen/src/ |
| H A D | file.rs | 6 use std::path::Path; 8 pub fn write(relative_to_workspace_root: impl AsRef<Path>, content: TokenStream) -> Result<()> { in write() 21 let path = workspace_path::get(relative_to_workspace_root); in write() 22 if path.is_file() && fs::read(&path)? == formatted { in write() 26 fs::write(path, formatted)?; in write()
|
| /third_party/skia/docs/examples/ |
| H A D | Canvas_clipPath_2.cpp | 9 SkPath path; in REG_FIDDLE() local 10 path.addRect({20, 15, 100, 95}); in REG_FIDDLE() 11 path.addRect({50, 65, 130, 135}); in REG_FIDDLE() 12 path.setFillType(SkPathFillType::kWinding); in REG_FIDDLE() 14 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE() 18 path.setFillType(SkPathFillType::kEvenOdd); in REG_FIDDLE() 19 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
|
| H A D | Paint_getTextPath.cpp | 10 SkPath path, path2; in REG_FIDDLE() local 11 paint.getTextPath("ABC", 3, 20, 80, &path); in REG_FIDDLE() 12 path.offset(20, 20, &path2); in REG_FIDDLE() 13 Op(path, path2, SkPathOp::kDifference_SkPathOp, &path); in REG_FIDDLE() 14 path.addPath(path2); in REG_FIDDLE() 16 canvas->drawPath(path, paint); in REG_FIDDLE()
|
| /applications/standard/app_samples/code/BasicFeature/Media/Audio/entry/src/main/resources/base/media/ |
| H A D | ic_ring.svg | 5 <rect id="path-1" x="0" y="0" width="48" height="48" rx="9.6"></rect> 6 <path d="M14.75,31.25 C14.3357864,31.25 14,30.9142136 14,30.5 C14,30.0857864 14.3357864,29.75 14.75,29.75 L15.94,29.75 L17.1022623,20.5788123 C17.4484656,17.8467978 19.3499867,15.6525554 21.8495539,14.839706 C22.1301295,13.919618 22.9868659,13.25 24,13.25 C25.0131341,13.25 25.8698705,13.919618 26.1517769,14.8404216 C28.6500133,15.6525554 30.5515344,17.8467978 30.8977377,20.5788123 L32.06,29.75 L33.25,29.75 C33.6642136,29.75 34,30.0857864 34,30.5 C34,30.9142136 33.6642136,31.25 33.25,31.25 L14.75,31.25 Z M26.9584235,32.2505796 C26.7201457,33.6691511 25.4862957,34.75 24,34.75 C22.5137043,34.75 21.2798543,33.6691511 21.0415765,32.2505796 Z" id="path-3"></path> 10 <use xlink:href="#path-1"></use> 12 <use id="蒙版" fill-opacity="0.199478256" fill="#182431" xlink:href="#path-1"></use> 14 <use xlink:href="#path-3"></use> 16 <use id="蒙版" fill-opacity="0.9" fill="#182431" xlink:href="#path-3"></use>
|
| /applications/standard/settings/product/phone/src/main/ets/res/image/ |
| H A D | ic_settings_developer.svg | 15 <path 17 id="Path" 19 fill-rule="nonzero"></path> 27 <path 29 id="Path" 31 fill-rule="nonzero"></path> 32 <path 36 fill-rule="nonzero"></path>
|
| H A D | ic_settings_about.svg | 15 <path 17 id="Path" 19 fill-rule="nonzero"></path> 27 <path 29 id="Path" 31 fill-rule="nonzero"></path> 32 <path 36 fill-rule="nonzero"></path>
|
| H A D | ic_settings_restore.svg | 15 <path 17 id="Path" 19 fill-rule="nonzero"></path> 27 <path 29 id="Path" 31 fill-rule="nonzero"></path> 32 <path 36 fill-rule="nonzero"></path>
|
| /base/global/resource_management/frameworks/resmgr/include/ |
| H A D | hap_resource_manager.h | 41 * @param path the resources.index file path 45 std::shared_ptr<HapResource> PutAndGetResource(const std::string &path, std::shared_ptr<HapResource> hapResource); 50 * @param path the resources.index file path 51 * @param patchPath the patch path 54 bool PutPatchResource(const std::string &path, const std::string &patchPath); 61 std::shared_ptr<HapResource> GetHapResource(const std::string &path);
|
| /base/startup/init/interfaces/innerkits/file/ |
| H A D | init_file.c | 34 char path[PATH_MAX] = { 0 }; in GetControlFile() local 35 BEGET_ERROR_CHECK(snprintf_s(path, sizeof(path), sizeof(path) - 1, OHOS_FILE_ENV_PREFIX "%s", pathName) >= 0, in GetControlFile() 37 BEGET_ERROR_CHECK(StringReplaceChr(path, '/', '_') == 0, in GetControlFile() 39 BEGET_LOGI("Environment path is %s ", path); in GetControlFile() 40 const char *val = getenv(path); in GetControlFile()
|
| /foundation/arkui/ace_engine/build/ |
| H A D | search.py | 23 sys.stderr.write("MUST have 1 parameter for the searching path") 27 base_dir = os.path.realpath(sys.argv[1]) 28 if (not os.path.isdir(base_dir)): 29 sys.stderr.write("Searching path MUST be a directory") 34 if not os.path.isdir(os.path.join(base_dir, item)): 37 file_path = os.path.join(base_dir, item, "build", "platform.gni") 38 if not os.path.isfile(file_path):
|
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
| H A D | js_path_shape.cpp | 23 auto path = AceType::MakeRefPtr<Path>(); in ConstructorCallback() local 30 path->SetValue(commands->ToString()); in ConstructorCallback() 34 jsPath->SetBasicShape(path); in ConstructorCallback() 50 auto path = AceType::DynamicCast<Path>(basicShape_); in ObjectCommands() local 51 if (path) { in ObjectCommands() 52 path->SetValue(info[0]->ToString()); in ObjectCommands()
|
| /foundation/arkui/ace_engine/test/component_test/test_cases/components/graphic_drawing/entry/src/main/ets/pages/MyTest/ |
| H A D | PathStrokeMiterLimitTest.ets | 22 * Path组件 strokeMiterLimit属性 23 * 找到画面id为pathStrokeMiterLimit的Path组件 25 * 获取path的strokeMiterLimit属性与期待值10比对 26 * 点击button,变更path的strokeMiterLimit属性值为'15' 27 * 获取path的strokeMiterLimit属性与期待值'15'比对 34 let path: Component = await driver.findComponent(Matcher.create().id('pathStrokeMiterLimit').enabled(true)) 37 let strokeMiterLimit1: string = await path.getInspectorInfo() 41 let strokeMiterLimit2: string = await path.getInspectorInfo()
|
| H A D | PathStrokeDashOffsetTest.ets | 22 * Path组件 strokeDashOffset属性 23 * 找到画面id为pathStrokeDashOffset的Path组件 25 * 获取path的strokeDashOffset属性与期待值-5比对 26 * 点击button,变更path的strokeDashOffset属性值为10 27 * 获取path的strokeDashOffset属性与期待值10比对 34 let path: Component = await driver.findComponent(Matcher.create().id('pathStrokeDashOffset').enabled(true)) 37 let strokeDashOffset1: string = await path.getInspectorInfo() 41 let strokeDashOffset2: string = await path.getInspectorInfo()
|
| H A D | PathStrokeDashArrayTest.ets | 22 * Path组件 strokeDashArray属性 23 * 找到画面id为pathStrokeDashArray的Path组件 25 * 获取path的strokeDashArray属性与期待值1.00vp比对 26 * 点击button,变更path的strokeDashArray属性值为[5] 27 * 获取path的strokeDashArray属性与期待值5.00vp比对 34 let path: Component = await driver.findComponent(Matcher.create().id('pathStrokeDashArray').enabled(true)) 37 let strokeDashArray1: string = await path.getInspectorInfo() 41 let strokeDashArray2: string = await path.getInspectorInfo()
|
| H A D | PathCommandsTest.ets | 30 * Path组件 commands属性 31 * 找到画面id为pathCommands的Path组件 33 * 获取path的commands属性与期待值'M0 0 L600 0'比对 34 * 点击button,变更path的commands属性值为'M0 0 H200 V200 H0 Z' 35 * 获取path的commands属性与期待值'M0 0 H200 V200 H0 Z'比对 42 let path: Component = await driver.findComponent(Matcher.create().id('pathCommands').enabled(true)) 45 let commands1: string = await path.getInspectorInfo() 49 let commands2: string = await path.getInspectorInfo()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
| H A D | svg_quote.h | 37 SkPath path; variable 40 Op(path, childPath, kUnion_SkPathOp, &path); 42 return path; 47 RSRecordingPath path; variable 50 path.Op(path, childPath, RSPathOp::UNION); 52 return path;
|
| /foundation/barrierfree/accessibility/interfaces/innerkits/common/include/ |
| H A D | accessibility_gesture_inject_path.h | 41 * @brief Obtains the duration in which this gesture path continues. 42 * @return Return the duration in which this gesture path continues. 47 * @brief Obtains all positions of this gesture path. 48 * @return Return all positions of this gesture path. 53 * @brief Sets the duration for this gesture path to continue. 54 * @param durationTime The duration for this gesture path to continue. 59 * @brief Add a position of this gesture path. 60 * @param position A position of this gesture path.
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
| H A D | rs_path.h | 27 #include "draw/path.h" 35 static RSB_EXPORT std::shared_ptr<RSPath> CreateRSPath(const Drawing::Path& path); 36 static RSB_EXPORT std::shared_ptr<RSPath> CreateRSPath(const std::string& path); 46 void SetDrawingPath(const Drawing::Path& path); 47 const Drawing::Path& GetDrawingPath() const; 55 Drawing::Path* drPath_ = nullptr;
|
| /foundation/filemanagement/app_file_service/utils/src/b_error/ |
| H A D | b_excep_utils.cpp | 27 void BExcepUltils::VerifyPath(const string_view &path, bool isExtension) in VerifyPath() argument 30 string absPath = BExcepUltils::Canonicalize(path); in VerifyPath() 34 throw BError(BError::Codes::EXT_INVAL_ARG, "Invalid path, not in backup restore path"); in VerifyPath() 41 string BExcepUltils::Canonicalize(const string_view &path) in Canonicalize() argument 47 _fullpath(full_path, path.data(), PATH_MAX); in Canonicalize() 49 realpath(path.data(), full_path); in Canonicalize() 53 throw BError(BError::Codes::EXT_INVAL_ARG, "Invalid path"); in Canonicalize()
|
| /foundation/filemanagement/storage_service/services/storage_manager/storage/src/ |
| H A D | volume_storage_status_service.cpp | 50 std::string path = GetVolumePath(volumeUuid); in GetFreeSizeOfVolume() local 51 LOGI("VolumeStorageStatusService::GetFreeSizeOfVolume path is %{public}s", GetAnonyString(path).c_str()); in GetFreeSizeOfVolume() 52 if (path == "") { in GetFreeSizeOfVolume() 56 int ret = statvfs(path.c_str(), &diskInfo); in GetFreeSizeOfVolume() 66 std::string path = GetVolumePath(volumeUuid); in GetTotalSizeOfVolume() local 67 if (path == "") { in GetTotalSizeOfVolume() 71 int ret = statvfs(path.c_str(), &diskInfo); in GetTotalSizeOfVolume()
|
| /third_party/flatbuffers/ |
| H A D | install.py | 34 if os.path.exists(old_dir): 44 args_parser.add_argument('--gen-dir', help='generate path of log', required=True) 45 args_parser.add_argument('--source-dir', help='generate path of log', required=True) 48 tar_file_path = os.path.join(args.source_dir, "v2.0.0.tar.gz") 49 target_dir = os.path.join(args.gen_dir, "flatbuffers-2.0.0") 51 clear_dir(os.path.join(args.source_dir, "include")) 53 move_dir(os.path.join(target_dir, "include"), os.path.join(args.source_dir, "include"))
|
| /third_party/cups-filters/ |
| H A D | install.py | 31 if not os.path.exists(target_dir): 52 path = argparse.ArgumentParser() 53 path.add_argument('--gen-dir', help='generate path of log', required=True) 54 path.add_argument('--source-dir', help='generate path of log', required=True) 55 args = path.parse_args() 56 convs_dir = os.path.join(args.source_dir, "mime")
|
| /third_party/mesa3d/src/freedreno/rnn/ |
| H A D | path.c | 28 FILE *find_in_path(const char *name, const char *path, char **pfullname) { in find_in_path() argument 29 if (!path) in find_in_path() 31 while (path) { in find_in_path() 32 const char *npath = strchr(path, ':'); in find_in_path() 35 plen = npath - path; in find_in_path() 38 plen = strlen(path); in find_in_path() 46 int ret = asprintf(&fullname, "%.*s/%s%s", (int)plen, path, name, exts[i]); in find_in_path() 61 path = npath; in find_in_path()
|
| /third_party/ltp/lib/ |
| H A D | tst_path_has_mnt_flags.c | 25 * Check whether a path is on a filesystem that is mounted with 29 const char *path, const char *flags[]) in tst_path_has_mnt_flags_() 41 if (path == NULL) in tst_path_has_mnt_flags_() 42 path = tmpdir = tst_get_tmpdir(); in tst_path_has_mnt_flags_() 44 if (access(path, F_OK) == -1) { in tst_path_has_mnt_flags_() 46 "tst_path_has_mnt_flags: path %s doesn't exist", path); in tst_path_has_mnt_flags_() 64 if (strncmp(path, mnt->mnt_dir, prefix_len) == 0 in tst_path_has_mnt_flags_() 28 tst_path_has_mnt_flags_(void (cleanup_fn)(void), const char *path, const char *flags[]) tst_path_has_mnt_flags_() argument
|