Home
last modified time | relevance | path

Searched refs:tableEnd (Results 1 – 3 of 3) sorted by relevance

/haiku/src/add-ons/kernel/generic/smbios/
H A Dsmbios.cpp113 smbios_get_string(struct smbios_structure_header* table, uint8* tableEnd, in smbios_get_string() argument
118 for (; addr < tableEnd && i < index && *addr != 0; i++) { in smbios_get_string()
119 while (*addr != 0 && addr < tableEnd) in smbios_get_string()
161 uint8* tableEnd; in smbios_scan() local
182 tableEnd = (uint8*)table + tablePhysLength; in smbios_scan()
184 (addr + sizeof(struct smbios_structure_header)) < tableEnd;) { in smbios_scan()
193 const char* vendor = smbios_get_string(table, tableEnd, in smbios_scan()
195 const char* product = smbios_get_string(table, tableEnd, in smbios_scan()
204 for (; addr + 1 < tableEnd; addr++) { in smbios_scan()
/haiku/src/tools/restest/
H A DResourceFile.cpp476 resource_info_table_end* tableEnd = (resource_info_table_end*)data; in WriteResources() local
478 tableEnd->rite_check_sum = calculate_checksum(infoTable, in WriteResources()
480 tableEnd->rite_terminator = 0; in WriteResources()
1092 const resource_info_table_end* tableEnd in _ReadInfoTableEnd() local
1095 if (_GetInt32(tableEnd->rite_terminator) != 0) in _ReadInfoTableEnd()
1101 uint32 fileCheckSum = _GetUInt32(tableEnd->rite_check_sum); in _ReadInfoTableEnd()
/haiku/src/kits/storage/
H A DResourceFile.cpp1017 const resource_info_table_end* tableEnd in _ReadInfoTableEnd() local
1020 if (_GetInt(tableEnd->rite_terminator) != 0) in _ReadInfoTableEnd()
1026 uint32 fileCheckSum = _GetInt(tableEnd->rite_check_sum); in _ReadInfoTableEnd()
1273 resource_info_table_end* tableEnd = (resource_info_table_end*)data; in _WriteResources() local
1274 tableEnd->rite_check_sum = calculate_checksum(buffer, in _WriteResources()
1276 tableEnd->rite_terminator = 0; in _WriteResources()