Home
last modified time | relevance | path

Searched refs:ip1 (Results 1 – 13 of 13) sorted by relevance

/third_party/openssl/test/
Dv3ext.c122 const char *ip1; member
177 ASN1_OCTET_STRING *ip1 = NULL, *ip2 = NULL; in test_addr_ranges() local
192 ip1 = a2i_IPADDRESS(ranges[i].ip1); in test_addr_ranges()
193 if (!TEST_ptr(ip1)) in test_addr_ranges()
195 if (!TEST_true(ip1->length == 4 || ip1->length == 16)) in test_addr_ranges()
200 if (!TEST_int_eq(ip2->length, ip1->length)) in test_addr_ranges()
202 if (!TEST_true(memcmp(ip1->data, ip2->data, ip1->length) <= 0)) in test_addr_ranges()
205 if (!TEST_true(X509v3_addr_add_range(addr, ranges[i].afi, NULL, ip1->data, ip2->data))) in test_addr_ranges()
216 ASN1_OCTET_STRING_free(ip1); in test_addr_ranges()
218 ip1 = ip2 = NULL; in test_addr_ranges()
[all …]
/third_party/ffmpeg/libavcodec/
Dcinepak.c139 char *ip0, *ip1, *ip2, *ip3; in cinepak_decode_vectors() local
147 ip0 = ip1 = ip2 = ip3 = s->frame->data[0] + in cinepak_decode_vectors()
150 ip1 = ip0 + s->frame->linesize[0]; in cinepak_decode_vectors()
152 ip2 = ip1 + s->frame->linesize[0]; in cinepak_decode_vectors()
192 ip1[0] = ip1[1] = ip0[0] = ip0[1] = p[0]; in cinepak_decode_vectors()
193 ip1[2] = ip1[3] = ip0[2] = ip0[3] = p[3]; in cinepak_decode_vectors()
202 memcpy(ip1 + 0, p, 3); memcpy(ip1 + 3, p, 3); in cinepak_decode_vectors()
205 memcpy(ip1 + 6, p, 3); memcpy(ip1 + 9, p, 3); in cinepak_decode_vectors()
229 p = ip1; in cinepak_decode_vectors()
244 memcpy(ip1 + 0, cb0 + 6, 6); in cinepak_decode_vectors()
[all …]
/third_party/lwip/test/unit/udp/
Dtest_udp.c342 ip_addr_t ip1; in START_TEST() local
349 ip_addr_set_any_val(0, ip1); in START_TEST()
355 err1 = udp_bind(pcb1, &ip1, 2105); in START_TEST()
365 ip_addr_set_any_val(0, ip1); in START_TEST()
371 err1 = udp_bind(pcb1, &ip1, 2105); in START_TEST()
381 ip_addr_set_any_val(1, ip1); in START_TEST()
387 err1 = udp_bind(pcb1, &ip1, 2105); in START_TEST()
397 ip_addr_set_any_val(0, ip1); in START_TEST()
403 err1 = udp_bind(pcb1, &ip1, 2105); in START_TEST()
413 IP_ADDR4(&ip1, 1, 2, 3, 4); in START_TEST()
[all …]
/third_party/python/Lib/test/
Dtest_ipaddress.py1219 ip1 = ipaddress.IPv4Address('10.10.10.10')
1222 self.assertEqual(list(ipaddress._find_address_range([ip1])),
1223 [(ip1, ip1)])
1224 self.assertEqual(list(ipaddress._find_address_range([ip1, ip3])),
1225 [(ip1, ip1), (ip3, ip3)])
1226 self.assertEqual(list(ipaddress._find_address_range([ip1, ip2, ip3])),
1227 [(ip1, ip3)])
1750 ip1 = ipaddress.IPv4Address('1.1.1.0')
1758 [ip1, ip2, ip3, ip4, ip5, ip6])
1764 ip1 = ipaddress.IPv4Address('1.1.1.0')
[all …]
Dtest_generators.py1475 ip1 = i+1
1477 for x in gen(ip1):
1490 ip1, ip2, ip3 = i+1, i+2, i+3
1496 for values[ip1] in g1():
1504 for values[ip1] in g1():
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/
Dmemory_test.cc114 explicit MoveOnly(int i1) : ip1{new int{i1}} {} in MoveOnly()
115 MoveOnly(int i1, int i2) : ip1{new int{i1}}, ip2{new int{i2}} {} in MoveOnly()
116 std::unique_ptr<int> ip1; member
131 EXPECT_TRUE(!p->ip1); in TEST()
138 EXPECT_TRUE(p->ip1 && *p->ip1 == 1); in TEST()
145 EXPECT_TRUE(p->ip1 && *p->ip1 == 1); in TEST()
/third_party/iowow/src/kv/tests/
Diwkv_test9.c29 unsigned char ip1[4] = { 1, 0, 142, 235 }; in iwkv_test9_1() local
31 ikey.data = ip1; in iwkv_test9_1()
/third_party/lz4/tests/
DabiTest.c51 const char* const ip1 = (const char*)buff1; in checkBuffers() local
56 if (ip1[pos]!=ip2[pos]) in checkBuffers()
DroundTripTest.c63 const char* const ip1 = (const char*)buff1; in checkBuffers() local
68 if (ip1[pos]!=ip2[pos]) in checkBuffers()
/third_party/openssl/crypto/x509/
Dv3_ncons.c212 char *ip1 = ossl_ipaddr_to_asc(ip->data, len1); in print_nc_ipadd() local
214 int ret = ip1 != NULL && ip2 != NULL in print_nc_ipadd()
215 && BIO_printf(bp, "IP:%s/%s", ip1, ip2) > 0; in print_nc_ipadd()
217 OPENSSL_free(ip1); in print_nc_ipadd()
/third_party/python/PC/
Dlauncher.c425 INSTALLED_PYTHON * ip1 = (INSTALLED_PYTHON *) p1; in compare_pythons() local
429 ip2->version, -1, ip1->version, -1); in compare_pythons()
437 return ip2->bits - ip1->bits; /* 64 before 32 */ in compare_pythons()
/third_party/openssl/crypto/des/asm/
Ddes_enc.m4631 define({ip1},{local1})
638 ld [out2+256], ip1
658 and local0, ip1, local0
723 and temp1, ip1, temp1
/third_party/node/src/
Dcares_wrap.cc1808 node::Utf8Value ip1(isolate, args[1]); in SetLocalAddress() local
1810 if (uv_inet_pton(AF_INET, *ip1, &addr1) == 0) { in SetLocalAddress()
1817 } else if (uv_inet_pton(AF_INET6, *ip1, &addr1) == 0) { in SetLocalAddress()