Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/foundation/ace/ace_engine_lite/frameworks/src/core/components/
Dcomponent_factory.h69 …static Component* CreateComponent(uint16_t componentNameId, jerry_value_t options, jerry_value_t c… in CreateComponent() argument
85 component = new CameraComponent(options, children, styleManager); in CreateComponent()
90 component = new CanvasComponent(options, children, styleManager); in CreateComponent()
94 component = new DivComponent(options, children, styleManager); in CreateComponent()
97 component = new StackComponent(options, children, styleManager); in CreateComponent()
100 component = new ImageComponent(options, children, styleManager); in CreateComponent()
103 component = new ImageAnimatorComponent(options, children, styleManager); in CreateComponent()
106 uint16_t id = ComponentUtils::GetComponentType(options); in CreateComponent()
108 component = new CircleProgressComponent(options, children, styleManager); in CreateComponent()
111 component = new HorizonProgressComponent(options, children, styleManager); in CreateComponent()
[all …]
/foundation/communication/wifi/tests/wifi_standard/wifi_framework/dhcp_manage/dhcp_server/unittest/
Ddhcp_option_test.cpp35 if (InitOptionList(&options)) { in SetUp()
41 FreeOptionList(&options); in TearDown()
44 DhcpOptionList options; member in DhcpOptionTest
52 EXPECT_EQ(RET_SUCCESS, InitOptionList(&options));
68 EXPECT_EQ(RET_SUCCESS, PushBackOption(&options, &optRouter));
72 EXPECT_EQ(RET_ERROR, PushBackOption(&options, NULL));
73 EXPECT_EQ(RET_SUCCESS, PushBackOption(&options, &optMsgType));
74 EXPECT_TRUE(options.size == 2);
75 ClearOptions(&options);
76 EXPECT_TRUE(options.size == 0);
[all …]
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/ability_context/
Dability_context.js31 startAbility(want, options, callback) { argument
32 return this.__context_impl__.startAbility(want, options, callback)
35 startAbilityWithAccount(want, accountId, options, callback) { argument
36 return this.__context_impl__.startAbilityWithAccount(want, accountId, options, callback)
55 startAbilityForResult(want, options, callback) { argument
56 return this.__context_impl__.startAbilityForResult(want, options, callback)
59 startAbilityForResultWithAccount(want, accountId, options, callback) { argument
60 … return this.__context_impl__.startAbilityForResultWithAccount(want, accountId, options, callback)
63 connectAbility(want, options) { argument
64 return this.__context_impl__.connectAbility(want, options);
[all …]
/foundation/appexecfwk/standard/tools/zip/test/unittest/
Dzip_test.cpp74 OPTIONS options; variable
75 Zip(FilePath(src), FilePath(dest), options, ZipCallBack, false);
89 OPTIONS options; variable
90 Zip(FilePath(src), FilePath(dest), options, ZipCallBack, false);
104 OPTIONS options; variable
105 Zip(FilePath(src), FilePath(dest), options, ZipCallBack, false);
119 OPTIONS options; variable
120 Unzip(FilePath(src), FilePath(dest), options, UnzipCallBack);
133 OPTIONS options; variable
134 Unzip(FilePath(src), FilePath(dest), options, UnzipCallBack);
[all …]
/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/
Drequest_context.cpp43 options.SetUrl(NapiUtils::GetStringFromValueUtf8(GetEnv(), params[0])); in ParseParams()
51 options.SetUrl(NapiUtils::GetStringFromValueUtf8(GetEnv(), params[0])); in ParseParams()
93options.SetReadTimeout(NapiUtils::GetUint32Property(GetEnv(), optionsValue, HttpConstant::PARAM_KE… in ParseNumberOptions()
94 if (options.GetReadTimeout() == 0) { in ParseNumberOptions()
95 options.SetReadTimeout(HttpConstant::DEFAULT_READ_TIMEOUT); in ParseNumberOptions()
98 options.SetConnectTimeout( in ParseNumberOptions()
100 if (options.GetConnectTimeout() == 0) { in ParseNumberOptions()
101 options.SetConnectTimeout(HttpConstant::DEFAULT_CONNECT_TIMEOUT); in ParseNumberOptions()
104 options.SetIfModifiedSince( in ParseNumberOptions()
106 if (options.GetIfModifiedSince() == 0) { in ParseNumberOptions()
[all …]
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/service_extension_context/
Dservice_extension_context.js24 startAbility(want, options, callback) { argument
26 return this.__context_impl__.startAbility(want, options, callback);
29 connectAbility(want, options) { argument
31 return this.__context_impl__.connectAbility(want, options);
34 startAbilityWithAccount(want, accountId, options, callback) { argument
36 return this.__context_impl__.startAbilityWithAccount(want, accountId, options, callback);
39 connectAbilityWithAccount(want, accountId, options) { argument
41 return this.__context_impl__.connectAbilityWithAccount(want, accountId, options);
/foundation/resourceschedule/background_task_mgr/test/systemtest/
Dbgtask_dump_test.cpp82 std::vector<std::string> options; variable
83 options.push_back("-T");
84 options.push_back("All");
86 auto ret = bgtaskMgr_->ShellDump(options, infos);
100 std::vector<std::string> options; variable
101 options.push_back("-C");
102 options.push_back("--all");
104 auto ret = bgtaskMgr_->ShellDump(options, infos);
/foundation/communication/wifi/tests/wifi_standard/wifi_framework/dhcp_manage/dhcp_client/
Dmock_custom_func.cpp76 AddOptValueToOpts(getPacket->options, SERVER_IDENTIFIER_OPTION, uSerIp); in __wrap_GetDhcpRawPacket()
83 AddOptValueToOpts(getPacket->options, SERVER_IDENTIFIER_OPTION, uSerIp); in __wrap_GetDhcpRawPacket()
84 AddOptValueToOpts(getPacket->options, SUBNET_MASK_OPTION, 0); in __wrap_GetDhcpRawPacket()
85 AddOptValueToOpts(getPacket->options, IP_ADDRESS_LEASE_TIME_OPTION, htonl(10)); in __wrap_GetDhcpRawPacket()
86 AddOptDoubleValueToOpts(getPacket->options, ROUTER_OPTION, uSerIp, uCliIp); in __wrap_GetDhcpRawPacket()
87 AddOptDoubleValueToOpts(getPacket->options, DOMAIN_NAME_SERVER_OPTION, uSerIp, uCliIp); in __wrap_GetDhcpRawPacket()
110 AddOptValueToOpts(getPacket->options, SERVER_IDENTIFIER_OPTION, uSerIp); in __wrap_GetDhcpKernelPacket()
113 AddOptValueToOpts(getPacket->options, SERVER_IDENTIFIER_OPTION, uSerIp); in __wrap_GetDhcpKernelPacket()
114 AddOptValueToOpts(getPacket->options, SUBNET_MASK_OPTION, 0); in __wrap_GetDhcpKernelPacket()
115 AddOptValueToOpts(getPacket->options, IP_ADDRESS_LEASE_TIME_OPTION, htonl(4)); in __wrap_GetDhcpKernelPacket()
[all …]
/foundation/communication/netstack/interfaces/kits/js/
D@ohos.net.socket.d.ts125 send(options: UDPSendOptions, callback: AsyncCallback<void>): void;
126 send(options: UDPSendOptions): Promise<void>;
150 setExtraOptions(options: UDPExtraOptions, callback: AsyncCallback<void>): void;
151 setExtraOptions(options: UDPExtraOptions): Promise<void>;
241 connect(options: TCPConnectOptions, callback: AsyncCallback<void>): void;
242 connect(options: TCPConnectOptions): Promise<void>;
250 send(options: TCPSendOptions, callback: AsyncCallback<void>): void;
251 send(options: TCPSendOptions): Promise<void>;
284 setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
285 setExtraOptions(options: TCPExtraOptions): Promise<void>;
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/app/test/moduletest/
Ddistributeddata_account_event_test.cpp124 Options options; variable
125 options.createIfMissing = true;
126 options.encrypt = false;
127 options.autoSync = true;
128 options.kvStoreType = KvStoreType::MULTI_VERSION;
155 Status status = kvStoreDataService.GetKvStore(options, appId, storeId,
174 Options options; variable
175 options.createIfMissing = true;
176 options.encrypt = false;
177 options.autoSync = true;
[all …]
/foundation/graphic/standard/frameworks/animation_server/server/include/
Danimation_service_stub.h30 MessageParcel& data, MessageParcel& reply, MessageOption& options) override;
33 …_t StartRotationAnimationRemote(MessageParcel& data, MessageParcel& reply, MessageOption& options);
34 …SplitModeCreateBackgroundRemote(MessageParcel& data, MessageParcel& reply, MessageOption& options);
35 …SplitModeCreateMiddleLineRemote(MessageParcel& data, MessageParcel& reply, MessageOption& options);
36 … int32_t CreateLaunchPageRemote(MessageParcel& data, MessageParcel& reply, MessageOption& options);
37 … int32_t CancelLaunchPageRemote(MessageParcel& data, MessageParcel& reply, MessageOption& options);
/foundation/ace/ace_engine_lite/frameworks/src/core/stylemgr/
Dapp_style_manager.h35 void ApplyComponentStyles(const jerry_value_t options, Component& curr);
42 jerry_value_t GetStyleObjFromOptions(jerry_value_t options, const jerry_value_t name);
43 void HandleStaticStyle(const jerry_value_t options, Component& curr);
44 void HandleDynamicStyle(const jerry_value_t options, Component& curr);
45 void HandleIDSelectors(const jerry_value_t options, Component &curr);
46 void HandleClassSelectors(const jerry_value_t options, Component &curr);
47 void HandleSelectors(const jerry_value_t options, const jerry_value_t type, Component &curr);
Dapp_style_manager.cpp71 void AppStyleManager::ApplyComponentStyles(const jerry_value_t options, Component& curr) in ApplyComponentStyles() argument
74 HandleStaticStyle(options, curr); in ApplyComponentStyles()
75 HandleDynamicStyle(options, curr); in ApplyComponentStyles()
76 HandleIDSelectors(options, curr); in ApplyComponentStyles()
77 HandleClassSelectors(options, curr); in ApplyComponentStyles()
107 jerry_value_t AppStyleManager::GetStyleObjFromOptions(jerry_value_t options, const jerry_value_t na… in GetStyleObjFromOptions() argument
110 if (jerry_value_is_undefined(options) || jerry_value_is_undefined(name)) { in GetStyleObjFromOptions()
114 jerry_value_t valueContainer = options; in GetStyleObjFromOptions()
118 if (!HasOwnProperty(options, attrsStrValue_)) { in GetStyleObjFromOptions()
122 valueContainer = jerry_get_property(options, attrsStrValue_); in GetStyleObjFromOptions()
[all …]
/foundation/appexecfwk/standard/tools/zip/src/
Dzip_writer.cpp83 …ipFile zip_file, FilePath &path, bool isDirectory, struct tm *lastModified, const OPTIONS &options) in OpenNewFileEntry() argument
92 return ZipOpenNewFileInZip(zip_file, strPath, options, lastModified); in OpenNewFileEntry()
101 …ntryToZip(zipFile zip_file, FilePath &relativePath, FilePath &absolutePath, const OPTIONS &options) in AddFileEntryToZip() argument
109 if (!OpenNewFileEntry(zip_file, relativePath, false, lastModified, options)) { in AddFileEntryToZip()
120 …ectoryEntryToZip(zipFile zip_file, FilePath &path, struct tm *lastModified, const OPTIONS &options) in AddDirectoryEntryToZip() argument
123 …return OpenNewFileEntry(zip_file, path, true, lastModified, options) && CloseNewFileEntry(zip_file… in AddDirectoryEntryToZip()
169 bool ZipWriter::WriteEntries(const std::vector<FilePath> &paths, const OPTIONS &options, CALLBACK c… in WriteEntries() argument
172 return AddEntries(paths, options, callback) && Close(options, callback); in WriteEntries()
175 bool ZipWriter::AddEntries(const std::vector<FilePath> &paths, const OPTIONS &options, CALLBACK cal… in AddEntries() argument
181 return FlushEntriesIfNeeded(false, options, callback); in AddEntries()
[all …]
/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/
Dtcp_extra_context.cpp32options.SetReceiveBufferSize(NapiUtils::GetUint32Property(GetEnv(), params[0], KEY_RECEIVE_BUFFER_… in ParseParams()
36options.SetSendBufferSize(NapiUtils::GetUint32Property(GetEnv(), params[0], KEY_SEND_BUFFER_SIZE)); in ParseParams()
40options.SetReuseAddress(NapiUtils::GetBooleanProperty(GetEnv(), params[0], KEY_REUSE_ADDRESS)); in ParseParams()
44options.SetSocketTimeout(NapiUtils::GetUint32Property(GetEnv(), params[0], KEY_SOCKET_TIMEOUT)); in ParseParams()
48 options.SetKeepAlive(NapiUtils::GetBooleanProperty(GetEnv(), params[0], KEY_KEEP_ALIVE)); in ParseParams()
52 options.SetOOBInline(NapiUtils::GetBooleanProperty(GetEnv(), params[0], KEY_OOB_INLINE)); in ParseParams()
56 options.SetTCPNoDelay(NapiUtils::GetBooleanProperty(GetEnv(), params[0], KEY_TCP_NO_DELAY)); in ParseParams()
63options.socketLinger.SetOn(NapiUtils::GetBooleanProperty(GetEnv(), socketLinger, KEY_SOCKET_LINGER… in ParseParams()
66 options.socketLinger.SetLinger( in ParseParams()
/foundation/distributeddatamgr/distributeddatamgr/frameworks/innerkitsimpl/distributeddatafwk/src/
Dikvstore_data_service.cpp36 Status KvStoreDataServiceProxy::GetKvStore(const Options &options, const AppId &appId, const StoreI… in GetKvStore() argument
50 optionsIpc.createIfMissing = options.createIfMissing; in GetKvStore()
51 optionsIpc.encrypt = options.encrypt; in GetKvStore()
52 optionsIpc.persistant = options.persistant; in GetKvStore()
53 optionsIpc.backup = options.backup; in GetKvStore()
54 optionsIpc.autoSync = options.autoSync; in GetKvStore()
55 optionsIpc.securityLevel = options.securityLevel; in GetKvStore()
56 optionsIpc.syncPolicy = options.syncPolicy; in GetKvStore()
57 optionsIpc.kvStoreType = options.kvStoreType; in GetKvStore()
58 optionsIpc.syncable = options.syncable; in GetKvStore()
[all …]
/foundation/communication/netmanager_base/frameworks/js/napi/network/async_context/src/
Dgettype_context.cpp60 bool GetTypeContext::SetSuccessCallback(napi_value options) in SetSuccessCallback() argument
62 if (!NapiUtils::HasNamedProperty(GetEnv(), options, KEY_SUCCESS)) { in SetSuccessCallback()
66 napi_value callback = NapiUtils::GetNamedProperty(GetEnv(), options, KEY_SUCCESS); in SetSuccessCallback()
78 bool GetTypeContext::SetFailCallback(napi_value options) in SetFailCallback() argument
80 if (!NapiUtils::HasNamedProperty(GetEnv(), options, KEY_FAIL)) { in SetFailCallback()
84 napi_value callback = NapiUtils::GetNamedProperty(GetEnv(), options, KEY_FAIL); in SetFailCallback()
95 bool GetTypeContext::SetCompleteCallback(napi_value options) in SetCompleteCallback() argument
97 if (!NapiUtils::HasNamedProperty(GetEnv(), options, KEY_COMPLETE)) { in SetCompleteCallback()
101 napi_value callback = NapiUtils::GetNamedProperty(GetEnv(), options, KEY_COMPLETE); in SetCompleteCallback()
Dsubscribe_context.cpp60 bool SubscribeContext::SetSuccessCallback(napi_value options) in SetSuccessCallback() argument
62 if (!NapiUtils::HasNamedProperty(GetEnv(), options, KEY_SUCCESS)) { in SetSuccessCallback()
66 napi_value callback = NapiUtils::GetNamedProperty(GetEnv(), options, KEY_SUCCESS); in SetSuccessCallback()
78 bool SubscribeContext::SetFailCallback(napi_value options) in SetFailCallback() argument
80 if (!NapiUtils::HasNamedProperty(GetEnv(), options, KEY_FAIL)) { in SetFailCallback()
84 napi_value callback = NapiUtils::GetNamedProperty(GetEnv(), options, KEY_FAIL); in SetFailCallback()
/foundation/communication/netstack/frameworks/js/builtin/
Dfetch_module.h43 static bool JsObjectToRequestData(JSIValue options, RequestData *req);
45 static void GetRequestBody(JSIValue options, RequestData *requestData);
46 static void ParseExtraData(JSIValue options, RequestData *requestData);
47 static std::string GetMethodFromOptions(JSIValue options);
48 static std::string GetResponseTypeFromOptions(JSIValue options);
Dfetch_module.cpp65 bool FetchModule::JsObjectToRequestData(JSIValue options, RequestData *req) in JsObjectToRequestData() argument
67 if (options == nullptr || JSI::ValueIsUndefined(options) || !JSI::ValueIsObject(options)) { in JsObjectToRequestData()
72 JSI::GetStringProperty(options, HttpConstant::KEY_HTTP_REQUEST_URL), FreeString); in JsObjectToRequestData()
79 req->SetMethod(GetMethodFromOptions(options)); in JsObjectToRequestData()
82 req->SetResponseType(GetResponseTypeFromOptions(options)); in JsObjectToRequestData()
85 JSI::GetNamedProperty(options, HttpConstant::KEY_HTTP_REQUEST_HEADER), JSI::ReleaseValue); in JsObjectToRequestData()
90 ParseExtraData(options, req); in JsObjectToRequestData()
127 void FetchModule::GetRequestBody(JSIValue options, RequestData *requestData) in GetRequestBody() argument
130 JSI::GetNamedProperty(options, HttpConstant::KEY_HTTP_REQUEST_DATA), JSI::ReleaseValue); in GetRequestBody()
164 void FetchModule::ParseExtraData(JSIValue options, RequestData *requestData) in ParseExtraData() argument
[all …]
/foundation/graphic/standard/utils/wmlayout/
Dgen_scss.py31 options = parse_args(sys.argv[1:]) variable
33 [options.cmd, options.input, options.output])
/foundation/ace/ace_engine_lite/frameworks/src/core/modules/presets/
Drender_module.cpp42 jerry_value_t RenderModule::CreateElement(jerry_value_t tagName, jerry_value_t options, jerry_value… in CreateElement() argument
60 Component *component = ComponentFactory::CreateComponent(componentNameId, options, children); in CreateElement()
89 jerry_value_t options; in CreateElement() local
93 options = args[1]; in CreateElement()
99 options = UNDEFINED; in CreateElement()
102 options = args[1]; in CreateElement()
107 options = UNDEFINED; in CreateElement()
114 return CreateElement(tagName, options, children); in CreateElement()
/foundation/communication/netstack/frameworks/js/napi/
DBUILD.gn63 "$NETSTACK_NAPI_ROOT/http/options/include",
75 "http/options/src/http_request_options.cpp",
76 "http/options/src/http_response.cpp",
97 "$NETSTACK_NAPI_ROOT/socket/options/include",
112 "socket/options/src/extra_options_base.cpp",
113 "socket/options/src/net_address.cpp",
114 "socket/options/src/socket_remote_info.cpp",
115 "socket/options/src/socket_state_base.cpp",
116 "socket/options/src/tcp_connect_options.cpp",
117 "socket/options/src/tcp_extra_options.cpp",
[all …]
/foundation/aafwk/standard/frameworks/kits/runtime/native/
Druntime.cpp22 std::unique_ptr<Runtime> Runtime::Create(const Runtime::Options& options) in Create() argument
24 switch (options.lang) { in Create()
26 return JsRuntime::Create(options); in Create()
/foundation/ace/ace_engine_lite/frameworks/packages/runtime-core/src/core/
Dindex.js34 export function ViewModel(options) { argument
37 return new ViewModel(options);
42 if (Object.prototype.toString.call(options) === '[object Object]') {
43 Object.keys(options).forEach(key => {
44 const value = options[key];

12345678910>>...12