Searched refs:pos (Results 151 - 175 of 520) sorted by relevance

1234567891011>>

/haiku/src/apps/mediaplayer/media_node_framework/audio/
H A DAudioAdapter.cpp94 AudioAdapter::Read(void* buffer, int64 pos, int64 frames) argument
96 TRACE("AudioAdapter::Read(%p, %lld, %lld)\n", buffer, pos, frames);
100 pos += fOutOffset;
101 status_t ret = fFinalConverter->Read(buffer, pos, frames);
/haiku/headers/private/kernel/fs/
H A Dfd.h26 status_t (*fd_read)(struct file_descriptor *, off_t pos, void *buffer,
28 status_t (*fd_write)(struct file_descriptor *, off_t pos,
30 off_t (*fd_seek)(struct file_descriptor *, off_t pos, int seekType);
62 off_t pos; member in struct:file_descriptor
/haiku/src/kits/storage/sniffer/
H A DParser.cpp67 Token::Token(TokenType type, const ssize_t pos) argument
69 , fPos(pos)
155 StringToken::StringToken(const std::string &str, const ssize_t pos) argument
156 : Token(CharacterString, pos)
173 IntToken::IntToken(const int32 value, const ssize_t pos) argument
174 : Token(Integer, pos)
196 FloatToken::FloatToken(const double value, const ssize_t pos) argument
197 : Token(FloatingPoint, pos)
275 ssize_t pos = stream.Pos(); local
279 startPos = pos;
750 AddToken(TokenType type, ssize_t pos) argument
756 AddString(const std::string &str, ssize_t pos) argument
762 AddInt(const char *str, ssize_t pos) argument
770 AddFloat(const char *str, ssize_t pos) argument
970 ssize_t pos = err && (err->Pos() >= 0) ? err->Pos() : 0; local
1253 ThrowOutOfMemError(ssize_t pos) argument
[all...]
/haiku/src/libs/stdc++/legacy/
H A Deditbuf.cc107 void edit_buffer::move_gap(buf_offset pos) argument
109 if (pos < size1())
110 gap_left (pos);
111 else if (pos > size1())
112 gap_right (pos);
115 void edit_buffer::gap_left (int pos) argument
132 i = new_s1 - pos;
140 pos = new_s1;
155 adjust_markers (pos << 1, size1() << 1, gap_size(), data);
157 _gap_start = data + pos;
166 gap_right(int pos) argument
[all...]
H A Dbuiltinbuf.cc56 streampos builtinbuf::seekpos(streampos pos, int mode) argument
58 return _IO_SEEKPOS (this, pos, mode);
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DInodeRegular.cpp308 Inode::ReadDirect(OpenStateCookie* cookie, off_t pos, void* buffer, argument
326 result = ReadFile(cookie, state, pos + size, &len,
345 Inode::Read(OpenFileCookie* cookie, off_t pos, void* buffer, size_t* _length) argument
353 return ReadDirect(cookie, pos, buffer, _length, &eof);
354 return file_cache_read(fFileCache, cookie, pos, buffer, _length);
359 Inode::WriteDirect(OpenStateCookie* cookie, off_t pos, const void* _buffer, argument
386 status_t result = WriteFile(cookie, state, pos + size, &len,
400 fMetaCache.GrowFile(size + pos);
408 Inode::Write(OpenFileCookie* cookie, off_t pos, const void* _buffer, argument
415 if (pos <
[all...]
H A DInodeDir.cpp118 Inode::FillDirEntry(struct dirent* de, ino_t id, const char* name, uint32 pos, argument
127 if (pos + entSize + nameSize > size)
143 Inode::ReadDirUp(struct dirent* de, uint32 pos, uint32 size) argument
192 return FillDirEntry(de, FileIdToInoT(fileId), "..", pos, size);
341 uint32 pos = 0; local
346 struct dirent* de = reinterpret_cast<dirent*>(buffer + pos);
349 result = FillDirEntry(de, fInfo.fFileId, ".", pos, size);
354 pos += de->d_reclen;
362 struct dirent* de = reinterpret_cast<dirent*>(buffer + pos);
365 result = ReadDirUp(de, pos, siz
[all...]
/haiku/src/add-ons/accelerants/intel_extreme/
H A Doverlay.cpp135 int32 pos; local
137 pos = i + j * 32;
138 sum += rawCoefficients[pos];
141 pos = i + j * 32;
142 coefficients[i][j] = rawCoefficients[pos] / sum;
147 pos = j + i * taps;
151 splitCoefficients[pos]);
173 pos = tap2Fix + i * taps;
177 splitCoefficients[pos]);
679 int32 pos local
[all...]
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DInode.cpp406 Inode::GetPtrOffsetIntoRoot(int pos) argument
410 + maxRecords * XFS_KEY_SIZE + (pos - 1) * XFS_PTR_SIZE);
415 Inode::GetPtrFromRoot(int pos) argument
418 ((char*)DIR_DFORK_PTR(Buffer(), CoreInodeSize()) + GetPtrOffsetIntoRoot(pos));
431 Inode::GetPtrOffsetIntoNode(int pos) argument
436 + (pos - 1) * XFS_PTR_SIZE;
441 Inode::GetPtrFromNode(int pos, void* buffer) argument
443 size_t offsetIntoNode = GetPtrOffsetIntoNode(pos);
594 Inode::ReadAt(off_t pos, uint8* buffer, size_t* length) argument
596 TRACE("Inode::ReadAt: pos
[all...]
/haiku/src/kits/support/
H A DString.cpp99 bool Add(int32 pos) argument
113 fBuffer[fSize++] = pos;
876 int32 pos = _ShortFindAfter(string.String(), string.Length()); local
877 if (pos >= 0)
878 _ShrinkAtBy(pos, string.Length());
887 int32 pos = _FindBefore(string.String(), Length(), string.Length()); local
888 if (pos >= 0)
889 _ShrinkAtBy(pos, string.Length());
913 int32 pos = _ShortFindAfter(string, length); local
914 if (pos >
926 int32 pos = _FindBefore(string, Length(), length); local
1509 int32 pos = FindFirst(replaceThis); local
1519 int32 pos = FindLast(replaceThis); local
1530 int32 pos = FindFirst(replaceThis, fromOffset); local
1546 int32 pos = FindFirst(replaceThis, fromOffset); local
1581 int32 pos = _FindBefore(replaceThis, Length(), replaceThisLength); local
1658 int32 pos = _IFindAfter(tmp, 0, 1); local
1670 int32 pos = _IFindBefore(tmp, Length(), 1); local
1682 int32 pos = _IFindAfter(tmp, fromOffset, 1); local
1698 int32 pos = _IFindAfter(tmp, fromOffset, 1); local
1733 int32 pos = _IFindBefore(replaceThis, Length(), replaceThisLength); local
1974 SetByteAt(int32 pos, char to) argument
2586 int32 pos; local
2696 int32 pos = positions->ItemAt(i); local
[all...]
/haiku/headers/os/drivers/
H A Dmidi_driver.h61 status_t (*read_hook)(void* cookie, off_t pos, void* data,
63 status_t (*write_hook)(void* cookie, off_t pos, const void* data,
/haiku/headers/private/kernel/boot/
H A DFileMapDisk.h54 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer,
56 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer,
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dmidi_driver.h104 status_t (*read_hook)(void * cookie, off_t pos, void * data, size_t * len);
105 status_t (*write_hook)(void * cookie, off_t pos, const void * data, size_t * len);
/haiku/src/add-ons/kernel/drivers/common/
H A Dnull.c49 null_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument
57 null_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
H A Dzero.c48 zero_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument
58 zero_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DAttribute.h39 status_t Read(attr_cookie* cookie, off_t pos, uint8* buffer,
42 off_t pos, const uint8* buffer, size_t* _length,
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Drunlist.h58 const s64 pos, s64 count, void *b);
60 s64 ofs, const s64 pos, s64 count, void *b);
/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamFilterInterface.h29 virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size);
32 virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size);
/haiku/src/system/kernel/device_manager/
H A DBaseDevice.h36 virtual status_t Read(void* cookie, off_t pos, void* buffer,
38 virtual status_t Write(void* cookie, off_t pos, const void* buffer,
H A DFileDevice.h35 virtual status_t Read(void* cookie, off_t pos, void* buffer,
37 virtual status_t Write(void* cookie, off_t pos, const void* buffer,
/haiku/headers/os/support/
H A DBufferIO.h20 virtual ssize_t ReadAt(off_t pos, void* buffer, size_t size);
21 virtual ssize_t WriteAt(off_t pos, const void* buffer,
/haiku/src/system/boot/loader/file_systems/bfs/
H A DStream.h28 status_t FindBlockRun(off_t pos, block_run &run, off_t &offset);
29 status_t ReadAt(off_t pos, uint8 *buffer, size_t *length);
/haiku/src/system/boot/loader/file_systems/fat/
H A DFile.h30 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
31 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
/haiku/src/kits/locale/
H A DStringFormat.cpp65 FieldPosition pos; local
66 buffer = fFormatter->format(arguments, 1, buffer, pos, error);
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dattr.h26 off_t pos, void *buffer, size_t *_length);
28 off_t pos, const void *buffer, size_t *_length);

Completed in 213 milliseconds

1234567891011>>