Home
last modified time | relevance | path

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

/xnu-10063.141.1/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-10063.141.1/tools/lldbmacros/
H A Dutils.py224 numbytes = LazyTarget.GetProcess().WriteMemory(addr, sdata, serr)
225 if numbytes == length and serr.Success():
240 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
241 if numbytes == 8 and serr.Success():
271 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
272 if numbytes == 4 and serr.Success():
287 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
288 if numbytes == 2 and serr.Success():
303 numbytes = LazyTarget.GetProcess().WriteMemory(addr,sdata, serr)
304 if numbytes == 1 and serr.Success():
H A Dioreg.py1470 def ReadIOPortInt(addr, numbytes, lcpu): argument
1498 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and
1506 if numbytes == 1:
1508 elif numbytes == 2:
1510 elif numbytes == 4:
1513 print("{0: <#6x}: {1:#0{2}x}".format(addr, result, (numbytes*2)+2))
1515 def WriteIOPortInt(addr, numbytes, value, lcpu): argument
1541 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and
1544 if numbytes == 1:
1548 elif numbytes == 2:
[all …]
/xnu-10063.141.1/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.c283 p->numbytes = user_pipe_32.numbytes; in cp_pipe_from_user_32()
331 p->numbytes = user_pipe_64.numbytes; in cp_pipe_from_user_64()
432 qp->numbytes = q->numbytes; in cp_queue_to_32_user()
454 qp->numbytes = q->numbytes; in cp_queue_to_64_user()
486 pipe_bp->numbytes = p->numbytes; in cp_pipe_to_32_user()
528 pipe_bp->numbytes = p->numbytes; in cp_pipe_to_64_user()
797 ((_m)->m_pkthdr.len*8*(hz*10) - (q)->numbytes + p->bandwidth - 1 ) / \
855 q->numbytes += (curr_time - q->sched_time) * p->bandwidth; in ready_event()
859 if (len_scaled > q->numbytes) { in ready_event()
862 q->numbytes -= len_scaled; in ready_event()
[all …]