/base/notification/common_event_service/test/systemtest/common/resource/fuzzTest/src/ |
D | fuzzTestManager.cpp | 79 std::shared_ptr<AsyncCommonEventResult> temp = GetParamAsyncCommonEventResult(); in RegisterAsyncCommonEventResult() local 80 temp.get()->SetCode(GetU32Param()); in RegisterAsyncCommonEventResult() 81 std::cout << temp->GetCode(); in RegisterAsyncCommonEventResult() 84 std::shared_ptr<AsyncCommonEventResult> temp = GetParamAsyncCommonEventResult(); in RegisterAsyncCommonEventResult() local 85 temp->GetCode(); in RegisterAsyncCommonEventResult() 88 std::shared_ptr<AsyncCommonEventResult> temp = GetParamAsyncCommonEventResult(); in RegisterAsyncCommonEventResult() local 89 temp->SetData(GetStringParam()); in RegisterAsyncCommonEventResult() 92 std::shared_ptr<AsyncCommonEventResult> temp = GetParamAsyncCommonEventResult(); in RegisterAsyncCommonEventResult() local 93 temp->GetData(); in RegisterAsyncCommonEventResult() 96 std::shared_ptr<AsyncCommonEventResult> temp = GetParamAsyncCommonEventResult(); in RegisterAsyncCommonEventResult() local [all …]
|
/base/telephony/sms_mms/utils/ |
D | sms_common_utils.cpp | 101 unsigned char temp; in DigitToBcd() local 108 temp = 0x0A; in DigitToBcd() 111 temp = 0x0B; in DigitToBcd() 115 temp = 0x0C; in DigitToBcd() 118 temp = digit[i] - '0'; in DigitToBcd() 122 bcd[offset] = temp & 0x0F; in DigitToBcd() 124 bcd[offset++] |= ((temp & 0x0F) << 0x04); in DigitToBcd() 137 unsigned char temp; in BcdToDigit() local 142 temp = bcd[i] & 0x0F; in BcdToDigit() 143 digit[offset++] = BcdToChar(temp); in BcdToDigit() [all …]
|
D | string_utils.cpp | 58 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/security/access_token/services/tokensyncmanager/test/mock/src/ |
D | soft_bus_center_mock.cpp | 53 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/notification/distributed_notification_service/test/resource/notificationfuzztest/src/ |
D | notificationfuzztestmanager.cpp | 351 … std::shared_ptr<OHOS::Notification::NotificationSorting> temp = GetParamNotificationSorting(); in RegisterNotificationSorting() local 352 temp->GetRanking(); in RegisterNotificationSorting() 356 … std::shared_ptr<OHOS::Notification::NotificationSorting> temp = GetParamNotificationSorting(); in RegisterNotificationSorting() local 357 temp->GetKey(); in RegisterNotificationSorting() 361 … std::shared_ptr<OHOS::Notification::NotificationSorting> temp = GetParamNotificationSorting(); in RegisterNotificationSorting() local 362 temp->GetImportance(); in RegisterNotificationSorting() 366 … std::shared_ptr<OHOS::Notification::NotificationSorting> temp = GetParamNotificationSorting(); in RegisterNotificationSorting() local 367 temp->GetSlot(); in RegisterNotificationSorting() 371 … std::shared_ptr<OHOS::Notification::NotificationSorting> temp = GetParamNotificationSorting(); in RegisterNotificationSorting() local 372 temp->GetVisiblenessOverride(); in RegisterNotificationSorting() [all …]
|
/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_mgr_interface_test.cpp | 172 int32_t temp = 41000; variable 174 std::string sTemp = to_string(temp) + "\n"; 184 EXPECT_EQ(true, temp == out) << "ThermalMgrInterfaceTest001 Failed"; 197 int32_t temp = 10000; variable 199 std::string sTemp = to_string(temp) + "\n"; 209 EXPECT_EQ(true, temp == out) << "ThermalMgrInterfaceTest002 Failed"; 222 int32_t temp = 11000; variable 224 std::string sTemp = to_string(temp) + "\n"; 234 EXPECT_EQ(true, temp == out) << "ThermalMgrInterfaceTest003 Failed"; 247 int32_t temp = 12000; variable [all …]
|
/base/security/device_auth/services/authenticators/src/account_unrelated/ |
D | das_task_main.c | 65 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); in GetMaxVersion() local 66 version->third = (version->third) | temp->algInProtocol; in GetMaxVersion() 203 SubTaskBase *temp = (SubTaskBase *)(*ptr); in NegotiateAndProcessTask() local 204 if (g_taskTypeToProtocolType[temp->getTaskType(temp)] == protocolType) { in NegotiateAndProcessTask() 205 subTask = temp; in NegotiateAndProcessTask() 208 temp->destroyTask(temp); in NegotiateAndProcessTask() 301 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); in CreateMultiSubTask() local 302 SubTaskBase *subTask = temp->createSubTask(in); in CreateMultiSubTask() 304 LOGE("Create subTask failed, protocolType: %d.", temp->type); in CreateMultiSubTask() 338 DasProtocolEntity *temp = (DasProtocolEntity *)(*ptr); in CreateSingleSubTask() local [all …]
|
D | das_module.c | 113 Task *temp = (Task *)*ptr; in ProcessDasTask() local 114 if (taskId == temp->taskId) { in ProcessDasTask() 115 return temp->processTask(temp, in, out, status); in ProcessDasTask() 130 Task *temp = (Task *)(*ptr); in DestroyDasTask() local 131 if (taskId == temp->taskId) { in DestroyDasTask() 132 temp->destroyTask(temp); in DestroyDasTask()
|
/base/powermgr/thermal_manager/utils/native/src/ |
D | string_operation.cpp | 33 std::string temp; in SplitString() local 38 temp = str.substr(begin, pos - begin); in SplitString() 41 temp = str.substr(begin); in SplitString() 45 if (!temp.empty()) { in SplitString() 46 ret.push_back(temp); in SplitString() 47 temp.clear(); in SplitString()
|
/base/customization/enterprise_device_management/services/edm/src/utils/ |
D | bool_serializer.cpp | 27 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/ |
D | plural_format_impl.cpp | 143 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 % 10 == 0) { in ComputeDecimalInfo() 150 temp /= 10; 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/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | res_locale.cpp | 48 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 …]
|
D | resource_manager_impl.cpp | 86 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 …]
|
D | res_config_impl.cpp | 142 ResLocale *temp = new(std::nothrow) ResLocale; in CopyLocale() local 143 if (temp == nullptr) { in CopyLocale() 146 RState rs = temp->CopyFromLocaleInfo(other.GetLocaleInfo()); in CopyLocale() 148 delete temp; in CopyLocale() 154 delete temp; in CopyLocale() 159 this->resLocale_ = temp; in CopyLocale() 306 ResConfigImpl *temp = new(std::nothrow) ResConfigImpl; in CreateResConfig() local 307 return temp; in CreateResConfig()
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | res_locale.cpp | 52 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/core_service/services/sim/src/ |
D | icc_operator_rule.cpp | 55 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/security/device_security_level/baselib/utils/include/ |
D | utils_list.h | 63 #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/ |
D | PluralFetcher.java | 60 String[] temp = getPluralItems(line); in init() local 61 map.put(temp[0], temp[1]); in init() 72 String[] temp = getPluralItems(line); in init() local 73 decimalMap.put(temp[0], temp[1]); in init()
|
D | MeasureFormatPatternFetcher.java | 78 String[] temp = getPatterns(line); in init() local 79 if (temp.length == 2) { in init() 80 locale2Pattern.put(temp[0], temp[1]); in init()
|
/base/global/i18n/frameworks/zone/src/ |
D | zone_util.cpp | 64 string temp(country); in GetDefaultZone() local 65 for (size_t i = 0; i < temp.size(); i++) { in GetDefaultZone() 66 temp[i] = (char)toupper(temp[i]); in GetDefaultZone() 68 if (defaultMap.find(temp) != defaultMap.end()) { in GetDefaultZone() 69 return defaultMap[temp]; in GetDefaultZone() 72 StringEnumeration *strEnum = TimeZone::createEnumeration(temp.c_str()); in GetDefaultZone()
|
/base/powermgr/thermal_manager/interfaces/innerkits/native/include/ |
D | thermal_srv_sensor_info.h | 29 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/hiviewdfx/hiview/core/test/unittest/common/ |
D | event_dispatch_queue_test.cpp | 106 for (auto& temp : listenerInfo1) { variable 107 printf("listenerInfo1 begin == %d end == %d\n", temp.begin, temp.end); 113 for (auto& temp : listenerInfo2) { variable 114 printf("listenerInfo2 begin == %d end == %d\n", temp.begin, temp.end);
|
/base/hiviewdfx/blackbox/ |
D | blackbox_core.c | 194 struct BBoxOps *temp = NULL; in PrintModuleOps() local 197 UTILS_DL_LIST_FOR_EACH_ENTRY(temp, &g_opsList, struct BBoxOps, opsList) { in PrintModuleOps() 200 temp->ops.module, temp->ops.Dump, temp->ops.Reset, in PrintModuleOps() 201 temp->ops.GetLastLogInfo, temp->ops.SaveLastLog); in PrintModuleOps() 209 struct BBoxOps *temp = NULL; in BBoxRegisterModuleOps() local 232 UTILS_DL_LIST_FOR_EACH_ENTRY(temp, &g_opsList, struct BBoxOps, opsList) { in BBoxRegisterModuleOps() 233 if (strcmp(temp->ops.module, ops->module) == 0) { in BBoxRegisterModuleOps()
|
/base/telephony/sms_mms/services/ |
D | sms_cb_message.cpp | 135 unsigned char temp; in Decode2gHeader() local 145 temp = pdu[offset++]; in Decode2gHeader() 146 cbHeader_->serialNum.geoScope = (temp & 0xC0) >> 0x06; in Decode2gHeader() 147 cbHeader_->serialNum.msgCode = (temp & 0x3F) << 0x04; in Decode2gHeader() 149 temp = pdu[offset++]; in Decode2gHeader() 150 cbHeader_->serialNum.msgCode |= (temp & 0xF0) >> 0x04; in Decode2gHeader() 151 cbHeader_->serialNum.updateNum = temp & 0x0F; in Decode2gHeader() 153 temp = pdu[offset++]; in Decode2gHeader() 154 cbHeader_->msgId = (temp << 0x08) | pdu[offset++]; in Decode2gHeader() 158 temp = pdu[offset++]; in Decode2gHeader() [all …]
|
/base/security/huks/interfaces/innerkits/huks_lite/ |
D | hks_tmp_client.c | 32 struct HksBlob temp = { random->size, random->data }; in hks_generate_random() local 33 return HksGenerateRandom(NULL, &temp); in hks_generate_random()
|