/haiku/src/tests/apps/miniterminal/ |
H A D | Console.cpp | 479 size_t pos = 0; local 481 while (pos < len) { 482 c = &((const char *)buf)[pos++];
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_crypto_tkip.c | 674 u8 *pos; local 691 pos = mtod(m, uint8_t *) + off; 698 crc = crc32_table[(crc ^ *pos) & 0xff] ^ (crc >> 8); 702 *pos++ ^= S[(S[i] + S[j]) & 0xff]; 710 pos = mtod(m, uint8_t *); 733 u8 *pos, icv[4]; local 748 pos = mtod(m, uint8_t *) + off; 758 *pos ^= S[(S[i] + S[j]) & 0xff]; 759 crc = crc32_table[(crc ^ *pos) & 0xff] ^ (crc >> 8); 760 pos [all...] |
/haiku/src/system/kernel/cache/ |
H A D | file_cache.cpp | 158 for (generic_size_t pos = 0; pos < fSize; pos += B_PAGE_SIZE) { 162 fCache->InsertPage(page, fOffset + pos); 394 for (generic_size_t pos = 0; pos < numBytes; pos += B_PAGE_SIZE) { 398 cache->InsertPage(page, offset + pos); 513 for (generic_size_t pos = 0; pos < numByte [all...] |
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | DataStream.h | 35 status_t _PrepareBlock(Transaction& transaction, uint32* pos,
|
H A D | Inode.h | 90 status_t ReadAt(off_t pos, uint8 *buffer, size_t *length); 91 status_t WriteAt(Transaction& transaction, off_t pos,
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/ |
H A D | Volume.cpp | 361 Volume::Read(void* node, void* cookie, off_t pos, void* buffer, argument 369 Volume::Write(void* node, void* cookie, off_t pos, const void* buffer, argument 505 Volume::ReadAttr(void* node, void* cookie, off_t pos, void* buffer, argument 513 Volume::WriteAttr(void* node, void* cookie, off_t pos, argument
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | XDR.h | 72 status_t InsertUInt(Stream::Position pos, uint32 x);
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | iso9660.h | 146 off_t pos; // Position within block. member in struct:dircookie
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/ |
H A D | Volume.h | 147 status_t Read(void* node, void* cookie, off_t pos, 151 off_t pos, const void* buffer, 185 off_t pos, void* buffer, size_t bufferSize, 188 off_t pos, const void* buffer,
|
/haiku/src/add-ons/kernel/drivers/graphics/radeon/ |
H A D | driver.c | 28 static status_t read_hook(void *dev, off_t pos, void *buf, size_t *len); 29 static status_t write_hook(void *dev, off_t pos, const void *buf, size_t *len); 249 read_hook(void *dev, off_t pos, void *buf, size_t *len) argument 258 write_hook(void *dev, off_t pos, const void *buf, size_t *len) argument
|
/haiku/src/system/kernel/device_manager/ |
H A D | FileDevice.cpp | 197 FileDevice::Read(void* _cookie, off_t pos, void* buffer, size_t* _length) argument 201 ssize_t bytesRead = pread(cookie->fd, buffer, *_length, pos); 213 FileDevice::Write(void* _cookie, off_t pos, const void* buffer, size_t* _length) argument 217 ssize_t bytesWritten = pwrite(cookie->fd, buffer, *_length, pos);
|
H A D | devfs.cpp | 1212 devfs_read(fs_volume* _volume, fs_vnode* _vnode, void* _cookie, off_t pos, argument 1218 //TRACE(("devfs_read: vnode %p, cookie %p, pos %lld, len %p\n", 1219 // vnode, cookie, pos, _length)); 1224 if (pos < 0) 1228 if (pos >= vnode->stream.u.dev.partition->info.size) 1231 translate_partition_access(vnode->stream.u.dev.partition, pos, 1239 return vnode->stream.u.dev.device->Read(cookie->device_cookie, pos, buffer, 1245 devfs_write(fs_volume* _volume, fs_vnode* _vnode, void* _cookie, off_t pos, argument 1251 //TRACE(("devfs_write: vnode %p, cookie %p, pos %lld, len %p\n", 1252 // vnode, cookie, pos, _lengt 1669 devfs_read_pages(fs_volume* _volume, fs_vnode* _vnode, void* _cookie, off_t pos, const iovec* vecs, size_t count, size_t* _numBytes) argument 1728 devfs_write_pages(fs_volume* _volume, fs_vnode* _vnode, void* _cookie, off_t pos, const iovec* vecs, size_t count, size_t* _numBytes) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSELowLevel.h | 47 char* buffer, size_t bufferSize, ReadDirBufferFiller filler, off_t pos, fuse_file_info* ffi);
|
/haiku/src/preferences/mail/ |
H A D | DNSQuery.cpp | 126 BRawNetBuffer::_ReadStringAt(BString& string, off_t pos) argument 128 if (pos >= (off_t)fBuffer.BufferLength()) 133 buffer = &buffer[pos]; 136 while (pos < (off_t)fBuffer.BufferLength() && *buffer != 0) {
|
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_common.h | 287 * If this flag is set then the .pos field is valid and is 381 off_t pos; member in struct:fuse_buf 425 /* .pos = */ 0, \
|
/haiku/headers/posix/ |
H A D | unistd.h | 381 extern ssize_t read_pos(int fd, off_t pos, void *buffer, size_t count); 382 extern ssize_t pread(int fd, void *buffer, size_t count, off_t pos); 384 extern ssize_t write_pos(int fd, off_t pos, const void *buffer,size_t count); 385 extern ssize_t pwrite(int fd, const void *buffer, size_t count, off_t pos);
|
/haiku/src/system/kernel/platform/openfirmware/ |
H A D | openfirmware.cpp | 473 of_seek(intptr_t handle, off_t pos) argument 477 pos_hi = pos >> ((sizeof(off_t) - sizeof(intptr_t)) * CHAR_BIT); 485 intptr_t pos; member in struct:__anon23 487 } args = {"seek", 3, 1, handle, pos_hi, pos, 0};
|
/haiku/headers/private/kernel/platform/openfirmware/ |
H A D | openfirmware.h | 68 extern intptr_t of_seek(intptr_t handle, off_t pos);
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | Icb.h | 110 status_t Read(off_t pos, void *buffer, size_t *length, 143 status_t _Read(DescriptorList &list, off_t pos,
|
/haiku/src/tests/system/kernel/device_manager/ |
H A D | config.c | 158 config_read(void * cookie, off_t pos, void *buf, size_t *_length) argument 166 config_write(void * cookie, off_t pos, const void *buf, size_t *_length) argument
|
/haiku/src/tests/add-ons/media/media-add-ons/mixer/ |
H A D | main.cpp | 37 void SetValue(int pos, float val) { fData[pos] = val; } argument
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/ |
H A D | HaikuKernelVolume.cpp | 706 HaikuKernelVolume::Read(void* _node, void* cookie, off_t pos, void* buffer, argument 716 return node->ops->read(&fVolume, node, cookie, pos, buffer, bytesRead); 721 HaikuKernelVolume::Write(void* _node, void* cookie, off_t pos, argument 731 return node->ops->write(&fVolume, node, cookie, pos, buffer, 938 HaikuKernelVolume::ReadAttr(void* _node, void* cookie, off_t pos, argument 948 return node->ops->read_attr(&fVolume, node, cookie, pos, buffer, 954 HaikuKernelVolume::WriteAttr(void* _node, void* cookie, off_t pos, argument 964 return node->ops->write_attr(&fVolume, node, cookie, pos, buffer,
|
/haiku/headers/build/ |
H A D | BeOSBuildCompatibility.h | 49 extern ssize_t read_pos(int fd, off_t pos, void* buffer, size_t count); 50 extern ssize_t write_pos(int fd, off_t pos, const void* buffer, size_t count);
|
/haiku/src/apps/showimage/ |
H A D | ShowImageView.cpp | 628 ShowImageView::_LayoutCaption(BFont& font, BPoint& pos, BRect& rect) argument 638 pos.x = (bounds.left + bounds.right - width) / 2; 640 pos.y = bounds.bottom - fontHeight.descent - 7; 644 rect.OffsetTo(pos); 679 BPoint pos; local 681 _LayoutCaption(font, pos, rect); 1216 float min, max, pos; local 1217 pos = v; 1219 pos += psb->Value(); 1222 if (pos < mi [all...] |
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | kernel_interface.cpp | 265 off_t pos, const iovec* vecs, size_t count, size_t* _numBytes) 284 status = file_map_translate(inode->Map(), pos, bytesLeft, fileVecs, 297 pos += bytes; 492 exfat_read(fs_volume* _volume, fs_vnode* _node, void* _cookie, off_t pos, argument 502 return inode->ReadAt(pos, (uint8*)buffer, _length); 264 exfat_read_pages(fs_volume* _volume, fs_vnode* _node, void* _cookie, off_t pos, const iovec* vecs, size_t count, size_t* _numBytes) argument
|