Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 - 25 of 91) sorted by relevance

1234

/third_party/NuttX/fs/nfs/
H A Dxdr_subs.h66 * These use the MACHINE DEPENDENT routines ntohl, htonl
69 * To simplify the implementation, we use ntohl/htonl even on big-endian
75 #define fxdr_unsigned(t, v) ((t)ntohl(v))
80 (t)->tv_sec = ntohl(((struct nfsv2_time *)(f))->nfsv2_sec); \
82 (t)->tv_nsec = 1000 * ntohl(((struct nfsv2_time *)(f))->nfsv2_usec); \
98 (t)->tv_sec = ntohl(((struct nfsv3_time *)(f))->nfsv3_sec); \
99 (t)->tv_nsec = ntohl(((struct nfsv3_time *)(f))->nfsv3_nsec); \
103 (t)->nfsv3_sec = ntohl(((struct nfsv3_time *)(f))->nfsv3_sec); \
104 (t)->nfsv3_nsec = ntohl(((struct nfsv3_time *)(f))->nfsv3_nsec); \
120 ((((uint64_t)ntohl(((uint32_
[all...]
/third_party/mesa3d/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c83 uint32_t freq = ntohl(buf[0]); in find_freqs_fn()
161 dev.address_cells = ntohl(*val); in find_device_fn()
166 dev.size_cells = ntohl(*val); in find_device_fn()
200 uint32_t u[2] = {ntohl(buf[0]), ntohl(buf[1])}; in find_device()
204 dev.base = ntohl(buf[0]); in find_device()
209 uint32_t u[2] = {ntohl(buf[0]), ntohl(buf[1])}; in find_device()
213 dev.size = ntohl(buf[0]); in find_device()
/third_party/mesa3d/src/util/sha1/
H A Dsha1.h43 x[0] = ntohl(x[0]); \
44 x[1] = ntohl(x[1]); \
45 x[2] = ntohl(x[2]); \
46 x[3] = ntohl(x[3]); \
47 x[4] = ntohl(x[4]); } while (0)
/third_party/musl/porting/liteos_a/user/src/network/
H A Dinet_legacy.c7 return ntohl(inet_addr(p)); in inet_network()
20 uint32_t h = ntohl(in.s_addr); in inet_lnaof()
28 uint32_t h = ntohl(in.s_addr); in inet_netof()
/third_party/musl/src/network/
H A Dinet_legacy.c7 return ntohl(inet_addr(p)); in inet_network()
20 uint32_t h = ntohl(in.s_addr); in inet_lnaof()
28 uint32_t h = ntohl(in.s_addr); in inet_netof()
H A Dntohl.c4 uint32_t ntohl(uint32_t n) in ntohl() function
/third_party/musl/porting/linux/user/src/network/
H A Dinet_legacy.c7 return ntohl(inet_addr(p)); in inet_network()
20 uint32_t h = ntohl(in.s_addr); in inet_lnaof()
28 uint32_t h = ntohl(in.s_addr); in inet_netof()
/third_party/pulseaudio/src/pulsecore/
H A Dpstream.c782 l = ntohl(p->write.descriptor[PA_PSTREAM_DESCRIPTOR_LENGTH]) - (p->write.index - PA_PSTREAM_DESCRIPTOR_SIZE); in do_write()
812 if (p->write.index >= PA_PSTREAM_DESCRIPTOR_SIZE + ntohl(p->write.descriptor[PA_PSTREAM_DESCRIPTOR_LENGTH])) { in do_write()
852 (((uint64_t) ntohl(re->descriptor[PA_PSTREAM_DESCRIPTOR_OFFSET_HI])) << 32) | in memblock_complete()
853 (((uint64_t) ntohl(re->descriptor[PA_PSTREAM_DESCRIPTOR_OFFSET_LO])))); in memblock_complete()
857 ntohl(re->descriptor[PA_PSTREAM_DESCRIPTOR_CHANNEL]), in memblock_complete()
859 ntohl(re->descriptor[PA_PSTREAM_DESCRIPTOR_FLAGS]) & PA_FLAG_SEEKMASK, in memblock_complete()
886 l = ntohl(re->descriptor[PA_PSTREAM_DESCRIPTOR_LENGTH]) - (re->index - PA_PSTREAM_DESCRIPTOR_SIZE); in do_read()
930 flags = ntohl(re->descriptor[PA_PSTREAM_DESCRIPTOR_FLAGS]); in do_read()
941 /* pa_log("Got release frame for %u", ntohl(re->descriptor[PA_PSTREAM_DESCRIPTOR_OFFSET_HI])); */ in do_read()
944 pa_memexport_process_release(p->export, ntohl(r in do_read()
[all...]
/third_party/musl/libc-test/src/api/
H A Darpa_inet.c26 #ifdef ntohl in f()
27 I(uint32_t, ntohl(0LL)) in f()
29 {uint32_t(*p)(uint32_t) = ntohl;} in f()
/third_party/node/deps/ngtcp2/nghttp3/lib/
H A Dnghttp3_conv.h60 ((uint64_t)(ntohl((uint32_t)(N))) << 32 | ntohl((uint32_t)((N) >> 32)))
106 STIN uint32_t ntohl(uint32_t netlong) { in ntohl() function
/third_party/rust/crates/linux-raw-sys/gen/include/
H A Dsupport.h31 #define ntohl(x) (x) macro
36 #define ntohl(x) (__builtin_bswap32(x)) macro
/third_party/ltp/testcases/network/lib6/
H A Dasapi_01.c180 expected += ntohl(tpt->tp_dlen); in recvtprot()
189 expected += ntohl(tpt->tp_dlen); in recvtprot()
257 pttp->tp_offset = ntohl(offset); in client()
258 pttp->tp_dlen = ntohl(cstab[i].cs_dlen); in client()
259 pttp->tp_seq = ntohl(++seq); in client()
309 pend = rpbuf + sizeof(struct tprot) + ntohl(prtp->tp_dlen); in client()
/third_party/backends/backend/
H A Ddell1600n_net.c501 gOpenScanners[iHandle]->m_composition = ntohl (0x01); in sane_open()
503 gOpenScanners[iHandle]->m_compression = ntohl (0x08); in sane_open()
504 gOpenScanners[iHandle]->m_fileType = ntohl (0x02); in sane_open()
1615 DBG (5, "File type: %x\n", ntohl (pState->m_fileType)); in ProcessTcpResponse()
1622 DBG (5, "Compression: %x\n", ntohl (pState->m_compression)); in ProcessTcpResponse()
1641 DBG (5, "Width: %d\n", ntohl (pState->m_pixelWidth)); in ProcessTcpResponse()
1654 DBG (5, "Height: %d\n", ntohl (pState->m_pixelHeight)); in ProcessTcpResponse()
1813 ntohl (pState->m_compression)); in ProcessPageData()
1815 switch (ntohl (pState->m_compression)) in ProcessPageData()
1913 width = ntohl (pStat in ProcessPageData()
[all...]
H A Dhpljm1005.c766 *s = ntohl (dev->packet_data[4]); in wait_ack()
767 return ntohl (dev->packet_data[5]); in wait_ack()
840 if (ntohl (dev->packet_data[0]) == MAGIC_NUMBER) in get_data()
842 if (ntohl (dev->packet_data[1]) == PKT_DATA) in get_data()
844 if (ntohl (dev->packet_data[1]) == PKT_END_DATA) in get_data()
861 packet_size = ntohl (dev->packet_data[5]); in get_data()
882 color = ntohl (dev->packet_data[0]); in get_data()
884 dev->width = ntohl (dev->packet_data[5]); in get_data()
/third_party/ltp/lib/
H A Dtst_net.c58 return tst_bit_count(ntohl(mask.s_addr)); in tst_mask2prefix()
155 switch (ntohl(inet_ptr->sin_addr.s_addr)) { in tst_get_connect_address()
/third_party/toybox/toys/pending/
H A Ddhcp6.c360 dhcp_data.iaid = ntohl(*((uint32_t*)(t+4))); in parse_ia_na()
361 dhcp_data.t1 = ntohl(*((uint32_t*)(t+8))); in parse_ia_na()
362 dhcp_data.t2 = ntohl(*((uint32_t*)(t+12))); in parse_ia_na()
385 dhcp_data.pf_lf = ntohl(*((uint32_t*)(t+20))); in parse_ia_na()
386 dhcp_data.va_lf = ntohl(*((uint32_t*)(t+24))); in parse_ia_na()
H A Ddhcpd.c410 *oip4 = ntohl(ip->sin_addr.s_addr); in get_interface()
1346 if ((ntohl(nip) < gconfig.start_ip) || (ntohl(nip) > gconfig.end_ip)) in verifyip_in_lease()
1466 for (nip = htonl(gconfig.start_ip); ntohl(nip) <= gconfig.end_ip; ) { in getip_from_pool()
1468 nip = ntohl(nip); in getip_from_pool()
1471 if (ntohl(nip) > gconfig.end_ip) { in getip_from_pool()
1560 ip = ntohl(dls->lease_nip); in read_leasefile()
1562 tmp_time = ntohl(dls->expires) - passed; in read_leasefile()
1593 tmp_time = ntohl(dls6->expires) - passed; in read_lease6file()
1633 gconfig.t1 = ntohl(gconfi in dhcpd_main()
[all...]
/third_party/cups-filters/filter/
H A Durftopdf.cpp32 #include <arpa/inet.h> // ntohl
443 head.page_count = ntohl(head_orig.page_count); in main()
465 page_header.width = ntohl(page_header_orig.width); in main()
466 page_header.height = ntohl(page_header_orig.height); in main()
467 page_header.dot_per_inch = ntohl(page_header_orig.dot_per_inch); in main()
/third_party/musl/porting/liteos_a/kernel/src/network/
H A Dntohl.c4 uint32_t ntohl(uint32_t n) in ntohl() function
/third_party/musl/porting/liteos_m/kernel/src/network/
H A Dntohl.c4 uint32_t ntohl(uint32_t n) in ntohl() function
/third_party/musl/porting/liteos_m_iccarm/kernel/src/network/
H A Dntohl.c4 uint32_t ntohl(uint32_t n) in ntohl() function
/third_party/musl/porting/uniproton/kernel/src/network/
H A Dntohl.c4 uint32_t ntohl(uint32_t n) in ntohl() function
/third_party/musl/porting/liteos_m/kernel/include/arpa/
H A Dinet.h13 uint32_t ntohl(uint32_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/arpa/
H A Dinet.h13 uint32_t ntohl(uint32_t);
/third_party/musl/porting/uniproton/kernel/include/arpa/
H A Dinet.h13 uint32_t ntohl(uint32_t);

Completed in 15 milliseconds

1234