Home
last modified time | relevance | path

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

/xnu-8796.121.2/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-8796.121.2/tools/lldbmacros/
H A Dutils.py232 numbytes = LazyTarget.GetProcess().WriteMemory(addr, sdata, serr)
233 if numbytes == length and serr.Success():
248 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
249 if numbytes == 8 and serr.Success():
279 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
280 if numbytes == 4 and serr.Success():
295 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
296 if numbytes == 2 and serr.Success():
311 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
312 if numbytes == 1 and serr.Success():
H A Dioreg.py1472 def ReadIOPortInt(addr, numbytes, lcpu): argument
1500 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and
1508 if numbytes == 1:
1510 elif numbytes == 2:
1512 elif numbytes == 4:
1515 print("{0: <#6x}: {1:#0{2}x}".format(addr, result, (numbytes*2)+2))
1517 def WriteIOPortInt(addr, numbytes, value, lcpu): argument
1543 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and
1546 if numbytes == 1:
1550 elif numbytes == 2:
[all …]
/xnu-8796.121.2/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 …]