/haiku-fatelf/src/tests/add-ons/kernel/file_systems/consistency_check/ |
H A D | consistency_check.cpp | 67 ssize_t bytes = read(fFile, buffer, *_length); 176 // read files from hash file 186 read(file, buffer, 4); 195 read(file, &fileCount, sizeof(int)); 202 read(file, &length, sizeof(int)); 208 read(file, &fileCount, sizeof(int)); 213 read(file, entry.hash, SHA_DIGEST_LENGTH); 214 read(file, &entry.node, sizeof(ino_t)); 217 read(file, &length, sizeof(int)); 218 read(fil [all...] |
/haiku-fatelf/src/tools/fixup_tos_boot_checksum/ |
H A D | fixup_tos_boot_checksum.c | 17 if (read(fd, sector, 512-2) < 512-2) { 18 perror("read");
|
/haiku-fatelf/src/tools/restest/ |
H A D | ResourceItem.cpp | 169 ssize_t read = file.ReadAt(fOffset, fData, fSize); local 170 if (read < 0) 171 error = read; 172 else if (read < fSize)
|
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/ |
H A D | ImfIO.h | 69 // memory-mapped read operations return a pointer 80 // read(c,n) reads n bytes from the stream, and stores 82 // bytes, or if an I/O error occurs, read(c,n) throws 83 // an exception. If read(c,n) reads the last byte from 87 virtual bool read (char c[/*n*/], int n) = 0; 97 // read in the stream or if the stream is not memory- 106 // beginning of the file. If the next call to read() will 107 // read the first byte in the file, tellg() returns 0. 225 return is.read (c, n);
|
/haiku-fatelf/src/tests/add-ons/translators/ |
H A D | TranslatorTestAddOn.cpp | 53 ssize_t read = 0; 55 read = a.Read(abuf, kbuflen); 56 if (read < 0) 58 if (b.Read(bbuf, read) != read) 61 if (memcmp(abuf, bbuf, read) != 0) 64 alen -= read;
|
/haiku-fatelf/src/tools/translation/stxtinfo/ |
H A D | stxtinfo.cpp | 15 // to read the styles information from the contents of the file, assuming 126 printf("Error: Not enough memory available to read styles attribute\n"); 133 printf("Error: Unable to read styles attribute\n"); 192 printf("Error: Unable to read stream header\n"); 244 printf("Error: Unable to read text header\n"); 299 ssize_t read = 0; local 301 read = file.Read(buffer, kstylsize); 302 if (read != static_cast<ssize_t>(kstylsize) && read != 0) { 303 printf("Error: Unable to read entir [all...] |
/haiku-fatelf/src/add-ons/translators/tiff/ |
H A D | TIFFTranslator.cpp | 513 ssize_t read, written = B_ERROR; local 523 read = inSource->Read(inBuffer, inBufferSize); 525 while (read == (ssize_t)inBufferSize) { 526 //printf("writing bytes: %ld (strip: %ld)\n", read, stripIndex); 537 read = inSource->Read(inBuffer, min_c(inBufferSize, remaining)); 540 if (read < (ssize_t)inBufferSize && read > 0) { 541 //printf("writing remaining bytes: %ld\n", read); 545 read / bytesPerRow, width, bytesPerRow); 547 written = TIFFWriteEncodedStrip(tif, stripIndex, outBuffer, read); [all...] |
/haiku-fatelf/src/add-ons/media/plugins/matroska/libebml/ebml/ |
H A D | IOCallback.h | 57 // The read callback works like most other read functions. You specify the 58 // file, the buffer and the size and the function returns the bytes read. 61 virtual uint32 read(void*Buffer,size_t Size)=0; 68 // This callback just works like its read pendant. It returns the number of bytes written. 85 // implementation for this method, which e.g. does not read any data
|
H A D | MemIOCallback.h | 57 uint32 read(void *Buffer, size_t Size); 67 This callback just works like its read pendant. It returns the number of bytes written.
|
H A D | StdIOCallback.h | 76 virtual uint32 read(void*Buffer,size_t Size); 83 // This callback just works like its read pendant. It returns the number of bytes written.
|
/haiku-fatelf/src/add-ons/print/transports/shared/ |
H A D | Socket.h | 28 int read(char *buffer, int size, int flags = 0);
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | fbsd-nat.c | 91 int read, write, exec; local 107 read = (strchr (protection, 'r') != 0); 116 read ? 'r' : '-', 122 func (start, size, read, write, exec, obfd);
|
/haiku-fatelf/src/kits/support/ |
H A D | BufferIO.cpp | 64 // read it directly from the disk (and don't touch the buffer). 124 ssize_t read; local 132 read = fStream->ReadAt(where, fBuffer, fBufferSize); 133 if (read > 0) { 134 fBufferUsed = read;
|
/haiku-fatelf/src/libs/stdc++/legacy/ |
H A D | SFile.cc | 67 read(x, sz);
|
/haiku-fatelf/src/libs/util/ |
H A D | logout.c | 66 while (read(fd, &ut, sizeof(UTMP)) == sizeof(UTMP)) {
|
/haiku-fatelf/src/system/libroot/posix/unistd/ |
H A D | read.c | 24 read(int fd, void* buffer, size_t bufferSize) function
|
/haiku-fatelf/src/tests/system/benchmarks/ |
H A D | ctxbench.c | 41 if (read(fd0[0], &ch, 1) != 1) 42 errx(1, "child read failed"); 113 read(fd0[0], &ch, 1); 150 if (read(fd1[0], &ch, 1) != 1) 151 errx(1, "parent read failed"); 158 if (read(fd1[0], &ch, 1) != 1) 159 errx(1, "parent read failed");
|
/haiku-fatelf/src/tools/fixup_amiga_boot_checksum/ |
H A D | fixup_amiga_boot_checksum.c | 20 if (read(fd, bootblock, BB_SIZE) < BB_SIZE) { 21 perror("read");
|
/haiku-fatelf/src/add-ons/opengl/swpipe/ |
H A D | GalliumContext.h | 54 GalliumFramebuffer* read; member in struct:hgl_context
|
H A D | GalliumContext.cpp | 68 struct gl_framebuffer *read = glContext->WinSysReadBuffer; local 72 if (read) 73 _mesa_resize_framebuffer(glContext, read, bitmapWidth, bitmapHeight); 249 context->read = NULL; 305 context->read = new GalliumFramebuffer(context->stVisual); 307 if (!context->draw || !context->read) { 422 if (fContext[contextID]->read) 423 delete fContext[contextID]->read; 475 context->read->Lock(); 477 context->read [all...] |
/haiku-fatelf/src/libs/icon/message/ |
H A D | MessageImporter.cpp | 62 ssize_t read = stream->Read(&magic, size); local 63 if (read != size) { 64 if (read < 0) 65 ret = (status_t)read;
|
/haiku-fatelf/headers/cpp/ |
H A D | iostream.h | 145 istream& read(char *ptr, streamsize n); 146 istream& read(unsigned char *ptr, streamsize n) function in class:istream 147 { return read((char*)ptr, n); } 148 istream& read(signed char *ptr, streamsize n) function in class:istream 149 { return read((char*)ptr, n); } 150 istream& read(void *ptr, streamsize n) function in class:istream 151 { return read((char*)ptr, n); } 155 istream& read(char *ptr, int n); 156 istream& read(unsigned char *ptr, int n); 157 istream& read(signe [all...] |
/haiku-fatelf/src/bin/bc/bc/ |
H A D | scan.l | 79 stdin, use editline. Otherwise, just read it. 90 while ( (*result = read( fileno(yyin), buf, max )) < 0 ) 93 yyerror( "read() in flex scanner failed" ); 150 rl_instream (stdin), use readline. Otherwise, just read it. 161 while ( (*result = read( fileno(yyin), buf, max )) < 0 ) 164 yyerror( "read() in flex scanner failed" ); 208 /* MINIX returns from read with < 0 if SIGINT is encountered. 213 while ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \ 215 YY_FATAL_ERROR( "read() in flex scanner failed" ); 245 read retur [all...] |
/haiku-fatelf/src/bin/network/ftpd/ |
H A D | md5hl.c | 74 i = read(f, buffer, sizeof(buffer)); 76 i = read(f, buffer, n);
|
/haiku-fatelf/src/libs/pdflib/libs/flate/ |
H A D | infutil.c | 36 q = s->read; 85 s->read = q;
|