/ohos5.0/base/security/huks/frameworks/crypto_lite/js/builtin/src/ |
H A D | cipher_module.cpp | 34 char *strKey = JSI::GetStringProperty(args[0], "key"); in Rsa() local 46 if ((strKey == nullptr) || (strText == nullptr)) { in Rsa() 50 rsaKey.key = strKey; in Rsa() 51 rsaKey.keyLen = strlen(strKey); in Rsa() 85 ResetStrBuf(strKey); in Rsa() 86 JSI::ReleaseString(strKey); in Rsa() 108 char *strKey = JSI::GetStringProperty(args[0], "key"); in Aes() local 134 ret = InitAesCryptData(strAction, strText, strKey, &iv, &aes); in Aes() 152 ResetStrBuf(strKey); in Aes() 154 JSI::ReleaseString(strKey); in Aes()
|
/ohos5.0/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_configuration.cpp | 202 void NetworkShareConfiguration::ParseConfigData(Config_Value cfgValue, std::string &strKey, std::st… in ParseConfigData() argument 225 NETMGR_EXT_LOG_E("strKey:%{public}s is unknown data.", strKey.c_str()); in ParseConfigData() 229 void NetworkShareConfiguration::ParseLineData(std::string &strKey, std::string &strVal) in ParseLineData() argument 231 switch (configMap_[strKey]) { in ParseLineData() 252 ParseConfigData(configMap_[strKey], strKey, strVal); in ParseLineData() 273 std::string strKey = line.substr(0, pos); in LoadConfigData() local 275 … NETMGR_EXT_LOG_I("strKey:%{public}s, strValue:%{private}s.", strKey.c_str(), strValue.c_str()); in LoadConfigData() 276 this->ParseLineData(strKey, strValue); in LoadConfigData()
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/ |
H A D | distributed_want_params_wrapper.cpp | 137 std::string strKey = ""; in Parse() local 140 …if (str[strnum] == '{' && strKey != "" && typeId == DistributedWantParams::VALUE_TYPE_WANTPARAMS) { in Parse() 142 …wantParams.SetParam(strKey, DistributedWantParamWrapper::Parse(str.substr(strnum, num - strnum + 1… in Parse() 143 strKey = ""; in Parse() 149 if (strKey == "") { in Parse() 153 strKey = str.substr(strnum, pos - strnum); in Parse() 165 wantParams.SetParam(strKey, in Parse() 170 strKey = ""; in Parse()
|
/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
H A D | nativetoken_json_oper.c | 84 cJSON *strArrJson = cJSON_GetObjectItem(cjsonItem, attr->strKey); in GetInfoArrFromJson() 118 … int32_t AddStrArrayInfo(cJSON *object, char* const strArray[], int32_t strNum, const char *strKey) in AddStrArrayInfo() argument 122 … NativeTokenKmsg(NATIVETOKEN_KERROR, "[%s]:CreateArray failed, strKey :%s.", __func__, strKey); in AddStrArrayInfo() 128 … NativeTokenKmsg(NATIVETOKEN_KERROR, "[%s]:AddItemToArray failed, strKey : %s.", __func__, strKey); in AddStrArrayInfo() 134 if (!cJSON_AddItemToObject(object, strKey, strJsonArr)) { in AddStrArrayInfo() 135 …NativeTokenKmsg(NATIVETOKEN_KERROR, "[%s]:AddItemToObject failed, strKey : %s.", __func__, strKey); in AddStrArrayInfo() 208 static uint32_t UpdateStrArrayType(char* const strArr[], int32_t strNum, const char *strKey, cJSON … in UpdateStrArrayType() argument 229 if (cJSON_GetObjectItem(record, strKey) != NULL) { in UpdateStrArrayType() 230 if (!cJSON_ReplaceItemInObject(record, strKey, strArrJson)) { in UpdateStrArrayType() 236 if (!cJSON_AddItemToObject(record, strKey, strArrJson)) { in UpdateStrArrayType()
|
H A D | nativetoken.c | 95 …atic void StrAttrSet(StrArrayAttr *attr, uint32_t maxStrLen, int32_t maxStrNum, const char *strKey) in StrAttrSet() argument 99 attr->strKey = strKey; in StrAttrSet()
|
/ohos5.0/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/ |
H A D | code_sign_utils_in_c.cpp | 40 std::string strKey(entry.key); in EnforceCodeSignForApp() local 42 if (entryPathMap.find(strKey) != entryPathMap.end()) { in EnforceCodeSignForApp() 45 entryPathMap[strKey] = strValue; in EnforceCodeSignForApp()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/native/common/ndk/ |
H A D | image_receiver_native.cpp | 188 std::string strKey = receiver->ptrImgRcv->iraContext_->GetReceiverKey(); in OH_ImageReceiverNative_GetReceivingSurfaceId() local 189 if (strKey.empty()) { in OH_ImageReceiverNative_GetReceivingSurfaceId() 193 …IMAGE_LOGI("OH_ImageReceiverNative_GetReceivingSurfaceId Receiver key = %{public}s", strKey.c_str(… in OH_ImageReceiverNative_GetReceivingSurfaceId() 195 if (!ConvertToUint64(strKey, *surfaceId)) { in OH_ImageReceiverNative_GetReceivingSurfaceId() 196 IMAGE_LOGI("strKey = %{public}s convert string to uint64_t failed", strKey.c_str()); in OH_ImageReceiverNative_GetReceivingSurfaceId()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/ability_runtime/ |
H A D | local_call_container.cpp | 308 const std::string strKey = element.GetURI(); in SetCallLocalRecord() local 310 auto iter = callProxyRecords_.find(strKey); in SetCallLocalRecord() 313 callProxyRecords_.emplace(strKey, records); in SetCallLocalRecord() 323 const std::string strKey = element.GetURI(); in SetMultipleCallLocalRecord() local 325 auto iter = multipleCallProxyRecords_.find(strKey); in SetMultipleCallLocalRecord() 328 multipleCallProxyRecords_.emplace(strKey, records); in SetMultipleCallLocalRecord()
|
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-jsvm-about-property.md | 374 char strKey[32] = ""; 376 // 获取传入参数字符串并存储在strKey中 378 OH_JSVM_GetValueStringUtf8(env, str, strKey, 32, &keyLength); 387 JSVM_Status status = OH_JSVM_SetNamedProperty(env, newObj, strKey, numValue); 431 char strKey[32] = ""; 435 OH_JSVM_GetValueStringUtf8(env, args[1], strKey, 32, &keyLength); 438 JSVM_Status status = OH_JSVM_GetNamedProperty(env, args[0], strKey, &result); 482 char strKey[32] = ""; 486 OH_JSVM_GetValueStringUtf8(env, args[1], strKey, 32, &keyLength); 489 JSVM_Status status = OH_JSVM_HasNamedProperty(env, args[0], strKey, &hasProperty);
|
H A D | use-napi-about-property.md | 396 char strKey[strLength] = ""; 398 // 获取传入参数字符串并存储在strKey中 400 napi_get_value_string_utf8(env, str, strKey, strLength, &keyLength); 409 napi_status status = napi_set_named_property(env, newObj, strKey, numValue); 452 char strKey[strLength] = ""; 456 napi_get_value_string_utf8(env, args[1], strKey, strLength, &keyLength); 459 napi_status status = napi_get_named_property(env, args[0], strKey, &result); 518 char strKey[strLength] = ""; 522 napi_get_value_string_utf8(env, args[1], strKey, strLength, &keyLength); 525 napi_status status = napi_has_named_property(env, args[0], strKey, &hasProperty);
|
/ohos5.0/foundation/multimedia/av_session/services/session/server/remote/ |
H A D | remote_session_capability_set.cpp | 63 std::string strKey = sessionId + "-" + sinkDevice; in HasCapability() local 64 auto iter = capabilitys_.find(strKey); in HasCapability()
|
/ohos5.0/foundation/communication/netmanager_ext/services/networksharemanager/include/ |
H A D | networkshare_configuration.h | 126 void ParseLineData(std::string &strKey, std::string &strVal); 166 void ParseConfigData(Config_Value cfgValue, std::string &strKey, std::string &strVal);
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/protocol/ |
H A D | json_protocol.cpp | 60 for (const auto& [intKey, strKey] : NegotiateMessage::keyStringTable_) { in Read() 61 if (jsonKey == strKey) { in Read()
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | distributed_data_change_listener.cpp | 39 static unique_ptr<KeyInfo> ParseInfo(const std::string& strKey) in ParseInfo() 42 SplitStr(strKey, "_", strVector); in ParseInfo()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_kv_concurrency_crud_test.cpp | 70 string strKey, strValue; in ConcurOperThread() local 82 Uint8VecToString(paramsPtr->entryPtr_->key, strKey); in ConcurOperThread() 95 Uint8VecToString(paramsPtr->entryPtr_->key, strKey); in ConcurOperThread()
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-jsvm-about-property.md | 374 char strKey[32] = ""; 376 // Obtain the string passed in and store it in strKey. 378 OH_JSVM_GetValueStringUtf8(env, str, strKey, 32, &keyLength); 387 JSVM_Status status = OH_JSVM_SetNamedProperty(env, newObj, strKey, numValue); 431 char strKey[32] = ""; 435 OH_JSVM_GetValueStringUtf8(env, args[1], strKey, 32, &keyLength); 438 JSVM_Status status = OH_JSVM_GetNamedProperty(env, args[0], strKey, &result); 482 char strKey[32] = ""; 486 OH_JSVM_GetValueStringUtf8(env, args[1], strKey, 32, &keyLength); 489 JSVM_Status status = OH_JSVM_HasNamedProperty(env, args[0], strKey, &hasProperty);
|
H A D | use-napi-about-property.md | 396 char strKey[strLength] = ""; 398 // Obtain the string passed in and store it in strKey. 400 napi_get_value_string_utf8(env, str, strKey, strLength, &keyLength); 409 napi_status status = napi_set_named_property(env, newObj, strKey, numValue); 452 char strKey[strLength] = ""; 456 napi_get_value_string_utf8(env, args[1], strKey, strLength, &keyLength); 459 napi_status status = napi_get_named_property(env, args[0], strKey, &result); 518 char strKey[strLength] = ""; 522 napi_get_value_string_utf8(env, args[1], strKey, strLength, &keyLength); 525 napi_status status = napi_has_named_property(env, args[0], strKey, &hasProperty);
|
/ohos5.0/foundation/ability/dmsfwk/interfaces/kits/napi/continuation_manager/ |
H A D | js_device_selection_listener.cpp | 194 const napi_value object, const std::string &strKey, const std::string &strValue) const in SetKeyValue() argument 198 napi_set_named_property(env, object, strKey.c_str(), attrValue); in SetKeyValue()
|
H A D | js_device_selection_listener.h | 48 const napi_value object, const std::string &strKey, const std::string &strValue) const;
|
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/ |
H A D | preferences_file_test.cpp | 56 const std::string &strKey, const std::string &strValue) in PreferencesPutValue() argument 59 pref->PutString(strKey, strValue); in PreferencesPutValue()
|
/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/include/ |
H A D | nativetoken.h | 92 const char *strKey; member
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/convertxml/ |
H A D | js_convertxml.h | 133 void SetKeyValue(napi_env env, const napi_value &object, const std::string strKey,
|
/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
H A D | nativetoken_oper_test.cpp | 179 attr.strKey = "dcaps";
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/common/ |
H A D | common_napi.cpp | 188 std::string strKey = GetStringArgument(env, jsKey, CUSTOM_MAX_LENGTH); in GetPropertyRecord() local 189 CHECK_AND_RETURN_RET_LOG(strKey != "", napi_invalid_arg, "key not supported"); in GetPropertyRecord() 191 status = napi_get_named_property(env, in, strKey.c_str(), &jsValue); in GetPropertyRecord() 199 meta.SetData(strKey, strValue); in GetPropertyRecord()
|
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | web_scheme_handler_request.cpp | 104 std::string strKey(key); in WebSchemeHandlerRequest() local 106 headerList_.emplace_back(std::make_pair(strKey, strValue)); in WebSchemeHandlerRequest()
|