/base/msdp/device_status/utils/common/src/ |
H A D | preview_style_packer.cpp | 32 for (const auto &elem : previewStyle.types) { in Marshalling() 33 types.push_back(static_cast<int32_t>(elem)); in Marshalling() 47 for (const auto &elem : types) { in UnMarshalling() 48 previewStyle.types.push_back(static_cast<PreviewType>(elem)); in UnMarshalling()
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
H A D | cm_napi_common.cpp | 412 napi_value elem = nullptr; in GenerateCertInfo() local 413 NAPI_CALL(env, napi_create_object(env, &elem)); in GenerateCertInfo() 414 NAPI_CALL(env, napi_set_named_property(env, elem, CM_CERT_PROPERTY_URI.c_str(), cInfVal.uri)); in GenerateCertInfo() 415 NAPI_CALL(env, napi_set_named_property(env, elem, CM_CERT_PROPERTY_CERTALIAS.c_str(), cInfVal.certAlias)); in GenerateCertInfo() 416 NAPI_CALL(env, napi_set_named_property(env, elem, CM_CERT_PROPERTY_STATUS.c_str(), cInfVal.status)); in GenerateCertInfo() 417 NAPI_CALL(env, napi_set_named_property (env, elem, CM_CERT_PROPERTY_STATE.c_str(), cInfVal.status)); in GenerateCertInfo() 419 NAPI_CALL(env, napi_set_named_property(env, elem, CM_CERT_PROPERTY_ISSUERNAME.c_str(), cInfVal.issuerName)); in GenerateCertInfo() 420 NAPI_CALL(env, napi_set_named_property(env, elem, CM_CERT_PROPERTY_SUBJECTNAME.c_str(), cInfVal.subjectName)); in GenerateCertInfo() 421 NAPI_CALL(env, napi_set_named_property(env, elem, CM_CERT_PROPERTY_SERIAL.c_str(), cInfVal.serial)); in GenerateCertInfo() 422 NAPI_CALL(env, napi_set_named_property(env, elem, CM_CERT_PROPERTY_BEFOR in GenerateCertInfo() [all...] |
/base/inputmethod/imf/frameworks/cj/src/ |
H A D | input_method_ffi.cpp | 119 int32_t FfiInputMethodGetSystemInputMethodConfigAbility(CElementName &elem) in FfiInputMethodGetSystemInputMethodConfigAbility() argument 128 elem.deviceId = Utils::MallocCString(inputMethodConfig.GetDeviceID()); in FfiInputMethodGetSystemInputMethodConfigAbility() 129 elem.bundleName = Utils::MallocCString(inputMethodConfig.GetBundleName()); in FfiInputMethodGetSystemInputMethodConfigAbility() 130 elem.abilityName = Utils::MallocCString(inputMethodConfig.GetAbilityName()); in FfiInputMethodGetSystemInputMethodConfigAbility() 131 elem.moduleName = Utils::MallocCString(inputMethodConfig.GetModuleName()); in FfiInputMethodGetSystemInputMethodConfigAbility()
|
/base/sensors/sensor/vibration_convert/core/native/src/ |
H A D | vibration_convert_core.cpp | 356 for (auto &elem : envelopes) { in GetLocalEnvelope() 357 elem = std::fabs(elem); in GetLocalEnvelope() 360 for (auto &elem : envelopes) { in GetLocalEnvelope() 361 if (elem < threshold) { in GetLocalEnvelope() 362 elem = 0; in GetLocalEnvelope() 728 for (auto &elem : envelope) { in GetUnzeroCount() 729 elem = std::fabs(elem); in GetUnzeroCount() 730 if (elem < LOWER_AM in GetUnzeroCount() [all...] |
/base/security/selinux_adapter/scripts/ |
H A D | build_policy_api.py | 194 for index, elem in enumerate(elem_list[1:]): 195 sub_string = simplify_string(elem) 197 elem_list[index + 1] = elem.replace(sub_string, add_version(version, sub_string)) 206 for index, elem in enumerate(elem_list[1:3]): 207 sub_string = simplify_string(elem) 209 elem_list[index + 1] = elem.replace(sub_string, add_version(version, sub_string))
|
/base/msdp/device_status/intention/cooperate/plugin/src/ |
H A D | input_device_mgr.cpp | 238 for (const auto &elem : remoteDevices_[networkId]) { in DumpRemoteInputDevice() 239 FI_HILOGI("DeviceId:%{public}d, deviceName:%{public}s", elem->GetId(), elem->GetName().c_str()); in DumpRemoteInputDevice()
|
/base/inputmethod/imf/frameworks/cj/include/ |
H A D | input_method_ffi.h | 29 FFI_EXPORT int32_t FfiInputMethodGetSystemInputMethodConfigAbility(CElementName &elem);
|
/base/request/request/frameworks/cj/ffi/src/ |
H A D | cj_initialize.cpp | 368 for (auto elem : pathDirs) { in CreateDirs() 369 path += "/" + elem; in CreateDirs() 468 for (auto elem : in) { in PathVecToNormal() 469 if (elem == "..") { in PathVecToNormal() 476 out.push_back(elem); in PathVecToNormal() 489 for (auto elem : out) { in WholeToNormal() 490 normalPath += "/" + elem; in WholeToNormal()
|
H A D | cj_request_common.cpp | 182 CHashStrPair *elem = &out.extras.headers[index++]; in Convert2CProgress() local 183 elem->key = MallocCString(iter->first); in Convert2CProgress() 184 elem->value = MallocCString(iter->second); in Convert2CProgress()
|
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/ |
H A D | dsoftbus_adapter_impl.cpp | 250 for (const auto &elem : sessions_) { in BroadcastPacket() 251 int32_t socket = elem.second.socket_; in BroadcastPacket() 253 FI_HILOGE("Node \'%{public}s\' is not connected", Utility::Anonymize(elem.first).c_str()); in BroadcastPacket() 260 FI_HILOGI("BroadcastPacket to networkId:%{public}s success", Utility::Anonymize(elem.first).c_str()); in BroadcastPacket()
|
/base/telephony/call_manager/services/audio/src/ |
H A D | audio_device_manager.cpp | 213 for (auto &elem : info_.audioDeviceList) { in RemoveAudioDeviceList() 214 if (elem.deviceType == AudioDeviceType::DEVICE_WIRED_HEADSET) { in RemoveAudioDeviceList() 217 if (elem.deviceType == AudioDeviceType::DEVICE_BLUETOOTH_SCO) { in RemoveAudioDeviceList()
|
/base/request/request/frameworks/js/napi/src/ |
H A D | js_initialize.cpp | 1150 for (auto elem : pathDirs) {
in CreateDirs() 1151 path += "/" + elem;
in CreateDirs() 1268 for (auto elem : out) {
in WholeToNormal() 1269 normalPath += "/" + elem;
in WholeToNormal() 1277 for (auto elem : in) {
in PathVecToNormal() 1278 if (elem == "..") {
in PathVecToNormal() 1285 out.push_back(elem);
in PathVecToNormal()
|
/base/telephony/state_registry/frameworks/js/napi/src/ |
H A D | event_listener_handler.cpp | 570 for (auto &elem : removeTypeMap) { in UnRegisterAllListener() 571 for (auto &innerElem : elem.second) { in UnRegisterAllListener() 572 CheckRemoveStateObserver(innerElem, elem.first, result); in UnRegisterAllListener()
|