Lines Matching defs:map_hdr

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