/haiku/src/tests/kits/midi/synth_file_reader/ |
H A D | SynthFileReader.h | 55 void Seek(uint32 pos) { fseek(fFile, pos, SEEK_SET); } argument
|
/haiku/src/kits/storage/ |
H A D | storage_support.cpp | 148 for (int pos = len-1; ; pos--) { 149 if (pos < 0) 156 if (fullPath[pos] != '/') { 157 leafEnd = pos; 164 if (fullPath[pos] == '/') { 165 leafStart = pos+1; 166 pathEnd = pos-1;
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | NodeHandle.cpp | 137 FileHandle::Read(off_t pos, void* buffer, size_t size, size_t* _bytesRead) argument 142 ssize_t bytesRead = read_pos(fFD, pos, buffer, size); 152 FileHandle::Write(off_t pos, const void* buffer, size_t size, argument 158 ssize_t bytesWritten = write_pos(fFD, pos, buffer, size); 168 FileHandle::ReadAttr(const char* name, uint32 type, off_t pos, void* buffer, argument 174 ssize_t bytesRead = fs_read_attr(fFD, name, type, pos, buffer, size); 184 FileHandle::WriteAttr(const char* name, uint32 type, off_t pos, argument 190 ssize_t bytesWritten = fs_write_attr(fFD, name, type, pos, buffer, size);
|
H A D | NodeHandle.h | 49 status_t Read(off_t pos, void* buffer, size_t size, 51 status_t Write(off_t pos, const void* buffer, 55 off_t pos, void* buffer, size_t size, 58 off_t pos, const void* buffer, size_t size,
|
/haiku/src/apps/mediaplayer/media_node_framework/audio/ |
H A D | AudioResampler.cpp | 110 AudioResampler::Read(void* buffer, int64 pos, int64 frames) argument 112 TRACE("AudioResampler::Read(%p, %lld, %lld)\n", buffer, pos, frames); 120 int64 sourcePos = ConvertToSource(pos); 121 int64 sourceFrames = ConvertToSource(pos + frames) - sourcePos; 273 AudioResampler::ConvertFromSource(int64 pos) const 277 return (int64)((double)(pos - fInOffset) * outFrameRate / inFrameRate 283 AudioResampler::ConvertToSource(int64 pos) const 287 return (int64)((double)(pos + fOutOffset) * inFrameRate / outFrameRate
|
H A D | AudioReader.h | 22 virtual status_t Read(void* buffer, int64 pos, int64 frames) = 0;
|
H A D | AudioVolumeConverter.cpp | 82 AudioVolumeConverter::Read(void* buffer, int64 pos, int64 frames) argument 84 TRACE("AudioVolumeConverter::Read(%p, %lld, %lld)\n", buffer, pos, frames); 90 pos += fOutOffset; 92 status_t ret = fSource->Read(buffer, pos, frames);
|
/haiku/headers/cpp/ |
H A D | editbuf.h | 41 // Logical pos from start of buffer (does not count gap). 161 void move_gap (buf_offset pos); 162 void move_gap (buf_char *pos) { move_gap(pos - data); } argument 163 void gap_left (int pos); 164 void gap_right (int pos);
|
/haiku/src/add-ons/kernel/console/vga_text/ |
H A D | vga_text.c | 80 short int pos; local 83 pos = LINES * COLUMNS + 1; 85 pos = y * COLUMNS + x; 88 sISA->write_io_8(TEXT_DATA, (char)pos); 90 sISA->write_io_8(TEXT_DATA, (char)(pos >> 8));
|
/haiku/src/tools/fs_shell/ |
H A D | syscalls.h | 84 fssh_ssize_t _kern_read(int fd, fssh_off_t pos, void *buffer, 86 fssh_ssize_t _kern_readv(int fd, fssh_off_t pos, const fssh_iovec *vecs, 88 fssh_ssize_t _kern_write(int fd, fssh_off_t pos, const void *buffer, 90 fssh_ssize_t _kern_writev(int fd, fssh_off_t pos, const fssh_iovec *vecs, 92 fssh_off_t _kern_seek(int fd, fssh_off_t pos, int seekType);
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | attr.cpp | 185 dosfs_read_attr(fs_volume *_vol, fs_vnode *_node, void *_cookie, off_t pos, argument 202 if ((pos < 0) || (pos > (off_t)strlen(node->mime))) 205 length = user_strlcpy((char*)buffer, node->mime + pos, *_length); 220 off_t pos, const void *buffer, size_t *_length) 219 dosfs_write_attr(fs_volume *_vol, fs_vnode *_node, void *_cookie, off_t pos, const void *buffer, size_t *_length) argument
|
/haiku/headers/build/private/kernel/ |
H A D | syscalls.h | 66 extern off_t _kern_seek(int fd, off_t pos, int seekType); 83 extern ssize_t _kern_read(int fd, off_t pos, void *buffer, 85 extern ssize_t _kern_readv(int fd, off_t pos, const struct iovec *vecs, 87 extern ssize_t _kern_write(int fd, off_t pos, const void *buffer, 89 extern ssize_t _kern_writev(int fd, off_t pos, const struct iovec *vecs,
|
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | vterm.c | 313 VTermPos pos; local 337 for(pos.row = init_row; pos.row != test_row; pos.row += inc_row) 338 for(pos.col = init_col; pos.col != test_col; pos.col += inc_col) { 339 VTermPos srcpos = { pos.row + downward, pos.col + rightward }; 340 (*copycell)(pos, srcpo [all...] |
H A D | vterm_internal.h | 52 VTermPos pos; member in struct:VTermState 69 #define THISROWWIDTH(state) ROWWIDTH(state, (state)->pos.row) 115 VTermPos pos; member in struct:VTermState::__anon29 168 const char bytes[], size_t *pos, size_t len);
|
/haiku/src/system/boot/platform/efi/ |
H A D | devices.cpp | 37 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, 39 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, argument 63 EfiDevice::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument 65 TRACE("%s called. pos: %" B_PRIdOFF ", %p, %" B_PRIuSIZE "\n", __func__, 66 pos, buffer, bufferSize); 68 off_t offset = pos % BlockSize(); 69 pos /= BlockSize(); 80 pos, sizeof(readBuffer), readBuffer) != EFI_SUCCESS) {
|
/haiku/src/preferences/mail/ |
H A D | DNSQuery.h | 41 void SetWritePosition(off_t pos) { fWritePosition = pos; } argument 45 ssize_t _ReadStringAt(BString& string, off_t pos);
|
/haiku/src/apps/serialconnect/ |
H A D | XModem.cpp | 42 BPositionIO* pos = dynamic_cast<BPositionIO*>(source); local 43 if (pos) 44 pos->GetSize(&fSourceSize); 105 msg.AddInt32("pos", 0); 160 msg.AddInt32("pos", fBlockNumber);
|
/haiku/src/add-ons/kernel/busses/scsi/ahci/ |
H A D | util.cpp | 136 int pos = 1; local 139 pos++; 141 return pos;
|
/haiku/src/system/boot/platform/generic/ |
H A D | video_text_console.cpp | 20 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, 22 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, 57 VideoTextConsole::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument 64 VideoTextConsole::WriteAt(void *cookie, off_t /*pos*/, const void *buffer,
|
/haiku/src/system/boot/platform/u-boot/ |
H A D | console.cpp | 38 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, 40 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, 136 SerialConsole::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument 145 SerialConsole::WriteAt(void *cookie, off_t /*pos*/, const void *buffer,
|
/haiku/headers/private/kernel/arch/m68k/ |
H A D | stage2_priv.h | 25 int of_seek(int handle, long long pos);
|
/haiku/headers/private/kernel/arch/ppc/ |
H A D | stage2_priv.h | 25 int of_seek(int handle, long long pos);
|
/haiku/src/add-ons/kernel/drivers/audio/ice1712/ |
H A D | midi.cpp | 131 ice1712Midi_read(void * cookie, off_t pos, void * ptr, size_t * nread) argument 135 ret = (*mpu401->read_hook)(cookie, pos, ptr, nread); 143 ice1712Midi_write(void * cookie, off_t pos, const void * ptr, argument 148 ret = (*mpu401->write_hook)(cookie, pos, ptr, nwritten);
|
/haiku/headers/os/kernel/ |
H A D | fs_info.h | 46 extern dev_t next_dev(int32 *pos);
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_fs_info.h | 47 extern fssh_dev_t next_dev(int32_t *pos);
|