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

1234567891011>>

/macosx-10.10/xnu-2782.1.97/osfmk/i386/
H A Dendian.h67 #if !defined(ntohl)
68 static __inline__ unsigned long ntohl(unsigned long);
71 ntohl(register unsigned long value) function
85 #define htonl ntohl
88 #define NTOHL(x) (x) = ntohl((unsigned long)x)
/macosx-10.10/Security-57031.1.35/Security/include/security_codesigning/
H A Dcscdefs.h59 if (embedded && ntohl(embedded->magic) == CSMAGIC_EMBEDDED_SIGNATURE) {
60 const CS_BlobIndex *limit = &embedded->index[ntohl(embedded->count)];
63 if (ntohl(p->type) == CSSLOT_CODEDIRECTORY) {
65 const CS_CodeDirectory *cd = (const CS_CodeDirectory *)(base + ntohl(p->offset));
83 assert(page < ntohl(cd->nCodeSlots));
88 return base + ntohl(cd->hashOffset) + page * 20;
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/lib/
H A Dcscdefs.h59 if (embedded && ntohl(embedded->magic) == CSMAGIC_EMBEDDED_SIGNATURE) {
60 const CS_BlobIndex *limit = &embedded->index[ntohl(embedded->count)];
63 if (ntohl(p->type) == CSSLOT_CODEDIRECTORY) {
65 const CS_CodeDirectory *cd = (const CS_CodeDirectory *)(base + ntohl(p->offset));
83 assert(page < ntohl(cd->nCodeSlots));
88 return base + ntohl(cd->hashOffset) + page * 20;
/macosx-10.10/SmartCardServices-55111/src/PCSC/
H A Dwinscard_msg.cpp643 msg->headerTag = ntohl(msg->headerTag);
644 msg->msgSize = ntohl(msg->msgSize);
645 msg->mtype = ntohl(msg->mtype);
646 msg->user_id = ntohl(msg->user_id);
647 msg->group_id = ntohl(msg->group_id);
648 msg->command = ntohl(msg->command);
649 msg->date = ntohl(msg->date);
670 cs->hCard = ntohl(cs->hCard);
671 cs->dwControlCode = ntohl(cs->dwControlCode);
672 cs->cbSendLength = ntohl(c
[all...]
H A Dreaderstate.h80 LONG xreaderID() const { Atomic<int>::barrier(); return ntohl(readerID); }
83 DWORD xreaderState() const { Atomic<int>::barrier(); return ntohl(readerState); }
86 DWORD sharing() const { Atomic<int>::barrier(); return ntohl(readerSharing); }
89 DWORD xlockState() const { Atomic<int>::barrier(); return ntohl(lockState); }
92 DWORD xcardProtocol() const { Atomic<int>::barrier(); return ntohl(cardProtocol); }
105 size_t xcardAtrLength() const { Atomic<int>::barrier(); return ntohl(cardAtrLength); }
/macosx-10.10/ntp-92/libntp/
H A Dnumtohost.c8 #include <netinet/in.h> /* ntohl */
33 if ((((ntohl(netnum) & LOOPBACKNETMASK) == LOOPBACKNET)
34 && (ntohl(netnum) != LOOPBACKHOST))
H A Dnumtoa.c8 #include <netinet/in.h> /* ntohl */
25 netnum = ntohl(num);
/macosx-10.10/configd-699.1.5/dnsinfo/
H A Ddnsinfo_copy.c85 resolver->n_nameserver = ntohl(resolver->n_nameserver);
100 resolver->n_search = ntohl(resolver->n_search);
111 resolver->n_sortaddr = ntohl(resolver->n_sortaddr);
126 resolver->timeout = ntohl(resolver->timeout);
130 resolver->search_order = ntohl(resolver->search_order);
134 resolver->if_index = ntohl(resolver->if_index);
138 resolver->service_identifier = ntohl(resolver->service_identifier);
142 resolver->flags = ntohl(resolver->flags);
146 resolver->reach_flags = ntohl(resolver->reach_flags);
153 if (n_attribute != ntohl(bu
[all...]
H A Ddnsinfo_create.c90 oldLen = ntohl(config->n_attribute);
97 config->n_attribute = htonl(ntohl(config->n_attribute) + newLen);
100 config->n_padding = htonl(ntohl(config->n_padding) + extra_padding);
146 padding += ntohl(resolver->resolver.n_nameserver) * sizeof(DNS_PTR(struct sockaddr *, x));
149 padding += ntohl(resolver->resolver.n_search) * sizeof(DNS_PTR(char *, x));
152 padding += ntohl(resolver->resolver.n_sortaddr) * sizeof(DNS_PTR(dns_sortaddr_t *, x));
155 if ((ntohl(resolver->resolver.flags) & DNS_RESOLVER_FLAGS_SCOPED)) {
156 config->config.n_scoped_resolver = htonl(ntohl(config->config.n_scoped_resolver) + 1);
159 sizeof(_dns_resolver_buf_t) + ntohl(resolver->n_attribute),
162 } else if ((ntohl(resolve
[all...]
/macosx-10.10/Libinfo-459/util.subproj/
H A Dhton.c28 uint32_t ntohl(uint32_t x) function
/macosx-10.10/xnu-2782.1.97/libsyscall/mach/servers/
H A Dkey_defs.h81 (key).key_longs[0] = ntohl((key).key_longs[0]); \
82 (key).key_longs[1] = ntohl((key).key_longs[1]); \
83 (key).key_longs[2] = ntohl((key).key_longs[2]); \
84 (key).key_longs[3] = ntohl((key).key_longs[3]); \
/macosx-10.10/Libc-1044.1.2/locale/FreeBSD/
H A Drune.c198 rl->__invalid_rune = ntohl(rl->__invalid_rune);
199 rl->__variable_len = ntohl(rl->__variable_len);
200 rl->__ncharclasses = ntohl(rl->__ncharclasses);
201 rl->__runetype_ext.__nranges = ntohl(rl->__runetype_ext.__nranges);
202 rl->__maplower_ext.__nranges = ntohl(rl->__maplower_ext.__nranges);
203 rl->__mapupper_ext.__nranges = ntohl(rl->__mapupper_ext.__nranges);
206 rl->__runetype[x] = ntohl(rl->__runetype[x]);
207 rl->__maplower[x] = ntohl(rl->__maplower[x]);
208 rl->__mapupper[x] = ntohl(rl->__mapupper[x]);
289 rr[x].__min = ntohl(r
[all...]
/macosx-10.10/Security-57031.1.35/Security/sec/Security/Tool/
H A Dcodesign.c92 //assert(page < ntohl(cd->nCodeSlots));
93 //return base + ntohl(cd->hashOffset) + page * 20;
136 require(ntohl(sb->magic) == CSMAGIC_EMBEDDED_SIGNATURE, out);
138 for (count = 0; count < ntohl(sb->count); count++) {
139 //uint32_t type = ntohl(sb->index[count].type);
140 uint32_t offset = ntohl(sb->index[count].offset);
143 uint32_t magic = ntohl(*(uint32_t*)bytes);
144 uint32_t length = ntohl(*(uint32_t*)(bytes+4));
156 require_string(ntohl(cd->version) >= 0x20001, out, "incompatible version");
157 require_string(ntohl(c
[all...]
/macosx-10.10/tcpdump-61/tcpdump/
H A Dextract.h42 * "ntohl()" than the code to fetch the bytes one at a time and
44 * where "ntohs()" and "ntohl()" might not be done inline.)
57 ((u_int32_t)ntohl(((const unaligned_u_int32_t *)(p))->val))
59 ((u_int64_t)(((u_int64_t)ntohl(((const unaligned_u_int32_t *)(p) + 0)->val)) << 32 | \
60 ((u_int64_t)ntohl(((const unaligned_u_int32_t *)(p) + 1)->val)) << 0))
94 ((u_int32_t)ntohl(*(const u_int32_t *)(p)))
96 ((u_int64_t)(((u_int64_t)ntohl(*((const u_int32_t *)(p) + 0))) << 32 | \
97 ((u_int64_t)ntohl(*((const u_int32_t *)(p) + 1))) << 0))
/macosx-10.10/remote_cmds-47/timed.tproj/timed.tproj/
H A Dbyteorder.c81 ptr->tsp_time.tv_sec = ntohl((u_long)ptr->tsp_time.tv_sec);
82 ptr->tsp_time.tv_usec = ntohl((u_long)ptr->tsp_time.tv_usec);
/macosx-10.10/Libc-1044.1.2/net/FreeBSD/
H A Dinet_lnaof.c53 in_addr_t i = ntohl(in.s_addr);
H A Dinet_netof.c52 in_addr_t i = ntohl(in.s_addr);
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A D_endian.h104 __uint32_t ntohl(__uint32_t);
110 #define ntohl(x) ((__uint32_t)(x))
135 #define ntohl(x) __DARWIN_OSSwapInt32(x)
143 #define NTOHL(x) (x) = ntohl((__uint32_t)x)
/macosx-10.10/ntp-92/ntpdc/
H A Dntpdc_ops.c636 (void) fprintf(fp, "timer %lds, flags", (long)ntohl(pp->timer));
852 (long)ntohl(pp->timereceived));
854 (long)ntohl(pp->timetosend));
856 (long)ntohl(pp->timereachable));
858 (long)ntohl(pp->sent));
860 (long)ntohl(pp->processed));
862 (long)ntohl(pp->badauth));
864 (long)ntohl(pp->bogusorg));
866 (long)ntohl(pp->oldpkt));
868 (long)ntohl(p
[all...]
/macosx-10.10/WTF-7600.1.24/wtf/
H A DByteOrder.h49 inline uint32_t ntohl(uint32_t x) { return x; } function
54 inline uint32_t ntohl(uint32_t x) { return WTF::wswap32(x); }
59 inline uint32_t ntohl(uint32_t x) { return WTF::bswap32(x); }
/macosx-10.10/Chess-310.6/sjeng/
H A Dnewbook.c147 pst->played = htonl(ntohl(pst->played)+1);
347 if (ps && ntohl(ps->played) < PLAYTHRESHOLD)
518 (uint32_t)ntohl(ps->played), (int)ntohl(ps->score));
520 if ((ntohl(ps->played) + ntohl(ps->score)) >= PLAYTHRESHOLD)
522 scores[num_bookmoves] = ntohl(ps->played) + ntohl(ps->score);
656 if (fabs((double)((ntohl(ps->played) + ntohl(p
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/netinet/
H A Dip_ecn.c140 inner8 = (ntohl(*inner) >> 20) & 0xff;
157 outer8 = (ntohl(*outer) >> 20) & 0xff;
158 inner8 = (ntohl(*inner) >> 20) & 0xff;
/macosx-10.10/bless-103/test/
H A Dtestvol.c54 printf("%u\n", ntohl(vinfo.finderinfo[0]));
/macosx-10.10/Libc-1044.1.2/nls/FreeBSD/
H A Dmsgcat.c226 if (ntohl(CHILD->ID) == ID) \
228 if (ntohl(CHILD->ID) < ID) { \
230 if (hi > cur + (ID - ntohl(CHILD->ID)) + 1) \
231 hi = cur + (ID - ntohl(CHILD->ID)) + 1; \
268 LOOKUP(set, msg, msgId, ntohl(set->numMsgs), u.msgs);
377 if (ntohl(header.majorVer) != MCMajorVer) {
380 if (OSSwapInt32(ntohl(header.majorVer)) == MCMajorVer) {
383 (void)fprintf(stderr, "%s: %s is version %d, we need %d.\n", _errowner, catpath, (int)ntohl(header.majorVer), MCMajorVer);
387 if (ntohl(header.numSets) <= 0) {
391 _errowner, catpath, (int)ntohl(heade
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/ntlm/
H A Dapop.c176 ctx->ipad.A = ntohl(state.istate[0]);
177 ctx->ipad.B = ntohl(state.istate[1]);
178 ctx->ipad.C = ntohl(state.istate[2]);
179 ctx->ipad.D = ntohl(state.istate[3]);
181 ctx->opad.A = ntohl(state.ostate[0]);
182 ctx->opad.B = ntohl(state.ostate[1]);
183 ctx->opad.C = ntohl(state.ostate[2]);
184 ctx->opad.D = ntohl(state.ostate[3]);

Completed in 331 milliseconds

1234567891011>>