reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
196 static std::unique_ptr<GlobalTestState> GlobalState;
91 GlobalState = std::make_unique<GlobalTestState>(); 93 AppendingTypeTableBuilder Builder(GlobalState->Allocator); 104 AR.Name = GlobalState->Strings.save(Stream.str()); 105 GlobalState->Records.push_back(AR); 106 GlobalState->Indices.push_back(Builder.writeLeafType(AR)); 109 GlobalState->TypeVector.push_back(Type); 111 GlobalState->AllOffsets.push_back( 112 {GlobalState->Indices.back(), ulittle32_t(Offset)}); 116 GlobalState->ItemStream.setItems(GlobalState->TypeVector); 116 GlobalState->ItemStream.setItems(GlobalState->TypeVector); 117 GlobalState->TypeArray = VarStreamArray<CVType>(GlobalState->ItemStream); 117 GlobalState->TypeArray = VarStreamArray<CVType>(GlobalState->ItemStream); 120 static void TearDownTestCase() { GlobalState.reset(); } 133 if (GlobalState->TypeVector[Index] != Types.getType(TI)) 144 if (GlobalState->TypeVector[TI.toArrayIndex()] != 148 if (GlobalState->Records[TI.toArrayIndex()] != 183 uint8_t *Buffer = GlobalState->Allocator.Allocate<uint8_t>(Size); 188 consumeError(Writer.writeObject(GlobalState->AllOffsets[I])); 205 TestState->Offsets = createPartialOffsets(GlobalState->Stream, {0, 8}); 206 LazyRandomTypeCollection Types(GlobalState->TypeArray, 207 GlobalState->TypeVector.size(), 234 TestState->Offsets = createPartialOffsets(GlobalState->Stream, {0, 8}); 238 LazyRandomTypeCollection Types(GlobalState->TypeArray, 239 GlobalState->TypeVector.size(), 263 TestState->Offsets = createPartialOffsets(GlobalState->Stream, {0, 8}); 267 LazyRandomTypeCollection Types(GlobalState->TypeArray, 268 GlobalState->TypeVector.size(), 293 TestState->Offsets = createPartialOffsets(GlobalState->Stream, {0, 8}); 297 LazyRandomTypeCollection Types(GlobalState->TypeArray, 298 GlobalState->TypeVector.size(), 323 TestState->Offsets = createPartialOffsets(GlobalState->Stream, {0, 4, 9}); 327 LazyRandomTypeCollection Types(GlobalState->TypeArray, 328 GlobalState->TypeVector.size(), 350 AppendingTypeTableBuilder Builder(GlobalState->Allocator);