/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/ |
H A D | image_packer_native.cpp | 122 static Image_ErrorCode CopyPackingOptions(const OH_PackingOptions *options, PackOption &packOption) in CopyPackingOptions() argument 124 if (options == nullptr) { in CopyPackingOptions() 128 std::string format(options->mimeType.data, options->mimeType.size); in CopyPackingOptions() 133 packOption.quality = options->quality; in CopyPackingOptions() 134 packOption.needsPackProperties = options->needsPackProperties; in CopyPackingOptions() 135 packOption.desiredDynamicRange = ParseDynamicRange(options->desiredDynamicRange); in CopyPackingOptions() 140 Image_ErrorCode OH_PackingOptions_Create(OH_PackingOptions **options) in OH_PackingOptions_Create() argument 142 *options = new OH_PackingOptions(); in OH_PackingOptions_Create() 143 if (*options in OH_PackingOptions_Create() 150 OH_PackingOptions_GetMimeType(OH_PackingOptions *options, Image_MimeType *format) OH_PackingOptions_GetMimeType() argument 177 OH_PackingOptions_SetMimeType(OH_PackingOptions *options, Image_MimeType *format) OH_PackingOptions_SetMimeType() argument 202 OH_PackingOptions_GetQuality(OH_PackingOptions *options, uint32_t *quality) OH_PackingOptions_GetQuality() argument 212 OH_PackingOptions_SetQuality(OH_PackingOptions *options, uint32_t quality) OH_PackingOptions_SetQuality() argument 222 OH_PackingOptions_GetNeedsPackProperties(OH_PackingOptions *options, bool *needsPackProperties) OH_PackingOptions_GetNeedsPackProperties() argument 232 OH_PackingOptions_SetNeedsPackProperties(OH_PackingOptions *options, bool needsPackProperties) OH_PackingOptions_SetNeedsPackProperties() argument 242 OH_PackingOptions_GetDesiredDynamicRange(OH_PackingOptions *options, int32_t* desiredDynamicRange) OH_PackingOptions_GetDesiredDynamicRange() argument 252 OH_PackingOptions_SetDesiredDynamicRange(OH_PackingOptions *options, int32_t desiredDynamicRange) OH_PackingOptions_SetDesiredDynamicRange() argument 262 OH_PackingOptions_SetLoop(OH_PackingOptions *options, uint16_t loop) OH_PackingOptions_SetLoop() argument 272 OH_PackingOptions_GetLoop(OH_PackingOptions *options, uint16_t* loop) OH_PackingOptions_GetLoop() argument 282 OH_PackingOptions_SetDelayTimes(OH_PackingOptions *options, uint16_t* delayTimes, uint32_t delayTimesSize) OH_PackingOptions_SetDelayTimes() argument 294 OH_PackingOptions_GetDelayTimes(OH_PackingOptions *options, uint16_t* delayTimes, uint32_t* delayTimesSize) OH_PackingOptions_GetDelayTimes() argument 306 OH_PackingOptions_SetDisposalTypes(OH_PackingOptions *options, uint16_t* disposalTypes, uint32_t disposalTypesSize) OH_PackingOptions_SetDisposalTypes() argument 318 OH_PackingOptions_GetDisposalTypes(OH_PackingOptions *options, uint16_t* disposalTypes, uint32_t* disposalTypesSize) OH_PackingOptions_GetDisposalTypes() argument 330 OH_PackingOptions_Release(OH_PackingOptions *options) OH_PackingOptions_Release() argument 344 OH_PackingOptionsForSequence_Create(OH_PackingOptionsForSequence **options) OH_PackingOptionsForSequence_Create() argument 354 OH_PackingOptionsForSequence_SetFrameCount(OH_PackingOptionsForSequence *options, uint32_t frameCount) OH_PackingOptionsForSequence_SetFrameCount() argument 365 OH_PackingOptionsForSequence_GetFrameCount(OH_PackingOptionsForSequence *options, uint32_t *frameCount) OH_PackingOptionsForSequence_GetFrameCount() argument 376 OH_PackingOptionsForSequence_SetDelayTimeList(OH_PackingOptionsForSequence *options, int32_t *delayTimeList, size_t delayTimeListLength) OH_PackingOptionsForSequence_SetDelayTimeList() argument 394 OH_PackingOptionsForSequence_GetDelayTimeList(OH_PackingOptionsForSequence *options, int32_t *delayTimeList, size_t delayTimeListLength) OH_PackingOptionsForSequence_GetDelayTimeList() argument 405 OH_PackingOptionsForSequence_SetDisposalTypes(OH_PackingOptionsForSequence *options, uint32_t *disposalTypes, size_t disposalTypesLength) OH_PackingOptionsForSequence_SetDisposalTypes() argument 417 OH_PackingOptionsForSequence_GetDisposalTypes(OH_PackingOptionsForSequence *options, uint32_t *disposalTypes, size_t disposalTypesLength) OH_PackingOptionsForSequence_GetDisposalTypes() argument 428 OH_PackingOptionsForSequence_SetLoopCount(OH_PackingOptionsForSequence *options, uint32_t loopCount) OH_PackingOptionsForSequence_SetLoopCount() argument 438 OH_PackingOptionsForSequence_GetLoopCount(OH_PackingOptionsForSequence *options, uint32_t *loopCount) OH_PackingOptionsForSequence_GetLoopCount() argument 448 OH_PackingOptionsForSequence_Release(OH_PackingOptionsForSequence *options) OH_PackingOptionsForSequence_Release() argument 472 OH_ImagePackerNative_PackToDataFromImageSource(OH_ImagePackerNative *imagePacker, OH_PackingOptions *options, OH_ImageSourceNative *imageSource, uint8_t *outData, size_t *size) OH_ImagePackerNative_PackToDataFromImageSource() argument 489 OH_ImagePackerNative_PackToDataFromPixelmap(OH_ImagePackerNative *imagePacker, OH_PackingOptions *options, OH_PixelmapNative *pixelmap, uint8_t *outData, size_t *size) OH_ImagePackerNative_PackToDataFromPixelmap() argument 506 OH_ImagePackerNative_PackToDataFromPicture(OH_ImagePackerNative *imagePacker, OH_PackingOptions *options, OH_PictureNative *picture, uint8_t *outData, size_t *size) OH_ImagePackerNative_PackToDataFromPicture() argument 523 OH_ImagePackerNative_PackToFileFromImageSource(OH_ImagePackerNative *imagePacker, OH_PackingOptions *options, OH_ImageSourceNative *imageSource, int32_t fd) OH_ImagePackerNative_PackToFileFromImageSource() argument 539 OH_ImagePackerNative_PackToFileFromPixelmap(OH_ImagePackerNative *imagePacker, OH_PackingOptions *options, OH_PixelmapNative *pixelmap, int32_t fd) OH_ImagePackerNative_PackToFileFromPixelmap() argument 555 OH_ImagePackerNative_PackToFileFromPicture(OH_ImagePackerNative *imagePacker, OH_PackingOptions *options, OH_PictureNative *picture, int32_t fd) OH_ImagePackerNative_PackToFileFromPicture() argument 571 OH_ImagePackerNative_PackToDataFromPixelmapSequence(OH_ImagePackerNative *imagePacker, OH_PackingOptionsForSequence *options, OH_PixelmapNative **pixelmapSequence, size_t sequenceLength, uint8_t *outData, size_t *outDataSize) OH_ImagePackerNative_PackToDataFromPixelmapSequence() argument 602 OH_ImagePackerNative_PackToFileFromPixelmapSequence(OH_ImagePackerNative *imagePacker, OH_PackingOptionsForSequence *options, OH_PixelmapNative **pixelmapSequence, size_t sequenceLength, int32_t fd) OH_ImagePackerNative_PackToFileFromPixelmapSequence() argument [all...] |
H A D | image_source_native.cpp | 91 Image_ErrorCode OH_DecodingOptions_Create(OH_DecodingOptions **options) in OH_DecodingOptions_Create() argument 93 *options = new OH_DecodingOptions(); in OH_DecodingOptions_Create() 94 if (*options == nullptr) { in OH_DecodingOptions_Create() 101 Image_ErrorCode OH_DecodingOptions_GetPixelFormat(OH_DecodingOptions *options, in OH_DecodingOptions_GetPixelFormat() argument 104 if (options == nullptr || pixelFormat == nullptr) { in OH_DecodingOptions_GetPixelFormat() 107 *pixelFormat = options->pixelFormat; in OH_DecodingOptions_GetPixelFormat() 112 Image_ErrorCode OH_DecodingOptions_SetPixelFormat(OH_DecodingOptions *options, in OH_DecodingOptions_SetPixelFormat() argument 115 if (options == nullptr) { in OH_DecodingOptions_SetPixelFormat() 118 options->pixelFormat = pixelFormat; in OH_DecodingOptions_SetPixelFormat() 123 Image_ErrorCode OH_DecodingOptions_GetIndex(OH_DecodingOptions *options, uint32_ argument 133 OH_DecodingOptions_SetIndex(OH_DecodingOptions *options, uint32_t index) OH_DecodingOptions_SetIndex() argument 143 OH_DecodingOptions_GetRotate(OH_DecodingOptions *options, float *rotate) OH_DecodingOptions_GetRotate() argument 153 OH_DecodingOptions_SetRotate(OH_DecodingOptions *options, float rotate) OH_DecodingOptions_SetRotate() argument 163 OH_DecodingOptions_GetDesiredSize(OH_DecodingOptions *options, Image_Size *desiredSize) OH_DecodingOptions_GetDesiredSize() argument 175 OH_DecodingOptions_SetDesiredSize(OH_DecodingOptions *options, Image_Size *desiredSize) OH_DecodingOptions_SetDesiredSize() argument 187 OH_DecodingOptions_GetDesiredRegion(OH_DecodingOptions *options, Image_Region *desiredRegion) OH_DecodingOptions_GetDesiredRegion() argument 201 OH_DecodingOptions_SetDesiredRegion(OH_DecodingOptions *options, Image_Region *desiredRegion) OH_DecodingOptions_SetDesiredRegion() argument 215 OH_DecodingOptions_GetDesiredDynamicRange(OH_DecodingOptions *options, int32_t *desiredDynamicRange) OH_DecodingOptions_GetDesiredDynamicRange() argument 226 OH_DecodingOptions_SetDesiredDynamicRange(OH_DecodingOptions *options, int32_t desiredDynamicRange) OH_DecodingOptions_SetDesiredDynamicRange() argument 237 OH_DecodingOptions_Release(OH_DecodingOptions *options) OH_DecodingOptions_Release() argument 349 SourceOptions options; OH_ImageSourceNative_CreateFromUri() local 371 SourceOptions options; OH_ImageSourceNative_CreateFromFd() local 391 SourceOptions options; OH_ImageSourceNative_CreateFromData() local 412 SourceOptions options; OH_ImageSourceNative_CreateFromRawFile() local 481 OH_ImageSourceNative_CreatePicture(OH_ImageSourceNative *source, OH_DecodingOptionsForPicture *options, OH_PictureNative **picture) OH_ImageSourceNative_CreatePicture() argument 641 OH_DecodingOptionsForPicture_Create(OH_DecodingOptionsForPicture **options) OH_DecodingOptionsForPicture_Create() argument 652 OH_DecodingOptionsForPicture_GetDesiredAuxiliaryPictures(OH_DecodingOptionsForPicture *options, Image_AuxiliaryPictureType **desiredAuxiliaryPictures, size_t *length) OH_DecodingOptionsForPicture_GetDesiredAuxiliaryPictures() argument 675 OH_DecodingOptionsForPicture_SetDesiredAuxiliaryPictures(OH_DecodingOptionsForPicture *options, Image_AuxiliaryPictureType *desiredAuxiliaryPictures, size_t length) OH_DecodingOptionsForPicture_SetDesiredAuxiliaryPictures() argument 696 OH_DecodingOptionsForPicture_Release(OH_DecodingOptionsForPicture *options) OH_DecodingOptionsForPicture_Release() argument [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_dfx.cpp | 48 void ImageEvent::SetDecodeInfoOptions(const DecodeInfoOptions &options) in SetDecodeInfoOptions() argument 50 options_ = options; in SetDecodeInfoOptions() 77 DecodeInfoOptions options = options_; in ReportDecodeFault() local 78 ffrt::submit([options, temp] { in ReportDecodeFault() 86 "ROTATE", options.rotate, in ReportDecodeFault() 87 "EDITABLE", options.editable, in ReportDecodeFault() 88 "SAMPLE_SIZE", options.sampleSize, in ReportDecodeFault() 89 "SOURCE_WIDTH", options.sourceWidth, in ReportDecodeFault() 90 "SOURCE_HEIGHT", options.sourceHeight, in ReportDecodeFault() 91 "DESIRE_SIZE_WIDTH", options in ReportDecodeFault() 131 DecodeInfoOptions options = options_; ReportDecodeInfo() local [all...] |
/foundation/ability/idl_tool/ |
H A D | main.cpp | 23 #include "util/options.h" 29 static int DoOptionsCheck(Options& options) in DoOptionsCheck() argument 31 if (options.DoShowUsage()) { in DoOptionsCheck() 32 options.ShowUsage(); in DoOptionsCheck() 36 if (options.DoShowVersion()) { in DoOptionsCheck() 37 options.ShowVersion(); in DoOptionsCheck() 41 if (options.HasErrors()) { in DoOptionsCheck() 42 options.ShowErrors(); in DoOptionsCheck() 46 if (options.GetTargetLanguage().Equals("rust") || in DoOptionsCheck() 47 options in DoOptionsCheck() 55 DoCompile(Options& options, std::shared_ptr<MetaComponent>& metadata) DoCompile() argument 96 DoGenerage(const Options& options, std::shared_ptr<MetaComponent>& metadata) DoGenerage() argument [all...] |
/foundation/multimedia/image_framework/interfaces/kits/native/include/image/ |
H A D | image_packer_native.h | 54 * @brief Defines the image packing options. 62 * @brief Defines the image sequence packing options. 69 * @brief Defines the image sequence packing options. 94 * @param options The PackingOptions pointer will be operated. 98 Image_ErrorCode OH_PackingOptions_Create(OH_PackingOptions **options); 103 * @param options The DecodingOptions pointer will be operated. 109 Image_ErrorCode OH_PackingOptions_GetMimeType(OH_PackingOptions *options, 115 * @param options The DecodingOptions pointer will be operated. 120 Image_ErrorCode OH_PackingOptions_SetMimeType(OH_PackingOptions *options, 126 * @param options Th [all...] |
H A D | image_source_native.h | 65 * @brief Defines decoding options for picture 73 * @brief Defines decoding options for picture 149 * @brief Defines the options for decoding the image source. 160 * @param options The DecodingOptions pointer will be operated. 164 Image_ErrorCode OH_DecodingOptions_Create(OH_DecodingOptions **options); 169 * @param options The DecodingOptions pointer will be operated. 174 Image_ErrorCode OH_DecodingOptions_GetPixelFormat(OH_DecodingOptions *options, 180 * @param options The DecodingOptions pointer will be operated. 185 Image_ErrorCode OH_DecodingOptions_SetPixelFormat(OH_DecodingOptions *options, 191 * @param options Th [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | component_factory.h | 72 static Component* CreateComponent(uint16_t componentNameId, jerry_value_t options, jerry_value_t children) in CreateComponent() argument 88 component = new CameraComponent(options, children, styleManager); in CreateComponent() 93 component = new CanvasComponent(options, children, styleManager); in CreateComponent() 97 component = new DivComponent(options, children, styleManager); in CreateComponent() 100 component = new StackComponent(options, children, styleManager); in CreateComponent() 103 component = new ImageComponent(options, children, styleManager); in CreateComponent() 106 component = new ImageAnimatorComponent(options, children, styleManager); in CreateComponent() 109 uint16_t id = ComponentUtils::GetComponentType(options); in CreateComponent() 111 component = new CircleProgressComponent(options, children, styleManager); in CreateComponent() 114 component = new HorizonProgressComponent(options, childre in CreateComponent() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_input_menu_test.cpp | 47 SelectionOptions options; in HWTEST_F() local 48 options.menuPolicy = MenuPolicy::DEFAULT; in HWTEST_F() 49 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F() 59 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F() 85 SelectionOptions options; in HWTEST_F() local 86 options.menuPolicy = MenuPolicy::HIDE; in HWTEST_F() 87 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F() 97 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F() 126 SelectionOptions options; in HWTEST_F() local 127 options in HWTEST_F() 164 SelectionOptions options; HWTEST_F() local 202 SelectionOptions options; HWTEST_F() local 240 SelectionOptions options; HWTEST_F() local 279 SelectionOptions options; HWTEST_F() local 318 SelectionOptions options; HWTEST_F() local 360 SelectionOptions options; HWTEST_F() local 399 SelectionOptions options; HWTEST_F() local 438 SelectionOptions options; HWTEST_F() local 477 SelectionOptions options; HWTEST_F() local 515 SelectionOptions options; HWTEST_F() local 543 SelectionOptions options; HWTEST_F() local 574 SelectionOptions options; HWTEST_F() local 611 SelectionOptions options; HWTEST_F() local 648 SelectionOptions options; HWTEST_F() local 685 SelectionOptions options; HWTEST_F() local 719 SelectionOptions options; HWTEST_F() local 753 SelectionOptions options; HWTEST_F() local 787 SelectionOptions options; HWTEST_F() local [all...] |
H A D | text_area_menu_test.cpp | 229 SelectionOptions options; in HWTEST_F() local 230 pattern_->SetSelectionFlag(0, DEFAULT_TEXT.length(), options); in HWTEST_F() 259 SelectionOptions options; in HWTEST_F() local 260 options.menuPolicy = MenuPolicy::DEFAULT; in HWTEST_F() 261 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F() 272 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F() 298 SelectionOptions options; in HWTEST_F() local 299 options.menuPolicy = MenuPolicy::HIDE; in HWTEST_F() 300 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F() 311 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F() 340 SelectionOptions options; HWTEST_F() local 387 SelectionOptions options; HWTEST_F() local 469 SelectionOptions options; HWTEST_F() local 507 SelectionOptions options; HWTEST_F() local 554 SelectionOptions options; HWTEST_F() local 604 SelectionOptions options; HWTEST_F() local 643 SelectionOptions options; HWTEST_F() local 678 SelectionOptions options; HWTEST_F() local 704 SelectionOptions options; HWTEST_F() local 739 SelectionOptions options; HWTEST_F() local 768 SelectionOptions options; HWTEST_F() local 803 SelectionOptions options; HWTEST_F() local 835 SelectionOptions options; HWTEST_F() local 878 SelectionOptions options; HWTEST_F() local 912 SelectionOptions options; HWTEST_F() local 955 SelectionOptions options; HWTEST_F() local 992 SelectionOptions options; HWTEST_F() local 1035 SelectionOptions options; HWTEST_F() local [all...] |
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_option_test.cpp | 39 if (InitOptionList(&options)) { in SetUp() 45 FreeOptionList(&options); in TearDown() 48 DhcpOptionList options = {0}; member in OHOS::DHCP::DhcpOptionTest 57 EXPECT_EQ(RET_SUCCESS, InitOptionList(&options)); in HWTEST_F() 74 EXPECT_EQ(RET_SUCCESS, PushBackOption(&options, &optRouter)); in HWTEST_F() 78 EXPECT_EQ(RET_ERROR, PushBackOption(&options, NULL)); in HWTEST_F() 79 EXPECT_EQ(RET_SUCCESS, PushBackOption(&options, &optMsgType)); in HWTEST_F() 80 EXPECT_TRUE(options.size == 2); in HWTEST_F() 81 ClearOptions(&options); in HWTEST_F() 82 EXPECT_TRUE(options in HWTEST_F() [all...] |
/foundation/ability/idl_tool/idl_tool_2/ |
H A D | main.cpp | 21 #include "util/options.h" 48 const Options &options = Options::GetInstance(); in DumpAst() local 49 if (!options.DoDumpAST()) { in DumpAst() 54 if ((options.GetInterfaceType() == InterfaceType::SA) && in DumpAst() 66 Options &options = Options::GetInstance(); in DumpMetaData() local 67 if ((options.GetInterfaceType() != InterfaceType::SA)) { in DumpMetaData() 85 if (options.DoDumpMetadata()) { in DumpMetaData() 90 if (options.DoSaveMetadata()) { in DumpMetaData() 91 File metadataFile(options.GetMetadataFile(), File::WRITE); in DumpMetaData() 111 const Options &options in ReadMetaData() local 129 Options &options = Options::GetInstance(); main() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_transitioneffect.h | 77 static RefPtr<NG::ChainedTransitionEffect> Translate(CTranslateOptions options) in Translate() argument 81 translate.x = CalcDimension(options.x, DimensionUnit(options.xType)); in Translate() 82 translate.y = CalcDimension(options.y, DimensionUnit(options.yType)); in Translate() 83 translate.z = CalcDimension(options.z, DimensionUnit(options.zType)); in Translate() 87 static RefPtr<NG::ChainedTransitionEffect> Scale(CScaleOptions options) in Scale() argument 90 NG::ScaleOptions scale(options.x, options in Scale() 96 Rotate(CRotateOptions options) Rotate() argument [all...] |
H A D | cj_customdialog_controller_ffi.cpp | 34 void ParseCjCustomDialogControllerOffset(DimensionOffset& offset, NativeCustomDialogControllerOptions options) in ParseCjCustomDialogControllerOffset() argument 36 CalcDimension dx(options.offset.dx.value, static_cast<DimensionUnit>(options.offset.dx.unitType)); in ParseCjCustomDialogControllerOffset() 37 CalcDimension dy(options.offset.dy.value, static_cast<DimensionUnit>(options.offset.dy.unitType)); in ParseCjCustomDialogControllerOffset() 44 void ParseCjCustomDialogControllerMaskRect(DimensionRect& rect, NativeCustomDialogControllerOptions options) in ParseCjCustomDialogControllerMaskRect() argument 46 Dimension rectX(options.maskRect.x, static_cast<DimensionUnit>(options.maskRect.xUnit)); in ParseCjCustomDialogControllerMaskRect() 47 Dimension rectY(options.maskRect.y, static_cast<DimensionUnit>(options in ParseCjCustomDialogControllerMaskRect() 56 ParseCjCustomDialogControllerBorderRadius( NG::BorderRadiusProperty& radius, NativeCustomDialogControllerOptions options) ParseCjCustomDialogControllerBorderRadius() argument 67 NativeCustomDialogController(NativeCustomDialogControllerOptions options) NativeCustomDialogController() argument 190 FfiOHOSAceFrameworkCustomDialogControllerCtor(NativeCustomDialogControllerOptions options) FfiOHOSAceFrameworkCustomDialogControllerCtor() argument [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 132 constructor(options) { 133 this.icon = options.icon; 134 this.selectedIcon = options.selectedIcon; 135 this.text = options.text; 136 this.iconAccessibilityText = options.iconAccessibilityText; 137 this.selectedIconAccessibilityText = options.selectedIconAccessibilityText; 138 this.accessibilityLevel = options.accessibilityLevel; 139 this.accessibilityDescription = options.accessibilityDescription; 240 constructor(options) { 245 this.fontColor = options [all...] |
/foundation/ability/idl_tool/test/unittest/cacheable_test/ |
H A D | cacheable_test.cpp | 19 #include "util/options.h" 68 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 70 Parser p(options); in HWTEST_F() 71 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F() 92 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 94 Parser p(options); in HWTEST_F() 95 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F() 116 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 118 Parser p(options); in HWTEST_F() 119 auto ret = p.Parse(options in HWTEST_F() [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/engine/ |
H A D | util.h | 23 const IEngineValueManager::Ptr& m, const IEngineValue::Ptr& value, EngineValueOptions options = {}) in AddEngineValuesRecursively() 27 value, EngineValueOptions { options.namePrefix, &vec, options.pushValuesDirectlyToEngine })) { 28 if (options.values) { 29 options.values->insert(options.values->end(), vec.begin(), vec.end()); 32 AddEngineValuesRecursively(m, v, options); 38 const IEngineValueManager::Ptr& m, CORE_NS::IPropertyHandle* handle, EngineValueOptions options = {}) in AddEngineValuesRecursively() 42 handle, EngineValueOptions { options.namePrefix, &vec, options [all...] |
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime_lite.cpp | 81 auto options = JsRuntimeLite::GetInstance().GetChildOptions(); in CreateNapiEnv() local 82 if (options == nullptr) { in CreateNapiEnv() 83 TAG_LOGE(AAFwkTag::JSRUNTIME, "null options"); in CreateNapiEnv() 87 auto errCode = JsRuntimeLite::GetInstance().CreateJsEnv(*options, jsEnv); in CreateNapiEnv() 97 return JsRuntimeLite::GetInstance().Init(*options, *env); in CreateNapiEnv() 114 void JsRuntimeLite::InitJsRuntimeLite(const Options& options) in InitJsRuntimeLite() argument 116 if (options.isUnique) { in InitJsRuntimeLite() 119 GetInstance().SetChildOptions(options); in InitJsRuntimeLite() 124 napi_status JsRuntimeLite::CreateJsEnv(const Options& options, std::shared_ptr<JsEnv::JsEnvironment>& jsEnv) in CreateJsEnv() argument 149 pandaOption.SetEnableJIT(options in CreateJsEnv() 170 Init(const Options& options, napi_env env) Init() argument 287 LoadAotFile(const Options& options, const std::shared_ptr<JsEnv::JsEnvironment>& jsEnv) LoadAotFile() argument 373 InitWorkerModule(const Options& options, const std::shared_ptr<JsEnv::JsEnvironment>& jsEnv) InitWorkerModule() argument 395 SetChildOptions(const Options& options) SetChildOptions() argument [all...] |
/foundation/resourceschedule/background_task_mgr/test/systemtest/ |
H A D | bgtask_dump_test.cpp | 74 std::vector<std::string> options; in HWTEST_F() local 75 options.push_back("-T"); in HWTEST_F() 76 options.push_back("All"); in HWTEST_F() 77 auto ret = DelayedSingleton<BgTransientTaskMgr>::GetInstance()->ShellDump(options, infos); in HWTEST_F() 90 std::vector<std::string> options; in HWTEST_F() local 91 options.push_back("-C"); in HWTEST_F() 92 options.push_back("--all"); in HWTEST_F() 93 auto ret = BgContinuousTaskMgr::GetInstance()->ShellDumpInner(options, infos); in HWTEST_F() 106 std::vector<std::string> options; in HWTEST_F() local 107 options in HWTEST_F() 123 std::vector<std::string> options; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | ability_context.cpp | 53 void AbilityContext::SetOptions(const Options &options) in SetOptions() argument 55 options_ = options; in SetOptions() 57 TAG_LOGD(AAFwkTag::ABILITY_SIM, "bundleName:%{public}s", options.bundleName.c_str()); in SetOptions() 58 TAG_LOGD(AAFwkTag::ABILITY_SIM, "moduleName:%{public}s", options.moduleName.c_str()); in SetOptions() 59 TAG_LOGD(AAFwkTag::ABILITY_SIM, "modulePath:%{public}s", options.modulePath.c_str()); in SetOptions() 60 TAG_LOGD(AAFwkTag::ABILITY_SIM, "resourcePath:%{public}s", options.resourcePath.c_str()); in SetOptions() 61 TAG_LOGD(AAFwkTag::ABILITY_SIM, "debugPort:%{public}d", options.debugPort); in SetOptions() 62 TAG_LOGD(AAFwkTag::ABILITY_SIM, "assetPath:%{public}s", options.assetPath.c_str()); in SetOptions() 63 TAG_LOGD(AAFwkTag::ABILITY_SIM, "systemResourcePath:%{public}s", options.systemResourcePath.c_str()); in SetOptions() 64 TAG_LOGD(AAFwkTag::ABILITY_SIM, "appResourcePath:%{public}s", options in SetOptions() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/ |
H A D | store_factory_test.cpp | 35 static Options options = { member 61 bool MoveToRekeyPath(Options options, StoreId storeId); 63 DBOption GetOption(const Options &options, const DBPassword &dbPassword); 65 const Options &options, DBPassword &dbPassword, int time); 92 StoreManager::GetInstance().Delete(appId, storeId, options.baseDir); in DeleteKVStore() 137 bool StoreFactoryTest::MoveToRekeyPath(Options options, StoreId storeId) in MoveToRekeyPath() argument 139 std::string keyFileName = options.baseDir + "/key/" + storeId.storeId + ".key"; in MoveToRekeyPath() 140 std::string rekeyFileName = options.baseDir + "/rekey/key/" + storeId.storeId + ".new.key"; in MoveToRekeyPath() 159 StoreFactoryTest::DBOption StoreFactoryTest::GetOption(const Options &options, const DBPassword &dbPassword) in GetOption() argument 163 dbOption.createIfNecessary = options in GetOption() 182 ChangeKVStoreDate(const std::string &storeId, std::shared_ptr<DBManager> dbManager, const Options &options, DBPassword &dbPassword, int time) ChangeKVStoreDate() argument [all...] |
/foundation/ability/ability_runtime/frameworks/simulator/test/src/ |
H A D | main.cpp | 21 #include "options.h" 50 OHOS::AbilityRuntime::Options options; in main() local 51 options.modulePath = argv[PARAM_ONE]; in main() 52 options.resourcePath = argv[PARAM_TWO]; in main() 53 options.debugPort = atoi(argv[PARAM_THREE]); in main() 54 options.assetPath = argv[PARAM_FOUR]; in main() 55 options.systemResourcePath = argv[PARAM_FIVE]; in main() 56 options.appResourcePath = argv[PARAM_SIX]; in main() 57 options.containerSdkPath = argv[PARAM_SEVEN]; in main() 58 options in main() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_receiver_native_test.cpp | 40 OH_ImageReceiverOptions* options = nullptr; in CreateReceiver() local 42 nRst = OH_ImageReceiverOptions_Create(&options); in CreateReceiver() 43 if (nRst != IMAGE_SUCCESS || options == nullptr) { in CreateReceiver() 46 std::shared_ptr<OH_ImageReceiverOptions> ptrOptions(options, OH_ImageReceiverOptions_Release); in CreateReceiver() 51 nRst = OH_ImageReceiverOptions_SetSize(options, size); in CreateReceiver() 56 nRst = OH_ImageReceiverOptions_SetCapacity(options, IMAGE_TEST_CAPACITY); in CreateReceiver() 62 nRst = OH_ImageReceiverNative_Create(options, &pReceiver); in CreateReceiver() 77 OH_ImageReceiverOptions* options = nullptr; in HWTEST_F() local 79 nRst = OH_ImageReceiverOptions_Create(&options); in HWTEST_F() 81 ASSERT_NE(options, nullpt in HWTEST_F() 94 OH_ImageReceiverOptions* options = nullptr; HWTEST_F() local 112 OH_ImageReceiverOptions* options = nullptr; HWTEST_F() local 135 OH_ImageReceiverOptions* options = nullptr; HWTEST_F() local 164 OH_ImageReceiverOptions* options = nullptr; HWTEST_F() local 184 OH_ImageReceiverOptions* options = nullptr; HWTEST_F() local 364 OH_ImageReceiverOptions** options = nullptr; HWTEST_F() local 389 OH_ImageReceiverOptions* options = nullptr; HWTEST_F() local [all...] |
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_delegate.cpp | 33 void NnrtDelegate::NnrtDelegateConstructorImpl(const Options& options) in NnrtDelegateConstructorImpl() argument 35 m_delegateData.acceleratorName = options.acceleratorName; in NnrtDelegateConstructorImpl() 36 m_delegateData.cacheDir = options.cacheDir; in NnrtDelegateConstructorImpl() 37 m_delegateData.modelToken = options.modelToken; in NnrtDelegateConstructorImpl() 38 m_delegateData.enableFp16 = options.enableFp16; in NnrtDelegateConstructorImpl() 39 m_delegateData.executionPriority = options.executionPriority; in NnrtDelegateConstructorImpl() 40 m_delegateData.executionPerformance = options.executionPerformance; in NnrtDelegateConstructorImpl() 41 m_delegateData.allowDynamicDimensions = options.allowDynamicDimensions; in NnrtDelegateConstructorImpl() 42 m_delegateData.maxNumberDelegatedPartitions = options.maxNumberDelegatedPartitions; in NnrtDelegateConstructorImpl() 43 m_delegateData.maxCompilationTimeoutDurationNs = options in NnrtDelegateConstructorImpl() 60 NnrtDelegate(const Options& options) NnrtDelegate() argument 62 NnrtDelegate(const NnrtApi* nnrt, const Options& options) NnrtDelegate() argument 70 GetOptions(const TfLiteDelegate* pDelegate, Options& options) GetOptions() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_navigation_utils.cpp | 24 // navigation title bar options 61 void ParseBackgroundOptions(const JSRef<JSVal>& obj, NG::NavigationBackgroundOptions& options) in ParseBackgroundOptions() argument 63 options.color.reset(); in ParseBackgroundOptions() 64 options.blurStyle.reset(); in ParseBackgroundOptions() 72 options.color = color; in ParseBackgroundOptions() 79 options.blurStyle = static_cast<BlurStyle>(blurStyle); in ParseBackgroundOptions() 84 void ParseBarOptions(const JSRef<JSVal>& obj, NG::NavigationBarOptions& options) in ParseBarOptions() argument 86 options.paddingStart.reset(); in ParseBarOptions() 87 options.paddingEnd.reset(); in ParseBarOptions() 88 options in ParseBarOptions() 113 ParseTextOptions(const JSCallbackInfo& info, const JSRef<JSVal>& obj, NG::NavigationTextOptions& options) ParseTextOptions() argument 176 ParseTitleBarOptions( const JSCallbackInfo& info, bool needSetDefaultValue, NG::NavigationTitlebarOptions& options) ParseTitleBarOptions() argument 208 ParseToolbarOptions(const JSCallbackInfo& info, NG::NavigationToolbarOptions& options) ParseToolbarOptions() argument [all...] |
/foundation/ability/idl_tool/test/unittest/util_options_test/ |
H A D | options_test.cpp | 19 #include "util/options.h" 62 * @tc.steps: step2. Set options to call functions. in HWTEST_F() 65 Options options(count, argv); in HWTEST_F() 66 auto doHitrace = options.DoHitraceState(); in HWTEST_F() 67 auto logOn = options.DoLogOn(); in HWTEST_F() 68 auto hitRaceTag = options.GetGenerateHitraceTag(); in HWTEST_F() 69 auto doMainId = options.GetDomainId(); in HWTEST_F() 70 auto logTag = options.GetLogTag(); in HWTEST_F() 71 auto attRibute = options.GetAttribute(); in HWTEST_F() 72 options in HWTEST_F() [all...] |