/base/startup/init/services/init/ |
D | init_service_manager.c | 338 char *stringValue = GetStringValue(json, "family", &strLen); in ParseSocketFamily() local 339 INIT_ERROR_CHECK((stringValue != NULL) && (strLen > 0), return SERVICE_FAILURE, in ParseSocketFamily() 341 if (strcmp(stringValue, "AF_UNIX") == 0) { in ParseSocketFamily() 343 } else if (strncmp(stringValue, "AF_NETLINK", strLen) == 0) { in ParseSocketFamily() 353 char *stringValue = GetStringValue(json, "type", &strLen); in ParseSocketType() local 354 INIT_ERROR_CHECK((stringValue != NULL) && (strLen > 0), return SERVICE_FAILURE, in ParseSocketType() 356 if (strncmp(stringValue, "SOCK_SEQPACKET", strLen) == 0) { in ParseSocketType() 358 } else if (strncmp(stringValue, "SOCK_STREAM", strLen) == 0) { in ParseSocketType() 360 } else if (strncmp(stringValue, "SOCK_DGRAM", strLen) == 0) { in ParseSocketType() 370 char *stringValue = GetStringValue(json, "protocol", &strLen); in ParseSocketProtocol() local [all …]
|
/base/web/webview/interfaces/kits/napi/common/ |
D | napi_parse_utils.cpp | 215 char *stringValue = new (std::nothrow) char[bufferSize + 1]; in ParseString() local 216 if (stringValue == nullptr) { in ParseString() 221 napi_get_value_string_utf8(env, argv, stringValue, bufferSize + 1, &jsStringLength); in ParseString() 223 delete [] stringValue; in ParseString() 224 stringValue = nullptr; in ParseString() 227 std::string message(stringValue); in ParseString() 229 delete [] stringValue; in ParseString() 230 stringValue = nullptr; in ParseString()
|
/base/telephony/core_service/frameworks/native/src/ |
D | operator_config_types.cpp | 71 if (!parcel.WriteInt32(stringValue.size())) { in MarshallingStringMap() 74 auto valueIt = stringValue.begin(); in MarshallingStringMap() 75 while (valueIt != stringValue.end()) { in MarshallingStringMap() 252 stringValue.clear(); in ReadFromStringMap() 261 stringValue.emplace(std::pair<std::string, std::string>(first, second)); in ReadFromStringMap()
|
/base/telephony/core_service/services/sim/src/ |
D | operator_config_cache.cpp | 61 opc_.stringValue.clear(); in ClearMemoryCache() 145 for (const auto &it : from.stringValue) { in CopyOperatorConfig() 146 to.stringValue[it.first] = it.second; in CopyOperatorConfig()
|
D | operator_file_parser.cpp | 154 if (valueType == Json::stringValue) { in ParseOperatorConfigFromJson() 156 opc.stringValue[keyStr8] = value.asString(); in ParseOperatorConfigFromJson() 233 if (valueType == Json::stringValue) { in ParseArray()
|
/base/web/webview/interfaces/kits/napi/webdatabase/ |
D | napi_web_data_base.cpp | 99 char stringValue[bufferSize + 1]; in GetStringPara() local 101 napi_get_value_string_utf8(env, argv, stringValue, bufferSize + 1, &jsStringLength); in GetStringPara() 105 outValue = stringValue; in GetStringPara()
|
D | napi_geolocation_permission.cpp | 97 char stringValue[bufferSize + 1]; in GetStringPara() local 99 napi_get_value_string_utf8(env, argv, stringValue, bufferSize + 1, &jsStringLength); in GetStringPara() 103 outValue = stringValue; in GetStringPara()
|
/base/web/webview/interfaces/kits/napi/webasynccontroller/ |
D | napi_web_async_controller.cpp | 120 char stringValue[bufferSize + 1]; in JS_StoreWebArchive() local 122 napi_get_value_string_utf8(env, argv[0], stringValue, bufferSize + 1, &jsStringLength); in JS_StoreWebArchive() 124 std::string baseName(stringValue); in JS_StoreWebArchive()
|
/base/web/webview/interfaces/kits/napi/webstorage/ |
D | napi_web_storage.cpp | 90 char stringValue[bufferSize + 1]; in JsDeleteOrigin() local 92 napi_get_value_string_utf8(env, argv, stringValue, bufferSize + 1, &jsStringLength); in JsDeleteOrigin() 97 std::string origin(stringValue); in JsDeleteOrigin() 455 char stringValue[bufferSize + 1]; in JsGetOriginUsageOrQuota() local 457 napi_get_value_string_utf8(env, argv[PARAMZERO], stringValue, bufferSize + 1, &jsStringLength); in JsGetOriginUsageOrQuota() 462 std::string origin(stringValue); in JsGetOriginUsageOrQuota()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | operator_config_types.h | 97 std::map<std::string, std::string> stringValue {};
|
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/ |
D | map_string_serializer.cpp | 43 …if (root[member].type() != Json::ValueType::stringValue && root[member].type() != Json::ValueType:… in Deserialize()
|
/base/web/webview/interfaces/kits/napi/webcookiemanager/ |
D | napi_web_cookie_manager.cpp | 83 char stringValue[bufferSize + 1]; in GetStringPara() local 85 napi_get_value_string_utf8(env, argv, stringValue, bufferSize + 1, &jsStringLength); in GetStringPara() 89 outValue = stringValue; in GetStringPara()
|
/base/update/updater/services/script/script_interpreter/ |
D | script_context.cpp | 487 StringValue* stringValue = (StringValue*)(rightValue.get()); in Computer() local 488 if (stringValue == nullptr) { in Computer() 493 return make_shared<StringValue>(str + stringValue->GetValue()); in Computer()
|
/base/telephony/core_service/services/network_search/src/ |
D | operator_name.cpp | 496 …if (operatorConfig.stringValue.find(KEY_OPERATOR_NAME_CUST_STRING) != operatorConfig.stringValue.e… in UpdateOperatorConfig() 497 spnCust_ = operatorConfig.stringValue[KEY_OPERATOR_NAME_CUST_STRING]; in UpdateOperatorConfig()
|
/base/telephony/cellular_call/vendor/ims/services/ims_call/src/ |
D | ims_call_stub.cpp | 365 std::string stringValue = data.ReadString(); in OnSetImsConfigString() local 367 reply.WriteInt32(SetImsConfig(item, stringValue)); in OnSetImsConfigString()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | napi_webview_controller.cpp | 1457 char* stringValue = new (std::nothrow) char[bufferSize + 1]; in PostMessageEvent() local 1458 if (stringValue == nullptr) { in PostMessageEvent() 1463 … napi_get_value_string_utf8(env, argv[INTEGER_ZERO], stringValue, bufferSize + 1, &jsStringLength); in PostMessageEvent() 1464 std::string message(stringValue); in PostMessageEvent() 1465 delete [] stringValue; in PostMessageEvent() 1466 stringValue = nullptr; in PostMessageEvent()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_test_util.cpp | 128 EXPECT_EQ("JSON中国", poc.stringValue["string"]); in CompareOperatorConfProcess()
|