/xnu-2782.1.97/libsyscall/mach/ |
H A D | panic.c | 64 extern int write(int fd, const char* cbuf, int nbyte); 80 write(__STDERR_FILENO, buffer, len+1);
|
H A D | fprintf_stderr.c | 41 int write(int fd, const char* cbuf, int nbyte); 61 write(__STDERR_FILENO, buffer, retval);
|
/xnu-2782.1.97/iokit/IOKit/nvram/ |
H A D | IONVRAMController.h | 45 virtual IOReturn write(IOByteCount offset, UInt8 *buffer,
|
/xnu-2782.1.97/libkern/zlib/ |
H A D | inffast.c | 61 Decode literal, length, and distance codes and write out the resulting 110 unsigned write; /* window write index */ local 137 write = state->write; 223 if (write == 0) { /* very common case */ 233 else if (write < op) { /* wrap around window */ 234 from += wsize + write - op; 235 op -= write; 242 if (write < le [all...] |
H A D | inflate.h | 71 LIT, /* o: waiting for output space to write literal */ 118 unsigned write; /* window write index */ member in struct:inflate_state
|
H A D | inflate.c | 75 * - Pull out common write == 0 case for speed in inflate_fast() 147 state->write = 0; 372 state->write = 0; 380 state->write = 0; 384 dist = state->wsize - state->write; 386 zmemcpy(state->window + state->write, strm->next_out - copy, dist); 390 state->write = copy; 394 state->write += dist; 395 if (state->write == state->wsize) state->write [all...] |
/xnu-2782.1.97/libkern/kxld/tests/ |
H A D | loadtest.py | 51 kextload.stdin.write("0x1000\n");
|
/xnu-2782.1.97/tools/lldbmacros/core/ |
H A D | standard.py | 62 def write(self, s): member in class:CommandOutput 66 if self.fhandle != None: self.fhandle.write(s) 69 sys.__stdout__.write(s) 110 self.fhandle.write("(lldb)%s \n" % " ".join(cmdargs))
|
/xnu-2782.1.97/tools/tests/superpages/ |
H A D | measure_tlbs.c | 22 testt(boolean_t superpages, int mode, int write, int kb) { argument 46 if (write) { 61 if (write) { 80 if (write) { 120 time3 = testt(TRUE, mode, 1, kb); // write super 121 time4 = testt(FALSE, mode, 1, kb); // write base
|
/xnu-2782.1.97/osfmk/profiling/ |
H A D | profile-kgmon.c | 89 _profile_kgmon(int write, argument 111 if (!write) { 151 if (!write) { 246 printf("Unknown KGMON write command\n");
|
/xnu-2782.1.97/tools/tests/libMicro/ |
H A D | Makefile.benchmarks | 110 write \
|
H A D | select.c | 161 (void) write(fds[j+1 - (2*(j%2))], "", 1); 165 (void) write(fds[i+1 - (2*(i%2))], "", 1);
|
H A D | write.c | 63 " [-f file-to-write (default %s)]\n" 69 "notes: measures write()\n", 137 if (write(ts->ts_fd, ts->ts_buf, opts) != opts) {
|
H A D | poll.c | 150 (void) write(fds[j+1 - (2*(j%2))], "", 1); 155 (void) write(fds[i+1 - (2*(i%2))], "", 1);
|
H A D | pipe.c | 108 "notes: measures write()/read() across various transports\n", 214 if (write(ts->ts_out, wbuf, opts) != opts) { 232 if (write(ts->ts_out, wbuf, opts) != opts) { 254 (void) write(ts->ts_out, wbuf, opts); 326 if (write(ts->ts_out2, wbuf, opts) != opts) {
|
/xnu-2782.1.97/tools/tests/libMicro/apple/ |
H A D | lmbench_write.c | 31 #pragma ident "@(#)write.c 1.3 05/08/04 Apple Inc." 66 " [-f file-to-write (default %s)]\n" 150 if (write(ts->ts_fd, ts->ts_buf, opts) != opts) {
|
H A D | lmbench_bw_unix.c | 88 size_t xfer; /* bytes to read/write per "packet" */ 89 size_t bytes; /* bytes to read/write in one iteration */ 254 write(state->control[1], &todo, sizeof(todo)); 333 if ((n = write(writefd, buf, state->xfer)) < 0) {
|
H A D | lmbench_lat_ctx.c | 143 debug("read/write on pipe"); 147 if (write(wr, &msg, sizeof(msg)) != sizeof(msg)) { 148 debug("read/write on pipe"); 315 if (write(p[0][1], &msg, sizeof(msg)) != sizeof(msg) || 317 debug("write/read/write on pipe"); 412 if (write(ts->p[i][1], &msg, sizeof(msg)) != sizeof(msg)) { 413 debug("read/write on pipe"); 417 debug("read/write on pipe"); 620 if (write(t [all...] |
/xnu-2782.1.97/tools/tests/perf_index/ |
H A D | test_file_helper.c | 69 retval = write(fd, readbuff, writelen); 70 VERIFY(retval == writelen, "write failed"); 161 retval = write(fd, writebuff, writelen); 162 VERIFY(retval == writelen, "write failed");
|
H A D | test_controller.py | 50 sys.stderr.write("usage: start_tests.py num_clients type threads size\n")
|
/xnu-2782.1.97/SETUP/replacecontents/ |
H A D | replacecontents.c | 119 writesize = write(dstfd, newcontent, newcontentlength); 121 err(EX_UNAVAILABLE, "write() failed"); 123 errx(EX_UNAVAILABLE, "short write of file");
|
/xnu-2782.1.97/tools/tests/xnu_quick_test/ |
H A D | kqueue_tests.c | 194 my_count = write( my_sockets[1], "r", 1 ); 196 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) ); 211 my_count = write( my_fd, "11111111", 8 ); 213 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 284 my_count = write( my_sockets[0], "g", 1 ); 286 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) ); 308 my_count = write( my_sockets[0], "e", 1 ); 310 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) );
|
H A D | socket_tests.c | 259 my_result = write( my_child_fd, "all done", 8 ); 499 my_count = write( my_sockets[1], "r", 1 ); 501 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) ); 571 write( my_sockets[0], "d", 1 );
|
/xnu-2782.1.97/osfmk/i386/ |
H A D | lapic.h | 179 void (*write) (lapic_register_t, uint32_t); member in struct:__anon902 186 #define LAPIC_WRITE(reg,val) lapic_ops->write(reg, val)
|
/xnu-2782.1.97/bsd/man/man2/ |
H A D | Makefile | 229 write.2 \
|