Searched refs:tot_len (Results 1 - 14 of 14) sorted by relevance

/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dargs.c201 gfc_charlen_type arglen, tot_len = 0; local
224 if (tot_len + thisarg > command_len)
226 thisarg = command_len - tot_len; /* Truncate. */
230 else if (i != argc - 1 && tot_len + arglen == command_len)
233 memcpy (&command[tot_len], argv[i], thisarg);
237 tot_len += arglen;
239 tot_len++;
243 *length = tot_len;
/netbsd-current/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dargs.c201 gfc_charlen_type arglen, tot_len = 0; local
224 if (tot_len + thisarg > command_len)
226 thisarg = command_len - tot_len; /* Truncate. */
230 else if (i != argc - 1 && tot_len + arglen == command_len)
233 memcpy (&command[tot_len], argv[i], thisarg);
237 tot_len += arglen;
239 tot_len++;
243 *length = tot_len;
/netbsd-current/external/bsd/wpa/dist/src/ap/
H A Ddhcp_snoop.c42 u16 tot_len; local
49 tot_len = ntohs(b->iph.tot_len);
50 if (tot_len > (unsigned int) (len - ETH_HLEN))
57 end = (const u8 *) b + tot_len;
H A Dfils_hlp.c264 iph->tot_len = htons(sizeof(*iph) + sizeof(*udph) + (end - pos));
514 u16 tot_len; local
524 tot_len = ntohs(iph->tot_len);
525 if (tot_len > len)
/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dwrite.c2073 size_t tot_len; local
2295 tot_len = base_name_len + clen;
2300 ext_name[tot_len] = '(';
2301 tot_len++;
2303 snprintf (ext_name + tot_len, ext_name_len - tot_len, "%d",
2305 tot_len += strlen (ext_name + tot_len);
2306 ext_name[tot_len] = ((int) dim_i == obj->var_rank - 1) ? ')' : ',';
2307 tot_len
[all...]
/netbsd-current/external/gpl3/gcc/dist/libgfortran/io/
H A Dwrite.c2125 size_t tot_len; local
2347 tot_len = base_name_len + clen;
2352 ext_name[tot_len] = '(';
2353 tot_len++;
2355 snprintf (ext_name + tot_len, ext_name_len - tot_len, "%d",
2357 tot_len += strlen (ext_name + tot_len);
2358 ext_name[tot_len] = ((int) dim_i == obj->var_rank - 1) ? ')' : ',';
2359 tot_len
[all...]
/netbsd-current/external/bsd/wpa/dist/src/eap_peer/
H A Deap_pwd.c873 u16 tot_len = 0; local
957 tot_len = WPA_GET_BE16(pos);
959 "total length = %d", tot_len);
960 if (tot_len > 15000)
968 data->inbuf = wpabuf_alloc(tot_len);
1071 tot_len = len;
1077 "length = %d", tot_len);
1088 wpabuf_put_be16(resp, tot_len);
/netbsd-current/sbin/ping/
H A Dping.c1062 int tot_len,
1082 if (hlen < (int)sizeof(*ip) || tot_len < hlen + ICMP_MINLEN) {
1086 tot_len, inet_ntoa(from->sin_addr));
1093 net_len = tot_len - hlen;
1134 if (tot_len != opack_ip->ip_len) {
1136 switch (opack_ip->ip_len - tot_len) {
1158 "instead of %d", tot_len, opack_ip->ip_len);
1188 if ((size_t)(tot_len - hlen) >
1061 pr_pack(u_char *buf, int tot_len, struct sockaddr_in *from) argument
/netbsd-current/external/bsd/wpa/dist/src/eap_server/
H A Deap_server_pwd.c853 u16 tot_len; local
891 tot_len = WPA_GET_BE16(pos);
893 "length = %d", tot_len);
894 if (tot_len > 15000)
901 data->inbuf = wpabuf_alloc(tot_len);
/netbsd-current/sys/dist/pf/net/
H A Dpf.c3540 len = pd->tot_len - off - (th->th_off << 2);
5794 pd.tot_len = ntohs(h->ip_len);
5815 pd.p_len = pd.tot_len - off - (th.th_off << 2);
5988 kif->pfik_bytes[0][dir == PF_OUT][action != PF_PASS] += pd.tot_len;
5994 r->bytes[dirndx] += pd.tot_len;
5997 a->bytes[dirndx] += pd.tot_len;
6003 s->nat_rule.ptr->bytes[dirndx] += pd.tot_len;
6007 s->src_node->bytes[dirndx] += pd.tot_len;
6011 s->nat_src_node->bytes[dirndx] += pd.tot_len;
6015 s->bytes[dirndx] += pd.tot_len;
[all...]
H A Dpf_norm.c897 r->bytes[dir == PF_OUT] += pd->tot_len;
1144 r->bytes[dir == PF_OUT] += pd->tot_len;
1322 r->bytes[dir == PF_OUT] += pd->tot_len;
H A Dpfvar.h1083 u_int64_t tot_len; /* Make Mickey money */ member in struct:pf_pdesc
/netbsd-current/external/bsd/wpa/dist/hostapd/
H A Dctrl_iface.c1847 ntohs(ip.tot_len) > HWSIM_IP_LEN) {
1853 for (i = 0; i < ntohs(ip.tot_len) - sizeof(ip); i++) {
1863 if (ntohs(ip.tot_len) != HWSIM_IP_LEN)
1864 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.tot_len));
1962 ip->tot_len = htons(send_len);
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/
H A Dctrl_iface.c8923 ntohs(ip.tot_len) > HWSIM_IP_LEN) {
8929 for (i = 0; i < ntohs(ip.tot_len) - sizeof(ip); i++) {
8938 if (ntohs(ip.tot_len) != HWSIM_IP_LEN)
8939 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.tot_len));
9036 ip->tot_len = htons(send_len);

Completed in 432 milliseconds