Home
last modified time | relevance | path

Searched refs:ASSERT_EQ (Results 1 – 25 of 2484) sorted by relevance

12345678910>>...100

/external/angle/src/tests/compiler_tests/
DImmutableString_test_autogen.cpp19 ASSERT_EQ(0x00000000u, ImmutableString("radians(00B").mangledNameHash()); in TEST()
20 ASSERT_EQ(0x00000001u, ImmutableString("radians(10B").mangledNameHash()); in TEST()
21 ASSERT_EQ(0x00000002u, ImmutableString("radians(20B").mangledNameHash()); in TEST()
22 ASSERT_EQ(0x00000003u, ImmutableString("radians(30B").mangledNameHash()); in TEST()
23 ASSERT_EQ(0x00000004u, ImmutableString("degrees(00B").mangledNameHash()); in TEST()
24 ASSERT_EQ(0x00000005u, ImmutableString("degrees(10B").mangledNameHash()); in TEST()
25 ASSERT_EQ(0x00000006u, ImmutableString("degrees(20B").mangledNameHash()); in TEST()
26 ASSERT_EQ(0x00000007u, ImmutableString("degrees(30B").mangledNameHash()); in TEST()
27 ASSERT_EQ(0x00000008u, ImmutableString("sin(00B").mangledNameHash()); in TEST()
28 ASSERT_EQ(0x00000009u, ImmutableString("sin(10B").mangledNameHash()); in TEST()
[all …]
DImmutableString_test_ESSL_autogen.cpp19 ASSERT_EQ(0x00000000u, ImmutableString("radians(00B").mangledNameHash()); in TEST()
20 ASSERT_EQ(0x00000001u, ImmutableString("radians(10B").mangledNameHash()); in TEST()
21 ASSERT_EQ(0x00000002u, ImmutableString("radians(20B").mangledNameHash()); in TEST()
22 ASSERT_EQ(0x00000003u, ImmutableString("radians(30B").mangledNameHash()); in TEST()
23 ASSERT_EQ(0x00000004u, ImmutableString("degrees(00B").mangledNameHash()); in TEST()
24 ASSERT_EQ(0x00000005u, ImmutableString("degrees(10B").mangledNameHash()); in TEST()
25 ASSERT_EQ(0x00000006u, ImmutableString("degrees(20B").mangledNameHash()); in TEST()
26 ASSERT_EQ(0x00000007u, ImmutableString("degrees(30B").mangledNameHash()); in TEST()
27 ASSERT_EQ(0x00000008u, ImmutableString("sin(00B").mangledNameHash()); in TEST()
28 ASSERT_EQ(0x00000009u, ImmutableString("sin(10B").mangledNameHash()); in TEST()
[all …]
/external/llvm-project/clang/unittests/AST/
DCommentLexer.cpp86 ASSERT_EQ(0U, Toks.size()); in TEST_F()
99 ASSERT_EQ(1U, Toks.size()); in TEST_F()
101 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
115 ASSERT_EQ(2U, Toks.size()); in TEST_F()
117 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
118 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
134 ASSERT_EQ(2U, Toks.size()); in TEST_F()
136 ASSERT_EQ(tok::text, Toks[0].getKind()); in TEST_F()
137 ASSERT_EQ(StringRef(" Meow"), Toks[0].getText()); in TEST_F()
139 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
[all …]
/external/clang/unittests/AST/
DCommentLexer.cpp87 ASSERT_EQ(0U, Toks.size()); in TEST_F()
100 ASSERT_EQ(1U, Toks.size()); in TEST_F()
102 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
116 ASSERT_EQ(2U, Toks.size()); in TEST_F()
118 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
119 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
135 ASSERT_EQ(2U, Toks.size()); in TEST_F()
137 ASSERT_EQ(tok::text, Toks[0].getKind()); in TEST_F()
138 ASSERT_EQ(StringRef(" Meow"), Toks[0].getText()); in TEST_F()
140 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dset_test.cc19 ASSERT_EQ(s.Add("foo", NULL), 0); in TEST()
20 ASSERT_EQ(s.Add("(", NULL), -1); in TEST()
21 ASSERT_EQ(s.Add("bar", NULL), 1); in TEST()
22 ASSERT_EQ(s.Compile(), true); in TEST()
24 ASSERT_EQ(s.Match("foobar", NULL), true); in TEST()
25 ASSERT_EQ(s.Match("fooba", NULL), true); in TEST()
26 ASSERT_EQ(s.Match("oobar", NULL), true); in TEST()
29 ASSERT_EQ(s.Match("foobar", &v), true); in TEST()
30 ASSERT_EQ(v.size(), 2); in TEST()
31 ASSERT_EQ(v[0], 0); in TEST()
[all …]
/external/libchrome/base/strings/
Dstring_piece_unittest.cc153 ASSERT_EQ(a[6], static_cast<typename TypeParam::value_type>('g')); in TYPED_TEST()
154 ASSERT_EQ(b[0], static_cast<typename TypeParam::value_type>('a')); in TYPED_TEST()
155 ASSERT_EQ(c[2], static_cast<typename TypeParam::value_type>('z')); in TYPED_TEST()
156 ASSERT_EQ(f[3], static_cast<typename TypeParam::value_type>('\0')); in TYPED_TEST()
157 ASSERT_EQ(f[5], static_cast<typename TypeParam::value_type>('5')); in TYPED_TEST()
159 ASSERT_EQ(*d.data(), static_cast<typename TypeParam::value_type>('f')); in TYPED_TEST()
160 ASSERT_EQ(d.data()[5], static_cast<typename TypeParam::value_type>('r')); in TYPED_TEST()
161 ASSERT_EQ(e.data(), nullptr); in TYPED_TEST()
163 ASSERT_EQ(*a.begin(), static_cast<typename TypeParam::value_type>('a')); in TYPED_TEST()
164 ASSERT_EQ(*(b.begin() + 2), static_cast<typename TypeParam::value_type>('c')); in TYPED_TEST()
[all …]
/external/angle/src/libANGLE/
Dangletypes_unittest.cpp35 ASSERT_EQ(blendStateExt.getEquationColorIndexed(i), static_cast<GLenum>(GL_FUNC_ADD)); in checkInitState()
36 ASSERT_EQ(blendStateExt.getEquationAlphaIndexed(i), static_cast<GLenum>(GL_FUNC_ADD)); in checkInitState()
38 ASSERT_EQ(blendStateExt.getSrcColorIndexed(i), static_cast<GLenum>(GL_ONE)); in checkInitState()
39 ASSERT_EQ(blendStateExt.getDstColorIndexed(i), static_cast<GLenum>(GL_ZERO)); in checkInitState()
40 ASSERT_EQ(blendStateExt.getSrcAlphaIndexed(i), static_cast<GLenum>(GL_ONE)); in checkInitState()
41 ASSERT_EQ(blendStateExt.getDstAlphaIndexed(i), static_cast<GLenum>(GL_ZERO)); in checkInitState()
50 ASSERT_EQ(blendStateExt.mMaxDrawBuffers, 1u); in TEST()
51 ASSERT_EQ(blendStateExt.mMaxEnabledMask.to_ulong(), 1u); in TEST()
52 ASSERT_EQ(blendStateExt.mMaxColorMask, is64Bit ? 0xFFu : 0xFu); in TEST()
53 ASSERT_EQ(blendStateExt.mMaxEquationMask, is64Bit ? 0xFFu : 0xFu); in TEST()
[all …]
/external/perfetto/src/trace_processor/containers/
Drow_map_unittest.cc31 ASSERT_EQ(rm.size(), 17u); in TEST()
33 ASSERT_EQ(rm.Get(0), 30u); in TEST()
34 ASSERT_EQ(rm.Get(1), 31u); in TEST()
35 ASSERT_EQ(rm.Get(16), 46u); in TEST()
37 ASSERT_EQ(rm.IndexOf(29), base::nullopt); in TEST()
38 ASSERT_EQ(rm.IndexOf(30), 0u); in TEST()
39 ASSERT_EQ(rm.IndexOf(37), 7u); in TEST()
40 ASSERT_EQ(rm.IndexOf(46), 16u); in TEST()
41 ASSERT_EQ(rm.IndexOf(47), base::nullopt); in TEST()
47 ASSERT_EQ(rm.size(), 3u); in TEST()
[all …]
/external/perfetto/src/trace_processor/sqlite/
Dspan_join_operator_table_unittest.cc39 ASSERT_EQ(sqlite3_prepare_v2(*db_, sql.c_str(), size, &stmt, nullptr), in PrepareValidStatement()
46 ASSERT_EQ(sqlite3_step(stmt_.get()), SQLITE_DONE); in RunStatement()
50 ASSERT_EQ(sqlite3_step(stmt_.get()), SQLITE_ROW); in AssertNextRow()
52 ASSERT_EQ(sqlite3_column_int64(stmt_.get(), static_cast<int>(i)), in AssertNextRow()
91 ASSERT_EQ(sqlite3_step(stmt_.get()), SQLITE_ROW); in TEST_F()
92 ASSERT_EQ(sqlite3_column_int64(stmt_.get(), 0), 120); in TEST_F()
93 ASSERT_EQ(sqlite3_column_int64(stmt_.get(), 1), 40); in TEST_F()
94 ASSERT_EQ(sqlite3_column_int64(stmt_.get(), 2), 2); in TEST_F()
96 ASSERT_EQ(sqlite3_step(stmt_.get()), SQLITE_ROW); in TEST_F()
97 ASSERT_EQ(sqlite3_column_int64(stmt_.get(), 0), 160); in TEST_F()
[all …]
/external/angle/src/common/
Dvector_utils_unittest.cpp26 ASSERT_EQ(Vector2(2.0, 3.0), Vector2(2.0, 3.0)); in TEST()
30 ASSERT_EQ(Vector4(0.0), Vector4(0.0)); in TEST()
41 ASSERT_EQ(1.0, vec[0]); in TEST()
42 ASSERT_EQ(2.0, vec[1]); in TEST()
46 ASSERT_EQ(Vector2(3.0, 4.0), vec); in TEST()
55 ASSERT_EQ(3.0, vec[0]); in TEST()
56 ASSERT_EQ(3.0, vec[1]); in TEST()
62 ASSERT_EQ(1.0, vec[0]); in TEST()
63 ASSERT_EQ(2.0, vec[1]); in TEST()
69 ASSERT_EQ(1.0, vec[0]); in TEST()
[all …]
/external/google-breakpad/src/common/linux/
Dlinux_libc_support_unittest.cc42 ASSERT_EQ(strlen(test_data[i]), my_strlen(test_data[i])); in TEST()
67 ASSERT_EQ(my_strcmp(test_data[i*2], test_data[i*2 + 1]), libc_result); in TEST()
81 ASSERT_EQ(result, 0); in TEST()
83 ASSERT_EQ(result, 1); in TEST()
85 ASSERT_EQ(result, 12); in TEST()
87 ASSERT_EQ(result, 123); in TEST()
89 ASSERT_EQ(result, 123); in TEST()
93 ASSERT_EQ(my_uint_len(0), 1U); in TEST()
94 ASSERT_EQ(my_uint_len(2), 1U); in TEST()
95 ASSERT_EQ(my_uint_len(5), 1U); in TEST()
[all …]
/external/libchrome/mojo/core/
Dcore_unittest.cc48 ASSERT_EQ(0u, info.GetCtorCallCount()); in TEST_F()
50 ASSERT_EQ(1u, info.GetCtorCallCount()); in TEST_F()
53 ASSERT_EQ(0u, info.GetWriteMessageCallCount()); in TEST_F()
55 ASSERT_EQ(MOJO_RESULT_OK, core()->CreateMessage(nullptr, &message)); in TEST_F()
56 ASSERT_EQ(MOJO_RESULT_OK, core()->WriteMessage(h, message, nullptr)); in TEST_F()
57 ASSERT_EQ(1u, info.GetWriteMessageCallCount()); in TEST_F()
59 ASSERT_EQ(0u, info.GetReadMessageCallCount()); in TEST_F()
60 ASSERT_EQ(MOJO_RESULT_OK, core()->ReadMessage(h, nullptr, &message)); in TEST_F()
61 ASSERT_EQ(1u, info.GetReadMessageCallCount()); in TEST_F()
62 ASSERT_EQ(MOJO_RESULT_OK, core()->ReadMessage(h, nullptr, &message)); in TEST_F()
[all …]
Ddata_pipe_unittest.cc165 ASSERT_EQ(MOJO_RESULT_OK, Create(&options)); in TEST_F()
176 ASSERT_EQ(MOJO_RESULT_OK, WriteData(&elements[0], &num_bytes)); in TEST_F()
180 ASSERT_EQ(MOJO_RESULT_OK, in TEST_F()
187 ASSERT_EQ(MOJO_RESULT_OK, ReadData(&elements[0], &num_bytes)); in TEST_F()
188 ASSERT_EQ(static_cast<uint32_t>(2u * sizeof(elements[0])), num_bytes); in TEST_F()
189 ASSERT_EQ(elements[0], 123); in TEST_F()
190 ASSERT_EQ(elements[1], 456); in TEST_F()
217 ASSERT_EQ(MOJO_RESULT_OK, in TEST_F()
219 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(producer_handle)); in TEST_F()
220 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(consumer_handle)); in TEST_F()
[all …]
/external/swiftshader/third_party/marl/src/
Dcontainers_test.cpp28 ASSERT_EQ(vector.size(), size_t(0)); in TEST_F()
39 ASSERT_EQ(vector[0], "A"); in TEST_F()
40 ASSERT_EQ(vector[1], "B"); in TEST_F()
41 ASSERT_EQ(vector[2], "C"); in TEST_F()
42 ASSERT_EQ(vector[3], "D"); in TEST_F()
53 ASSERT_EQ(vector[0], "A"); in TEST_F()
54 ASSERT_EQ(vector[1], "B"); in TEST_F()
55 ASSERT_EQ(vector[2], "C"); in TEST_F()
56 ASSERT_EQ(vector[3], "D"); in TEST_F()
66 ASSERT_EQ(vector.size(), size_t(4)); in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/Process/gdb-remote/
DGDBRemoteClientBaseTest.cpp52 ASSERT_EQ(TestClient::eBroadcastBitRunPacketSent, in SetUp()
81 ASSERT_EQ(PacketResult::Success, server.SendPacket("T01")); in TEST_F()
82 ASSERT_EQ(eStateStopped, SendCPacket(response)); in TEST_F()
83 ASSERT_EQ("T01", response.GetStringRef()); in TEST_F()
84 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
85 ASSERT_EQ("c", response.GetStringRef()); in TEST_F()
88 ASSERT_EQ(PacketResult::Success, server.SendPacket("W01")); in TEST_F()
89 ASSERT_EQ(eStateExited, SendCPacket(response)); in TEST_F()
90 ASSERT_EQ("W01", response.GetStringRef()); in TEST_F()
91 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
[all …]
/external/google-breakpad/src/processor/
Dpathname_stripper_unittest.cc41 #define ASSERT_EQ(e1, e2) ASSERT_TRUE((e1) == (e2)) macro
48 ASSERT_EQ(PathnameStripper::File("/dir/file"), "file"); in RunTests()
49 ASSERT_EQ(PathnameStripper::File("\\dir\\file"), "file"); in RunTests()
50 ASSERT_EQ(PathnameStripper::File("/dir\\file"), "file"); in RunTests()
51 ASSERT_EQ(PathnameStripper::File("\\dir/file"), "file"); in RunTests()
52 ASSERT_EQ(PathnameStripper::File("dir/file"), "file"); in RunTests()
53 ASSERT_EQ(PathnameStripper::File("dir\\file"), "file"); in RunTests()
54 ASSERT_EQ(PathnameStripper::File("dir/\\file"), "file"); in RunTests()
55 ASSERT_EQ(PathnameStripper::File("dir\\/file"), "file"); in RunTests()
56 ASSERT_EQ(PathnameStripper::File("file"), "file"); in RunTests()
[all …]
Dexploitability_unittest.cc107 ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, in TEST()
109 ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, in TEST()
111 ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, in TEST()
113 ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, in TEST()
115 ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, in TEST()
117 ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, in TEST()
119 ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, in TEST()
121 ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, in TEST()
123 ASSERT_EQ(google_breakpad::EXPLOITABILITY_NONE, in TEST()
125 ASSERT_EQ(google_breakpad::EXPLOITABILITY_NONE, in TEST()
[all …]
Dmicrodump_processor_unittest.cc102 ASSERT_EQ(google_breakpad::PROCESS_OK, result); in AnalyzeDump()
104 ASSERT_EQ(0, state->requesting_thread()); in AnalyzeDump()
105 ASSERT_EQ(1U, state->threads()->size()); in AnalyzeDump()
107 ASSERT_EQ(expected_cpu_count, state->system_info()->cpu_count); in AnalyzeDump()
108 ASSERT_EQ("android", state->system_info()->os_short); in AnalyzeDump()
109 ASSERT_EQ("Android", state->system_info()->os); in AnalyzeDump()
119 ASSERT_EQ(google_breakpad::PROCESS_ERROR_NO_THREAD_LIST, result); in TEST_F()
126 ASSERT_EQ(state.crash_reason(), ""); in TEST_F()
127 ASSERT_EQ(state.crash_address(), 0x0u); in TEST_F()
134 ASSERT_EQ(state.crash_reason(), "SIGTRAP"); in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/Utility/
DStringExtractorTest.cpp14 ASSERT_EQ(true, ex.IsGood()); in TEST_F()
15 ASSERT_EQ(0u, ex.GetFilePos()); in TEST_F()
16 ASSERT_EQ(kEmptyString, ex.GetStringRef()); in TEST_F()
17 ASSERT_EQ(true, ex.Empty()); in TEST_F()
18 ASSERT_EQ(0u, ex.GetBytesLeft()); in TEST_F()
19 ASSERT_EQ(nullptr, ex.Peek()); in TEST_F()
26 ASSERT_EQ(true, ex.IsGood()); in TEST_F()
27 ASSERT_EQ(0u, ex.GetFilePos()); in TEST_F()
28 ASSERT_EQ(kInitMiscString, ex.GetStringRef()); in TEST_F()
29 ASSERT_EQ(false, ex.Empty()); in TEST_F()
[all …]
/external/webrtc/rtc_base/numerics/
Dmod_ops_unittest.cc27 ASSERT_EQ(1u, Add<D>(0, 1)); in TEST_F()
28 ASSERT_EQ(0u, Add<D>(0, D)); in TEST_F()
30 ASSERT_EQ(0u, Add<D>(i, D - i)); in TEST_F()
35 ASSERT_EQ(a, static_cast<uint8_t>(t)); in TEST_F()
44 ASSERT_EQ(D - 2ul, Add<D>(l, l)); in TEST_F()
45 ASSERT_EQ(9ul, Add<D>(l, ulmax)); in TEST_F()
46 ASSERT_EQ(10ul, Add<D>(0ul, ulmax)); in TEST_F()
51 ASSERT_EQ(99u, Subtract<D>(0, 1)); in TEST_F()
52 ASSERT_EQ(0u, Subtract<D>(0, D)); in TEST_F()
54 ASSERT_EQ(0u, Subtract<D>(i, D + i)); in TEST_F()
[all …]
/external/google-benchmark/test/
Dcommandlineflags_gtest.cc29 ASSERT_EQ(unsetenv("NOT_IN_ENV"), 0); in TEST()
34 ASSERT_EQ(setenv("IN_ENV", "0", 1), 0); in TEST()
38 ASSERT_EQ(setenv("IN_ENV", "N", 1), 0); in TEST()
42 ASSERT_EQ(setenv("IN_ENV", "n", 1), 0); in TEST()
46 ASSERT_EQ(setenv("IN_ENV", "NO", 1), 0); in TEST()
50 ASSERT_EQ(setenv("IN_ENV", "No", 1), 0); in TEST()
54 ASSERT_EQ(setenv("IN_ENV", "no", 1), 0); in TEST()
58 ASSERT_EQ(setenv("IN_ENV", "F", 1), 0); in TEST()
62 ASSERT_EQ(setenv("IN_ENV", "f", 1), 0); in TEST()
66 ASSERT_EQ(setenv("IN_ENV", "FALSE", 1), 0); in TEST()
[all …]
/external/mesa3d/src/compiler/nir/tests/
Dload_store_vectorizer_tests.cpp393 ASSERT_EQ(count_intrinsics(nir_intrinsic_load_ubo), 2); in TEST_F()
397 ASSERT_EQ(count_intrinsics(nir_intrinsic_load_ubo), 1); in TEST_F()
400 ASSERT_EQ(load->dest.ssa.bit_size, 32); in TEST_F()
401 ASSERT_EQ(load->dest.ssa.num_components, 2); in TEST_F()
402 ASSERT_EQ(nir_intrinsic_range_base(load), 0); in TEST_F()
403 ASSERT_EQ(nir_intrinsic_range(load), 8); in TEST_F()
404 ASSERT_EQ(nir_src_as_uint(load->src[1]), 0); in TEST_F()
415 ASSERT_EQ(count_intrinsics(nir_intrinsic_load_ubo), 2); in TEST_F()
419 ASSERT_EQ(count_intrinsics(nir_intrinsic_load_ubo), 1); in TEST_F()
422 ASSERT_EQ(load->dest.ssa.bit_size, 32); in TEST_F()
[all …]
/external/llvm-project/llvm/unittests/ProfileData/
DInstrProfTest.cpp80 ASSERT_EQ(StringRef("foo"), I->Name); in TEST_P()
81 ASSERT_EQ(0x1234U, I->Hash); in TEST_P()
82 ASSERT_EQ(4U, I->Counts.size()); in TEST_P()
83 ASSERT_EQ(1U, I->Counts[0]); in TEST_P()
84 ASSERT_EQ(2U, I->Counts[1]); in TEST_P()
85 ASSERT_EQ(3U, I->Counts[2]); in TEST_P()
86 ASSERT_EQ(4U, I->Counts[3]); in TEST_P()
98 ASSERT_EQ(2U, R->Counts.size()); in TEST_P()
99 ASSERT_EQ(1U, R->Counts[0]); in TEST_P()
100 ASSERT_EQ(2U, R->Counts[1]); in TEST_P()
[all …]
/external/minijail/
Dutil_unittest.cc36 ASSERT_EQ("foo", std::string(strip(str))); in TEST()
41 ASSERT_EQ(nullptr, tokenize(nullptr, nullptr)); in TEST()
42 ASSERT_EQ(nullptr, tokenize(nullptr, "")); in TEST()
43 ASSERT_EQ(nullptr, tokenize(nullptr, ",")); in TEST()
46 ASSERT_EQ(nullptr, tokenize(&p, nullptr)); in TEST()
53 ASSERT_EQ(str, tokenize(&p, nullptr)); in TEST()
54 ASSERT_EQ(nullptr, p); in TEST()
55 ASSERT_EQ(str, std::string("a,b,c")); in TEST()
58 ASSERT_EQ(str, tokenize(&p, "")); in TEST()
59 ASSERT_EQ(nullptr, p); in TEST()
[all …]
/external/cpuinfo/test/mock/
Dmeizu-pro-7-plus.cc8 ASSERT_EQ(10, cpuinfo_get_processors_count()); in TEST()
17 ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id); in TEST()
23 ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core); in TEST()
32 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_processor(i)->cluster); in TEST()
38 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_processor(i)->cluster); in TEST()
44 ASSERT_EQ(cpuinfo_get_cluster(2), cpuinfo_get_processor(i)->cluster); in TEST()
52 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST()
61 ASSERT_EQ(i + 8, cpuinfo_get_processor(i)->linux_id); in TEST()
67 ASSERT_EQ(i + 2, cpuinfo_get_processor(i)->linux_id); in TEST()
73 ASSERT_EQ(i - 6, cpuinfo_get_processor(i)->linux_id); in TEST()
[all …]

12345678910>>...100