| /foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
| H A D | bundle_installer.cpp | 93 uint8_t BundleInstaller::GetHapType(const char *path) in GetHapType() argument 96 if (BundleUtil::StartWith(path, SYSTEM_BUNDLE_PATH)) { in GetHapType() 98 } else if (BundleUtil::StartWith(path, THIRD_SYSTEM_BUNDLE_PATH)) { in GetHapType() 106 uint8_t BundleInstaller::Install(const char *path, const InstallParam &installParam) in Install() argument 108 if (path == nullptr || installParam.installLocation < INSTALL_LOCATION_INTERNAL_ONLY || in Install() 120 if (strlen(path) > PATH_MAX) { in Install() 125 if (realpath(path, realPath) == nullptr) { in Install() 129 // set codeDirPath_ and dataDirPath_ according to hap path in Install() 168 uint8_t BundleInstaller::ProcessBundleInstall(const std::string &path, const char *randStr, in ProcessBundleInstall() argument 176 // check path in ProcessBundleInstall() 502 CheckInstallFileIsValid(const char *path) CheckInstallFileIsValid() argument 555 RecordThirdSystemBundle(const char *bundleName, const char *path) RecordThirdSystemBundle() argument 602 InitThirdSystemBundleRecord(const char *bundleName, const char *path) InitThirdSystemBundleRecord() argument [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/src/ |
| H A D | json_common.cpp | 249 JsonFieldPath SplitePath(const JsonFieldPath &path, bool &isCollapse) in SplitePath() argument 251 if (path.size() != 1) { // only first level has collapse field in SplitePath() 252 return path; in SplitePath() 255 const std::string &str = path[0]; in SplitePath() 269 JsonFieldPath ExpendPathForField(const JsonFieldPath &path, bool &isCollapse) in ExpendPathForField() argument 272 if (path.empty()) { in ExpendPathForField() 273 return path; in ExpendPathForField() 275 const std::string &str = path.back(); in ExpendPathForField() 286 for (size_t i = 1; i < path.size(); i++) { in ExpendPathForField() 287 splitPath.emplace_back(path[ in ExpendPathForField() 292 JsonObjectIterator(const JsonObject &obj, const JsonFieldPath &path, std::function<bool(const JsonFieldPath &path, const JsonObject &father, const JsonObject &item)> AppendFoo) JsonObjectIterator() argument 306 JsonObjectIterator(const JsonObject &obj, JsonFieldPath path, std::function<bool(JsonFieldPath &path, const JsonObject &item)> matchFoo) JsonObjectIterator() argument 503 JsonNodeAppend(const JsonObject &src, const JsonFieldPath &path, const JsonObject &father, const JsonObject &item, int &externErrCode) JsonNodeAppend() argument [all...] |
| /third_party/libwebsockets/lib/misc/ |
| H A D | lejp.c | 82 ctx->path[0] = '\0'; in lejp_construct() 160 p = ctx->path; in lejp_check_path_match() 172 ctx->wild[ctx->wildcount++] = (uint16_t)lws_ptr_diff_size_t(p, ctx->path); in lejp_check_path_match() 208 (n == ctx->wild[wildcard] || ctx->path[n] != '.')) in lejp_get_wildcard() 209 *dest++ = ctx->path[n++]; in lejp_get_wildcard() 274 ctx->path[ctx->pst[ctx->pst_sp].ppos++] = '['; in lejp_parse() 275 ctx->path[ctx->pst[ctx->pst_sp].ppos++] = ']'; in lejp_parse() 276 ctx->path[ctx->pst[ctx->pst_sp].ppos] = '\0'; in lejp_parse() 429 ctx->path[ctx->pst[ctx->pst_sp].ppos] = '\0'; in lejp_parse() 472 sizeof(ctx->path)) in lejp_parse() [all...] |
| /third_party/skia/infra/bots/recipes/compute_buildstats.expected/ |
| H A D | trybot.json | 10 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 34 "/path/to/tmp/json", 49 "/path/to/tmp/json", 65 "/path/to/tmp/json", 77 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 105 "--spec-path", 116 "/path/to/tmp/json", 134 "PATH" [all...] |
| /third_party/skia/bench/ |
| H A D | nanobench.cpp | 615 SkString path; in collect_files() local 616 while (it.next(&path)) { in collect_files() 617 list->push_back(SkOSPath::Join(paths[i], path.c_str())); in collect_files() 664 static sk_sp<SkPicture> ReadPicture(const char* path) { in ReadPicture() argument 667 if (CommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadPicture() 671 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path); in ReadPicture() 673 SkDebugf("Could not read %s.\n", path); in ReadPicture() 680 static std::unique_ptr<MSKPPlayer> ReadMSKP(const char* path) { in ReadMSKP() argument 683 if (CommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { in ReadMSKP() 687 std::unique_ptr<SkStreamSeekable> stream = SkStream::MakeFromFile(path); in ReadMSKP() 696 ReadSVGPicture(const char* path) ReadSVGPicture() argument 761 SkString path = fTextBlobTraces[fCurrentTextBlobTrace++]; rawNext() local 776 const SkString& path = fSKPs[fCurrentRecording++]; rawNext() variable 791 const SkString& path = fSKPs[fCurrentDeserialPicture++]; rawNext() variable 807 const SkString& path = fSKPs[fCurrentSKP++]; rawNext() variable 830 const char* path = fSVGs[fCurrentSVG++].c_str(); rawNext() variable 847 const SkString& path = fSKPs[fCurrentAnimSKP]; rawNext() variable 865 const SkString& path = fMSKPs[fCurrentMSKP++]; rawNext() variable 879 const SkString& path = fImages[fCurrentCodec]; rawNext() variable 958 const SkString& path = fImages[fCurrentAndroidCodec]; rawNext() variable 1004 const SkString& path = fImages[fCurrentBRDImage]; rawNext() variable [all...] |
| /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()
|
| /build/scripts/ |
| H A D | get_all_files.py | 20 sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) 35 dir_list.append(os.path.join(args.base_dir, sub_dir)) 39 if not os.path.exists(_dir): 43 file_list.append(os.path.realpath(os.path.join(root, _file)))
|
| /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()
|
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_RouteManagement/ace_ets_module_RouteManagement_api12/entry/src/main/ets/MainAbility/pages/router/ |
| H A D | router_getStateByIndex16b.ets | 36 let path = 'path=' + options.path
38 this.str1 = index + ';' + name + ';' + path + ';' + params + ';'
52 let path = 'path=' + options.path
54 this.str2 = index + ';' + name + ';' + path + ';' + params + ';'
|
| /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"))
|