/bionic/libc/dns/net/ |
D | getservent.c | 45 char* p2; in getservent_r() local 68 p2 = realloc( (char*)rs->servent.s_aliases, total ); in getservent_r() 69 if (p2 == NULL) in getservent_r() 73 rs->servent.s_aliases = (char**) p2; in getservent_r() 74 p2 += (count+1)*sizeof(char*); in getservent_r() 75 rs->servent.s_name = p2; in getservent_r() 76 p2 += namelen + 1; in getservent_r() 77 rs->servent.s_proto = p2; in getservent_r() 94 rs->servent.s_aliases[nn] = p2; in getservent_r() 95 memcpy( p2, p+1, len2 ); in getservent_r() [all …]
|
D | getaddrinfo.c | 1654 const char *p2 = (const char *)a2; in _common_prefix_len() local 1660 if (p1[i] == p2[i]) { in _common_prefix_len() 1663 x = p1[i] ^ p2[i]; in _common_prefix_len()
|
/bionic/libc/arch-riscv64/string/ |
D | memcmp.c | 44 const unsigned char *p1 = s1, *p2 = s2; in memcmp_gc() local 47 if (*p1++ != *p2++) in memcmp_gc() 48 return (*--p1 - *--p2); in memcmp_gc()
|
/bionic/libc/kernel/uapi/linux/ |
D | ultrasound.h | 26 …p2) { _SEQ_NEEDBUF(8); _seqbuf[_seqbufptr] = SEQ_PRIVATE; _seqbuf[_seqbufptr + 1] = (chn); _seqbuf… argument 38 #define GUS_RAMPRATE(chn,voice,p1,p2) _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2)) argument 42 #define GUS_VOLUME_SCALE(chn,voice,p1,p2) _GUS_CMD(chn, voice, _GUS_VOLUME_SCALE, (p1), (p2)) argument
|
D | soundcard.h | 637 …p2,w14) { _SEQ_NEEDBUF(8); _seqbuf[_seqbufptr] = EV_CHN_COMMON; _seqbuf[_seqbufptr + 1] = (dev); _… argument
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_lgamma_r.c | 204 double nadj,p,p1,p2,p3,q,r,t,w,y,z; in lgamma_r() local 254 p2 = z*(a1+z*(a3+z*(a5+z*(a7+z*(a9+z*a11))))); in lgamma_r() 255 p = y*p1+p2; in lgamma_r() 261 p2 = t1+w*(t4+w*(t7+w*(t10+w*t13))); in lgamma_r() 263 p = z*p1-(tt-w*(p2+y*p3)); in lgamma_r() 267 p2 = one+y*(v1+y*(v2+y*(v3+y*(v4+y*v5)))); in lgamma_r() 268 r += p1/p2-y/2; in lgamma_r()
|
D | e_lgammaf_r.c | 125 float nadj,p,p1,p2,q,r,t,w,y,z; in lgammaf_r() local 175 p2 = z*(a1+z*(a3+z*a5)); in lgammaf_r() 176 p = y*p1+p2; in lgammaf_r() 183 p2 = one+y*(v1+y*(v2+y*v3)); in lgammaf_r() 184 r += p1/p2-y/2; in lgammaf_r()
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_exp.c | 73 p2 = -2.7777777777564776e-03, /* 0xbf66c16c, 0x16c0ac3c */ variable 114 c = x - z * (p1 + z * (p2 + z * (p3 + z * (p4 + in __exp__D()
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | e_lgammal_r.c | 227 long double nadj,p,p1,p2,p3,q,r,t,w,y,z; in lgammal_r() local 279 p2 = z*(a1+z*(a3+z*(a5+z*(a7+z*(a9+z*(a11+z*(a13+z*(a15+ in lgammal_r() 281 p = y*p1+p2; in lgammal_r() 293 p2 = one+y*(v1+y*(v2+y*(v3+y*(v4+y*(v5+y*(v6+y*(v7+ in lgammal_r() 295 r += p1/p2-y/2; in lgammal_r()
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 887 const uint8_t* p2 = pack2->cursor; in _dnsPacket_isEqualDomainName() local 893 if (p1 >= end1 || p2 >= end2) { in _dnsPacket_isEqualDomainName() 898 c2 = *p2++; in _dnsPacket_isEqualDomainName() 904 pack2->cursor = p2; in _dnsPacket_isEqualDomainName() 911 if ((p1+c1 > end1) || (p2+c1 > end2)) { in _dnsPacket_isEqualDomainName() 916 if (memcmp(p1, p2, c1) != 0) in _dnsPacket_isEqualDomainName() 919 p2 += c1; in _dnsPacket_isEqualDomainName() 931 const uint8_t* p2 = pack2->cursor; in _dnsPacket_isEqualBytes() local 933 if ( p1 + numBytes > pack1->end || p2 + numBytes > pack2->end ) in _dnsPacket_isEqualBytes() 936 if ( memcmp(p1, p2, numBytes) != 0 ) in _dnsPacket_isEqualBytes()
|
/bionic/tests/ |
D | time_test.cpp | 50 time_t p2, t2 = time(&p2); in TEST() local 54 ASSERT_EQ(p2, t2); in TEST() 57 ASSERT_LT(p1, p2); in TEST()
|
D | stdio_test.cpp | 1194 char* p2 = nullptr; in TEST() local 1195 ASSERT_EQ(2, sscanf("hello", "%mc%mc", &p1, &p2)); in TEST() 1197 ASSERT_EQ('e', *p2); in TEST() 1199 free(p2); in TEST() 1226 wchar_t* p2 = nullptr; in TEST() local 1227 ASSERT_EQ(2, sscanf("hello", "%mlc%mlc", &p1, &p2)); in TEST() 1229 ASSERT_EQ(L'e', *p2); in TEST() 1231 free(p2); in TEST() 1301 wchar_t* p2 = nullptr; in TEST() local 1302 ASSERT_EQ(2, sscanf("1234567890123456789012345678901234567890 world", "%mls %mls", &p1, &p2)); in TEST() [all …]
|
D | malloc_test.cpp | 593 void* p2 = realloc(p, 0); in TEST() local 594 ASSERT_TRUE(p2 == nullptr); in TEST()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | engine.c | 149 #define AT(t, p1, p2, s1, s2) at(m, t, p1, p2, s1, s2) argument 153 #define AT(t, p1, p2, s1, s2) /* nothing */ argument
|