79 #undef FILE_NAME_OFFSET
80 #define FILE_NAME_OFFSET DHF_FILE_NAME_OFFSET
190 sup_endian = supp->bottom < 0x0100;
194 MMDASSERT( actp->len >= 6 && actp->len%3 == 0, actp->len )
198 MMDASSERT( 1 <= actp->id && actp->id <= 99, actp->id )
205 MMDASSERT( 1 <= supp->id && supp->id <= 99, supp->id )
206 MMDASSERT( 1 <= supp->variant && supp->variant <= 99, supp->variant )
207 MMDASSERT( 1 <= supp->bottom && supp->bottom <= 99, supp->bottom )
208 MMDASSERT( 1 <= supp->top && supp->top <= 99, supp->top )
209 MMDASSERT( supp->bottom <= supp->top, supp->bottom << 8 | supp->top )
220 #if HCF_BIG_ENDIAN == 0
221 act_endian = !act_endian;
222 sup_endian = !sup_endian;
223 #endif // HCF_BIG_ENDIAN
225 for ( i = actp->len ; i > 3; actq++, i -= 3 ) {
228 MMDASSERT( actq->
top[act_endian] <= 99 , i<<8 | actq->
top[act_endian] )
230 if ( actq->
variant[act_endian] == supq->variant[sup_endian] &&
231 actq->
bottom[act_endian] <= supq->top[sup_endian] &&
232 actq->
top[act_endian] >= supq->bottom[sup_endian]
235 if ( i <= 3 || supp->
len != 6 ) {
239 if ( actq ==
NULL ) {
240 for ( i = 0; i <= supp->len; i += 2 ) {
243 for ( i = 0; i <= actp->len; i += 2 ) {