Searched refs:read (Results 226 - 250 of 510) sorted by relevance

1234567891011>>

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_unlink/
H A D2-1.c172 bytes = read(read_pipe, reply, 1);
174 perror(ERROR_PREFIX "read fd[0]");
177 printf(ERROR_PREFIX "read: EOF \n");
H A D2-2.c187 bytes = read(read_pipe, reply, 1);
189 perror(ERROR_PREFIX "read fd[0]");
192 printf(ERROR_PREFIX "read: EOF\n");
/haiku-fatelf/src/tools/anyboot/
H A Danyboot.cpp24 ssize_t copyLength = read(from, sCopyBuffer, sCopyBufferSize);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/fragmenter/
H A Dfragmenter.cpp64 || read(fd, buffer, size) != (int)size) {
65 fprintf(stderr, "Error: Failed to read %lu bytes at offset %lld\n",
154 // read superblock
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/dev/e1000/
H A De1000_82540.c144 nvm->ops.read = e1000_read_nvm_microwire;
231 /* read mac address */
360 * read (flush). This is to protect against some strange
381 * Clear all of the statistics registers (clear on read). It is
506 ret_val = hw->nvm.ops.read(hw, NVM_SERDES_AMPLITUDE, 1, &nvm_data);
598 ret_val = hw->nvm.ops.read(hw, NVM_PHY_CLASS_WORD, 1, &nvm_data);
700 ret_val = hw->nvm.ops.read(hw, offset, 1, &nvm_data);
H A De1000_82575.h97 #define E1000_CTRL_EXT_NSICR 0x00000001 /* Disable Intr Clear all on read */
198 } read; member in union:e1000_adv_rx_desc
285 } read; member in union:e1000_adv_tx_desc
/haiku-fatelf/headers/private/userlandfs/fuse/
H A Dfuse_lowlevel_compat.h36 void (*read) (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, member in struct:fuse_lowlevel_ops_compat25
103 void (*read) (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, member in struct:fuse_lowlevel_ops_compat
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A DRKutil.c227 hdrsize = read(fd, (char *)localbuffer, RK_MAX_HDRSIZ);
265 tmpres = read(fd, (char *)hd->data[i].ptr, (unsigned)len);
/haiku-fatelf/src/add-ons/kernel/drivers/dvb/cx23882/
H A Di2c_core.c159 i2c_start_address(i2c_bus *bus, int address, int read /* 1 = read, 0 = write */)
168 addr = (address << 1) | (read & 1);
234 /* read one byte, don't generate ack
266 status = i2c_start_address(bus, address, 1 /* 1 = read, 0 = write */);
311 status = i2c_start_address(bus, address, 0 /* 1 = read, 0 = write */);
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_fs.cpp102 if (fs->ops.read == NULL)
104 return fs->ops.read(path, buf, size, off, fi);
/haiku-fatelf/src/add-ons/kernel/network/ppp/modem/
H A DModemDevice.cpp70 result = read(handle, string + position, 1);
136 length = read(handle, buffer + position, MODEM_MTU - position);
/haiku-fatelf/src/add-ons/media/media-add-ons/esound_sink/
H A DESDEndpoint.cpp245 read(fSocket, &result, sizeof(result));
268 read(fSocket, &result, sizeof(result));
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dhistfile.c148 If FILENAME is NULL, then read from ~/.history. Returns 0 if
159 is zero, start at the beginning. If TO is less than FROM, read
160 until the end of the file. If FILENAME is NULL, then read from
197 /* We map read/write and private so we can change newlines to NULs without
214 chars_read = read (file, buffer, file_size);
363 chars_read = read (file, buffer, file_size);
H A Dinput.c125 /* Get a key from the buffer of characters to be read.
170 /* If a character is available to be read, then read it and stuff it into
171 IBUFFER. Otherwise, just return. Returns number of characters read
197 return 0; /* Nothing to read. */
214 chars_avail = read (tty, &input, 1);
229 that we read it normally. */
234 /* If there's nothing available, don't waste time trying to read
244 /* One cannot read all of the available input. I can only read
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dgcore.c311 int read, int write, int exec, void *data)
318 when we later try to access it for read/write, we'll get an error
320 if (read == 0 && write == 0 && exec == 0)
467 warning ("Memory read failed for corefile section, %s bytes at 0x%s\n",
310 gcore_create_callback(CORE_ADDR vaddr, unsigned long size, int read, int write, int exec, void *data) argument
/haiku-fatelf/src/bin/gdb/readline/
H A Dhistfile.c135 If FILENAME is NULL, then read from ~/.history. Returns 0 if
146 is zero, start at the beginning. If TO is less than FROM, read
147 until the end of the file. If FILENAME is NULL, then read from
181 /* We map read/write and private so we can change newlines to NULs without
192 chars_read = read (file, buffer, file_size);
315 chars_read = read (file, buffer, file_size);
/haiku-fatelf/src/bin/less/
H A Ddefines.ds398 #define read _read
/haiku-fatelf/src/bin/patch/
H A Dinp.c244 n = read (ifd, buffer + buffered, size - buffered);
454 || read (tifd, tibuf[whichbuf], tibufsize) < 0)
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dsysdep.c155 perror("read lseek");
160 ret = read(fd, data, nbytes);
177 perror("read lseek");
214 perror("read lseek");
249 perror("read lseek");
356 return (read(fd, &buffer, 1) == 1);
/haiku-fatelf/src/tools/fs_shell/
H A Dunistd.cpp65 return (read(fd, &buffer, 1) == 1);
374 return read(fd, buffer, count);
/haiku-fatelf/src/add-ons/media/plugins/matroska/libmatroska/
H A DKaxBlock.cpp480 uint64 Result = input.read(cursor, 4);
492 Result += input.read(&Buffer[4], 1);
561 // read the number of frames in the lace
564 // read the list of frame sizes
627 Result = input.read(_TempHead, 5);
663 Result += input.read(_TempHead, 1);
670 // read the number of frames in the lace
673 // read the list of frame sizes
688 Result += input.read(_TempHead, 1);
704 Result += input.read(curso
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/src/escputil/
H A Dd4lib.c367 /* int len the number of bytes to read */
443 /* int len the number of bytes to read */
445 /* Return: number of bytes read. -1 on error */
476 rd = read(fd, buf+total, len-total);
481 printf("read: ");
547 int status = read(fd, wastebuf, bytes);
609 rd = read(fd, buf, len);
611 printf("flush: read: %i %s\n", rd,
623 /* int len the number of bytes to read */
625 /* Return: number of bytes read
[all...]
/haiku-fatelf/src/tools/restest/
H A DResourceFile.cpp49 ssize_t read = file.ReadAt(position, buffer, size); local
50 if (read < 0)
51 throw Exception(read, errorMessage);
52 else if ((size_t)read != size) {
55 read, size);
57 throw Exception("Read to few bytes (%ld/%lu).", read, size);
571 // read the first four bytes, and check, if they identify a resource file
573 read_exactly(file, 0, magic, 4, "Failed to read magic number.");
582 "Failed to read PEF container header.");
629 // read EL
[all...]
/haiku-fatelf/src/apps/magnify/
H A DMagnify.cpp388 if (read(ref, name, 7) != 7)
395 read(ref, &version, sizeof(float));
397 if (read(ref, &loc, sizeof(BPoint)) != sizeof(BPoint))
402 if (read(ref, &showGrid, sizeof(bool)) != sizeof(bool)) {
407 if (read(ref, &showInfo, sizeof(bool)) != sizeof(bool)) {
412 if (read(ref, &ch1Showing, sizeof(bool)) != sizeof(bool)) {
417 if (read(ref, &ch2Showing, sizeof(bool)) != sizeof(bool)) {
422 if (read(ref, &hPixelCount, sizeof(int32)) != sizeof(int32)) {
426 if (read(ref, &vPixelCount, sizeof(int32)) != sizeof(int32)) {
431 if (read(re
[all...]
/haiku-fatelf/src/servers/app/drawing/html5/
H A DHTML5DrawingEngine.cpp925 BBitmap* read = fReadBitmapResult;
926 if (read == NULL)
929 result = bitmap->ImportBits(read->Bits(), read->BitsLength(),
930 read->BytesPerRow(), read->ColorSpace());
931 delete read;

Completed in 302 milliseconds

1234567891011>>