Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/external/liblzf/
Dlzf_d.c59 u8 const *ip = (const u8 *)in_data; in lzf_decompress() local
61 u8 const *const in_end = ip + in_len; in lzf_decompress()
66 unsigned int ctrl = *ip++; in lzf_decompress()
79 if (ip + ctrl > in_end) in lzf_decompress()
87 lzf_movsb (op, ip, ctrl); in lzf_decompress()
91 … case 32: *op++ = *ip++; case 31: *op++ = *ip++; case 30: *op++ = *ip++; case 29: *op++ = *ip++; in lzf_decompress()
92 … case 28: *op++ = *ip++; case 27: *op++ = *ip++; case 26: *op++ = *ip++; case 25: *op++ = *ip++; in lzf_decompress()
93 … case 24: *op++ = *ip++; case 23: *op++ = *ip++; case 22: *op++ = *ip++; case 21: *op++ = *ip++; in lzf_decompress()
94 … case 20: *op++ = *ip++; case 19: *op++ = *ip++; case 18: *op++ = *ip++; case 17: *op++ = *ip++; in lzf_decompress()
95 … case 16: *op++ = *ip++; case 15: *op++ = *ip++; case 14: *op++ = *ip++; case 13: *op++ = *ip++; in lzf_decompress()
[all …]
Dlzf_c.c109 const u8 *ip = (const u8 *)in_data; in lzf_compress() local
111 const u8 *in_end = ip + in_len; in lzf_compress()
139 hval = FRST (ip); in lzf_compress()
140 while (ip < in_end - 2) in lzf_compress()
144 hval = NEXT (hval, ip); in lzf_compress()
146 ref = *hslot + LZF_HSLOT_BIAS; *hslot = ip - LZF_HSLOT_BIAS; in lzf_compress()
150 && ref < ip /* the next test will actually take care of this, but this is faster */ in lzf_compress()
152 && (off = ip - ref - 1) < MAX_OFF in lzf_compress()
154 && ref[2] == ip[2] in lzf_compress()
156 && ((ref[1] << 8) | ref[0]) == ((ip[1] << 8) | ip[0]) in lzf_compress()
[all …]
/external/libvpx/vp8/encoder/
Ddct.c18 short *ip = input; in vp8_short_fdct4x4_c() local
23 a1 = ((ip[0] + ip[3])<<3); in vp8_short_fdct4x4_c()
24 b1 = ((ip[1] + ip[2])<<3); in vp8_short_fdct4x4_c()
25 c1 = ((ip[1] - ip[2])<<3); in vp8_short_fdct4x4_c()
26 d1 = ((ip[0] - ip[3])<<3); in vp8_short_fdct4x4_c()
34 ip += pitch / 2; in vp8_short_fdct4x4_c()
38 ip = output; in vp8_short_fdct4x4_c()
42 a1 = ip[0] + ip[12]; in vp8_short_fdct4x4_c()
43 b1 = ip[4] + ip[8]; in vp8_short_fdct4x4_c()
44 c1 = ip[4] - ip[8]; in vp8_short_fdct4x4_c()
[all …]
/external/libvpx/vp8/common/
Didctllm.c33 short *ip = input; in vp8_short_idct4x4llm_c() local
40 a1 = ip[0] + ip[8]; in vp8_short_idct4x4llm_c()
41 b1 = ip[0] - ip[8]; in vp8_short_idct4x4llm_c()
43 temp1 = (ip[4] * sinpi8sqrt2 + rounding) >> 16; in vp8_short_idct4x4llm_c()
44 temp2 = ip[12] + ((ip[12] * cospi8sqrt2minus1 + rounding) >> 16); in vp8_short_idct4x4llm_c()
47 temp1 = ip[4] + ((ip[4] * cospi8sqrt2minus1 + rounding) >> 16); in vp8_short_idct4x4llm_c()
48 temp2 = (ip[12] * sinpi8sqrt2 + rounding) >> 16; in vp8_short_idct4x4llm_c()
57 ip++; in vp8_short_idct4x4llm_c()
61 ip = output; in vp8_short_idct4x4llm_c()
66 a1 = ip[0] + ip[2]; in vp8_short_idct4x4llm_c()
[all …]
/external/qemu/slirp-android/
Dip_input.c51 static struct ip *ip_reass(register struct ip *ip,
78 register struct ip *ip; in ip_input() local
87 if (m->m_len < sizeof (struct ip)) { in ip_input()
92 ip = mtod(m, struct ip *); in ip_input()
94 if (ip->ip_v != IPVERSION) { in ip_input()
99 hlen = ip->ip_hl << 2; in ip_input()
100 if (hlen<sizeof(struct ip ) || hlen>m->m_len) {/* min header length */ in ip_input()
117 NTOHS(ip->ip_len); in ip_input()
118 if (ip->ip_len < hlen) { in ip_input()
122 NTOHS(ip->ip_id); in ip_input()
[all …]
Dip_output.c58 register struct ip *ip; in ip_output() local
60 register int hlen = sizeof(struct ip ); in ip_output()
73 ip = mtod(m, struct ip *); in ip_output()
77 ip->ip_v = IPVERSION; in ip_output()
78 ip->ip_off &= IP_DF; in ip_output()
79 ip->ip_id = htons(ip_id++); in ip_output()
80 ip->ip_hl = hlen >> 2; in ip_output()
97 if ((u_int16_t)ip->ip_len <= IF_MTU) { in ip_output()
98 ip->ip_len = htons((u_int16_t)ip->ip_len); in ip_output()
99 ip->ip_off = htons((u_int16_t)ip->ip_off); in ip_output()
[all …]
Dip_icmp.c75 register struct ip *ip=mtod(m, struct ip *); in icmp_input() local
76 int icmplen=ip->ip_len; in icmp_input()
113 ip->ip_len += hlen; /* since ip_input subtracts this */ in icmp_input()
114 if (ip_geth(ip->ip_dst) == alias_addr_ip) { in icmp_input()
131 so->so_faddr_ip = ip_geth(ip->ip_dst); in icmp_input()
133 so->so_laddr_ip = ip_geth(ip->ip_src); in icmp_input()
135 so->so_iptos = ip->ip_tos; in icmp_input()
210 register struct ip *ip; in icmp_error() local
222 ip = mtod(msrc, struct ip *); in icmp_error()
225 strcpy(bufa, inet_iptostr(ip_geth(ip->ip_src))); in icmp_error()
[all …]
Dhelper.h46 ip_getn( ipaddr_t ip ) in ip_getn() argument
48 return ip.addr; in ip_getn()
53 ip_geth( ipaddr_t ip ) in ip_geth() argument
55 return ntohl(ip.addr); in ip_geth()
62 ipaddr_t ip; in ip_setn() local
63 ip.addr = val; in ip_setn()
64 return ip; in ip_setn()
71 ipaddr_t ip; in ip_seth() local
72 ip.addr = htonl(val); in ip_seth()
73 return ip; in ip_seth()
[all …]
/external/qemu/slirp/
Dip_input.c51 static struct ip *ip_reass(register struct ip *ip,
78 register struct ip *ip; in ip_input() local
87 if (m->m_len < sizeof (struct ip)) { in ip_input()
92 ip = mtod(m, struct ip *); in ip_input()
94 if (ip->ip_v != IPVERSION) { in ip_input()
99 hlen = ip->ip_hl << 2; in ip_input()
100 if (hlen<sizeof(struct ip ) || hlen>m->m_len) {/* min header length */ in ip_input()
117 NTOHS(ip->ip_len); in ip_input()
118 if (ip->ip_len < hlen) { in ip_input()
122 NTOHS(ip->ip_id); in ip_input()
[all …]
Dip_output.c58 register struct ip *ip; in ip_output() local
60 register int hlen = sizeof(struct ip ); in ip_output()
73 ip = mtod(m, struct ip *); in ip_output()
77 ip->ip_v = IPVERSION; in ip_output()
78 ip->ip_off &= IP_DF; in ip_output()
79 ip->ip_id = htons(ip_id++); in ip_output()
80 ip->ip_hl = hlen >> 2; in ip_output()
97 if ((u_int16_t)ip->ip_len <= IF_MTU) { in ip_output()
98 ip->ip_len = htons((u_int16_t)ip->ip_len); in ip_output()
99 ip->ip_off = htons((u_int16_t)ip->ip_off); in ip_output()
[all …]
Dip_icmp.c74 register struct ip *ip=mtod(m, struct ip *); in icmp_input() local
75 int icmplen=ip->ip_len; in icmp_input()
112 ip->ip_len += hlen; /* since ip_input subtracts this */ in icmp_input()
113 if (ip->ip_dst.s_addr == alias_addr.s_addr) { in icmp_input()
127 so->so_faddr = ip->ip_dst; in icmp_input()
129 so->so_laddr = ip->ip_src; in icmp_input()
131 so->so_iptos = ip->ip_tos; in icmp_input()
208 register struct ip *ip; in icmp_error() local
220 ip = mtod(msrc, struct ip *); in icmp_error()
223 strcpy(bufa, inet_ntoa(ip->ip_src)); in icmp_error()
[all …]
/external/tcpdump/
Dprint-ip.c91 ip_finddst(const struct ip *ip) in ip_finddst() argument
98 cp = (const u_char *)(ip + 1); in ip_finddst()
99 length = (IP_HL(ip) << 2) - sizeof(struct ip); in ip_finddst()
128 memcpy(&retval, &ip->ip_dst.s_addr, sizeof(u_int32_t)); in ip_finddst()
367 const struct ip *ip; member
396 (const u_char *)ipds->ip, in ip_print_demux()
419 sctp_print(ipds->cp, (const u_char *)ipds->ip, ipds->len); in ip_print_demux()
423 dccp_print(ipds->cp, (const u_char *)ipds->ip, ipds->len); in ip_print_demux()
428 tcp_print(ipds->cp, ipds->len, (const u_char *)ipds->ip, in ip_print_demux()
434 udp_print(ipds->cp, ipds->len, (const u_char *)ipds->ip, in ip_print_demux()
[all …]
Dprint-sl.c48 static void sliplink_print(const u_char *, const struct ip *, u_int);
49 static void compressed_sl_print(const u_char *, const struct ip *, u_int, int);
56 register const struct ip *ip; in sl_if_print() local
65 ip = (struct ip *)(p + SLIP_HDRLEN); in sl_if_print()
68 sliplink_print(p, ip, length); in sl_if_print()
70 switch (IP_V(ip)) { in sl_if_print()
72 ip_print(gndo, (u_char *)ip, length); in sl_if_print()
76 ip6_print((u_char *)ip, length); in sl_if_print()
80 printf ("ip v%d", IP_V(ip)); in sl_if_print()
91 register const struct ip *ip; in sl_bsdos_if_print() local
[all …]
Dprint-udp.c140 u_int *ip = (u_int *)hdr; in rtp_print() local
147 ip += 2; in rtp_print()
165 ip += 1; in rtp_print()
181 i2 = ip[0]; in rtp_print()
187 ip += optlen; in rtp_print()
193 i2 = ip[0]; in rtp_print()
199 ip += extlen; in rtp_print()
202 printf(" 0x%04x", ip[0] >> 16); in rtp_print()
287 static int udp_cksum(register const struct ip *ip, in udp_cksum() argument
307 memcpy(&phu.ph.src, &ip->ip_src.s_addr, sizeof(u_int32_t)); in udp_cksum()
[all …]
/external/iproute2/examples/diffserv/
DEdge32-ca-u3216 IP=$IPROUTE/ip/ip
57 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 u32 \
58 match ip tos 0x88 0xfc \
61 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 u32 \
62 match ip tos 0x88 0xfc \
70 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 u32 \
71 match ip tos 0x88 0xfc \
74 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \
75 match ip tos 0x88 0xfc \
82 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
[all …]
DEdge31-ca-u3216 IP=$IPROUTE/ip/ip
33 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 handle 1: u32 \
53 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \
54 match ip tos 0x88 0xfc \
62 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
63 match ip tos 0x88 0xfc \
70 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
71 match ip tos 0x88 0xfc \
82 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
83 match ip tos 0x90 0xfc \
[all …]
/external/libvpx/vp8/common/x86/
Diwalsh_sse2.asm29 movdqa xmm0, [rsi + 0] ;ip[4] ip[0]
30 movdqa xmm1, [rsi + 16] ;ip[12] ip[8]
35 pshufd xmm2, xmm1, 4eh ;ip[8] ip[12]
36 movdqa xmm3, xmm0 ;ip[4] ip[0]
38 paddw xmm0, xmm2 ;ip[4]+ip[8] ip[0]+ip[12] aka b1 a1
39 psubw xmm3, xmm2 ;ip[4]-ip[8] ip[0]-ip[12] aka c1 d1
66 pshufd xmm2, xmm1, 4eh ;ip[8] ip[12]
67 movdqa xmm3, xmm4 ;ip[4] ip[0]
71 paddw xmm4, xmm2 ;ip[4]+ip[8] ip[0]+ip[12] aka b1 a1
72 psubw xmm3, xmm2 ;ip[4]-ip[8] ip[0]-ip[12] aka c1 d1
Diwalsh_mmx.asm65 movq mm0, [rsi + 0] ;ip[0]
66 movq mm1, [rsi + 8] ;ip[4]
69 movq mm2, [rsi + 16] ;ip[8]
70 movq mm3, [rsi + 24] ;ip[12]
78 paddw mm4, mm3 ;ip[0] + ip[12] aka al
79 paddw mm5, mm2 ;ip[4] + ip[8] aka bl
86 psubw mm0, mm3 ;ip[0] - ip[12] aka d1
87 psubw mm1, mm2 ;ip[4] - ip[8] aka c1
110 punpckldq mm0, mm6 ; 30 20 10 00 aka ip[0]
111 punpckhdq mm4, mm6 ; 31 21 11 01 aka ip[4]
[all …]
/external/quake/quake/src/QW/client/
Dnet_udp.c66 *(int *)&s->sin_addr = *(int *)&a->ip; in NetadrToSockadr()
72 *(int *)&a->ip = *(int *)&s->sin_addr; in SockadrToNetadr()
78 if (a.ip[0] == b.ip[0] && a.ip[1] == b.ip[1] && a.ip[2] == b.ip[2] && a.ip[3] == b.ip[3]) in NET_CompareBaseAdr()
86 …if (a.ip[0] == b.ip[0] && a.ip[1] == b.ip[1] && a.ip[2] == b.ip[2] && a.ip[3] == b.ip[3] && a.port… in NET_CompareAdr()
95 sprintf (s, "%i.%i.%i.%i:%i", a.ip[0], a.ip[1], a.ip[2], a.ip[3], ntohs(a.port)); in NET_AdrToString()
104 sprintf (s, "%i.%i.%i.%i", a.ip[0], a.ip[1], a.ip[2], a.ip[3]); in NET_BaseAdrToString()
165 if (adr->ip[0] == 127) in NET_IsClientLegal()
Dnet_wins.c43 *(int *)&s->sin_addr = *(int *)&a->ip; in NetadrToSockadr()
49 *(int *)&a->ip = *(int *)&s->sin_addr; in SockadrToNetadr()
55 if (a.ip[0] == b.ip[0] && a.ip[1] == b.ip[1] && a.ip[2] == b.ip[2] && a.ip[3] == b.ip[3]) in NET_CompareBaseAdr()
62 …if (a.ip[0] == b.ip[0] && a.ip[1] == b.ip[1] && a.ip[2] == b.ip[2] && a.ip[3] == b.ip[3] && a.port… in NET_CompareAdr()
71 sprintf (s, "%i.%i.%i.%i:%i", a.ip[0], a.ip[1], a.ip[2], a.ip[3], ntohs(a.port)); in NET_AdrToString()
80 sprintf (s, "%i.%i.%i.%i", a.ip[0], a.ip[1], a.ip[2], a.ip[3]); in NET_BaseAdrToString()
141 if (adr->ip[0] == 127) in NET_IsClientLegal()
/external/libvpx/vp8/encoder/arm/neon/
Dvp8_shortwalsh4x4_neon.asm28 ;transpose d2, d3, d4, d5. Then, d2=ip[0], d3=ip[1], d4=ip[2], d5=ip[3]
34 vadd.s16 d6, d2, d5 ;a1 = ip[0]+ip[3]
35 vadd.s16 d7, d3, d4 ;b1 = ip[1]+ip[2]
36 vsub.s16 d8, d3, d4 ;c1 = ip[1]-ip[2]
37 vsub.s16 d9, d2, d5 ;d1 = ip[0]-ip[3]
45 ;transpose d2, d3, d4, d5. Then, d2=ip[0], d3=ip[4], d4=ip[8], d5=ip[12]
51 vadd.s16 d6, d2, d5 ;a1 = ip[0]+ip[12]
52 vadd.s16 d7, d3, d4 ;b1 = ip[4]+ip[8]
53 vsub.s16 d8, d3, d4 ;c1 = ip[4]-ip[8]
54 vsub.s16 d9, d2, d5 ;d1 = ip[0]-ip[12]
/external/clang/test/SemaCXX/
Dscope-check.cpp33 int f(void **ip) { in f() argument
37 goto *ip; in f()
48 int f(void **ip) { in f() argument
51 goto *ip; in f()
65 int f(void **ip) { in f() argument
70 goto *ip; // expected-error {{indirect goto might cross protected scopes}} in f()
83 int f(void **ip) { in f() argument
87 goto *ip; in f()
91 if (ip[1]) { in f()
93 ip += 2; in f()
[all …]
/external/oprofile/libpp/
Dpopulate_for_spu.cpp50 inverted_profile const & ip, in populate_spu_profile_from_files() argument
55 bool ok = ip.error == image_ok; in populate_spu_profile_from_files()
69 ip.image, in populate_spu_profile_from_files()
73 fname_to_check = ip.image; in populate_spu_profile_from_files()
75 abfd = new op_bfd(ip.image, in populate_spu_profile_from_files()
82 if (!ok && ip.error == image_ok) in populate_spu_profile_from_files()
83 ip.error = image_format_failure; in populate_spu_profile_from_files()
85 if (ip.error == image_format_failure) in populate_spu_profile_from_files()
86 report_image_error(ip, false, in populate_spu_profile_from_files()
90 if (ip.error == image_ok) { in populate_spu_profile_from_files()
[all …]
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
Dp1-0x.cpp35 void test_simple_deduction(int *ip, float *fp, double *dp) { in test_simple_deduction() argument
36 int *ip1 = first_arg(ip); in test_simple_deduction()
37 int *ip2 = first_arg(ip, fp); in test_simple_deduction()
38 int *ip3 = first_arg(ip, fp, dp); in test_simple_deduction()
48 void test_simple_ref_deduction(int *ip, float *fp, double *dp) { in test_simple_ref_deduction() argument
49 int *ip1 = first_arg_ref(ip); in test_simple_ref_deduction()
50 int *ip2 = first_arg_ref(ip, fp); in test_simple_ref_deduction()
51 int *ip3 = first_arg_ref(ip, fp, dp); in test_simple_ref_deduction()
62 void test_pair_deduction(int *ip, float *fp, double *dp) { in test_pair_deduction() argument
63 int *ip1 = first_arg_pair(make_pair(ip, 17)); in test_pair_deduction()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
DSDL_riscosASM.S45 LDR ip,[sp,#Arg5]
51 LDR v1,[ip],#4
54 LDRHI v1,[ip],#4
70 ADD ip,ip,v1
75 PLD [ip,#64]
77 LDR v1,[ip],#4
78 LDR v2,[ip],#4
79 LDR v3,[ip],#4
80 LDR v4,[ip],#4
81 LDR v5,[ip],#4
[all …]

12345678910>>...22