Searched refs:basic_module (Results 1 – 4 of 4) sorted by relevance
56 scoped_ptr<BasicModule> basic_module(new BasicModule("test_module")); in Compare() local63 ASSERT_TRUE(basic_module->LoadMapFromMemory(buffer.get(), in Compare()70 serializer_.Serialize(*(basic_module.get()), &serialized_size)); in Compare()77 ASSERT_TRUE(fast_module->IsCorrupt() == basic_module->IsCorrupt()); in Compare()81 ASSERT_TRUE(CompareModule(basic_module.get(), fast_module.get())); in Compare()87 bool ModuleComparer::CompareModule(const BasicModule *basic_module, in CompareModule() argument90 ASSERT_TRUE(basic_module->name_ == fast_module->name_); in CompareModule()94 BasicModule::FileMap::const_iterator iter1 = basic_module->files_.begin(); in CompareModule()96 while (iter1 != basic_module->files_.end() in CompareModule()104 ASSERT_TRUE(iter1 == basic_module->files_.end()); in CompareModule()[all …]
239 Module *basic_module = module_factory_->CreateModule(module->code_file()); in LoadModuleUsingMemoryBuffer() local242 if (!basic_module->LoadMapFromMemory(memory_buffer, memory_buffer_size)) { in LoadModuleUsingMemoryBuffer()248 assert(basic_module->IsCorrupt()); in LoadModuleUsingMemoryBuffer()251 modules_->insert(make_pair(module->code_file(), basic_module)); in LoadModuleUsingMemoryBuffer()252 if (basic_module->IsCorrupt()) { in LoadModuleUsingMemoryBuffer()
139 BasicSourceLineResolver::Module* basic_module = in SerializeModuleAndLoadIntoFastResolver() local143 scoped_array<char> symbol_data(Serialize(*basic_module, &size)); in SerializeModuleAndLoadIntoFastResolver()145 BPLOG(ERROR) << "Serialization failed for module: " << basic_module->name_; in SerializeModuleAndLoadIntoFastResolver()
77 static struct cls_module basic_module = { variable84 register_cls_module(&basic_module); in basic_init()89 unregister_cls_module(&basic_module); in basic_exit()