Searched refs:read (Results 176 - 200 of 510) sorted by relevance

1234567891011>>

/haiku-fatelf/src/tests/kits/media/soundplayer/
H A DSoundPlayerTest.cpp21 if (size != (size_t)read(fd, buffer, size)) {
/haiku-fatelf/src/tests/kits/net/
H A Dtcp_connection_test.cpp114 read(fd, buffer, sizeof(buffer));
134 // read(fd, buffer, sizeof(buffer));
/haiku-fatelf/src/tests/system/kernel/
H A Dwait_for_objects_test.cpp137 ssize_t bytesRead = read(object, buffer, sizeof(buffer));
138 printf("read(%ld): %ld\n", object, bytesRead);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/aio_write/
H A D1-2.c20 * - read 2*1024 bytes
21 * - check read data
130 if (read(fd, check, BUF_SIZE * 2) != BUF_SIZE * 2)
132 printf(TNAME " Error at read(): %s\n",
H A D2-1.c19 * - read all file
20 * - check read data
123 if (read(fd, check, CHECK_SIZE) != CHECK_SIZE)
125 printf(TNAME " Error at read(): %s\n",
/haiku-fatelf/src/tools/elfsymbolpatcher/
H A DElfFile.cpp47 ssize_t read = file.ReadAt(position, buffer, size); local
48 if (read < 0)
49 error = read;
50 else if ((size_t)read != size)
204 // read the data
206 fHeader->sh_size, "Failed to read section!\n");
612 // read ELF header
614 "Failed to read ELF object header!\n");
673 // allocate memory for the section header table and read it
681 "Failed to read sectio
[all...]
/haiku-fatelf/headers/private/kernel/arch/sparc/
H A Dstand.h72 int (*read) __P((struct open_file *f, void *buf, member in struct:fs_ops
168 ssize_t read __P((int, void *, size_t));
/haiku-fatelf/src/add-ons/kernel/file_systems/googlefs/
H A Dhttp_cnx.c141 err = len = read(cnx->sock, req, reqlen);
142 printf("read(sock) = %d\n", len);
184 err = len = read(cnx->sock, req + headerslen + contentlen, left);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunix_io.c159 "read" : "write", dev->d_name);
242 return read(DEV_FD(dev), buf, count);
267 * ntfs_device_unix_io_pread - Perform a positioned read from the device
364 .read = ntfs_device_unix_io_read,
/haiku-fatelf/src/bin/gdb/readline/
H A Dinput.c121 /* Get a key from the buffer of characters to be read.
157 /* If a character is available to be read, then read it and stuff it into
158 IBUFFER. Otherwise, just return. Returns number of characters read
183 return 0; /* Nothing to read. */
200 chars_avail = read (tty, &input, 1);
208 /* If there's nothing available, don't waste time trying to read
218 /* One cannot read all of the available input. I can only read a single
251 /* Is there input available to be read o
[all...]
/haiku-fatelf/src/documentation/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/
H A DText.java127 while ((len = is.read(chars)) > 0) {
144 carry = is.read();
165 System.out.println("Cannot read " + href);
/haiku-fatelf/src/libs/icon/
H A DIconUtils.cpp327 ssize_t read = node->ReadAttr(attrName, attrType, 0, buffer, attrInfo.size); local
328 if (read != attrInfo.size)
341 printf("read: %lld, import: %lld\n", importTime - startTime, finishTime - importTime);
473 // read the attribute
478 ssize_t read; local
485 read = node->ReadAttr(attribute, attrType, 0, buffer, attrSize);
488 read = node->ReadAttr(attribute, attrType, 0, icon->Bits(),
492 if (read < 0)
493 ret = read;
494 else if (read !
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/libio/
H A Diopopen.c259 JUMP_INIT(read, INTUSE(_IO_file_read)),
282 JUMP_INIT(read, INTUSE(_IO_file_read)),
H A Dmemstream.c54 JUMP_INIT (read, _IO_default_read),
78 JUMP_INIT (read, _IO_default_read),
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfHeader.cpp858 // Then check if we can read the rest of this file.
863 Xdr::read <StreamIO> (is, magic);
864 Xdr::read <StreamIO> (is, version);
873 THROW (Iex::InputExc, "Cannot read "
897 Xdr::read <StreamIO> (is, sizeof (name), name);
909 Xdr::read <StreamIO> (is, sizeof (typeName), typeName);
910 Xdr::read <StreamIO> (is, size);
933 // read the attribute value. If the attribute
934 // is of an unknown type, read its value and
/haiku-fatelf/src/bin/network/telnetd/
H A Dtelnetd.c1000 * Something to read from the network...
1023 * "at the mark" until we do a normal read).
1024 * Once we've read the OOB data, we go ahead
1028 * since the OOB byte we read doesn't put us
1035 * fails (and AFTER we did the normal mode read
1045 ncc = read(net, netibuf, sizeof (netibuf));
1051 ncc = read(net, netibuf, sizeof (netibuf));
1054 ncc = read(net, netibuf, sizeof (netibuf));
1058 ncc = read(net, netibuf, sizeof (netibuf));
1074 * Something to read fro
[all...]
/haiku-fatelf/src/add-ons/media/plugins/asf_reader/
H A DASFFileReader.cpp68 ioStream.read = &ASFFileReader::read;
359 // seek to 0 and read forward, going to be a killer on performance
454 ASFFileReader::read(void *opaque, void *buffer, int32_t size) function in class:ASFFileReader
/haiku-fatelf/src/bin/fwcontrol/
H A Dfwdv.c148 while ((len = read(d, buf + tlen, PSIZE
157 err(1, "read failed");
164 tlen = len = read(d, buf, RBUFSIZE);
172 err(1, "read failed");
335 len = read(fd, pbuf + tlen, DSIZE * TNBUF - tlen);
340 warn("read");
/haiku-fatelf/src/bin/gdb/gdb/gdbserver/
H A Dremote-utils.c320 cc = read (remote_desc, buf3, 1);
330 fprintf (stderr, "putpkt(read): Got EOF\n");
332 perror ("putpkt(read)");
369 cc = read (remote_desc, &c, 1);
441 bufcnt = read (remote_desc, buf, sizeof (buf));
/haiku-fatelf/src/bin/gdb/gdb/
H A Dui-file.c247 set_ui_file_read (struct ui_file *file, ui_file_read_ftype *read) argument
249 file->to_read = read;
477 return read (fileno (stdio->file), buf, length_buf);
/haiku-fatelf/src/libs/util/
H A Dpw_util.c239 while ((nr = read(mfd, buf, sizeof(buf))) > 0)
455 readlen = read(ffd, end, sizeof(buf) - (end - buf));
514 readlen = read(ffd, buf, sizeof(buf));
/haiku-fatelf/headers/os/drivers/
H A Ddevice_manager.h177 status_t (*read)(void *cookie, off_t pos, void *buffer, size_t *_length); member in struct:device_module_info
/haiku-fatelf/headers/private/drivers/
H A Data_types.h187 } read; member in union:ata_task_file
258 ATA_DEVICE_CONTROL_HIGH_ORDER_BYTE = 0x80 // read high order byte
H A Dide_types.h198 } read; member in union:ide_task_file
268 ide_devctrl_hob = 0x80 // read high order byte (for 48-bit lba)
/haiku-fatelf/headers/private/net/
H A Dnet_buffer.h88 status_t (*read)(net_buffer* buffer, size_t offset, void* data, member in struct:net_buffer_module_info

Completed in 240 milliseconds

1234567891011>>