/ohos5.0/base/security/security_component_manager/test/fuzztest/security_component/common/ |
H A D | fuzz_common.cpp | 215 double tmp2 = std::fmod(std::fabs(GetData<double>()), static_cast<double>(window.height_)); in ConstructButtonRect() local 216 double top = std::min(tmp1, tmp2); in ConstructButtonRect() 217 double bottom = std::max(tmp1, tmp2); in ConstructButtonRect() 231 tmp2 = std::fmod(std::fabs(GetData<double>()), static_cast<double>(window.width_)); in ConstructButtonRect() 232 double left = std::min(tmp1, tmp2); in ConstructButtonRect() 233 double right = std::max(tmp1, tmp2); in ConstructButtonRect()
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | res_desc.cpp | 86 char tmp2[5]; in ConvertToStr() local 96 tmp2[j++] = tmp[3 - i]; in ConvertToStr() 99 tmp2[j] = '\0'; in ConvertToStr() 100 return std::string(tmp2); in ConvertToStr()
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/ |
H A D | hitracechainc.h | 242 uint64_t tmp2 = 0; in HiTraceChainBytesToId() local 244 memcpy_s(&tmp2, sizeof(uint64_t), pIdArray + sizeof(uint64_t), sizeof(uint64_t)) != EOK) { in HiTraceChainBytesToId() 248 *((uint64_t*)(&id) + 1) = be64toh(tmp2); in HiTraceChainBytesToId()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/utils/ |
H A D | avc_config_data_parser.cpp | 150 uint8_t tmp2; in GetSpsOrPpsLen() local 151 if (!bitReader_.ReadBits(1, tmp1) || !bitReader_.ReadBits(1, tmp2)) { in GetSpsOrPpsLen() 154 len = ((tmp1 << 8) | tmp2) & 0xFFFF; // 8 in GetSpsOrPpsLen()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | res_desc.cpp | 150 char tmp2[5]; in ConvertToStr() local 159 tmp2[j++] = tmp[3 - i]; // 3 means reverse temp value to temp2 in ConvertToStr() 162 tmp2[j] = '\0'; in ConvertToStr() 163 return std::string(tmp2); in ConvertToStr()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | unique_ptr.h | 182 auto tmp2 = deleter_; 184 other.deleter_ = tmp2; 335 auto tmp2 = deleter_; 337 other.deleter_ = tmp2;
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_safe_block_queue_tracking.cpp | 478 DemoThreadData tmp2 = DemoThreadData(); variable 479 std::thread joinThread2 = std::thread(&DemoThreadData::Join, tmp2); 549 DemoThreadData tmp2 = DemoThreadData(); variable 550 std::thread joinThread2 = std::thread(&DemoThreadData::Join, tmp2);
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/safe_block_queue_tracking_benchmark_test/ |
H A D | safe_block_queue_tracking_benchmark_test.cpp | 479 DemoThreadData tmp2 = DemoThreadData(); in BENCHMARK_F() local 480 std::thread joinThread2 = std::thread(&DemoThreadData::Join, tmp2); in BENCHMARK_F() 532 DemoThreadData tmp2 = DemoThreadData(); in BENCHMARK_F() local 533 std::thread joinThread2 = std::thread(&DemoThreadData::Join, tmp2); in BENCHMARK_F()
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/mock/ |
H A D | dlp_credential_service.c | 367 char *tmp2 = "test_appId_passed_2"; in DLP_RestorePolicy() local 368 if (strcmp(params->featureName, tmp1) || strcmp(params->featureName, tmp2)) { in DLP_RestorePolicy()
|
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestCompatibleCheck.cpp | 155 …auto tmp2 = Plugin::AnyCast<Plugin::FixedCapability<uint32_t>>(out.keys[CapabilityID::AUDIO_SAMPLE… variable 156 ASSERT_TRUE(tmp2 == 44100); 308 …auto tmp2 = Plugin::AnyCast<Plugin::FixedCapability<uint32_t>>(out.keys[CapabilityID::AUDIO_SAMPLE… variable 309 ASSERT_TRUE(tmp2 == 44100);
|