/haiku-fatelf/headers/private/fs_shell/ |
H A D | fssh_uio.h | 24 fssh_ssize_t fssh_readv_pos(int fd, fssh_off_t pos, const struct 28 fssh_ssize_t fssh_writev_pos(int fd, fssh_off_t pos,
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/ |
H A D | BitmapBlock.h | 32 void FindNextMarked(uint32& pos); 33 void FindNextUnmarked(uint32& pos); 35 void FindPreviousMarked(uint32& pos); 44 void _FindNext(uint32& pos, bool marked); 85 BitmapBlock::FindNextMarked(uint32& pos) argument 87 _FindNext(pos, true); 92 BitmapBlock::FindNextUnmarked(uint32& pos) argument 94 _FindNext(pos, false);
|
/haiku-fatelf/src/add-ons/media/plugins/avi_reader/libOpenDML/ |
H A D | OpenDMLIndex.h | 38 status_t ReadIndex(uint32 stream_index, int64 pos, uint32 *lastFrame, bigtime_t *pts, odml_index_header *superIndex); 39 status_t ReadChunkIndex(uint32 stream_index, int64 pos, uint32 *lastFrame, bigtime_t *pts, const OpenDMLStream *stream);
|
H A D | OpenDMLIndex.cpp | 65 int64 pos = 0; local 71 pos = stream->odml_index_start; 74 if ((int32)bytesRead != fSource->ReadAt(pos, &superIndex, bytesRead)) { 80 pos += bytesRead; 85 ReadIndex(i, pos, &lastFrame, &pts, &superIndex); 93 OpenDMLIndex::ReadIndex(uint32 stream_index, int64 pos, uint32 *lastFrame, argument 101 ssize_t bytesRead = fSource->ReadAt(pos, &superIndexEntry, 111 pos += bytesRead; 128 OpenDMLIndex::ReadChunkIndex(uint32 stream_index, int64 pos, uint32 *lastFrame, argument 142 if ((int32)bytesRead != fSource->ReadAt(pos, [all...] |
/haiku-fatelf/src/add-ons/translators/exr/ |
H A D | IStreamWrapper.cpp | 40 IStreamWrapper::seekg(Int64 pos) argument 42 fStream.Seek(pos, SEEK_SET);
|
/haiku-fatelf/src/tests/system/boot/loader/ |
H A D | Handle.cpp | 21 # define read_pos(fd, pos, buffer, size) pread(fd, buffer, size, pos) 22 # define write_pos(fd, pos, buffer, size) pwrite(fd, buffer, size, pos) 85 Handle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument 87 //printf("Handle::ReadAt(pos = %Ld, buffer = %p, size = %lu)\n", pos, buffer, bufferSize); 88 return read_pos(fHandle, pos, buffer, bufferSize); 93 Handle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument 95 return write_pos(fHandle, pos, buffe [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/exfat/ |
H A D | DataStream.cpp | 42 DataStream::FindBlock(off_t pos, off_t& physical, off_t *_length) argument 44 if (pos >= fSize) { 48 cluster_t clusterIndex = pos / kClusterSize; 49 uint32 offset = pos % kClusterSize; 64 fSize - pos); 65 TRACE("inode %" B_PRIdINO ": cluster %ld, pos %lld, %lld\n", 66 fInode->ID(), clusterIndex, pos, physical);
|
/haiku-fatelf/src/bin/makeudfimage/ |
H A D | SimulatedStream.h | 30 virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size); 33 virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size); 36 virtual ssize_t WriteAt(off_t pos, BDataIO &data, size_t size); 39 virtual ssize_t ZeroAt(off_t pos, size_t size); 41 virtual off_t Seek(off_t pos, uint32 seek_mode); 61 \a pos of byte length \a size. 66 virtual status_t _GetExtent(off_t pos, size_t size, data_extent &extent) = 0;
|
H A D | ExtentStream.cpp | 33 corresponding to the extent starting at byte position \a pos of 40 ExtentStream::_GetExtent(off_t pos, size_t size, data_extent &extent) argument 42 status_t error = pos >= 0 ? B_OK : B_BAD_VALUE; 52 if (streamPos <= pos && pos < streamPos+i->length()) { 54 off_t difference = pos - streamPos; 64 // Didn't find it, so pos is past the end of the stream
|
/haiku-fatelf/src/system/libroot/posix/sys/ |
H A D | uio.c | 33 readv_pos(int fd, off_t pos, const struct iovec *vecs, size_t count) argument 36 if (pos < 0) { 40 bytes = _kern_readv(fd, pos, vecs, count); 56 writev_pos(int fd, off_t pos, const struct iovec *vecs, size_t count) argument 59 if (pos < 0) { 63 bytes = _kern_writev(fd, pos, vecs, count);
|
/haiku-fatelf/headers/cpp/std/ |
H A D | bastring.h | 186 basic_string (const basic_string& _str, size_type pos, size_type n = npos) argument 187 : dat (nilRep.grab ()) { assign (_str, pos, n); } 207 basic_string& append (const basic_string& _str, size_type pos = 0, 209 { return replace (length (), 0, _str, pos, n); } 227 basic_string& assign (const basic_string& str, size_type pos = 0, 229 { return replace (0, npos, str, pos, n); } 259 basic_string& insert (size_type pos, const charT* s, size_type n) argument 260 { return replace (pos, 0, s, n); } 261 basic_string& insert (size_type pos, const charT* s) argument 262 { return insert (pos, 263 insert(size_type pos, size_type n, charT c) argument 298 replace(size_type pos, size_type n1, const charT* s) argument 301 replace(size_type pos, size_type n, charT c) argument 333 operator [](size_type pos) argument 336 at(size_type pos) argument 418 compare(size_type pos, size_type n, const charT* s) const argument 461 size_type pos = i1 - ibegin (); local [all...] |
/haiku-fatelf/src/apps/serialconnect/libvterm/src/ |
H A D | state.c | 19 static void putglyph(VTermState *state, const uint32_t chars[], int width, VTermPos pos) argument 22 if((*state->callbacks->putglyph)(chars, width, pos, state->cbdata)) 25 fprintf(stderr, "libvterm: Unhandled putglyph U+%04x at (%d,%d)\n", chars[0], pos.col, pos.row); 30 if(state->pos.col == oldpos->col && state->pos.row == oldpos->row) 37 if((*state->callbacks->movecursor)(state->pos, *oldpos, state->mode.cursor_visible, state->cbdata)) 88 if(state->pos.row == SCROLLREGION_END(state) - 1) { 98 else if(state->pos.row < state->rows-1) 99 state->pos 580 VTermPos pos; local [all...] |
/haiku-fatelf/src/apps/glteapot/ |
H A D | FPS.cpp | 96 GLfloat pos = 0; local 108 drawChar(pos, 0, (ifps / number) % 10); 109 pos += 1.0; 115 pos += 0.5; 116 drawChar(pos, 0, 10); 117 pos += 1; 118 drawChar(pos, 0, 11); 119 pos += 1; 120 drawChar(pos, 0, 12); 121 pos [all...] |
/haiku-fatelf/src/libs/ncurses/form/ |
H A D | frm_data.c | 145 int pos; local 154 pos = form->begincol + field->cols; 155 while (pos < field->dcols) 157 check_len = field->dcols - pos; 161 wmove(form->w, 0, pos); 163 pos += field->cols; 173 pos = form->toprow + field->rows; 174 while (pos < field->drows) 177 wmove(form->w, pos, 0); 178 pos [all...] |
/haiku-fatelf/src/add-ons/media/plugins/aiff_reader/ |
H A D | aiff_reader.cpp | 101 int64 pos = sizeof(aiff); local 109 while (pos + sizeof(chunk_struct) <= filesize) { 111 if (sizeof(chunk) != Source()->ReadAt(pos, &chunk, sizeof(chunk))) { 115 pos += sizeof(chunk); 128 if (size != (uint32)Source()->ReadAt(pos, &comm, size)) { 146 if (sizeof(ssnd) != Source()->ReadAt(pos, &ssnd, sizeof(ssnd))) { 150 fDataStart = pos + sizeof(ssnd) + UINT32(ssnd.offset); 152 if (pos + fDataSize + sizeof(ssnd) > filesize) 153 fDataSize = filesize - pos - sizeof(ssnd); 164 pos 338 int64 pos; local [all...] |
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/ |
H A D | ImfEnvmap.cpp | 160 V2f pos (0, 0); 166 pos.x = dwf.min.x + positionInFace.y; 167 pos.y = dwf.max.y - positionInFace.x; 172 pos.x = dwf.max.x - positionInFace.y; 173 pos.y = dwf.max.y - positionInFace.x; 178 pos.x = dwf.min.x + positionInFace.x; 179 pos.y = dwf.max.y - positionInFace.y; 184 pos.x = dwf.min.x + positionInFace.x; 185 pos.y = dwf.min.y + positionInFace.y; 190 pos 265 V2f pos; local [all...] |
/haiku-fatelf/src/add-ons/translators/exr/openexr/imath/ |
H A D | ImathLine.h | 58 Vec3<T> pos; member in class:Imath::Line3 113 pos = p0; dir = p1-p0; 120 return pos + dir * parameter; 132 return ((point - pos) ^ dir) * dir + pos; 138 T d = (dir % line.dir) ^ (line.pos - pos); 148 Vec3<T> posLpos = pos - line.pos ; 163 return pos; [all...] |
/haiku-fatelf/src/add-ons/translators/hpgs/lib/ |
H A D | hpgsistream.c | 39 static int file_seek (FILE *file, size_t pos) argument 41 return fseek(file,pos,SEEK_SET); 44 static int file_seekend (FILE *file, size_t pos) argument 46 return fseek(file,-(long)pos,SEEK_END); 49 static int file_tell (FILE *file, size_t *pos) argument 55 *pos = pp; 161 static int mem_tell (hpgs_mem_istream_stream *stream, size_t *pos) argument 164 *pos = stream->gptr - stream->data; 168 static int mem_seek (hpgs_mem_istream_stream *stream, size_t pos) argument 170 if (stream->data + pos > strea 181 mem_seekend(hpgs_mem_istream_stream *stream, size_t pos) argument [all...] |
/haiku-fatelf/src/apps/cortex/Persistence/Wrappers/ |
H A D | FlatMessageIO.cpp | 127 const char* pos = base64Data; local 128 while(*pos) { 130 const char* nextBreak = strchr(pos, '\n'); 132 chunk = strlen(pos); 134 chunk = nextBreak - pos; 137 context.writeString(pos, chunk); 140 pos += chunk; 141 if(*pos == '\n') 142 ++pos;
|
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/common/ |
H A D | log_dump.c | 62 uint32 pos; local 66 for( pos = 0; pos < buffer_len; ) { 69 entry = (log_entry *)(buffer + pos); 71 pos += sizeof( log_entry ) + (entry->num_args - 1) * sizeof( uint32 );
|
/haiku-fatelf/src/add-ons/print/drivers/postscript/ |
H A D | PPDParser.cpp | 66 int32 pos = 0, next; local 71 while ((next = fContent.FindFirst('\n', pos)) > 0) { 73 fContent.CopyInto(line, pos, next - pos); 86 pos = next +1;
|
/haiku-fatelf/src/system/boot/loader/file_systems/fat/ |
H A D | Stream.h | 39 status_t ReadAt(off_t pos, void *buffer, size_t *length, 41 status_t WriteAt(off_t pos, const void *buffer, size_t *length, 46 status_t _FindCluster(off_t pos, uint32& _cluster); 47 status_t _FindOrCreateCluster(off_t pos, uint32& _cluster, 49 status_t FindBlock(off_t pos, off_t &block, off_t &offset);
|
/haiku-fatelf/src/tests/kits/interface/menu/menuworld/ |
H A D | ViewLayoutFactory.h | 54 uint32 msgID, BPoint pos, 57 uint32 msgID, BPoint pos, 60 const char* text, BPoint pos, float controlWidth, 64 BPoint pos, float controlWidth, 71 void MoveViewCorner(BView& view, BPoint pos,
|
/haiku-fatelf/src/tests/kits/support/bmemoryio/ |
H A D | SetSizeTest.cpp | 29 off_t pos; local 34 pos = mem.Seek(0, SEEK_END); 37 CPPUNIT_ASSERT(pos == 5); 42 pos = mem.Seek(0, SEEK_END); 45 CPPUNIT_ASSERT(pos == 10);
|
/haiku-fatelf/src/kits/translation/ |
H A D | BitmapStream.cpp | 66 BBitmapStream::ReadAt(off_t pos, void* buffer, size_t size) argument 72 if (pos >= (off_t)fSize || pos < 0 || buffer == NULL) 78 if (pos < (off_t)sizeof(TranslatorBitmap)) { 79 toRead = sizeof(TranslatorBitmap) - pos; 80 source = (reinterpret_cast<uint8 *>(fBigEndianHeader)) + pos; 82 toRead = fSize - pos; 83 source = (reinterpret_cast<uint8 *>(fBitmap->Bits())) + pos - 96 BBitmapStream::WriteAt(off_t pos, const void* data, size_t size) argument 100 if (!data || pos < [all...] |