Home | History | Annotate | Download | only in citrus

Lines Matching refs:dhx

65 	struct _citrus_db_header_x *dhx;
70 dhx = _memstream_getregion(&ms, NULL, sizeof(*dhx));
71 if (dhx == NULL)
73 if (strncmp(dhx->dhx_magic, magic, _CITRUS_DB_MAGIC_SIZE) != 0)
75 if (_memstream_seek(&ms, be32toh(dhx->dhx_entry_offset), SEEK_SET))
78 if (be32toh(dhx->dhx_num_entries)*_CITRUS_DB_ENTRY_SIZE >
106 struct _citrus_db_header_x *dhx;
112 dhx = _memstream_getregion(&ms, NULL, sizeof(*dhx));
113 _DIAGASSERT(dhx);
114 num_entries = be32toh(dhx->dhx_num_entries);
127 be32toh(dhx->dhx_entry_offset) +
291 struct _citrus_db_header_x *dhx;
295 dhx = _memstream_getregion(&ms, NULL, sizeof(*dhx));
296 _DIAGASSERT(dhx);
297 return (int)be32toh(dhx->dhx_num_entries);
307 struct _citrus_db_header_x *dhx;
312 dhx = _memstream_getregion(&ms, NULL, sizeof(*dhx));
313 _DIAGASSERT(dhx);
314 num_entries = be32toh(dhx->dhx_num_entries);
319 offset = be32toh(dhx->dhx_entry_offset) + idx * _CITRUS_DB_ENTRY_SIZE;