Home
last modified time | relevance | path

Searched refs:option_ (Results 1 – 25 of 46) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_storage_engine.cpp570 if (!option_.isMemDb) { in TryToOpenMainDatabase()
571option_.uri = GetDbDir(option_.subdir, DbType::MAIN) + "/" + DBConstant::SINGLE_VER_DATA_STORE + in TryToOpenMainDatabase()
666option_.uri = GetDbDir(option_.subdir, DbType::CACHE) + "/" + DBConstant::SINGLE_VER_CACHE_STORE + in GetCacheDbHandle()
669 option_.sqls = { in GetCacheDbHandle()
674 if (!option_.createIfNecessary) { in GetCacheDbHandle()
728 if (option_.isMemDb) { in PreCreateExecutor()
760 errCode = SQLiteSingleVerDatabaseUpgrader::TransferDatabasePath(option_.subdir, option_); in PreCreateExecutor()
776 int errCode = SQLiteSingleVerDatabaseUpgrader::SetSecOption(option_.subdir, option_.securityOpt, in EndCreateExecutor()
885 if (option_.schema.empty()) { in Upgrade()
895 option_.securityOpt, option_.isMemDb); in Upgrade()
[all …]
H A Dsqlite_storage_engine.cpp40 option_ = option; in InitSQLiteStorageEngine()
75 int errCode = SQLiteUtils::OpenDatabase(option_, dbHandle); in CreateNewExecutor()
79 bool isMemDb = option_.isMemDb; in CreateNewExecutor()
103 option_.passwd.Clear(); in ClearEnginePasswd()
117 if (kvDBProp.GetSchemaConstRef().IsSchemaValid() == option_.schema.empty()) { in CheckEngineOption()
120 … LOGE("Engine and kvdb schema only one not empty! kvdb schema is [%d]", option_.schema.empty()); in CheckEngineOption()
125 int errCode = kvDBProp.GetSchemaConstRef().CompareAgainstSchemaString(option_.schema); in CheckEngineOption()
135 option_.createDirByStoreIdOnly == createDirByStoreIdOnly && in CheckEngineOption()
136 option_.securityOpt == securityOpt && in CheckEngineOption()
137 option_.conflictReslovePolicy == conflictResolvePolicy) { in CheckEngineOption()
H A Dsqlite_single_ver_result_set.cpp33 …const Option& option) : option_(option), type_(ResultSetType::KEYPREFIX), keyPrefix_(keyPrefix), k… in SQLiteSingleVerResultSet()
36 …const Option& option) : option_(option), type_(ResultSetType::QUERY), queryObj_(queryObj), kvDB_(k… in SQLiteSingleVerResultSet()
59 if (option_.cacheMode == ResultSetCacheMode::CACHE_FULL_ENTRY) { in Open()
85 int64_t windowSize = isMemDb ? MEM_WINDOW_SIZE : (option_.cacheMaxSize * WINDOW_SIZE_MB_UNIT); in OpenForCacheFullEntryMode()
99 option_.cacheMaxSize, count_, isMemDb); in OpenForCacheFullEntryMode()
112 uint32_t cacheLimit = option_.cacheMaxSize * (WINDOW_SIZE_MB_UNIT / sizeof(int64_t)); in OpenForCacheEntryIdMode()
130 option_.cacheMaxSize, count_, cachedRowIds_.size()); in OpenForCacheEntryIdMode()
183 if (option_.cacheMode == ResultSetCacheMode::CACHE_FULL_ENTRY) { in MoveTo()
275 uint32_t cacheLimit = option_.cacheMaxSize * (WINDOW_SIZE_MB_UNIT / sizeof(int64_t)); in MoveToForCacheEntryIdMode()
320 if (option_.cacheMode == ResultSetCacheMode::CACHE_FULL_ENTRY) { in GetEntry()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_storage_engine.cpp53 if (!option_.readOnly) { in CreateNewExecutor()
54 std::string tableMode = GetTableMode(option_.isHashTable); in CreateNewExecutor()
73 if (OS::CheckPathExistence(option_.subdir + DBConstant::PATH_POSTFIX_DB_INCOMPLETE) && in CreateNewExecutor()
91 option_ = option; in InitRdStorageEngine()
104 return GetExistedSecOpt(option_, secOption); in GetExistedSecOption()
109 …if (!(secOption == option_.securityOpt) && (secOption.securityLabel > option_.securityOpt.security… in CheckDatabaseSecOpt()
111 option_.securityOpt.securityLabel != SecurityLabel::NOT_SET) { in CheckDatabaseSecOpt()
114 option_.securityOpt.securityFlag); in CheckDatabaseSecOpt()
123 return CreateNewDirsAndSetSecOption(option_); in CreateNewDirsAndSetSecOpt()
134 option_.uri = GetDbDir(option_.subdir, DbType::MAIN) + "/" + DBConstant::SINGLE_VER_DATA_STORE + in TryToOpenMainDatabase()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_value_component.h32 option_ = AceType::MakeRefPtr<PickerOptionComponent>(); in PickerValueComponent()
33 option_->SetSelected(false); in PickerValueComponent()
34 option_->SetAutoLayout(true); in PickerValueComponent()
35 SetChild(option_); in PickerValueComponent()
51 return option_->GetText(); in GetText()
55 option_->SetText(value); in SetText()
67 option_->SetTheme(value); in SetTheme()
68 option_->SetTextDirection(GetTextDirection()); in SetTheme()
72 RefPtr<PickerOptionComponent> option_;
/ohos5.0/foundation/multimedia/media_foundation/src/common/
H A Davsharedmemorypool.cpp50 option_ = option; in Init()
55 name_.c_str(), option_.preAllocMemCnt, option_.memSize, option_.maxMemCnt, in Init()
56 option_.enableFixedSize); in Init()
57 for (uint32_t i = 0; i < option_.preAllocMemCnt; ++i) { in Init()
58 auto memory = AllocMemory(option_.memSize); in Init()
131 if (totalCnt < option_.maxMemCnt) { in DoAcquireMemory()
157 if (!option_.enableFixedSize && size == -1) { in CheckSize()
161 if (option_.enableFixedSize) { in CheckSize()
162 if (size > option_.memSize) { in CheckSize()
182 if (option_.enableFixedSize) { in AcquireMemory()
[all …]
/ohos5.0/base/request/request/frameworks/js/napi/src/legacy/
H A Ddownload_task.cpp29 : taskId_(token), option_(option), callback_(callback), totalSize_(0), hasFileSize_(false) in DownloadTask()
46 auto downloadFile = option_.fileDir_ + '/' + option_.filename_; in OpenDownloadFile()
83 remove((option_.fileDir_ + '/' + option_.filename_).c_str()); in NotifyDone()
105 curl_easy_setopt(handle.get(), CURLOPT_URL, option_.url_.c_str()); in GetFileSize()
142 curl_easy_setopt(handle, CURLOPT_URL, option_.url_.c_str()); in SetOption()
148 if (!option_.header_.empty()) { in SetOption()
149 for (const auto &head : option_.header_) { in SetOption()
160 option_.url_.c_str(), option_.filename_.c_str(), option_.fileDir_.c_str()); in Start()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/animator/
H A Dcj_animator.cpp101 CHECK_NULL_VOID(option_); in ApplyOption()
107 animator_->SetDuration(option_->duration); in ApplyOption()
108 animator_->SetIteration(option_->iterations); in ApplyOption()
109 animator_->SetAnimationDirection(StringToAnimationDirection(option_->direction)); in ApplyOption()
111 animator_->SetStartDelay(option_->delay); in ApplyOption()
113 animator_->SetFillMode(StringToFillMode(option_->fill)); in ApplyOption()
122 weakOption = std::weak_ptr<AnimatorOption>(option_)] in SetOnframe()
129 RefPtr<Motion> motion = ParseOptionToMotion(option_); in SetOnframe()
134 auto curve = Framework::CreateCurve(option_->easing); in SetOnframe()
135 … animation = AceType::MakeRefPtr<CurveAnimation<double>>(option_->begin, option_->end, curve); in SetOnframe()
H A Dcj_animator.h56 : animator_(std::move(animator)), option_(std::move(option)) in AnimatorResultImpl()
72 return option_; in GetAnimatorOption()
105 std::shared_ptr<AnimatorOption> option_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/shared_overlay/
H A Dshared_transition_effect.cpp30 : shareId_(shareId), option_(sharedOption) in SharedTransitionEffect()
84 CHECK_NULL_RETURN(option_, false); in ApplyAnimation()
85 controller_->SetDuration(option_->duration); in ApplyAnimation()
86 controller_->SetStartDelay(option_->delay); in ApplyAnimation()
112 CHECK_NULL_RETURN(option_, false); in CreateAnimation()
113 CHECK_NULL_RETURN(option_->curve, false); in CreateAnimation()
140 if (option_->motionPathOption.IsValid()) { in CreateTranslateAnimation()
142 AceType::MakeRefPtr<MotionPathEvaluator>(option_->motionPathOption, Offset(0, 0), diff); in CreateTranslateAnimation()
144 if (option_->motionPathOption.GetRotate()) { in CreateTranslateAnimation()
146 … auto rotateAnimation = AceType::MakeRefPtr<CurveAnimation<float>>(0.0f, 0.0f, option_->curve); in CreateTranslateAnimation()
[all …]
H A Dshared_transition_effect.h61 return option_ ? option_->zIndex : 0; in GetZIndex()
72 return option_; in GetOption()
141 std::shared_ptr<SharedTransitionOption> option_; variable
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/src/
H A Dprint_attributes.cpp25 hasMargin_(false), hasOption_(false), option_("") { in PrintAttributes()
52 option_ = right.option_; in PrintAttributes()
77 option_ = right.option_; in operator =()
143 option_ = option; in SetOption()
167 option_ = jobInfo.option_; in UpdateParams()
216 return option_; in GetOption()
438 PRINT_HILOGD("option: %{private}s", option_.c_str()); in Dump()
H A Dprint_job.cpp25 hasMargin_(false), hasPreview_(false), hasOption_(false), option_("") { in PrintJob()
51 option_ = right.option_; in PrintJob()
76 option_ = right.option_; in operator =()
171 option_ = option; in SetOption()
199 option_ = jobInfo.option_; in UpdateParams()
289 return option_; in GetOption()
432 PRINT_HILOGD("option: %{private}s", option_.c_str()); in Dump()
H A Dprinter_info.cpp37 option_(""), in PrinterInfo()
63 option_(right.option_), in PrinterInfo()
87 option_ = right.option_; in operator =()
146 option_ = option; in SetOption()
229 return option_; in GetOption()
421 PRINT_HILOGD("option: %{private}s", option_.c_str()); in Dump()
H A Dprinter_capability.cpp34 option_("") in PrinterCapability()
64 option_ = right.option_; in operator =()
130 option_ = option; in SetOption()
265 return option_; in GetOption()
429 PRINT_HILOGD("option: %{private}s", option_.c_str()); in Dump()
/ohos5.0/foundation/filemanagement/dfs_service/utils/system/include/
H A Ddfsu_cmd.h57 option_ = op; in UpdateOption()
61 CmdOptions option_;
78 if (!VirtualCmd<Ctx>::option_.tryTimes_) { in operator()
82 VirtualCmd<Ctx>::option_.tryTimes_--; in operator()
H A Ddfsu_actor.h105 if (item->option_.importance_ == CmdImportance::VITAL) { in IsExistStopTask()
118 const CmdOptions &op = currentCmd->option_; in ExceptionHandler()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog_modal/
H A Ddialog_modal_element.cpp181 option_.SetTransformFloatAnimation(AnimationType::SCALE, scale); in PerformBuild()
182 option_.SetOpacityAnimation(opacity); in PerformBuild()
190 tween->SetOption(option_); in PerformBuild()
208 option_.ClearListeners(); in CreateOriginAnimation()
215 option_.SetTransformOrigin(Dimension(centerX), Dimension(centerY)); in CreateOriginAnimation()
221 tween->SetOption(option_); in CreateOriginAnimation()
H A Ddialog_modal_element.h50 TweenOption option_; variable
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/animator/
H A Danimator_option.h54 : animator_(animator), option_(option) in AnimatorResult()
67 return option_; in GetAnimatorOption()
127 std::shared_ptr<AnimatorOption> option_; variable
H A Djs_animator.cpp840 CHECK_NULL_VOID(option_); in ApplyOption()
846 animator_->SetDuration(option_->duration); in ApplyOption()
847 animator_->SetIteration(option_->iterations); in ApplyOption()
848 animator_->SetAnimationDirection(StringToAnimationDirection(option_->direction)); in ApplyOption()
850 animator_->SetStartDelay(option_->delay); in ApplyOption()
852 animator_->SetFillMode(StringToFillMode(option_->fill)); in ApplyOption()
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_json/
H A Db_json_entity.h47 …explicit BJsonEntity(Json::Value &obj, std::any option = std::any()) : obj_(obj), option_(option) …
53 std::any option_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shared_transition/
H A Dshared_transition_component.cpp30 option_ = option; in SetOption()
35 return option_; in GetOption()
H A Dshared_transition_element.h76 return option_; in GetOption()
95 TweenOption option_; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/include/
H A Dcollection_option.h31 std::string option_ = "{}"; variable

12