Home
last modified time | relevance | path

Searched refs:STRING (Results 1 – 25 of 49) sorted by relevance

12

/base/web/webview/ohos_nweb/include/
Dnweb_value.h50 STRING, enumerator
70 explicit NWebValue(const std::string& value) : type_(Type::STRING), str_(value) in NWebValue()
94 case Type::STRING: in NWebValue()
141 case Type::STRING:
175 case Type::STRING:
207 case Type::STRING:
252 return GetType() == Type::STRING; in IsString()
294 validateType(Type::STRING); in SetString()
300 validateType(Type::STRING); in GetString()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dhap_resource_test.cpp69 auto idValues = pResource->GetIdValuesByName(name, ResType::STRING); in TestGetIdValuesByName()
113 int id = pResource->GetIdByName("app_name", ResType::STRING);
147 auto idValues = pResource->GetIdValuesByName(name, ResType::STRING); in GetIdValuesByNameFuncTest002()
191 int id = pResource->GetIdByName("app_name", ResType::STRING);
238 idv = pResource->GetIdValuesByName(std::string("string_ref"), ResType::STRING);
242 idv = pResource->GetIdValuesByName(std::string("string_ref2"), ResType::STRING);
Dresource_manager_test.cpp1061 int id = rmc->GetResId("point_test", ResType::STRING);
1093 int id = rmc->GetResId("point_test", ResType::STRING);
1125 int id = rmc->GetResId("point_test", ResType::STRING);
1157 int id = rmc->GetResId("point_test", ResType::STRING);
1681 id = rmc->GetResId("copyright_text", ResType::STRING);
1687 id = rmc->GetResId("string_ref", ResType::STRING);
1738 int id = rmc->GetResId("copyright_text", ResType::STRING);
1744 id = rmc->GetResId("string_ref", ResType::STRING);
1756 id = rmc->GetResId("copyright_text", ResType::STRING);
Dresource_manager_test_common.cpp79 int id = GetResId(name, ResType::STRING); in TestStringById()
280 int id = GetResId(name, ResType::STRING); in TestGetStringFormatById()
311 uint32_t id = GetResId(name, ResType::STRING); in TestGetStringFormatById()
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dhap_resource_test.cpp84 int id = pResource->GetIdByName("app_name", ResType::STRING);
112 auto idValues2 = pResource->GetIdValuesByName(name, ResType::STRING);
165 int id = pResource->GetIdByName("app_name", ResType::STRING);
189 auto idValues2 = pResource->GetIdValuesByName(name, ResType::STRING);
233 idv = pResource->GetIdValuesByName(std::string("string_ref"), ResType::STRING);
237 idv = pResource->GetIdValuesByName(std::string("string_ref2"), ResType::STRING);
Dglobal_test.cpp151 int id = GetResId("app_name", ResType::STRING);
169 int id = GetResId("app_name", ResType::STRING);
Dresource_manager_test.cpp96 int id = GetResId(name, ResType::STRING); in TestStringById()
486 int id = GetResId(name, ResType::STRING);
1564 id = GetResId("copyright_text", ResType::STRING);
1570 id = GetResId("string_ref", ResType::STRING);
1604 id = GetResId("copyright_text", ResType::STRING);
1610 id = GetResId("string_ref", ResType::STRING);
1622 id = GetResId("copyright_text", ResType::STRING);
/base/account/os_account/interfaces/innerkits/common/include/
Diaccount_info.h40 STRING, enumerator
73 case JsonType::STRING: in GetDataByType()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_controller.h55 STRING, enumerator
68 STRING, enumerator
299 case WebMessageType::STRING: { in SetType()
300 nwebType = NWebValue::Type::STRING; in SetType()
337 case NWebValue::Type::STRING: { in ConvertNwebType2JsType()
338 jsType = WebMessageType::STRING; in ConvertNwebType2JsType()
384 data_->SetType(NWebValue::Type::STRING); in SetString()
Dwebview_javascript_execute_callback.cpp36 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()
Dwebview_javascript_execute_callback.h30 STRING, enumerator
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_info.cpp244 jsonObject, jsonObjectEnd, LOCAL_NAME, localName_, OHOS::AccountSA::JsonType::STRING); in FromJson()
246 jsonObject, jsonObjectEnd, SHORT_NAME, shortName_, OHOS::AccountSA::JsonType::STRING); in FromJson()
254 jsonObject, jsonObjectEnd, PHOTO, photo_, OHOS::AccountSA::JsonType::STRING); in FromJson()
274 … typeJson, typeJson.end(), DOMAIN_NAME, domainInfo_.domain_, OHOS::AccountSA::JsonType::STRING); in FromJson()
276 … typeJson.end(), DOMAIN_ACCOUNT_NAME, domainInfo_.accountName_, OHOS::AccountSA::JsonType::STRING); in FromJson()
278 …son, typeJson.end(), DOMAIN_ACCOUNT_ID, domainInfo_.accountId_, OHOS::AccountSA::JsonType::STRING); in FromJson()
/base/web/webview/test/unittest/nweb_value_test/
Dnweb_value_test.cpp79 nwebValue->SetType(NWebValue::Type::STRING);
112 nwebValue->SetType(NWebValue::Type::STRING);
/base/hiviewdfx/hiview/base/event_store/dao/
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/global/resource_management_lite/frameworks/resmgr_lite/include/
Dres_common.h69 STRING = 9, enumerator
Dglobal_utils.h51 STRING = 9, enumerator
/base/update/updater/utils/json/
Djson_node.cpp27 …{ cJSON_String, NodeType::STRING }, { cJSON_False, NodeType::BOOL }, { cJSON_True, NodeType::BOOL… in GetJsonTypeMap()
121 case NodeType::STRING: in Parse()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/
Draw_data_base_def.h140 STRING, enumerator
/base/global/resource_management/interfaces/inner_api/include/
Dres_common.h89 STRING = 9, enumerator
/base/update/updater/test/unittest/utils/json/
Dutils_json_test.cpp79 EXPECT_EQ(node["key"].Type(), NodeType::STRING);
178 EXPECT_EQ(node["key"].Type(), NodeType::STRING);
180 EXPECT_EQ(node["key"].Type(), NodeType::STRING);
/base/notification/eventhandler/frameworks/napi/include/
Devents_emitter.h48 STRING, enumerator
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_base.cpp85 case AppEventParamType::STRING: in InitValueByReferType()
264 {STRING, &GetStrParamValueStr},
290 if (other.type < AppEventParamType::STRING) { in AppEventParamValue()
300 case AppEventParamType::STRING: in ~AppEventParamValue()
445 AppEventParam appEventParam(key, AppEventParamType::STRING); in AddParam()
452 AppEventParam appEventParam(key, AppEventParamType::STRING); in AddParam()
/base/account/os_account/frameworks/appaccount/native/src/
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 …nObject, jsonObjectEnd, ACCOUNT_CREDENTIAL, accountCredential_, OHOS::AccountSA::JsonType::STRING); in FromJson()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/
Dhiappevent_base.h62 STRING = 8, enumerator
98 case AppEventParamType::STRING: in ValueUnion()
/base/update/updater/services/script/script_interpreter/
Dscript_yacc.y101 BREAK CONTINUE RETURN COMMA STRING
280 |STRING

12