Searched refs:txt_size (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/external/bsd/ntp/dist/sntp/libopts/
H A Dtext_mmap.c90 mapinfo->txt_data = AGALOC(mapinfo->txt_size+1, "file text");
97 size_t sz = mapinfo->txt_size;
124 mapinfo->txt_full_size = (mapinfo->txt_size + pgsz) & ~(pgsz - 1);
125 if (mapinfo->txt_full_size == (mapinfo->txt_size + pgsz)) {
151 mmap(map_addr, mapinfo->txt_size, mapinfo->txt_prot,
224 mapinfo->txt_size = (size_t)sb.st_size;
303 * no_nul = (mi.txt_size == mi.txt_full_size);
362 write(mi->txt_fd, mi->txt_data, mi->txt_size);
/netbsd-current/external/bsd/unbound/dist/util/data/
H A Dmsgencode.h125 * @param txt_size: the size of the EXTRA-TEXT field(s); this includes
130 uint16_t calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size);
H A Dmsgencode.c828 calc_ede_option_size(struct edns_data* edns, uint16_t* txt_size) argument
832 *txt_size = 0;
838 if(opt->opt_len > 2) *txt_size += opt->opt_len - 2;
841 *txt_size += 4 + 2;
848 if(opt->opt_len > 2) *txt_size += opt->opt_len - 2;
851 *txt_size += 4 + 2;
/netbsd-current/external/bsd/ntp/dist/sntp/libopts/autoopts/
H A Doptions.h729 size_t txt_size; ///< actual file size member in struct:__anon207

Completed in 243 milliseconds