Home
last modified time | relevance | path

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

/xnu-8020.121.3/osfmk/prng/
H A Dprng_random.c223 read_random_generate(uint8_t *buffer, size_t numbytes);
297 read_random(void * buffer, u_int numbytes) in read_random() argument
300 read_random_generate(buffer, numbytes); in read_random()
324 read_random_generate(uint8_t *buffer, size_t numbytes) in read_random_generate() argument
328 while (numbytes > 0) { in read_random_generate()
329 size_t n = MIN(numbytes, CCKPRNG_GENERATE_MAX_NBYTES); in read_random_generate()
334 numbytes -= n; in read_random_generate()
339 write_random(void * buffer, u_int numbytes) in write_random() argument
346 SHA256_Update(&ctx, buffer, numbytes); in write_random()
/xnu-8020.121.3/tools/lldbmacros/
H A Dutils.py231 numbytes = LazyTarget.GetProcess().WriteMemory(addr, sdata, serr)
232 if numbytes == length and serr.Success():
247 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
248 if numbytes == 8 and serr.Success():
278 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
279 if numbytes == 4 and serr.Success():
294 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
295 if numbytes == 2 and serr.Success():
310 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
311 if numbytes == 1 and serr.Success():
H A Dioreg.py1453 def ReadIOPortInt(addr, numbytes, lcpu): argument
1481 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and
1489 if numbytes == 1:
1491 elif numbytes == 2:
1493 elif numbytes == 4:
1496 print("{0: <#6x}: {1:#0{2}x}".format(addr, result, (numbytes*2)+2))
1498 def WriteIOPortInt(addr, numbytes, value, lcpu): argument
1524 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and
1527 if numbytes == 1:
1531 elif numbytes == 2:
[all …]
/xnu-8020.121.3/bsd/netinet/
H A Dip_dummynet.h273 u_int32_t numbytes; /* credit for transmission (dynamic queues) */ member
394 int numbytes; /* bits I can transmit (more or less). */ member
438 u_int32_t numbytes; /* credit for transmission (dynamic queues) */ member
531 int numbytes; /* bits I can transmit (more or less). */ member
563 u_int32_t numbytes; /* credit for transmission (dynamic queues) */ member
656 int numbytes; /* bits I can transmit (more or less). */ member
H A Dip_dummynet.c279 p->numbytes = user_pipe_32.numbytes; in cp_pipe_from_user_32()
326 p->numbytes = user_pipe_64.numbytes; in cp_pipe_from_user_64()
426 qp->numbytes = q->numbytes; in cp_queue_to_32_user()
448 qp->numbytes = q->numbytes; in cp_queue_to_64_user()
480 pipe_bp->numbytes = p->numbytes; in cp_pipe_to_32_user()
522 pipe_bp->numbytes = p->numbytes; in cp_pipe_to_64_user()
791 ((_m)->m_pkthdr.len*8*(hz*10) - (q)->numbytes + p->bandwidth - 1 ) / \
849 q->numbytes += (curr_time - q->sched_time) * p->bandwidth; in ready_event()
853 if (len_scaled > q->numbytes) { in ready_event()
856 q->numbytes -= len_scaled; in ready_event()
[all …]