Searched refs:txt_size (Results 1 – 5 of 5) sorted by relevance
88 mapinfo->txt_data = AGALOC(mapinfo->txt_size+1, "file text"); in load_text_file()95 size_t sz = mapinfo->txt_size; in load_text_file()122 mapinfo->txt_full_size = (mapinfo->txt_size + pgsz) & ~(pgsz - 1); in load_text_file()123 if (mapinfo->txt_full_size == (mapinfo->txt_size + pgsz)) { in load_text_file()149 mmap(map_addr, mapinfo->txt_size, mapinfo->txt_prot, in load_text_file()226 mapinfo->txt_size = (size_t)sb.st_size; in validate_mmap()364 write(mi->txt_fd, mi->txt_data, mi->txt_size); in text_munmap()
545 new_sz = map_info.txt_size - strlen(scan); in remove_settings()555 new_sz = map_info.txt_size - (next - scan); in remove_settings()557 if (new_sz != map_info.txt_size) in remove_settings()
130 uint16_t calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size);
843 calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size) in calc_ede_option_size() argument847 *txt_size = 0; in calc_ede_option_size()853 if(opt->opt_len > 2) *txt_size += opt->opt_len - 2; in calc_ede_option_size()856 *txt_size += 4 + 2; in calc_ede_option_size()863 if(opt->opt_len > 2) *txt_size += opt->opt_len - 2; in calc_ede_option_size()866 *txt_size += 4 + 2; in calc_ede_option_size()
729 size_t txt_size; ///< actual file size member