Searched refs:numbytes (Results 1 – 6 of 6) sorted by relevance
| /xnu-12377.81.4/osfmk/prng/ |
| H A D | prng_random.c | 283 read_random_generate(uint8_t *buffer, size_t numbytes); 371 read_random(void * buffer, u_int numbytes) in read_random() argument 374 read_random_generate(buffer, numbytes); in read_random() 398 read_random_generate(uint8_t *buffer, size_t numbytes) in read_random_generate() argument 402 while (numbytes > 0) { in read_random_generate() 403 size_t n = MIN(numbytes, CCKPRNG_GENERATE_MAX_NBYTES); in read_random_generate() 408 numbytes -= n; in read_random_generate() 413 write_random(void * buffer, u_int numbytes) in write_random() argument 421 if (numbytes > SHA512_DIGEST_LENGTH) { in write_random() 425 SHA512_Update(&ctx, buffer, numbytes); in write_random() [all …]
|
| /xnu-12377.81.4/tools/lldbmacros/ |
| H A D | utils.py | 243 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 D | ioreg.py | 1615 def ReadIOPortInt(addr, numbytes, lcpu): argument 1643 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and 1651 if numbytes == 1: 1653 elif numbytes == 2: 1655 elif numbytes == 4: 1658 print("{0: <#6x}: {1:#0{2}x}".format(addr, result, (numbytes*2)+2)) 1660 def WriteIOPortInt(addr, numbytes, value, lcpu): argument 1686 WriteInt32ToMemoryAddress(numbytes, int(addressof(kgm_pkt.nbytes))) and 1689 if numbytes == 1: 1693 elif numbytes == 2: [all …]
|
| /xnu-12377.81.4/bsd/netinet/ |
| H A D | ip_dummynet.h | 274 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 D | ip_dummynet.c | 332 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.81.4/tests/unit/mocks/ |
| H A D | mock_misc.c | 96 read_random, (void * buffer, unsigned int numbytes)) 98 read_erandom(buffer, numbytes);
|