Home
last modified time | relevance | path

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

123456

/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...]
/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/src/
H A Dpng_ninepatch_res.cpp65 xDivs[i] = ntohl(xDivs[i]); in FileToDevice()
69 yDivs[i] = ntohl(yDivs[i]); in FileToDevice()
71 paddingTop = ntohl(paddingTop); in FileToDevice()
72 paddingBottom = ntohl(paddingBottom); in FileToDevice()
73 paddingLeft = ntohl(paddingLeft); in FileToDevice()
74 paddingRight = ntohl(paddingRight); in FileToDevice()
77 colors[i] = ntohl(colors[i]); in FileToDevice()
/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/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/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...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Ddef.h106 #ifdef ntohl
107 #define lwip_ntohl ntohl
114 #define ntohl lwip_ntohl macro
115 #endif /* ntohl */
/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
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/src/
H A Drtcp_context.cpp43 ((ntohl(rtcp->ntpmsw_) & 0xFFFF) << 16) | ((ntohl(rtcp->ntplsw_) >> 16) & 0xFFFF); // 16:byte offset in CreateRtcpSR()
168 lastSrLsr_ = (((ntohl(rtcpSR->ntpmsw_) & 0xffff) << 16) | // 16:byte offset in OnRtcp()
169 ((ntohl(rtcpSR->ntplsw_) >> 16) & 0xffff)); // 16:byte offset in OnRtcp()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dstream_packet_header.h154 checkSum_ = ntohl(*reinterpret_cast<uint32_t *>((reinterpret_cast<char *>(tmp) + AlignTo4Bytes(extLen_)))); in Depacketize()
299 uint32_t common = ntohl(*start++); in Depacketize()
300 commonHeader_.timestamp = ntohl(*start++); in Depacketize()
301 commonHeader_.dataLen = ntohl(*start++); in Depacketize()
302 uint32_t seq = ntohl(*start); in Depacketize()
/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
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/src/
H A Drtp_packet.cpp118 return ntohl(GetHeader()->stamp_); in GetStamp()
128 return ntohl(GetHeader()->ssrc_); in GetSSRC()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dipv4_info.cpp38 auto ip = ntohl(ip_); in Marshalling()
77 uint32_t ip = ntohl(ip_); in ToIpString()
/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...]
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dclat_utils.cpp91 uint32_t v4Num = ntohl(initV4Addr.s_addr); in GetAvailableIpv4Address()
348 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, ntohl(addr->s6_addr32[0]), 1, 0), in AddFilterAndBindPacketSocket()
351 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, ntohl(addr->s6_addr32[1]), 1, 0), in AddFilterAndBindPacketSocket()
354 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, ntohl(addr->s6_addr32[2]), 1, 0), in AddFilterAndBindPacketSocket()
357 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, ntohl(addr->s6_addr32[3]), 1, 0), in AddFilterAndBindPacketSocket()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_frame.c647 hostSettingFrame->dFileVersion = ntohl(netSettingFrame->dFileVersion); in DecodeSettingFrame()
650 hostSettingFrame->dFileVersion = ntohl(netSettingFrame->dFileVersion); in DecodeSettingFrame()
651 hostSettingFrame->abmCapability = ntohl(netSettingFrame->abmCapability); in DecodeSettingFrame()
654 hostSettingFrame->capability = ntohl(netSettingFrame->capability); in DecodeSettingFrame()
659 hostSettingFrame->dataFrameSize = ntohl(netSettingFrame->dataFrameSize); in DecodeSettingFrame()
664 hostSettingFrame->capsCheck = ntohl(netSettingFrame->capsCheck); in DecodeSettingFrame()
670 hostSettingFrame->cipherCapability = ntohl(netSettingFrame->cipherCapability); in DecodeSettingFrame()
705 backPressInfo->stopSendPeriod = ntohl(backPressFrame->backPressure.stopSendPeriod); in DecodeBackPressFrame()
/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

Completed in 14 milliseconds

123456