Searched refs:pos (Results 176 - 200 of 520) sorted by relevance

1234567891011>>

/haiku/src/tests/kits/midi/synth_file_reader/
H A DSynthFileReader.h55 void Seek(uint32 pos) { fseek(fFile, pos, SEEK_SET); } argument
/haiku/src/kits/storage/
H A Dstorage_support.cpp148 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 DNodeHandle.cpp137 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 DNodeHandle.h49 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 DAudioResampler.cpp110 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 DAudioReader.h22 virtual status_t Read(void* buffer, int64 pos, int64 frames) = 0;
H A DAudioVolumeConverter.cpp82 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 Deditbuf.h41 // 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 Dvga_text.c80 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 Dsyscalls.h84 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 Dattr.cpp185 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 Dsyscalls.h66 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 Dvterm.c313 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 Dvterm_internal.h52 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 Ddevices.cpp37 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 DDNSQuery.h41 void SetWritePosition(off_t pos) { fWritePosition = pos; } argument
45 ssize_t _ReadStringAt(BString& string, off_t pos);
/haiku/src/apps/serialconnect/
H A DXModem.cpp42 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 Dutil.cpp136 int pos = 1; local
139 pos++;
141 return pos;
/haiku/src/system/boot/platform/generic/
H A Dvideo_text_console.cpp20 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 Dconsole.cpp38 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 Dstage2_priv.h25 int of_seek(int handle, long long pos);
/haiku/headers/private/kernel/arch/ppc/
H A Dstage2_priv.h25 int of_seek(int handle, long long pos);
/haiku/src/add-ons/kernel/drivers/audio/ice1712/
H A Dmidi.cpp131 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 Dfs_info.h46 extern dev_t next_dev(int32 *pos);
/haiku/headers/private/fs_shell/
H A Dfssh_fs_info.h47 extern fssh_dev_t next_dev(int32_t *pos);

Completed in 86 milliseconds

1234567891011>>