Lines Matching refs:map_hdr
479 itm_map_idx_fix_hdr_t *map_hdr; in dump_map_i_f() local
490 map_hdr = (itm_map_idx_fix_hdr_t *)(tbl_hdr + 1); in dump_map_i_f()
492 if (0 < map_hdr->error_num) { in dump_map_i_f()
493 p = (unsigned char *)(map_hdr + 1); in dump_map_i_f()
494 map_error = p + (map_hdr->result_len * (tbl_hdr->number)); in dump_map_i_f()
495 if (0 == map_hdr->default_error) { in dump_map_i_f()
496 map_error += map_hdr->result_len; in dump_map_i_f()
498 } else if (1 == map_hdr->default_error) { in dump_map_i_f()
499 p = (unsigned char *)(map_hdr + 1); in dump_map_i_f()
500 map_error = p + (map_hdr->result_len * (tbl_hdr->number)); in dump_map_i_f()
536 map_hdr->source_len, map_hdr->result_len); in dump_map_i_f()
538 map_hdr->start.itm_ptr, map_hdr->end.itm_ptr); in dump_map_i_f()
539 if (0 < map_hdr->error_num) { in dump_map_i_f()
541 map_hdr->error_num); in dump_map_i_f()
543 if (0 == map_hdr->default_error) { in dump_map_i_f()
544 p = (((unsigned char *)(map_hdr + 1)) + in dump_map_i_f()
545 (map_hdr->result_len * in dump_map_i_f()
546 (map_hdr->end.itm_ptr - map_hdr->start.itm_ptr + 1))); in dump_map_i_f()
548 for (j = 0; j < map_hdr->result_len; j++) { in dump_map_i_f()
552 } else if (-1 == map_hdr->default_error) { in dump_map_i_f()
556 for (i = 0; i <= (map_hdr->end.itm_ptr - map_hdr->start.itm_ptr); i++) { in dump_map_i_f()
557 p = (((unsigned char *)(map_hdr + 1)) + in dump_map_i_f()
558 (map_hdr->result_len * i)); in dump_map_i_f()
562 (map_hdr->source_len * 2), i + map_hdr->start.itm_ptr); in dump_map_i_f()
564 for (j = 0; j < map_hdr->result_len; j++) { in dump_map_i_f()
569 } else if (0 >= map_hdr->default_error) { in dump_map_i_f()
572 (map_hdr->source_len * 2), in dump_map_i_f()
573 i + map_hdr->start.itm_ptr); in dump_map_i_f()
593 itm_map_lookup_hdr_t *map_hdr; in dump_map_l_f() local
602 map_hdr = (itm_map_lookup_hdr_t *)(tbl_hdr + 1); in dump_map_l_f()
635 map_hdr->source_len, map_hdr->result_len); in dump_map_l_f()
636 if (0 < map_hdr->error_num) { in dump_map_l_f()
638 map_hdr->error_num); in dump_map_l_f()
641 if (0 == map_hdr->default_error) { in dump_map_l_f()
643 p = ((unsigned char *)(map_hdr + 1) + in dump_map_l_f()
645 (map_hdr->source_len + map_hdr->result_len + 1)) + in dump_map_l_f()
646 map_hdr->source_len + 1); in dump_map_l_f()
647 for (j = 0; j < map_hdr->result_len; j++, p++) { in dump_map_l_f()
651 } else if (-1 == map_hdr->default_error) { in dump_map_l_f()
654 p = (unsigned char *)(map_hdr + 1); in dump_map_l_f()
657 for (j = 0; j < map_hdr->source_len; j++, p++) { in dump_map_l_f()
662 p += map_hdr->result_len + 1; in dump_map_l_f()
667 for (j = 0; j < map_hdr->result_len; j++, p++) { in dump_map_l_f()
683 itm_map_hash_hdr_t *map_hdr; in dump_map_hash() local
694 map_hdr = (itm_map_hash_hdr_t *)(tbl_hdr + 1); in dump_map_hash()
695 map_error = (unsigned char *)(map_hdr + 1); in dump_map_hash()
696 map_hash = (map_error + map_hdr->hash_tbl_num); in dump_map_hash()
731 map_hdr->source_len, map_hdr->result_len); in dump_map_hash()
733 map_hdr->hash_tbl_size, in dump_map_hash()
734 map_hdr->hash_of_size, map_hdr->hash_of_num); in dump_map_hash()
735 if (0 < map_hdr->error_num) { in dump_map_hash()
737 map_hdr->error_num); in dump_map_hash()
741 if (0 == map_hdr->default_error) { in dump_map_hash()
743 p = map_hash + map_hdr->hash_tbl_size + in dump_map_hash()
744 map_hdr->hash_of_size; in dump_map_hash()
745 for (j = 0; j < map_hdr->result_len; j++, p++) { in dump_map_hash()
749 } else if (-1 == map_hdr->default_error) { in dump_map_hash()
754 tbl_hdr->number, map_hdr->hash_of_num)); in dump_map_hash()
755 for (i = 0; i < map_hdr->hash_tbl_num; i++) { in dump_map_hash()
758 p += (map_hdr->source_len + 1 + map_hdr->result_len); in dump_map_hash()
762 for (j = 0; j < map_hdr->source_len; j++, p++) { in dump_map_hash()
767 p += map_hdr->result_len + 1; in dump_map_hash()
772 for (j = 0; j < map_hdr->result_len; j++, p++) { in dump_map_hash()
779 for (i = 0; i < map_hdr->hash_of_num; i++) { in dump_map_hash()
781 for (j = 0; j < map_hdr->source_len; j++, p++) { in dump_map_hash()
785 p += map_hdr->result_len + 1; in dump_map_hash()
790 for (j = 0; j < map_hdr->result_len; j++, p++) { in dump_map_hash()
807 itm_map_dense_enc_hdr_t *map_hdr; in dump_map_dense_enc() local
821 map_hdr = (itm_map_dense_enc_hdr_t *)(tbl_hdr + 1); in dump_map_dense_enc()
822 map_ptr = ((unsigned char *)(map_hdr + 1) + in dump_map_dense_enc()
823 map_hdr->source_len + map_hdr->source_len); in dump_map_dense_enc()
825 if (0 < map_hdr->error_num) { in dump_map_dense_enc()
827 (tbl_hdr->number * map_hdr->result_len)); in dump_map_dense_enc()
828 if (0 == map_hdr->default_error) { in dump_map_dense_enc()
829 map_error += map_hdr->result_len; in dump_map_dense_enc()
831 } else if (1 == map_hdr->default_error) { in dump_map_dense_enc()
833 (tbl_hdr->number * map_hdr->result_len)); in dump_map_dense_enc()
837 byte_seq_min = (unsigned char *)(map_hdr + 1); in dump_map_dense_enc()
838 byte_seq_max = byte_seq_min + map_hdr->source_len; in dump_map_dense_enc()
872 map_hdr->source_len, map_hdr->result_len); in dump_map_dense_enc()
875 for (i = 0; i < map_hdr->source_len; i++, p++) { in dump_map_dense_enc()
881 for (i = 0; i < map_hdr->source_len; i++, p++) { in dump_map_dense_enc()
885 if (0 < map_hdr->error_num) { in dump_map_dense_enc()
887 map_hdr->error_num); in dump_map_dense_enc()
889 if (0 == map_hdr->default_error) { in dump_map_dense_enc()
890 p = (map_ptr + (tbl_hdr->number * map_hdr->result_len)); in dump_map_dense_enc()
892 for (j = 0; j < map_hdr->result_len; j++) { in dump_map_dense_enc()
896 } else if (-1 == map_hdr->default_error) { in dump_map_dense_enc()
902 i++, p += map_hdr->result_len) { in dump_map_dense_enc()
906 i, map_hdr->source_len, in dump_map_dense_enc()
909 for (j = 0; j < map_hdr->result_len; j++) { in dump_map_dense_enc()
914 } else if (0 >= map_hdr->default_error) { in dump_map_dense_enc()
918 i, map_hdr->source_len, in dump_map_dense_enc()