Searched refs:bytes (Results 1 - 25 of 1605) sorted by last modified time

1234567891011>>

/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/regressions/
H A Dssl-43-ciphers.c304 static void hexdump(const uint8_t *bytes, size_t len) {
306 printf("socket write(%p, %lu)\n", bytes, len);
310 printf("%02X ", bytes[ix]);
315 #define hexdump(bytes, len)
/macosx-10.9.5/xnu-2422.115.4/osfmk/vm/
H A Dvm_compressor.h125 #define C_SEG_BYTES_TO_OFFSET(bytes) ((bytes) / (int) sizeof(int32_t))
H A Dvm_map.c6591 * then an unaligned copy for the remaining bytes.
6629 * Unaligned copy of the first "head_size" bytes, to reach
6844 * we can only copy dst_size bytes before
6850 * we can only copy src_size bytes before
8064 * Check for copies of zero bytes.
8719 * Check for copies of zero bytes.
10088 * bytes of the submap.
13720 vm_map_iokit_mapped_region(vm_map_t map, vm_size_t bytes) argument
13724 ledger_credit(pmap->ledger, task_ledgers.iokit_mem, bytes);
13725 ledger_credit(pmap->ledger, task_ledgers.phys_footprint, bytes);
13729 vm_map_iokit_unmapped_region(vm_map_t map, vm_size_t bytes) argument
[all...]
H A Dvm_map.h1086 vm_size_t bytes);
1090 vm_size_t bytes);
/macosx-10.9.5/xnu-2422.115.4/osfmk/i386/
H A Dpmap_internal.h128 previous implementation the structure of the pv_entries (each 16 bytes in size) was
867 PMAP_ZINFO_PALLOC(pmap_t pmap, vm_size_t bytes) argument
873 pmap_ledger_credit(pmap, task_ledgers.tkm_private, bytes);
877 OSAddAtomic64(bytes, (int64_t *)&zinfo[pt_fake_zone_index].alloc);
881 PMAP_ZINFO_PFREE(pmap_t pmap, vm_size_t bytes) argument
887 pmap_ledger_debit(pmap, task_ledgers.tkm_private, bytes);
891 OSAddAtomic64(bytes, (int64_t *)&zinfo[pt_fake_zone_index].free);
895 PMAP_ZINFO_SALLOC(pmap_t pmap, vm_size_t bytes) argument
897 pmap_ledger_credit(pmap, task_ledgers.tkm_shared, bytes);
901 PMAP_ZINFO_SFREE(pmap_t pmap, vm_size_t bytes) argument
[all...]
H A Dmisc_protos.h91 extern int apply_func_phys(addr64_t src64, vm_size_t bytes, int (*func)(void * buffer, vm_size_t bytes, void * arg), void * arg);
/macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/
H A DIOLib.cpp783 iopa_alloc(iopa_t * a, iopa_proc_t alloc, vm_size_t bytes, uint32_t balign) argument
799 if (!bytes) bytes = 1;
800 count = (bytes + kIOPageAllocChunkBytes - 1) / kIOPageAllocChunkBytes;
810 a->bytecount += bytes;
830 if (addr) a->bytecount += bytes;
840 iopa_free(iopa_t * a, uintptr_t addr, vm_size_t bytes) argument
846 if (!bytes) bytes = 1;
854 count = (bytes
[all...]
H A DIOMemoryDescriptor.cpp157 // align arrays to 8 bytes so following macros work
1025 (IOByteCount offset, void *bytes, IOByteCount length)
1027 addr64_t dstAddr = CAST_DOWN(addr64_t, bytes);
1070 (IOByteCount offset, const void *bytes, IOByteCount length)
1072 addr64_t srcAddr = CAST_DOWN(addr64_t, bytes);
3250 mach_vm_size_t bytes;
3281 bytes = size;
3285 if( segLen >= bytes)
3286 segLen = bytes;
3348 bytes
1024 readBytes(IOByteCount offset, void *bytes, IOByteCount length) argument
[all...]
H A DIONVRAM.cpp80 const void *bytes; local
88 bytes = data->getBytesNoCopy();
89 if (bytes != 0) {
90 bcopy(bytes, _nvramImage, data->getLength());
1435 OSData *IODTNVRAM::unescapeBytesToData(const UInt8 *bytes, UInt32 length) argument
1447 byte = bytes[cnt++];
1449 byte = bytes[cnt++];
1465 byte = bytes[cnt++];
1467 byte = bytes[cnt++];
H A DIOHibernateIO.cpp249 IOByteCount offset, addr64_t bytes, IOByteCount length)
251 addr64_t srcAddr = bytes;
287 IOByteCount offset, addr64_t bytes, IOByteCount length)
289 addr64_t dstAddr = bytes;
723 size_t bytes = (kIOHibernateAESKeySize / 8); local
724 if (vek.key.keybytecount < bytes)
725 bytes = vek.key.keybytecount;
726 bcopy(&vek.key.keybytes[0], volumeCryptKey, bytes);
916 const uint8_t * bytes, IOByteCount size,
925 if (!bytes
248 IOMemoryDescriptorWriteFromPhysical(IOMemoryDescriptor * md, IOByteCount offset, addr64_t bytes, IOByteCount length) argument
286 IOMemoryDescriptorReadToPhysical(IOMemoryDescriptor * md, IOByteCount offset, addr64_t bytes, IOByteCount length) argument
915 IOPolledFileWrite(IOPolledFileIOVars * vars, const uint8_t * bytes, IOByteCount size, hibernate_cryptvars_t * cryptvars) argument
1040 IOPolledFileRead(IOPolledFileIOVars * vars, uint8_t * bytes, IOByteCount size, hibernate_cryptvars_t * cryptvars) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/
H A Dtcp_input.c224 &tcp_do_rfc3465_lim2, 0, "Appropriate bytes counting w/ L=2*SMSS");
565 uint32_t bw, bytes, elapsed_time; local
569 bytes = bw_meas_bytes;
572 bw = bytes / elapsed_time;
961 /* Calculate per sb limit in terms of bytes. We optimize this limit
1061 * bytes. Here we consider increasing
1194 * 2. If the bytes received in the last 100ms is greater than a threshold
2118 * Keep track of how many bytes were received in the LRO packet
2912 * Then check that at least some bytes of segment are within
3435 * than 4*SMSS bytes
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/net/
H A Ddlil.c639 &hwcksum_dbg_partial_forced_bytes, "bytes forced using partial cksum");
729 u_int32_t blowat; /* bytes low watermark */
730 u_int32_t bhiwat; /* bytes high watermark */
1106 * low and high watermarks for outstanding inbound packets/bytes.
1933 /* Total bytes of all packets */
1956 /* Calculate min/max of inbound bytes */
1957 btot = (u_int32_t)inp->sstats.bytes;
1963 /* Calculate EWMA of inbound bytes */
1991 "limits [%d/%d], bytes avg %d "
2052 "bytes av
2863 ifnet_get_service_class_sndq_len(struct ifnet *ifp, mbuf_svc_class_t sc, u_int32_t *pkts, u_int32_t *bytes) argument
6490 const u_int8_t *bytes; local
[all...]
H A Dif_var.h228 u_int64_t ifi_ibebytes; /* TC_BE bytes received on interface */
230 u_int64_t ifi_obebytes; /* TC_BE bytes sent on interface */
232 u_int64_t ifi_ibkbytes; /* TC_BK bytes received on interface */
234 u_int64_t ifi_obkbytes; /* TC_BK bytes sent on interface */
236 u_int64_t ifi_ivibytes; /* TC_VI bytes received on interface */
238 u_int64_t ifi_ovibytes; /* TC_VI bytes sent on interface */
240 u_int64_t ifi_ivobytes; /* TC_VO bytes received on interface */
242 u_int64_t ifi_ovobytes; /* TC_VO bytes sent on interface */
244 u_int64_t ifi_ipvbytes; /* TC priv bytes received on interface */
246 u_int64_t ifi_opvbytes; /* TC priv bytes sen
396 u_int64_t bytes; /* XXX not needed */ member in struct:if_measured_bw
[all...]
H A Dkpi_interface.c204 * to point to storage of at least IFNAMSIZ bytes. It is safe
1677 const u_int8_t *bytes; local
1697 bytes = dlil_ifaddr_bytes(SDL(&sdlbuf), &bytes_len, credp);
1702 bcopy(bytes, lladdr, bytes_len);
2050 uint64_t oseq, ots, bytes, ts, t; local
2078 bytes = oseq - ifp->if_bw.start_seq;
2079 ifp->if_bw.bytes = bytes;
2085 /* Compute bandwidth as bytes/ms */
2086 bw = (bytes * NSEC_PER_MSE
[all...]
H A Dkpi_interface.h367 @param prepend_len The length of prepended bytes to the mbuf.
369 @param postpend_len The length of the postpended bytes to the mbuf.
607 @field bytes_in The number of bytes received.
610 @field bytes_out The number of bytes transmitted.
636 @field uniqueid_len The length, in bytes, of the uniqueid.
737 @param len Pointer to a storage for the total length (in bytes)
958 @field uniqueid_len The length, in bytes, of the uniqueid.
1083 @field bytes_in The number of bytes received.
1086 @field bytes_out The number of bytes transmitted.
1115 only in the 5 bytes wil
[all...]
H A Dntstat.c630 u_int32_t bytes,
640 OSAddAtomic(bytes, &stats->nstat_txretransmit);
645 OSAddAtomic64((SInt64)bytes, (SInt64*)&stats->nstat_txbytes);
657 u_int32_t bytes,
668 OSAddAtomic64((SInt64)bytes, (SInt64*)&stats->nstat_rxbytes);
673 OSAddAtomic(bytes, &stats->nstat_rxoutoforderbytes);
675 OSAddAtomic(bytes, &stats->nstat_rxduplicatebytes);
627 nstat_route_tx( struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags) argument
654 nstat_route_rx( struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags) argument
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Duipc_socket2.c1226 * these bytes in receive socket buffer size. Otherwise,
1228 * of the additional unordered bytes added to the
1439 int32_t bytes = 0, topull_tmp = topull; local
1449 * Move bytes from the priority queue to the
1450 * serial queue. Compute the number of bytes
1454 bytes += mqhead->m_len;
1467 bytes += mqhead->m_len;
1511 priq->msgq_bytes -= bytes;
1515 so->so_msg_state->msg_serial_bytes += bytes;
/macosx-10.9.5/Security-55471.14.18/include/security_codesigning/
H A Dopaquewhitelist.cpp191 const UInt8 *bytes = CFDataGetBytePtr(hash); local
194 sprintf(&s[2*n], "%2.2x", bytes[n]);
/macosx-10.9.5/Security-55471.14.18/libsecurity_codesigning/lib/
H A Dopaquewhitelist.cpp191 const UInt8 *bytes = CFDataGetBytePtr(hash); local
194 sprintf(&s[2*n], "%2.2x", bytes[n]);
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/
H A Dcfutilities.h529 CFDataRef cfLoadFile(int fd, size_t bytes);
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/
H A Dcfutilities.h529 CFDataRef cfLoadFile(int fd, size_t bytes);
/macosx-10.9.5/CF-855.17/
H A DCFBigNumber.c296 uint8_t bytes[128 + 16]; local
297 memset(bytes, 0, sizeof(bytes));
298 // round bytes up to next multiple of 16; compiler attributes won't always guarantee big alignment
299 void *bytesa = (uint8_t *)(((uintptr_t)bytes / 16) * 16 + 16);
305 void _CFBigNumInitWithBytes(_CFBigNum *r, const void *bytes, CFNumberType type) { argument
308 _CFBigNumInitWithInt8(r, *(int8_t *)bytes);
311 _CFBigNumInitWithInt16(r, *(int16_t *)bytes);
314 _CFBigNumInitWithInt32(r, *(int32_t *)bytes);
317 _CFBigNumInitWithInt64(r, *(int64_t *)bytes);
[all...]
H A DCFBigNumber.h75 void _CFBigNumInitWithBytes(_CFBigNum *r, const void *bytes, CFNumberType type);
H A DCFBinaryPList.c170 static void writeBytes(__CFBinaryPlistWriteBuffer *buf, const UInt8 *bytes, CFIndex length) { argument
178 memmove((char *)buf->databytes + buf->written, bytes, length);
181 if (buf->stream) CFDataAppendBytes((CFMutableDataRef)buf->stream, bytes, length);
186 CFIndex ret = buf->stream ? CFWriteStreamWrite((CFWriteStreamRef)buf->stream, bytes, length) : length;
198 bytes += ret;
254 int 0001 0nnn ... // # of bytes is 2^nnn, big-endian bytes
255 real 0010 0nnn ... // # of bytes is 2^nnn, big-endian bytes
256 date 0011 0011 ... // 8 byte float follows, big-endian bytes
330 uint8_t *bytes; local
353 uint8_t *bytes; local
375 uint8_t *bytes, buffer[1024]; local
410 uint8_t *bytes; local
443 uint8_t *bytes = (uint8_t *)&storage; local
[all...]
H A DCFBitVector.c78 // ensure that uses of these inlines are correct, bytes vs. buckets vs. bits
236 static CFMutableBitVectorRef __CFBitVectorInit(CFAllocatorRef allocator, CFOptionFlags flags, CFIndex capacity, const uint8_t *bytes, CFIndex numBits) { argument
257 if (bytes) {
259 memmove(memory->_buckets, bytes, numBits / __CF_BITS_PER_BYTE + (numBits & __CF_BITS_PER_BYTE_MASK ? 1 : 0));
265 CFBitVectorRef CFBitVectorCreate(CFAllocatorRef allocator, const uint8_t *bytes, CFIndex numBits) { argument
266 return __CFBitVectorInit(allocator, kCFBitVectorImmutable, numBits, bytes, numBits);
407 void CFBitVectorGetBits(CFBitVectorRef bv, CFRange range, uint8_t *bytes) { argument
412 context.curByte = bytes;

Completed in 374 milliseconds

1234567891011>>