Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 196) sorted by relevance

12345678

/base/telephony/call_manager/interfaces/innerkits/
Dcall_manager_info.h366 CallRecordInfo(const CallRecordInfo &temp) in CallRecordInfo()
368 *this = temp; in CallRecordInfo()
371 CallRecordInfo &operator=(const CallRecordInfo &temp)
373 callId = temp.callId;
374 … std::copy(std::begin(temp.phoneNumber), std::end(temp.phoneNumber), std::begin(phoneNumber));
375 std::copy(std::begin(temp.formattedPhoneNumber), std::end(temp.formattedPhoneNumber),
377 std::copy(std::begin(temp.numberLocation), std::end(temp.numberLocation),
379 callType = temp.callType;
380 callBeginTime = temp.callBeginTime;
381 callEndTime = temp.callEndTime;
[all …]
Dcall_manager_inner_type.h422 CallMediaModeInfo(const CallMediaModeInfo &temp) in CallMediaModeInfo()
424 *this = temp; in CallMediaModeInfo()
427 CallMediaModeInfo &operator=(const CallMediaModeInfo &temp)
429 callId = temp.callId;
430 isRequestInfo = temp.isRequestInfo;
431 result = temp.result;
432 callMode = temp.callMode;
470 CallSessionEvent(const CallSessionEvent &temp) in CallSessionEvent()
472 *this = temp; in CallSessionEvent()
475 CallSessionEvent &operator=(const CallSessionEvent &temp)
[all …]
Dcall_manager_disconnected_details.h376 DisconnectedDetails(const DisconnectedDetails &temp) in DisconnectedDetails()
378 *this = temp; in DisconnectedDetails()
381 DisconnectedDetails &operator=(const DisconnectedDetails &temp)
383 reason = temp.reason;
384 message = temp.message;
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
Dlib_event_handler_test.cpp62 void* temp = dlsym(handle, func); in GetTemp() local
63 return temp; in GetTemp()
69 void* temp = GetTemp(func, handle); in ExecFfrtNoParam() local
70 if (temp) { in ExecFfrtNoParam()
71 Ffrt ffrt = reinterpret_cast<Ffrt>(temp); in ExecFfrtNoParam()
108 void* temp = GetTemp(str.data(), handle); variable
109 if (temp) {
113 FfrtPostTask ffrt = reinterpret_cast<FfrtPostTask>(temp);
128 void* temp = GetTemp(str.data(), handle); variable
129 if (temp) {
[all …]
/base/security/access_token/services/tokensyncmanager/test/mock/src/
Dsoft_bus_center_mock.cpp53 std::string temp = networkId; in GetNodeKeyInfo() local
54 temp += ":udid-001"; in GetNodeKeyInfo()
55 strncpy_s(reinterpret_cast<char *>(info), infoLen, temp.c_str(), temp.length()); in GetNodeKeyInfo()
56 infoLen = temp.length(); in GetNodeKeyInfo()
59 std::string temp = networkId; in GetNodeKeyInfo() local
60 temp += ":uuid-001"; in GetNodeKeyInfo()
61 strncpy_s(reinterpret_cast<char *>(info), infoLen, temp.c_str(), temp.length()); in GetNodeKeyInfo()
/base/powermgr/thermal_manager/test/systemtest/src/
Dthermal_mgr_interface_test.cpp77 info1.temp = 0; in TearDown()
203 info1.temp = 41000;
209 EXPECT_EQ(info1.temp, info.GetTemp()) << "ThermalMgrInterfaceTest001 Failed";
224 info1.temp = 10000;
230 EXPECT_EQ(info1.temp, info.GetTemp()) << "ThermalMgrInterfaceTest002 Failed";
245 info1.temp = 11000;
251 EXPECT_EQ(info1.temp, info.GetTemp()) << "ThermalMgrInterfaceTest003 Failed";
266 info1.temp = 12000;
272 EXPECT_EQ(info1.temp, info.GetTemp()) << "ThermalMgrInterfaceTest004 Failed";
287 info1.temp = 13000;
[all …]
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_mgr_policy_test.cpp53 info1.temp = 0; in TearDown()
96 info1.temp = 40100;
117 info1.temp = 43100;
138 info1.temp = 46100;
159 info1.temp = 48100;
180 info1.temp = 40100;
187 info1.temp = 48100;
208 info1.temp = 43100;
215 info1.temp = 48100;
236 info1.temp = 48200;
[all …]
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/
Ddas_task_main.c64 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); in GetMaxVersion() local
65 version->third = (version->third) | temp->algInProtocol; in GetMaxVersion()
195 SubTaskBase *temp = (SubTaskBase *)(*ptr); in NegotiateAndProcessTask() local
196 if (g_taskTypeToProtocolType[temp->getTaskType(temp)] == protocolType) { in NegotiateAndProcessTask()
197 subTask = temp; in NegotiateAndProcessTask()
200 temp->destroyTask(temp); in NegotiateAndProcessTask()
304 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); in CreateMultiSubTask() local
306 if (temp->type == ISO && ShouldSkipIso(task, in)) { in CreateMultiSubTask()
311 SubTaskBase *subTask = temp->createSubTask(in); in CreateMultiSubTask()
313 LOGE("Create subTask failed, protocolType: %d.", temp->type); in CreateMultiSubTask()
[all …]
Ddas_module.c95 Task *temp = (Task *)*ptr; in ProcessDasTask() local
96 if (taskId == temp->taskId) { in ProcessDasTask()
97 return temp->processTask(temp, in, out, status); in ProcessDasTask()
110 Task *temp = (Task *)(*ptr); in DestroyDasTask() local
111 if (taskId == temp->taskId) { in DestroyDasTask()
112 temp->destroyTask(temp); in DestroyDasTask()
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
Dbool_serializer.cpp27 std::string temp; in Deserialize() local
28 temp.resize(jsonString.size()); in Deserialize()
29 std::transform(jsonString.begin(), jsonString.end(), temp.begin(), ::tolower); in Deserialize()
30 if (temp == TRUE_VALUE) { in Deserialize()
34 if (temp == FALSE_VALUE) { in Deserialize()
/base/global/i18n_lite/frameworks/i18n/src/
Dplural_format_impl.cpp143 double temp = number * pow(10, i); in ComputeDecimalInfo() local
144 if (i == MAX_FRACTION_NUMBERS && temp - ((int)temp) >= EPS) { in ComputeDecimalInfo()
145 temp = round(temp); in ComputeDecimalInfo()
147 if (temp - ((int)temp) < EPS) { in ComputeDecimalInfo()
148 while (i > 1 && (int) temp % DECIMALISM == 0) { // 10 means decimal in ComputeDecimalInfo()
150 temp /= DECIMALISM; // 10 means decimal in ComputeDecimalInfo()
153 fractionNumber = (int)(temp - integerNumber * pow(10, i)); in ComputeDecimalInfo()
312 bool temp = false; in CompareResult() local
322 temp = true; in CompareResult()
327 temp = true; in CompareResult()
[all …]
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_common_utils.cpp164 uint8_t temp = static_cast<uint8_t>(digit[i] - '0'); in DigitToBcd() local
170 bcd[len] = temp & HEX_VALUE_0F; in DigitToBcd()
172 bcd[len++] |= ((temp & HEX_VALUE_0F) << HEX_VALUE_04); in DigitToBcd()
193 uint8_t temp = bcd[i] & HEX_VALUE_0F; in BcdToDigit() local
198 digit.push_back(BcdToChar(temp)); in BcdToDigit()
199 temp = (bcd[i] & HEX_VALUE_F0) >> HEX_VALUE_04; in BcdToDigit()
200 if (temp == HEX_VALUE_0F) { in BcdToDigit()
203 digit.push_back(BcdToChar(temp)); in BcdToDigit()
210 char temp = static_cast<char>(c + '0'); in BcdToChar() local
211 return temp; in BcdToChar()
/base/telephony/sms_mms/utils/
Dstring_utils.cpp58 unsigned char temp = static_cast<unsigned char>(data[i]) >> HEX_OFFSET; in StringToHex() local
59 ss << HEX_TABLE[temp] << HEX_TABLE[static_cast<unsigned char>(data[i]) & 0xf]; in StringToHex()
68 unsigned char temp = static_cast<unsigned char>(data[i]) >> HEX_OFFSET; in StringToHex() local
69 ss << HEX_TABLE[temp] << HEX_TABLE[static_cast<unsigned char>(data[i]) & 0xf]; in StringToHex()
78 unsigned char temp = static_cast<unsigned char>(data[i]) >> HEX_OFFSET; in StringToHex() local
79 ss << HEX_TABLE[temp] << HEX_TABLE[static_cast<unsigned char>(data[i]) & 0xf]; in StringToHex()
112 …auto temp = static_cast<uint8_t>((HexCharToInt(str.at(i)) << HEX_OFFSET) | HexCharToInt(str.at(i +… in HexToByteVector() local
113 ret.push_back(temp); in HexToByteVector()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dres_locale.cpp48 char *temp = new(std::nothrow) char[len + 1]; in SetLanguage() local
49 if (temp == nullptr) { in SetLanguage()
53 this->language_ = temp; in SetLanguage()
56 *(temp + i) = tolower(*(language + i)); in SetLanguage()
59 *(temp + len) = '\0'; in SetLanguage()
70 char *temp = new(std::nothrow) char[len + 1]; in SetRegion() local
71 if (temp == nullptr) { in SetRegion()
75 this->region_ = temp; in SetRegion()
78 *(temp + i) = toupper(*(region + i)); in SetRegion()
81 *(temp + len) = '\0'; in SetRegion()
[all …]
Dresource_manager_impl.cpp86 std::string temp; in GetStringFormatById() local
87 RState rState = GetString(idItem, temp); in GetStringFormatById()
93 outValue = FormatString(temp.c_str(), args); in GetStringFormatById()
101 std::string temp; in GetStringFormatByName() local
102 RState rState = GetString(idItem, temp); in GetStringFormatByName()
108 outValue = FormatString(temp.c_str(), args); in GetStringFormatByName()
195 std::string temp; in GetPluralStringByIdFormat() local
196 RState rState = GetPluralString(vuqd, quantity, temp); in GetPluralStringByIdFormat()
203 outValue = FormatString(temp.c_str(), args); in GetPluralStringByIdFormat()
213 std::string temp; in GetPluralStringByNameFormat() local
[all …]
/base/global/resource_management/frameworks/resmgr/src/
Dres_locale.cpp52 char *temp = new(std::nothrow) char[len + 1]; in SetLanguage() local
53 if (temp == nullptr) { in SetLanguage()
57 this->language_ = temp; in SetLanguage()
60 *(temp + i) = tolower(*(language + i)); in SetLanguage()
63 *(temp + len) = '\0'; in SetLanguage()
74 char *temp = new(std::nothrow) char[len + 1]; in SetRegion() local
75 if (temp == nullptr) { in SetRegion()
79 this->region_ = temp; in SetRegion()
82 *(temp + i) = toupper(*(region + i)); in SetRegion()
85 *(temp + len) = '\0'; in SetRegion()
[all …]
/base/telephony/sms_mms/services/sms/
Dgsm_cb_gsm_codec.cpp62 uint8_t temp = oneByte; in Decode2gHeader() local
63 cbHeader_->serialNum.geoScope = (temp & HEX_VALUE_C0) >> HEX_VALUE_06; in Decode2gHeader()
64 cbHeader_->serialNum.msgCode = (temp & HEX_VALUE_3F) << HEX_VALUE_04; in Decode2gHeader()
70 temp = oneByte; in Decode2gHeader()
71 cbHeader_->serialNum.msgCode |= (temp & HEX_VALUE_F0) >> HEX_VALUE_04; in Decode2gHeader()
72 cbHeader_->serialNum.updateNum = temp & HEX_VALUE_0F; in Decode2gHeader()
78 temp = oneByte; in Decode2gHeader()
84 cbHeader_->msgId = (temp << HEX_VALUE_08) | oneByte; in Decode2gHeader()
139 uint8_t temp = oneByte; in Decode2gHeaderCommonCb() local
140 cbHeader_->totalPages = temp & HEX_VALUE_0F; in Decode2gHeaderCommonCb()
[all …]
/base/web/webview/ohos_glue/ohos_adapter/bridge/
Dark_paste_data_record_adapter_impl.cpp47 std::shared_ptr<std::string>* temp = static_cast<std::shared_ptr<std::string>*>(htmlText); in SetHtmlText() local
48 return real_->SetHtmlText(*temp); in SetHtmlText()
53 std::shared_ptr<std::string>* temp = static_cast<std::shared_ptr<std::string>*>(plainText); in SetPlainText() local
54 return real_->SetPlainText(*temp); in SetPlainText()
101 NWeb::PasteCustomData* temp = static_cast<NWeb::PasteCustomData*>(data); in SetCustomData() local
102 return real_->SetCustomData(*temp); in SetCustomData()
115 …std::shared_ptr<NWeb::PasteCustomData>* temp = static_cast<std::shared_ptr<NWeb::PasteCustomData>*… in GetCustomData() local
116 *temp = custom; in GetCustomData()
Dark_paste_board_client_adapter_impl.cpp47 NWeb::PasteRecordVector temp; in GetPasteData() local
48 bool result = real_.GetPasteData(temp); in GetPasteData()
49 data = ArkPasteRecordVectorClassToStruct(temp); in GetPasteData()
55 NWeb::PasteRecordVector temp = ArkPasteRecordVectorStructToClass(data); in SetPasteData() local
56 real_.SetPasteData(temp, (NWeb::CopyOptionMode)copyOption); in SetPasteData()
/base/powermgr/thermal_manager/utils/native/src/
Dstring_operation.cpp35 std::string temp; in SplitString() local
40 temp = str.substr(begin, pos - begin); in SplitString()
43 temp = str.substr(begin); in SplitString()
47 if (!temp.empty()) { in SplitString()
48 ret.push_back(temp); in SplitString()
49 temp.clear(); in SplitString()
/base/telephony/core_service/services/sim/src/
Dicc_operator_rule.cpp55 std::string temp(it, ed); in parseSimpleTLV() local
56 …TELEPHONY_LOGE("parseSimpleTLV from '%{public}s' size:%{public}zu < %{public}d", temp.data(), inpu… in parseSimpleTLV()
68 std::string temp(it, ed); in parseSimpleTLV() local
69 …TELEPHONY_LOGE("parseSimpleTLV from '%{public}s' size:%{public}zu < %{public}d", temp.data(), inpu… in parseSimpleTLV()
82 std::string temp(it, ed); in parseSimpleTLV() local
83 …TELEPHONY_LOGE("parseSimpleTLV from '%{public}s' size:%{public}zu < %{public}d", temp.data(), inpu… in parseSimpleTLV()
107 std::string temp(hexStrBeg, hexStrEnd); in CreateFromTLV() local
108 …TELEPHONY_LOGE("hexStr:[%{public}s] not strartWith '%{public}s' !", temp.data(), TAG_ALL_RULE.data… in CreateFromTLV()
141 std::string temp(hexStrBeg, hexStrEnd); in DecodeTLVTagCertPkg() local
142 …TELEPHONY_LOGE("hexStr:[%{public}s] not strartWith '%{public}s' !", temp.data(), TAG_CERT_PKG.data… in DecodeTLVTagCertPkg()
[all …]
/base/request/request/frameworks/native/src/
Dresponse_message_receiver.cpp99 uint32_t temp; in StateFromParcel() local
100 if (Uint32FromParcel(temp, parcel, size) || temp > static_cast<uint32_t>(State::ANY)) { in StateFromParcel()
103 state = static_cast<State>(temp); in StateFromParcel()
109 uint32_t temp; in ActionFromParcel() local
110 if (Uint32FromParcel(temp, parcel, size) || temp > static_cast<uint32_t>(Action::ANY)) { in ActionFromParcel()
113 action = static_cast<Action>(temp); in ActionFromParcel()
119 uint32_t temp; in VersionFromParcel() local
120 if (Uint32FromParcel(temp, parcel, size) || temp > static_cast<uint32_t>(Version::API10)) { in VersionFromParcel()
123 version = static_cast<Version>(temp); in VersionFromParcel()
129 uint32_t temp; in SubscribeTypeFromParcel() local
[all …]
/base/location/services/location_gnss/gnss/source/
Dstring_utils.cpp60 unsigned char temp = static_cast<unsigned char>(data[i]) >> HEX_OFFSET; in StringToHex() local
61 ss << HEX_TABLE[temp] << HEX_TABLE[static_cast<unsigned char>(data[i]) & 0xf]; in StringToHex()
70 unsigned char temp = static_cast<unsigned char>(data[i]) >> HEX_OFFSET; in StringToHex() local
71 ss << HEX_TABLE[temp] << HEX_TABLE[static_cast<unsigned char>(data[i]) & 0xf]; in StringToHex()
80 unsigned char temp = static_cast<unsigned char>(data[i]) >> HEX_OFFSET; in StringToHex() local
81 ss << HEX_TABLE[temp] << HEX_TABLE[static_cast<unsigned char>(data[i]) & 0xf]; in StringToHex()
114 …auto temp = static_cast<uint8_t>((HexCharToInt(str.at(i)) << HEX_OFFSET) | HexCharToInt(str.at(i +… in HexToByteVector() local
115 ret.push_back(temp); in HexToByteVector()
/base/security/device_security_level/baselib/utils/include/
Dutils_dslm_list.h63 #define FOREACH_LIST_NODE_SAFE(item, head, temp) \ argument
64 …for ((item) = (head)->next, (temp) = (item)->next; (item) != (head); (item) = (temp), (temp) = (it…
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DPluralFetcher.java63 String[] temp = getPluralItems(line); in init() local
64 map.put(temp[0], temp[1]); in init()
75 String[] temp = getPluralItems(line); in init() local
76 decimalMap.put(temp[0], temp[1]); in init()

12345678