Home
last modified time | relevance | path

Searched refs:temp (Results 1 - 25 of 198) sorted by relevance

12345678

/base/telephony/call_manager/interfaces/innerkits/
H A Dcall_manager_info.h408 CallRecordInfo(const CallRecordInfo &temp) in CallRecordInfo()
410 *this = temp; in CallRecordInfo()
413 CallRecordInfo &operator=(const CallRecordInfo &temp) in operator =()
415 callId = temp.callId; in operator =()
416 std::copy(std::begin(temp.phoneNumber), std::end(temp.phoneNumber), std::begin(phoneNumber)); in operator =()
417 std::copy(std::begin(temp.formattedNumberToE164), std::end(temp.formattedNumberToE164), in operator =()
419 std::copy(std::begin(temp.formattedNumber), std::end(temp in operator =()
[all...]
H A Dcall_manager_inner_type.h422 CallMediaModeInfo(const CallMediaModeInfo &temp) in CallMediaModeInfo()
424 *this = temp; in CallMediaModeInfo()
427 CallMediaModeInfo &operator=(const CallMediaModeInfo &temp) in operator =()
429 callId = temp.callId; in operator =()
430 isRequestInfo = temp.isRequestInfo; in operator =()
431 result = temp.result; in operator =()
432 callMode = temp.callMode; in operator =()
472 CallSessionEvent(const CallSessionEvent &temp) in CallSessionEvent()
474 *this = temp; in CallSessionEvent()
477 CallSessionEvent &operator=(const CallSessionEvent &temp) in operator =()
[all...]
H A Dcall_manager_disconnected_details.h386 DisconnectedDetails(const DisconnectedDetails &temp) in DisconnectedDetails()
388 *this = temp; in DisconnectedDetails()
391 DisconnectedDetails &operator=(const DisconnectedDetails &temp) in operator =()
393 reason = temp.reason; in operator =()
394 message = temp.message; in operator =()
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
H A 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()
109 void* temp = GetTemp(str.data(), handle); in HWTEST_F() local
110 if (temp) { in HWTEST_F()
114 FfrtPostTask ffrt = reinterpret_cast<FfrtPostTask>(temp); in HWTEST_F()
129 void* temp = GetTemp(str.data(), handle); in HWTEST_F() local
130 if (temp) { in HWTEST_F()
149 void* temp = GetTemp(str.data(), handle); HWTEST_F() local
166 void* temp = GetTemp(str.data(), handle); HWTEST_F() local
[all...]
/base/web/webview/test/unittest/ohos_adapter/sensor_adapter_impl_test/
H A Dsensor_adapter_impl_test.cpp96 double temp = 1.1; in HWTEST_F() local
98 g_sensoCallback->UpdateOhosSensorData(temp, temp, temp, temp, temp); in HWTEST_F()
103 g_sensoCallback->UpdateOhosSensorData(temp, temp, temp, temp, tem in HWTEST_F()
115 int32_t temp = 1; HWTEST_F() local
131 int32_t temp = 11; HWTEST_F() local
150 int32_t temp = 1; HWTEST_F() local
169 int32_t temp = 1; HWTEST_F() local
187 int32_t temp = 1; HWTEST_F() local
206 int64_t temp = 0; HWTEST_F() local
[all...]
/base/powermgr/thermal_manager/test/systemtest/src/
H A Dthermal_mgr_interface_test.cpp77 info1.temp = 0; in TearDown()
115 THERMAL_HILOGD(LABEL_TEST, "type: %{public}s, temp: %{public}d", iter.first.c_str(), iter.second); in OnThermalTempChanged()
126 THERMAL_HILOGD(LABEL_TEST, "type: %{public}s, temp: %{public}d", iter.first.c_str(), iter.second); in OnThermalTempChanged()
193 * @tc.desc: test get sensor temp
203 info1.temp = 41000; in HWTEST_F()
209 EXPECT_EQ(info1.temp, info.GetTemp()) << "ThermalMgrInterfaceTest001 Failed"; in HWTEST_F()
215 * @tc.desc: test get sensor temp
224 info1.temp = 10000; in HWTEST_F()
230 EXPECT_EQ(info1.temp, info.GetTemp()) << "ThermalMgrInterfaceTest002 Failed"; in HWTEST_F()
236 * @tc.desc: test get sensor temp
310 int32_t temp = 10000; HWTEST_F() local
383 int32_t temp = -25100; HWTEST_F() local
506 int32_t temp = 10000; HWTEST_F() local
[all...]
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/
H A Ddas_task_main.c64 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); in GetMaxVersion() local
65 version->third = (version->third) | temp->algInProtocol; in GetMaxVersion()
199 SubTaskBase *temp = (SubTaskBase *)(*ptr); in NegotiateAndProcessTask() local
200 if (g_taskTypeToProtocolType[temp->getTaskType(temp)] == protocolType) { in NegotiateAndProcessTask()
201 subTask = temp; in NegotiateAndProcessTask()
204 temp->destroyTask(temp); in NegotiateAndProcessTask()
308 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); in CreateMultiSubTask() local
310 if (temp in CreateMultiSubTask()
356 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); CreateSingleSubTask() local
430 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); RegisterLocalIdentityInTask() local
450 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); UnregisterLocalIdentityInTask() local
470 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); DeletePeerAuthInfoInTask() local
489 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); GetPublicKeyInTask() local
[all...]
H A 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/
H A 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/telephony/sms_mms/utils/
H A 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 + 1))); in HexToByteVector() local
113 ret.push_back(temp); in HexToByteVector()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A 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>*>(data); in GetCustomData() local
116 *temp = custom; in GetCustomData()
H A 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/test/unittest/src/
H A Dthermal_mgr_policy_test.cpp53 info1.temp = 0; in TearDown()
85 * @tc.desc: test get current configured level by setting temp
87 * @tc.cond: Set Battery temp, High Temp
96 info1.temp = 40100; in HWTEST_F()
106 * @tc.desc: test get current configured level by setting temp
108 * @tc.cond: Set Battery temp, High Temp
117 info1.temp = 43100; in HWTEST_F()
127 * @tc.desc: test get current configured level by setting temp
129 * @tc.cond: Set Battery temp, High Temp
138 info1.temp in HWTEST_F()
[all...]
/base/telephony/sms_mms/services/sms/
H A 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()
141 uint8_t temp = oneByte; in Decode2gHeaderCommonCb() local
142 cbHeader_->totalPages = temp in Decode2gHeaderCommonCb()
[all...]
/base/print/print_fwk/test/unittest/fwk_print_helper_test/
H A Dprint_bms_helper_test.cpp74 std::shared_ptr<PrintServiceHelper> temp = std::shared_ptr<PrintServiceHelper>(helper); in HWTEST_F() local
75 printBMSHelper.SetHelper(temp); in HWTEST_F()
76 EXPECT_EQ(printBMSHelper.helper_, temp); in HWTEST_F()
89 std::shared_ptr<PrintServiceHelper> temp = nullptr; in HWTEST_F() local
90 DelayedSingleton<PrintBMSHelper>::GetInstance()->SetHelper(temp); in HWTEST_F()
103 std::shared_ptr<PrintServiceHelper> temp = nullptr; in HWTEST_F() local
104 DelayedSingleton<PrintBMSHelper>::GetInstance()->SetHelper(temp); in HWTEST_F()
/base/global/resource_management/frameworks/resmgr/src/
H A Dres_locale.cpp51 char *temp = new(std::nothrow) char[len + 1]; in SetLanguage() local
52 if (temp == nullptr) { in SetLanguage()
56 this->language_ = temp; in SetLanguage()
59 *(temp + i) = tolower(*(language + i)); in SetLanguage()
62 *(temp + len) = '\0'; in SetLanguage()
73 char *temp = new(std::nothrow) char[len + 1]; in SetRegion() local
74 if (temp == nullptr) { in SetRegion()
78 this->region_ = temp; in SetRegion()
81 *(temp + i) = toupper(*(region + i)); in SetRegion()
84 *(temp in SetRegion()
95 char *temp = new(std::nothrow) char[len + 1]; SetScript() local
338 Locale temp = icu::LocaleBuilder().setLocale(localeInfo).build(errCode); UpdateDefault() local
372 Locale temp = icu::LocaleBuilder().setLanguage(resLocale->GetLanguage()) BuildFromString() local
469 ResLocale *temp = tempCandidate.at(j + 1); FindAndSort() local
[all...]
/base/security/device_security_level/baselib/utils/include/
H A Dutils_dslm_list.h63 #define FOREACH_LIST_NODE_SAFE(item, head, temp) \
64 for ((item) = (head)->next, (temp) = (item)->next; (item) != (head); (item) = (temp), (temp) = (item)->next)
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A 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 in SetRegion()
92 char *temp = new(std::nothrow) char[len + 1]; SetScript() local
337 LocaleInfo *temp = new(std::nothrow) LocaleInfo(localeInfo.GetLanguage(), UpdateDefault() local
460 ResLocale *temp = tempCandidate.at(j + 1); FindAndSort() local
[all...]
H A 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
392 std::string temp; GetBoolean() local
425 std::string temp; GetFloat() local
451 std::string temp; GetInteger() local
477 std::string temp; GetColor() local
[all...]
/base/global/i18n_lite/frameworks/i18n/src/
H A 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 in ComputeDecimalInfo()
312 bool temp = false; CompareResult() local
348 bool temp = true; CompareNotEqualResult() local
[all...]
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
H A DPluralFetcher.java63 String[] temp = getPluralItems(line); in init()
64 map.put(temp[0], temp[1]); in init()
75 String[] temp = getPluralItems(line); in init()
76 decimalMap.put(temp[0], temp[1]); in init()
/base/powermgr/thermal_manager/utils/native/src/
H A 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/powermgr/thermal_manager/interfaces/inner_api/native/include/
H A Dthermal_srv_sensor_info.h29 explicit ThermalSrvSensorInfo(std::string &type, int32_t &temp);
47 inline void SetTemp(const int32_t &temp) in SetTemp() argument
49 temp_ = temp; in SetTemp()
/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_common_utils.cpp214 uint8_t temp = charToBcd(digit[i]); in DigitToBcd() local
215 if (temp != HEX_VALUE_FE) { in DigitToBcd()
221 bcd[len] = temp & HEX_VALUE_0F; in DigitToBcd()
223 bcd[len++] |= ((temp & HEX_VALUE_0F) << HEX_VALUE_04); in DigitToBcd()
245 uint8_t temp = bcd[i] & HEX_VALUE_0F; in BcdToDigit() local
250 digit.push_back(BcdToChar(temp)); in BcdToDigit()
251 temp = (bcd[i] & HEX_VALUE_F0) >> HEX_VALUE_04; in BcdToDigit()
252 if (temp == HEX_VALUE_0F) { in BcdToDigit()
255 digit.push_back(BcdToChar(temp)); in BcdToDigit()
/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dstring_utils.cpp97 int temp = va_arg(args, int); in getJsParams() local
98 jsParams.emplace_back(ResourceManager::NapiValueType::NAPI_NUMBER, std::to_string(temp)); in getJsParams()
100 char *temp = va_arg(args, char*); in getJsParams() local
101 jsParams.emplace_back(ResourceManager::NapiValueType::NAPI_STRING, temp); in getJsParams()
103 float temp = va_arg(args, double); in getJsParams() local
104 jsParams.emplace_back(ResourceManager::NapiValueType::NAPI_NUMBER, std::to_string(temp)); in getJsParams()
117 int temp = va_arg(args, int); in getJsParams() local
118 jsParams.emplace_back(ResourceManager::NapiValueType::NAPI_NUMBER, std::to_string(temp)); in getJsParams()
120 char *temp = va_arg(args, char*); in getJsParams() local
121 jsParams.emplace_back(ResourceManager::NapiValueType::NAPI_STRING, temp); in getJsParams()
123 float temp = va_arg(args, double); getJsParams() local
194 std::string temp; LocalizeNumber() local
[all...]

Completed in 14 milliseconds

12345678