Searched refs:read (Results 1 - 21 of 21) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dnvram.c16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
73 long read = 0; local
79 for (read = 0; read < size; read++, offset++) {
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/nvram/
H A DIONVRAMController.h16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
43 virtual IOReturn read(IOByteCount offset, UInt8 *buffer,
/macosx-10.5.8/xnu-1228.15.4/iokit/Drivers/platform/drvAppleNVRAM/
H A DAppleNVRAM.h16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
51 virtual IOReturn read(IOByteCount offset, UInt8 *buffer,
H A DAppleNVRAM.cpp16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
77 // read
82 IOReturn AppleNVRAM::read(IOByteCount offset, UInt8 *buffer, function in class:AppleNVRAM
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dsocket_tests.c283 my_result = read( my_accepted_socket, &my_parent_buffer[0], sizeof(my_parent_buffer) );
285 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
289 printf( "read wrong message from child \n" );
464 /* should be ready for read */
466 printf( "poll should have returned ready for read \n" );
470 my_count = read( my_sockets[1], &my_buffer[0], sizeof(my_buffer) );
472 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
476 printf( "read call on socket failed to get \"all done\" message \n" );
486 my_count = read( my_sockets[0], &my_buffer[0], sizeof(my_buffer) );
488 printf( "read cal
[all...]
H A Dmemory_tests.c164 my_result = read( my_fd, my_bufp, my_page_size );
166 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
215 * we should get SIGBUS exit when child tries to write to read only memory
H A Dtests.c177 * Test fsync, ftruncate, lseek, pread, pwrite, read, readv, truncate, write, writev system calls.
221 my_result = read( my_fd, my_bufp, 10);
223 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
228 printf( "read call failed - should have read 0 bytes on empty file - read %lld \n", my_result );
231 printf( "read call failed - should have read 0 bytes on empty file - read %d \n", my_result );
236 /* this write should fail since we opened for read onl
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dhw_lock.s16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
1991 addis r6,r5,1 ; Increment read cnt
2001 lis r7,0xFFFF ; Get read cnt mask
2027 addis r6,r5,0xFFFF ; Decrement read cnt
2028 lis r8,0xFFFF ; Get read count mask
2073 lis r6,1 ; Get 1 for read count
2107 lis r10,0xFFFF ; Load read count mask
2152 addis r6,r5,1 ; Increment read cnt
2163 lis r7,0xFFFF ; Get read cnt mask
2200 lis r7,0xFFFF ; Get read cn
[all...]
H A Dmachine_routines_asm.s16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
386 ml_phys_read_byte_join: ; r3 = address to read (reg64_t)
417 ml_phys_read_half_join: ; r3 = address to read (reg64_t)
454 ml_phys_read_word_join: ; r3 = address to read (reg64_t)
485 ml_phys_read_double_join: ; r3 = address to read (reg64_t)
1681 ori r8,r8,0x8000 ; Set to read data
2256 ori r3,r3,0x8000 ; Set to read data
H A DFirmware.s16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
187 * This routine will read in 32 byte of real storage.
2424 ; fwSCOMrd - read/write SCOM
2435 mr. r12,r12 ; See if read or write
2439 ori r4,r4,0x8000 ; Set to read data
H A Dlowmem_vectors.s16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
2427 ori r8,r8,0x8000 ; Set to read data
2450 ori r8,r8,0x8000 ; Set to read data
2471 ori r8,r8,0x8000 ; Set to read data
2492 ori r8,r8,0x8000 ; Set to read data
/macosx-10.5.8/xnu-1228.15.4/libkern/
H A Dzlib.c16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
396 /* Sliding window. Input bytes are read into the second half of the window,
1261 * and total number of bytes read. All deflate() input goes through
1555 * At least one byte has been read, or avail_in == 0; reads are
3900 Bytef *read; /* window read pointer */ member in struct:inflate_blocks_state
3922 #define WAVAIL (uInt)(q<s->read?s->read-q-1:s->end-q)
3924 #define WRAP {if(q==s->end&&s->read!=s->window){q=s->window;m=(uInt)WAVAIL;}}
4003 13. The literal/length and distance code bit lengths are read a
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dtty.c16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
321 * bumping generation number so that pending read/write calls
901 case FIONREAD: /* get # bytes to read */
1073 * Make the EXTPROC bit read only.
1344 * Flush tty read and/or write queues, notifying anyone waiting.
1582 * Process a read call on a tty device.
1661 goto read;
1677 * (m > 0 && t == 0) is the normal read case.
1687 goto read;
1700 goto read;
[all...]
H A Dinit_sysent.c16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
50 {AC(read_args), 0, 0, (sy_call_t *)read, munge_www, munge_ddd, _SYSCALL_RET_SSIZE_T, 12}, /* 3 = read */
H A Dsys_generic.c16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
178 read(struct proc *p, struct read_args *uap, user_ssize_t *retval) function
243 * Code common for read and pread
358 * Scatter read system call.
1140 * else already read the data; go toselct again if time permits
1981 * disarm... postevents are nops until this event is 'read' via
2034 - read-half of conn closed
2150 * disarm... postevents are nops until this event is 'read' via
H A Duipc_syscalls.c16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
1237 * read:??? [4056224: applicable for pipes]
1239 * Notes: The read entry point is only called as part of support for
1240 * binary backward compatability; new code should use read
1241 * instead of recv or recvfrom when attempting to read data
1321 error = read(p, &read_uap, &read_retval);
2132 * 2. We don't want to read past the end of file
2138 * Simply read file data into a chain of mbufs that used with scatter
/macosx-10.5.8/xnu-1228.15.4/tools/tests/MMTest/
H A DMMtest.c39 #warning Do not know how to read a time stamp register on this architecture
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/i386/
H A Dchud_thread_i386.c16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
80 // the above are conditions where we possibly can read the kernel
110 #pragma mark **** task memory read/write ****
198 // don't try to read in the hole
257 /* read our caller */
336 /* read our caller */
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/
H A Dchud_thread_ppc.c16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
330 #pragma mark **** task memory read/write ****
512 // Note that we read the pc even for the first stack frame (which, in theory,
657 // Note that we read the pc even for the first stack frame (which, in theory,
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIONVRAM.cpp16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
82 _nvramController->read(0, _nvramImage, kIODTNVRAMImageSize);
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dsysproto.h16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
1702 int read(struct proc *, struct read_args *, user_ssize_t *);

Completed in 283 milliseconds