• Home
  • Raw
  • Download

Lines Matching refs:count

19   int* count = reinterpret_cast<int*>(cookie);  in ExportsCallback()  local
20 (*count)++; in ExportsCallback()
32 int* count = reinterpret_cast<int*>(cookie); in ImportsCallback() local
33 (*count)++; in ImportsCallback()
43 int* count = reinterpret_cast<int*>(cookie); in SectionsCallback() local
44 (*count)++; in SectionsCallback()
53 int* count = reinterpret_cast<int*>(cookie); in RelocsCallback() local
54 (*count)++; in RelocsCallback()
64 int* count = reinterpret_cast<int*>(cookie); in ImportChunksCallback() local
65 (*count)++; in ImportChunksCallback()
78 int* count = reinterpret_cast<int*>(cookie); in DelayImportChunksCallback() local
79 (*count)++; in DelayImportChunksCallback()
156 int count = 0; in TEST() local
162 pe.EnumSections(SectionsCallback, &count); in TEST()
163 EXPECT_EQ(GetExpectedValue(sections, os), count); in TEST()
165 count = 0; in TEST()
166 pe.EnumImportChunks(ImportChunksCallback, &count); in TEST()
167 EXPECT_EQ(GetExpectedValue(imports_dlls, os), count); in TEST()
169 count = 0; in TEST()
170 pe.EnumDelayImportChunks(DelayImportChunksCallback, &count); in TEST()
171 EXPECT_EQ(GetExpectedValue(delay_dlls, os), count); in TEST()
173 count = 0; in TEST()
174 pe.EnumExports(ExportsCallback, &count); in TEST()
175 EXPECT_GT(count, GetExpectedValue(exports, os) - 20); in TEST()
176 EXPECT_LT(count, GetExpectedValue(exports, os) + 100); in TEST()
178 count = 0; in TEST()
179 pe.EnumAllImports(ImportsCallback, &count); in TEST()
180 EXPECT_GT(count, GetExpectedValue(imports, os) - 20); in TEST()
181 EXPECT_LT(count, GetExpectedValue(imports, os) + 100); in TEST()
183 count = 0; in TEST()
184 pe.EnumAllDelayImports(ImportsCallback, &count); in TEST()
185 EXPECT_GT(count, GetExpectedValue(delay_imports, os) - 2); in TEST()
186 EXPECT_LT(count, GetExpectedValue(delay_imports, os) + 8); in TEST()
188 count = 0; in TEST()
189 pe.EnumRelocs(RelocsCallback, &count); in TEST()
190 EXPECT_GT(count, GetExpectedValue(relocs, os) - 150); in TEST()
191 EXPECT_LT(count, GetExpectedValue(relocs, os) + 1500); in TEST()