/ohos5.0/foundation/ability/ability_runtime/utils/server/startup/src/ |
H A D | startup_util.cpp | 109 uint64_t tempNum = static_cast<uint64_t>(pid); in GenerateFullRequestCode() local 110 fullRequestCode |= (tempNum << REQUEST_CODE_LENGTH); in GenerateFullRequestCode() 112 tempNum = 1; in GenerateFullRequestCode() 113 fullRequestCode |= (tempNum << REQUEST_CODE_PID_LENGTH); in GenerateFullRequestCode() 128 uint64_t tempNum = 1; in ParseFullRequestCode() local 129 requestInfo.requestCode = (tempFullRequestCode & ((tempNum << REQUEST_CODE_LENGTH) - 1)); in ParseFullRequestCode() 131 requestInfo.pid = (tempFullRequestCode & ((tempNum << PID_LENGTH) - 1)); in ParseFullRequestCode()
|
/ohos5.0/base/telephony/cellular_call/test/fuzztest/setpreviewwindow_fuzzer/ |
H A D | setpreviewwindow_fuzzer.cpp | 236 std::string tempNum(reinterpret_cast<const char *>(data), size); in SendUpdateCallMediaModeRequest() 237 if (strlen(tempNum.c_str()) <= MAX_NUMBER_LEN) { in SendUpdateCallMediaModeRequest() 238 telNum = tempNum; in SendUpdateCallMediaModeRequest() 270 std::string tempNum(reinterpret_cast<const char *>(data), size); in SendUpdateCallMediaModeResponse() 271 if (strlen(tempNum.c_str()) <= MAX_NUMBER_LEN) { in SendUpdateCallMediaModeResponse() 272 telNum = tempNum; in SendUpdateCallMediaModeResponse() 331 std::string tempNum(reinterpret_cast<const char *>(data), size); in StartDtmf() 332 if (strlen(tempNum.c_str()) <= MAX_NUMBER_LEN) { in StartDtmf() 333 telNum = tempNum; in StartDtmf()
|
/ohos5.0/base/telephony/cellular_call/test/fuzztest/setorupdatecallreportinfo_fuzzer/ |
H A D | setorupdatecallreportinfo_fuzzer.cpp | 44 std::string tempNum(reinterpret_cast<const char *>(data), size); in DoSomethingInterestingWithMyAPI() 45 if (strlen(tempNum.c_str()) <= MAX_NUMBER_LEN) { in DoSomethingInterestingWithMyAPI() 46 phoneNum = tempNum; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/telephony/cellular_call/test/fuzztest/separateconference_fuzzer/ |
H A D | separateconference_fuzzer.cpp | 48 std::string tempNum(reinterpret_cast<const char *>(data), size); in DoSomethingInterestingWithMyAPI() 49 if (strlen(tempNum.c_str()) <= MAX_NUMBER_LEN) { in DoSomethingInterestingWithMyAPI() 50 telNum = tempNum; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/telephony/cellular_call/test/fuzztest/reporthangupinfo_fuzzer/ |
H A D | reporthangupinfo_fuzzer.cpp | 49 std::string tempNum(reinterpret_cast<const char *>(data), size); in DoSomethingInterestingWithMyAPI() 50 if (strlen(tempNum.c_str()) <= MAX_NUMBER_LEN) { in DoSomethingInterestingWithMyAPI() 51 telNum = tempNum; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/telephony/cellular_call/test/fuzztest/setimsfeaturevalue_fuzzer/ |
H A D | setimsfeaturevalue_fuzzer.cpp | 240 std::string tempNum(reinterpret_cast<const char *>(data), size); in Reject() 241 if (strlen(tempNum.c_str()) <= MAX_NUMBER_LEN) { in Reject() 242 telNum = tempNum; in Reject() 276 std::string tempNum(reinterpret_cast<const char *>(data), size); in HangUp() 277 if (strlen(tempNum.c_str()) <= MAX_NUMBER_LEN) { in HangUp() 278 telNum = tempNum; in HangUp()
|
/ohos5.0/base/print/print_fwk/utils/include/ |
H A D | print_util.h | 67 int32_t tempNum = 0; in Str2Vec() local 68 if (!ConvertToInt(temp, tempNum)) { in Str2Vec() 71 vec.push_back(tempNum); in Str2Vec()
|
/ohos5.0/base/telephony/cellular_call/test/fuzztest/getcallrestriction_fuzzer/ |
H A D | getcallrestriction_fuzzer.cpp | 246 std::string tempNum(reinterpret_cast<const char *>(data), size); in Dial() 247 if (strlen(tempNum.c_str()) <= MAX_NUMBER_LEN) { in Dial() 248 telNum = tempNum; in Dial() 297 std::string tempNum(reinterpret_cast<const char *>(data), size); in KickOutFromConference() 298 if (strlen(tempNum.c_str()) <= MAX_NUMBER_LEN) { in KickOutFromConference() 299 telNum = tempNum; in KickOutFromConference()
|
/ohos5.0/base/telephony/core_service/services/sim/src/ |
H A D | icc_dialling_numbers_handler.cpp | 488 std::string tempNum = Str16ToStr8(diallingNumber->number_); in CreateSavingSequence() local 489 FillNumberFiledForDiallingNumber(diallingNumberStringPac, tempNum, dataLength); in CreateSavingSequence() 572 std::string tempNum = number.substr(0, numberMaxNum); in FormatNameAndNumber() local 573 if (SimNumberDecode::IsValidNumberString(tempNum)) { in FormatNameAndNumber() 574 diallingNumber->number_ = Str8ToStr16(tempNum); in FormatNameAndNumber()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
H A D | event_log_task.cpp | 498 int tempNum = static_cast<int>(temp); in GetThermalInfo() local 499 FileUtil::SaveStringToFd(fd, "\n ThermalMgrClient info: " + std::to_string(tempNum) + "\n"); in GetThermalInfo()
|
/ohos5.0/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_unittest/src/ |
H A D | screen_capture_unit_test_state.cpp | 288 int32_t tempNum = frameNumber; in GetFrameNumber() local 290 return tempNum; in GetFrameNumber()
|