Lines Matching refs:database

84         self.database = new_db
89 return self.database['version']
94 return self.database['build_id']
99 self.database['build_id'] = build_id
104 return self.database['arch']
109 self.database['arch'] = arch
114 if 'bits' in self.database['target']:
115 return self.database['target']['bits']
122 self.database['target']['bits'] = bits
128 if 'bits' not in self.database['target']:
131 if self.database['target']['bits'] == 32:
134 if self.database['target']['bits'] == 64:
146 if 'little_endianness' in self.database['target']:
147 return self.database['target']['little_endianness']
158 self.database['target']['little_endianness'] = endianness
163 if 'little_endianness' not in self.database['target']:
166 return self.database['target']['little_endianness'] == self.LITTLE_ENDIAN
171 return self.database['string_mappings']
174 def set_string_mappings(self, database): argument
176 self.database['string_mappings'] = database
181 if 'string_mappings' in self.database:
189 if 'sections' not in self.database:
192 return len(self.database['sections']) != 0
200 return find_string_in_mappings(self.database['string_mappings'], string_ptr)
208 for _, sect in self.database['sections'].items():
233 self.database['log_subsys']['log_instances'][source_id] = {
246 if src_id in self.database['log_subsys']['log_instances']:
247 return self.database['log_subsys']['log_instances'][src_id]['name']
254 self.database['kconfigs'][name] = val
259 return self.database['kconfigs']
276 database = LogDatabase()
277 database.database = json_db
282 if database.has_string_mappings():
285 for addr, one_str in database.get_string_mappings().items():
288 database.set_string_mappings(new_str_map)
290 return database
294 def write_json_database(db_file_name, database): argument
296 json_db = copy.deepcopy(database.database)
314 def write_syst_database(db_file_name, database): argument
321 xml = gen_syst_xml_file(database)