Home
last modified time | relevance | path

Searched refs:numbytes (Results 1 – 6 of 6) sorted by relevance

/xnu-12377.1.9/osfmk/prng/
H A Dprng_random.c338 read_random_generate(uint8_t *buffer, size_t numbytes);
421 read_random(void * buffer, u_int numbytes) in read_random() argument
424 read_random_generate(buffer, numbytes); in read_random()
448 read_random_generate(uint8_t *buffer, size_t numbytes) in read_random_generate() argument
452 while (numbytes > 0) { in read_random_generate()
453 size_t n = MIN(numbytes, CCKPRNG_GENERATE_MAX_NBYTES); in read_random_generate()
458 numbytes -= n; in read_random_generate()
463 write_random(void * buffer, u_int numbytes) in write_random() argument
471 if (numbytes > SHA512_DIGEST_LENGTH) { in write_random()
475 SHA512_Update(&ctx, buffer, numbytes); in write_random()
[all …]
/xnu-12377.1.9/tools/lldbmacros/
H A Dutils.py243 numbytes = LazyTarget.GetProcess().WriteMemory(addr, sdata, serr)
244 if numbytes == length and serr.Success():
259 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
260 if numbytes == 8 and serr.Success():
290 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
291 if numbytes == 4 and serr.Success():
306 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
307 if numbytes == 2 and serr.Success():
322 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
323 if numbytes == 1 and serr.Success():
H A Dioreg.py1456 def ReadIOPortInt(addr, numbytes, lcpu): argument
1484 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and
1492 if numbytes == 1:
1494 elif numbytes == 2:
1496 elif numbytes == 4:
1499 print("{0: <#6x}: {1:#0{2}x}".format(addr, result, (numbytes*2)+2))
1501 def WriteIOPortInt(addr, numbytes, value, lcpu): argument
1527 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and
1530 if numbytes == 1:
1534 elif numbytes == 2:
[all …]
/xnu-12377.1.9/bsd/netinet/
H A Dip_dummynet.h274 u_int32_t numbytes; /* credit for transmission (dynamic queues) */ member
395 int numbytes; /* bits I can transmit (more or less). */ member
439 u_int32_t numbytes; /* credit for transmission (dynamic queues) */ member
532 int numbytes; /* bits I can transmit (more or less). */ member
564 u_int32_t numbytes; /* credit for transmission (dynamic queues) */ member
657 int numbytes; /* bits I can transmit (more or less). */ member
H A Dip_dummynet.c332 p->numbytes = user_pipe_32.numbytes; in cp_pipe_from_user_32()
382 p->numbytes = user_pipe_64.numbytes; in cp_pipe_from_user_64()
487 qp->numbytes = q->numbytes; in cp_queue_to_32_user()
509 qp->numbytes = q->numbytes; in cp_queue_to_64_user()
550 pipe_bp->numbytes = p->numbytes; in cp_pipe_to_32_user()
605 pipe_bp->numbytes = p->numbytes; in cp_pipe_to_64_user()
921 ((_m)->m_pkthdr.len*8*(hz*10) - (q)->numbytes + p->bandwidth - 1 ) / \
979 q->numbytes += (curr_time - q->sched_time) * p->bandwidth; in ready_event()
983 if (len_scaled > q->numbytes) { in ready_event()
986 q->numbytes -= len_scaled; in ready_event()
[all …]
/xnu-12377.1.9/tests/unit/mocks/
H A Dmock_misc.c96 read_random, (void * buffer, unsigned int numbytes))
98 read_erandom(buffer, numbytes);