Home
last modified time | relevance | path

Searched refs:STRING (Results 1 - 25 of 58) sorted by relevance

123

/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_javascript_execute_callback.cpp27 case NWebValue::Type::STRING: in ConvertToJsType()
28 jsMessageType = JsMessageType::STRING; in ConvertToJsType()
93 if (result->GetType() == NWebValue::Type::STRING && result->GetString().empty()) { in OnReceiveValue()
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_value.h51 STRING, member in OHOS::NWeb::NWebValue::Type
72 explicit NWebValue(const std::string& value) : type_(Type::STRING), str_(value) {} in NWebValue()
97 case Type::STRING: in NWebValue()
146 case Type::STRING: in operator =()
180 case Type::STRING: in operator =()
212 case Type::STRING: in operator ==()
257 return GetType() == Type::STRING; in IsString()
299 validateType(Type::STRING); in SetString()
305 validateType(Type::STRING); in GetString()
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dhap_resource_test.cpp84 int id = pResource->GetIdByName("app_name", ResType::STRING); in HWTEST_F()
112 auto idValues2 = pResource->GetIdValuesByName(name, ResType::STRING); in HWTEST_F()
165 int id = pResource->GetIdByName("app_name", ResType::STRING); in HWTEST_F()
189 auto idValues2 = pResource->GetIdValuesByName(name, ResType::STRING); in HWTEST_F()
233 idv = pResource->GetIdValuesByName(std::string("string_ref"), ResType::STRING); in HWTEST_F()
237 idv = pResource->GetIdValuesByName(std::string("string_ref2"), ResType::STRING); in HWTEST_F()
H A Dglobal_test.cpp151 int id = GetResId("app_name", ResType::STRING); in HWTEST_F()
169 int id = GetResId("app_name", ResType::STRING); in HWTEST_F()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dhap_resource_test.cpp70 auto idValues = pResource->GetIdValuesByName(name, ResType::STRING); in TestGetIdValuesByName()
115 int id = pResource->GetIdByName("app_name", ResType::STRING); in HWTEST_F()
148 auto idValues = pResource->GetIdValuesByName(name, ResType::STRING); in GetIdValuesByNameFuncTest002()
191 int id = pResource->GetIdByName("app_name", ResType::STRING); in HWTEST_F()
237 idv = pResource->GetIdValuesByName(std::string("string_ref"), ResType::STRING); in HWTEST_F()
241 idv = pResource->GetIdValuesByName(std::string("string_ref2"), ResType::STRING); in HWTEST_F()
H A Dresource_manager_test_string.cpp250 int id = rmc->GetResId(name, ResType::STRING); in HWTEST_F()
337 int id = rmc->GetResId(name, ResType::STRING); in HWTEST_F()
357 int id = rmc->GetResId(name, ResType::STRING); in HWTEST_F()
449 int id = rmc->GetResId(name, ResType::STRING); in HWTEST_F()
468 int id = rmc->GetResId(name, ResType::STRING); in HWTEST_F()
487 int id = rmc->GetResId(name, ResType::STRING); in HWTEST_F()
506 int id = rmc->GetResId(name, ResType::STRING); in HWTEST_F()
525 int id = rmc->GetResId(name, ResType::STRING); in HWTEST_F()
559 int id = rmc->GetResId(name, ResType::STRING); in HWTEST_F()
578 int id = rmc->GetResId(name, ResType::STRING); in HWTEST_F()
[all...]
/base/account/os_account/interfaces/innerkits/common/include/
H A Diaccount_info.h40 STRING, member in OHOS::AccountSA::JsonType
73 case JsonType::STRING: in GetDataByType()
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_info.cpp307 typeJson, typeJson.end(), DOMAIN_NAME, domainInfo_.domain_, OHOS::AccountSA::JsonType::STRING); in GetDomainInfoFromJson()
309 typeJson, typeJson.end(), DOMAIN_ACCOUNT_NAME, domainInfo_.accountName_, OHOS::AccountSA::JsonType::STRING); in GetDomainInfoFromJson()
311 typeJson, typeJson.end(), DOMAIN_ACCOUNT_ID, domainInfo_.accountId_, OHOS::AccountSA::JsonType::STRING); in GetDomainInfoFromJson()
316 OHOS::AccountSA::JsonType::STRING); in GetDomainInfoFromJson()
325 jsonObject, jsonObjectEnd, LOCAL_NAME, localName_, OHOS::AccountSA::JsonType::STRING); in FromJson()
327 jsonObject, jsonObjectEnd, SHORT_NAME, shortName_, OHOS::AccountSA::JsonType::STRING); in FromJson()
335 jsonObject, jsonObjectEnd, PHOTO, photo_, OHOS::AccountSA::JsonType::STRING); in FromJson()
/base/web/webview/interfaces/kits/cj/include/
H A Dwebview_controller_impl.h57 STRING, member in OHOS::Webview::CoreSecurityLevel::WebMessageType
289 case WebMessageType::STRING: { in SetType()
290 nwebType = NWeb::NWebValue::Type::STRING; in SetType()
327 case NWeb::NWebValue::Type::STRING: { in ConvertNwebType2JsType()
328 jsType = WebMessageType::STRING; in ConvertNwebType2JsType()
374 data_->SetType(NWeb::NWebValue::Type::STRING); in SetString()
H A Dwebview_javascript_execute_callback.h30 STRING, member in OHOS::Webview::JsMessageType
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_javascript_execute_callback.cpp35 DECLARE_NAPI_STATIC_PROPERTY("STRING", NapiParseUtils::ToInt32Value(env, in InitJSExcute()
36 static_cast<int32_t>(JsMessageType::STRING))), in InitJSExcute()
145 if (result->GetType() == NWebValue::Type::STRING && result->GetString().empty()) { in UvAfterWorkCbAsync()
225 if (result->GetType() == NWebValue::Type::STRING && result->GetString().empty()) { in UvAfterWorkCbPromise()
243 case NWebValue::Type::STRING: in ConvertToJsType()
244 jsMessageType = JsMessageType::STRING; in ConvertToJsType()
350 if (webJsMessageExt->GetType() != static_cast<int32_t>(JsMessageType::STRING)) { in GetString()
H A Dwebview_javascript_execute_callback.h30 STRING, member in OHOS::NWeb::JsMessageType
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/
H A Draw_data_base_def.h140 STRING,
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dres_common.h69 STRING = 9, enumerator
H A Dglobal_utils.h51 STRING = 9, enumerator
/base/update/updater/utils/json/
H A Djson_node.cpp27 { cJSON_String, NodeType::STRING }, { cJSON_False, NodeType::BOOL }, { cJSON_True, NodeType::BOOL }, in GetJsonTypeMap()
122 case NodeType::STRING: in Parse()
/base/web/webview/test/unittest/nweb_value_test/
H A Dnweb_value_test.cpp79 nwebValue->SetType(NWebValue::Type::STRING); in HWTEST_F()
112 nwebValue->SetType(NWebValue::Type::STRING); in HWTEST_F()
/base/hiviewdfx/hiview/base/event_store/dao/
H A Dsys_event_query.cpp57 return (Index() == STRING); in IsString()
65 return std::get<STRING>(val_); in GetString()
70 if (Index() == STRING) { in GetFieldNumber()
79 if (Index() == STRING) { in FormatAsString()
80 return std::get<STRING>(val_); in FormatAsString()
/base/update/updater/test/unittest/utils/json/
H A Dutils_json_test.cpp79 EXPECT_EQ(node["key"].Type(), NodeType::STRING); in HWTEST_F()
178 EXPECT_EQ(node["key"].Type(), NodeType::STRING); in HWTEST_F()
180 EXPECT_EQ(node["key"].Type(), NodeType::STRING); in HWTEST_F()
/base/global/resource_management/interfaces/inner_api/include/
H A Dres_common.h89 STRING = 9, enumerator
/base/notification/eventhandler/frameworks/napi/include/
H A Devents_emitter.h51 STRING, member in OHOS::AppExecFwk::DataType
/base/account/os_account/frameworks/appaccount/native/src/
H A Dapp_account_info.cpp611 jsonObject, jsonObjectEnd, OWNER, owner_, OHOS::AccountSA::JsonType::STRING); in FromJson()
613 jsonObject, jsonObjectEnd, NAME, name_, OHOS::AccountSA::JsonType::STRING); in FromJson()
615 jsonObject, jsonObjectEnd, ALIAS, alias_, OHOS::AccountSA::JsonType::STRING); in FromJson()
617 jsonObject, jsonObjectEnd, EXTRA_INFO, extraInfo_, OHOS::AccountSA::JsonType::STRING); in FromJson()
623 jsonObject, jsonObjectEnd, ASSOCIATED_DATA, associatedData_, OHOS::AccountSA::JsonType::STRING); in FromJson()
625 jsonObject, jsonObjectEnd, ACCOUNT_CREDENTIAL, accountCredential_, OHOS::AccountSA::JsonType::STRING); in FromJson()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H A Dhiappevent_base.cpp92 case AppEventParamType::STRING: in InitValueByReferType()
271 {STRING, &GetStrParamValueStr},
297 if (other.type < AppEventParamType::STRING) { in AppEventParamValue()
307 case AppEventParamType::STRING: in ~AppEventParamValue()
458 AppEventParam appEventParam(key, AppEventParamType::STRING); in AddParam()
465 AppEventParam appEventParam(key, AppEventParamType::STRING); in AddParam()
H A Dhiappevent_verify.cpp211 if (param.type == AppEventParamType::STRING && !CheckStrParamLength(param.value.valueUnion.str_, maxLen)) { in VerifyAppEventParam()
225 if (param.type > AppEventParamType::STRING && !CheckListValueSize(param.type, param.value.valueUnion)) { in VerifyAppEventParam()
246 if (param.type == AppEventParamType::STRING in VerifyCustomAppEventParam()
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
H A Dsandbox_json_manager.cpp48 STRING, enumerator
420 case KeyType::STRING: in CheckJsonElement()
441 !CheckJsonElement(BUNDLENAME, retentionJson, KeyType::STRING) || in FromJson()

Completed in 19 milliseconds

123