Home
last modified time | relevance | path

Searched refs:symbol_data (Results 1 – 24 of 24) sorted by relevance

/external/google-breakpad/src/processor/
Dsimple_symbol_supplier.cc83 string *symbol_data) { in GetSymbolFile() argument
84 assert(symbol_data); in GetSymbolFile()
85 symbol_data->clear(); in GetSymbolFile()
91 std::getline(in, *symbol_data, string::traits_type::to_char_type( in GetSymbolFile()
102 char **symbol_data, in GetCStringSymbolData() argument
104 assert(symbol_data); in GetCStringSymbolData()
113 *symbol_data = new char[*symbol_data_size]; in GetCStringSymbolData()
114 if (*symbol_data == NULL) { in GetCStringSymbolData()
119 memcpy(*symbol_data, symbol_data_string.c_str(), symbol_data_string.size()); in GetCStringSymbolData()
120 (*symbol_data)[symbol_data_string.size()] = '\0'; in GetCStringSymbolData()
[all …]
Dmodule_serializer.cc143 scoped_array<char> symbol_data(Serialize(*basic_module, &size)); in SerializeModuleAndLoadIntoFastResolver() local
144 if (!symbol_data.get()) { in SerializeModuleAndLoadIntoFastResolver()
153 string symbol_data_string(symbol_data.get(), size); in SerializeModuleAndLoadIntoFastResolver()
154 symbol_data.reset(); in SerializeModuleAndLoadIntoFastResolver()
194 const string &symbol_data, unsigned int *size) { in SerializeSymbolFileData() argument
197 scoped_array<char> buffer(new char[symbol_data.size() + 1]); in SerializeSymbolFileData()
198 memcpy(buffer.get(), symbol_data.c_str(), symbol_data.size()); in SerializeSymbolFileData()
199 buffer.get()[symbol_data.size()] = '\0'; in SerializeSymbolFileData()
200 if (!module->LoadMapFromMemory(buffer.get(), symbol_data.size() + 1)) { in SerializeSymbolFileData()
Dstackwalker_unittest_utils.h177 string *symbol_data));
181 char **symbol_data,
190 char *symbol_data = new char[*symbol_data_size]; in CopySymbolDataAndOwnTheCopy() local
191 memcpy(symbol_data, info.c_str(), info.size()); in CopySymbolDataAndOwnTheCopy()
192 symbol_data[info.size()] = '\0'; in CopySymbolDataAndOwnTheCopy()
193 symbol_data_to_free_.push_back(symbol_data); in CopySymbolDataAndOwnTheCopy()
194 return symbol_data; in CopySymbolDataAndOwnTheCopy()
200 char* symbol_data = *i; in ~MockSymbolSupplier() local
201 delete [] symbol_data; in ~MockSymbolSupplier()
Dsource_line_resolver_base.cc89 char **symbol_data, in ReadSymbolFile() argument
91 if (symbol_data == NULL || symbol_data_size == NULL) { in ReadSymbolFile()
111 *symbol_data = new char[file_size + 1]; in ReadSymbolFile()
113 if (*symbol_data == NULL) { in ReadSymbolFile()
126 delete [] (*symbol_data); in ReadSymbolFile()
127 *symbol_data = NULL; in ReadSymbolFile()
135 items_read = fread(*symbol_data, 1, file_size, f); in ReadSymbolFile()
142 delete [] (*symbol_data); in ReadSymbolFile()
143 *symbol_data = NULL; in ReadSymbolFile()
147 (*symbol_data)[file_size] = '\0'; in ReadSymbolFile()
Dstack_frame_symbolizer.cc88 char* symbol_data = NULL; in FillSourceLineInfo() local
91 module, system_info, &symbol_file, &symbol_data, &symbol_data_size); in FillSourceLineInfo()
97 symbol_data, in FillSourceLineInfo()
Dminidump_processor_unittest.cc199 string *symbol_data);
204 char **symbol_data,
248 string *symbol_data) { in GetSymbolFile() argument
253 std::getline(in, *symbol_data, string::traits_type::to_char_type( in GetSymbolFile()
265 char **symbol_data, in GetCStringSymbolData() argument
274 *symbol_data = new char[*symbol_data_size]; in GetCStringSymbolData()
275 if (*symbol_data == NULL) { in GetCStringSymbolData()
280 memcpy(*symbol_data, symbol_data_string.c_str(), symbol_data_string.size()); in GetCStringSymbolData()
281 (*symbol_data)[symbol_data_string.size()] = '\0'; in GetCStringSymbolData()
282 memory_buffers_.insert(make_pair(module->code_file(), *symbol_data)); in GetCStringSymbolData()
Dmodule_comparer.cc55 bool ModuleComparer::Compare(const string &symbol_data) { in Compare() argument
60 scoped_array<char> buffer(new char[symbol_data.size() + 1]); in Compare()
61 memcpy(buffer.get(), symbol_data.c_str(), symbol_data.size()); in Compare()
62 buffer.get()[symbol_data.size()] = '\0'; in Compare()
64 symbol_data.size() + 1)); in Compare()
Dsimple_symbol_supplier.h114 string *symbol_data);
121 char **symbol_data,
Dfast_source_line_resolver_unittest.cc467 char *symbol_data; in TEST_F() local
477 symbol_file(module_index), &symbol_data, &symbol_data_size)); in TEST_F()
478 symbol_data_string.assign(symbol_data, symbol_data_size); in TEST_F()
479 delete [] symbol_data; in TEST_F()
Dmodule_comparer.h67 bool Compare(const string &symbol_data);
Dmodule_serializer.h81 char* SerializeSymbolFileData(const string &symbol_data,
/external/google-breakpad/src/common/linux/
Ddump_symbols.h50 DumpOptions(SymbolData symbol_data, bool handle_inter_cu_refs) in DumpOptions()
51 : symbol_data(symbol_data), in DumpOptions()
55 SymbolData symbol_data; member
Ddump_symbols.cc614 if (options.symbol_data != ONLY_CFI) { in LoadSymbols()
682 if (options.symbol_data != NO_CFI) { in LoadSymbols()
958 bool result = module->Write(sym_stream, options.symbol_data); in WriteSymbolFile()
/external/google-breakpad/src/google_breakpad/processor/
Dsymbol_supplier.h77 string *symbol_data) = 0;
90 char **symbol_data,
Dsource_line_resolver_base.h68 char **symbol_data,
/external/google-breakpad/src/tools/linux/dump_syms/
Ddump_syms.cc80 SymbolData symbol_data = cfi ? ALL_SYMBOL_DATA : NO_CFI; in main() local
81 google_breakpad::DumpOptions options(symbol_data, handle_inter_cu_refs); in main()
/external/google-breakpad/src/tools/mac/crash_report/
Don_demand_symbol_supplier.mm147 string *symbol_data) {
155 getline(in, *symbol_data, std::string::traits_type::to_char_type(
167 char **symbol_data,
176 *symbol_data = new char[*symbol_data_size];
177 if (*symbol_data == NULL) {
181 memcpy(*symbol_data, symbol_data_string.c_str(), symbol_data_string.size());
182 (*symbol_data)[symbol_data_string.size()] = '\0';
183 memory_buffers_.insert(make_pair(module->code_file(), *symbol_data));
Don_demand_symbol_supplier.h63 string *symbol_data);
69 char **symbol_data,
/external/google-breakpad/src/common/mac/
Ddump_syms.h56 DumpSymbols(SymbolData symbol_data, bool handle_inter_cu_refs) in DumpSymbols() argument
57 : symbol_data_(symbol_data), in DumpSymbols()
Ddump_syms.mm59 #include "common/symbol_data.h"
390 SymbolData symbol_data,
395 symbol_data_(symbol_data),
/external/google-breakpad/src/common/
Dmodule.cc232 bool Module::Write(std::ostream &stream, SymbolData symbol_data) { in Write() argument
238 if (symbol_data != ONLY_CFI) { in Write()
287 if (symbol_data != NO_CFI) { in Write()
Dmodule.h278 bool Write(std::ostream &stream, SymbolData symbol_data);
Dcommon.gyp166 'symbol_data.h',
/external/google-breakpad/src/tools/mac/dump_syms/
Ddump_syms_tool.mm106 SymbolData symbol_data = options.cfi ? ALL_SYMBOL_DATA : NO_CFI;
107 DumpSymbols dump_symbols(symbol_data, options.handle_inter_cu_refs);
180 return module->Write(std::cout, symbol_data);