Searched refs:num (Results 1 - 11 of 11) sorted by relevance
| /ide/tools/previewer/test/unittest/util/ |
| H A D | CppTimerManagerTest.cpp | 33 int num = 3; in TEST() local 35 CppTimer timer([&num]() { num += num; }); in TEST() 41 value = num + num; in TEST() 44 EXPECT_EQ(num, value); in TEST()
|
| H A D | SharedDataTest.cpp | 51 uint8_t num = 3; in TEST() local 52 std::function<void(uint8_t)> func = [&num](uint8_t val) { num += val; }; in TEST() 55 int retValue = num + newValue; in TEST() 58 EXPECT_EQ(num, retValue); in TEST()
|
| H A D | CommandParserTest.cpp | 911 uint32_t num = CommandParser::GetInstance().regsArgsCountMap[key]; in TEST_F() local 913 EXPECT_EQ(num, count); in TEST_F()
|
| /ide/tools/previewer/test/mock/mock/ |
| H A D | MockKeyInputImpl.cpp | 44 for (int32_t num : pressedCodesVal) { in SetKeyEvent() 45 pressedCodes.push_back(OHOS::MMI::KeyCode(num)); in SetKeyEvent()
|
| /ide/tools/previewer/util/ |
| H A D | JsonReader.cpp | 139 double num = cJSON_GetNumberValue(jsonPtr); in IsInt() local 140 return (num >= static_cast<double>(std::numeric_limits<int32_t>::min())) && in IsInt() 141 (num <= static_cast<double>(std::numeric_limits<int32_t>::max())); in IsInt() 149 double num = cJSON_GetNumberValue(jsonPtr); in IsUInt() local 150 return (num >= static_cast<double>(std::numeric_limits<uint32_t>::min())) && in IsUInt() 151 (num <= static_cast<double>(std::numeric_limits<uint32_t>::max())); in IsUInt() 159 double num = cJSON_GetNumberValue(jsonPtr); in IsInt64() local 160 return (num >= static_cast<double>(std::numeric_limits<int64_t>::min())) && in IsInt64() 161 (num <= static_cast<double>(std::numeric_limits<int64_t>::max())); in IsInt64() 169 double num in IsUInt64() local 179 double num = cJSON_GetNumberValue(jsonPtr); IsDouble() local [all...] |
| /ide/tools/previewer/mock/rich/ |
| H A D | KeyInputImpl.cpp | 60 for (int32_t num : pressedCodesVal) { in SetKeyEvent() 61 pressedCodes.push_back(KeyCode(num)); in SetKeyEvent()
|
| /ide/tools/previewer/automock/ |
| H A D | build_jsmock_system_plugin.js | 97 const num = 2; 98 const size = (stats.size / KB_BYTE_LENGTH).toFixed(num) + 'KB';
|
| /ide/tools/previewer/test/mock_lite/ui_lite/ |
| H A D | MockUIFontVector.cpp | 42 uint8_t UIFontVector::RegisterFontInfo(const UITextLanguageFontParam* fontsTable, uint8_t num) in RegisterFontInfo() argument 57 uint8_t UIFontVector::UnregisterFontInfo(const UITextLanguageFontParam* fontsTable, uint8_t num) in UnregisterFontInfo() argument
|
| /ide/tools/previewer/util/linux/ |
| H A D | ClipboardX11.cpp | 91 unsigned long num, size; in GetPasteType() local 104 (~0L), 0, AnyPropertyType, &target, &format, &size, &num, (unsigned char**)&data); in GetPasteType()
|
| /ide/tools/previewer/jsapp/rich/external/ |
| H A D | StageContext.cpp | 480 int num = 0; in GetHspActualName() local 495 if (num == 0) { in GetHspActualName() 498 num++; in GetHspActualName() 502 return num; in GetHspActualName()
|
| /ide/tools/previewer/test/unittest/jsapp/ |
| H A D | StageContextTest.cpp | 313 int num = OHOS::Ide::StageContext::GetInstance().GetHspActualName(input, ret); in TEST_F() local 314 EXPECT_EQ(num, 1); in TEST_F()
|
Completed in 7 milliseconds