Home
last modified time | relevance | path

Searched refs:txt_size (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ntp/sntp/libopts/
H A Dtext_mmap.c88 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()
H A Dsave.c545 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()
/freebsd/contrib/unbound/util/data/
H A Dmsgencode.h130 uint16_t calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size);
H A Dmsgencode.c843 calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size) in calc_ede_option_size() argument
847 *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()
/freebsd/contrib/ntp/sntp/libopts/autoopts/
H A Doptions.h729 size_t txt_size; ///< actual file size member