Lines Matching refs:map_hdr

327 		itm_map_idx_fix_hdr_t	*map_hdr;
334 map_hdr = (itm_map_idx_fix_hdr_t *)(ist->direc + 1);
335 map = (char *)(map_hdr + 1);
337 if (1 == map_hdr->default_error) {
505 itm_map_idx_fix_hdr_t *map_hdr;
513 map_hdr = (itm_map_idx_fix_hdr_t *)(tbl_hdr + 1);
516 if (*inbytesleft < map_hdr->source_len) {
523 for (i = 0; i < map_hdr->source_len; i++) {
528 if (((j < map_hdr->start.itm_ptr) ||
529 (map_hdr->end.itm_ptr < j)) &&
530 (0 < map_hdr->default_error)) {
532 (*inbuf) = (void*) ((*inbuf) - map_hdr->source_len);
533 (*inbytesleft) += map_hdr->source_len;
538 if (*outbytesleft < map_hdr->result_len) {
540 (*inbuf) = (void *)((*inbuf) - map_hdr->source_len);
541 (*inbytesleft) += map_hdr->source_len;
546 if ((j < map_hdr->start.itm_ptr) ||
547 (map_hdr->end.itm_ptr < j)) {
548 if (0 == map_hdr->default_error) {
549 p = (((unsigned char *)(map_hdr + 1)) +
550 (map_hdr->result_len * (tbl_hdr->number)));
551 for (i = 0; i < map_hdr->result_len; i++) {
555 p = ((*inbuf) - map_hdr->source_len);
556 for (i = 0; i < map_hdr->source_len; i++) {
562 map_error = (((char *)(map_hdr + 1)) +
563 (map_hdr->result_len * (tbl_hdr->number)) +
564 (j - map_hdr->start.itm_ptr));
565 if (0 == map_hdr->default_error) {
567 (map_error + map_hdr->result_len);
569 if (((1 == map_hdr->default_error) ||
570 (0 < map_hdr->error_num)) &&
574 ((*inbuf) - map_hdr->source_len);
575 (*inbytesleft) += map_hdr->source_len;
580 p = (((unsigned char *)(map_hdr + 1)) +
581 (map_hdr->result_len *
582 (j - map_hdr->start.itm_ptr)));
583 for (i = 0; i < map_hdr->result_len; i++) {
605 itm_map_lookup_hdr_t *map_hdr;
617 map_hdr = (itm_map_lookup_hdr_t *)(tbl_hdr + 1);
618 map = (unsigned char *)(map_hdr + 1);
619 pair_size = map_hdr->source_len + 1 + map_hdr->result_len;
622 if (*inbytesleft < map_hdr->source_len) {
631 for (i = 0, result = 0; i < map_hdr->source_len;
652 if (map_hdr->default_error < 0) {
654 } else if (0 == map_hdr->default_error) {
656 map_hdr->source_len + 1;
657 } else if (0 < map_hdr->default_error) {
673 if (*outbytesleft < map_hdr->result_len) {
678 DISCARD(map_hdr->source_len);
680 for (i = 0; i < map_hdr->result_len; i++) {
701 itm_map_hash_hdr_t *map_hdr;
719 map_hdr = (itm_map_hash_hdr_t *)(tbl_hdr + 1);
720 map_error = (unsigned char *)(map_hdr + 1);
721 map_hash = (map_error + map_hdr->hash_tbl_num);
722 map_of = map_hash + map_hdr->hash_tbl_size;
723 pair_size = map_hdr->source_len + 1 + map_hdr->result_len;
724 source_len = map_hdr->source_len;
725 result_len = map_hdr->result_len;
737 map_hdr->hash_tbl_num);
760 for (low = 0, high = map_hdr->hash_of_num;
791 if (map_hdr->default_error < 0) {
793 } else if (0 == map_hdr->default_error) {
794 p = map_of + map_hdr->hash_of_size;
795 } else if (0 < map_hdr->default_error) {
841 itm_map_dense_enc_hdr_t *map_hdr;
852 map_hdr = (itm_map_dense_enc_hdr_t *)(tbl_hdr + 1);
853 map_ptr = ((unsigned char *)(map_hdr + 1) + map_hdr->source_len +
854 map_hdr->source_len);
855 map_error = (map_ptr + (tbl_hdr->number * map_hdr->result_len));
856 if (0 == map_hdr->default_error) {
857 map_error = (void *)(map_error + map_hdr->result_len);
859 byte_seq_min = (unsigned char *)(map_hdr + 1);
860 byte_seq_max = byte_seq_min + map_hdr->source_len;
863 if (*inbytesleft < map_hdr->source_len) {
869 j = hash_dense_encoding(*inbuf, map_hdr->source_len,
873 (0 < map_hdr->default_error)) {
879 if (*outbytesleft < map_hdr->result_len) {
886 if (0 == map_hdr->default_error) {
888 map_hdr->result_len));
889 for (i = 0; i < map_hdr->result_len; i++) {
894 for (i = 0; i < map_hdr->source_len; i++) {
899 if ((1 == map_hdr->default_error) ||
900 (0 < map_hdr->error_num)) {
908 p = (map_ptr + (map_hdr->result_len * j));
909 for (i = 0; i < map_hdr->result_len; i++) {
913 DISCARD(map_hdr->source_len);