Home
last modified time | relevance | path

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

/xnu-11417.121.6/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
470 SHA256_Update(&ctx, buffer, numbytes); in write_random()
/xnu-11417.121.6/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.py1452 def ReadIOPortInt(addr, numbytes, lcpu): argument
1480 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and
1488 if numbytes == 1:
1490 elif numbytes == 2:
1492 elif numbytes == 4:
1495 print("{0: <#6x}: {1:#0{2}x}".format(addr, result, (numbytes*2)+2))
1497 def WriteIOPortInt(addr, numbytes, value, lcpu): argument
1523 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and
1526 if numbytes == 1:
1530 elif numbytes == 2:
[all …]
/xnu-11417.121.6/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 …]