/haiku/headers/build/os/kernel/ |
H A D | fs_info.h | 45 extern dev_t next_dev(int32 *pos);
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_crypto_ccmp.c | 458 uint8_t *pos; local 468 pos = mtod(m, uint8_t *) + hdrlen + ccmp.ic_header; 478 CCMP_ENCRYPT(i, b, b0, pos, e, AES_BLOCK_LEN); 479 pos += AES_BLOCK_LEN, space -= AES_BLOCK_LEN; 491 CCMP_ENCRYPT(i, b, b0, pos, e, space); 537 CCMP_ENCRYPT(i, b, b0, pos, e, space); 562 * pos+space to reflect contents of the new mbuf. 566 pos = pos_next + space_next; 572 pos = mtod(m, uint8_t *); 605 uint8_t *pos; local [all...] |
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/ |
H A D | Inode.cpp | 31 Inode::FindBlockRun(off_t pos, block_run &run, off_t &offset) argument
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Attribute.h | 51 status_t Read(attr_cookie* cookie, off_t pos,
|
/haiku/src/tests/system/libroot/os/ |
H A D | DriverSettingsTest.cpp | 43 const char *pos = string; local 45 while (count-- && pos[0] != '\0') 46 pos++; 48 return pos - string;
|
/haiku/src/system/boot/platform/amiga_m68k/ |
H A D | devices.cpp | 98 ExecDevice::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument 103 fIOStdReq->io_Offset = (uint32)pos; 112 ExecDevice::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument 117 fIOStdReq->io_Offset = (uint32)pos;
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | device.h | 123 extern s64 ntfs_pread(struct ntfs_device *dev, const s64 pos, s64 count, 125 extern s64 ntfs_pwrite(struct ntfs_device *dev, const s64 pos, s64 count, 128 extern s64 ntfs_mst_pread(struct ntfs_device *dev, const s64 pos, s64 count, 130 extern s64 ntfs_mst_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
|
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_opt.h | 241 * @param pos is the position at which to add the argument 245 int fuse_opt_insert_arg(struct fuse_args *args, int pos, const char *arg);
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | NodeAttribute.h | 22 status_t Read(attr_cookie* cookie, off_t pos,
|
H A D | ShortAttribute.cpp | 91 ShortAttribute::Read(attr_cookie* cookie, off_t pos, uint8* buffer, size_t* length) argument 95 if (pos < 0) 108 if (pos + *length > fEntry->valuelen) 109 lengthToRead = fEntry->valuelen - pos;
|
H A D | ShortAttribute.h | 33 status_t Read(attr_cookie* cookie, off_t pos,
|
H A D | NodeAttribute.cpp | 192 NodeAttribute::Read(attr_cookie* cookie, off_t pos, uint8* buffer, size_t* length) argument 196 if (pos < 0) 214 if (pos + *length > valuelen) 215 lengthToRead = valuelen - pos; 229 if (pos + *length > valuelen) 230 lengthToRead = valuelen - pos; 241 pos += sizeof(AttrRemoteHeader); 243 readPos += pos;
|
/haiku/src/apps/mediaplayer/media_node_framework/audio/ |
H A D | AudioChannelConverter.cpp | 96 AudioChannelConverter::Read(void* outBuffer, int64 pos, int64 frames) argument 98 TRACE("AudioChannelConverter::Read(%p, %lld, %lld)\n", outBuffer, pos, frames); 102 pos += fOutOffset; 114 status_t ret = fSource->Read(inBuffer, pos, frames);
|
/haiku/src/build/libroot/ |
H A D | fs_attr_untyped.cpp | 453 fs_read_attr(int fd, const char *_attribute, uint32 type, off_t pos, argument 457 if (pos < 0 || pos + readBytes > kMaxAttributeLength 501 bytesRead -= sizeof(AttributeHeader) + pos; 503 // that means pos > <attribute size> 511 memcpy(buffer, attributeBuffer + sizeof(AttributeHeader) + pos, 520 fs_write_attr(int fd, const char *_attribute, uint32 type, off_t pos, argument 524 if (pos < 0 || pos + writeBytes > kMaxAttributeLength 545 memset(attributeBuffer + sizeof(AttributeHeader), 0, pos); [all...] |
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Attribute.h | 43 status_t Read(attr_cookie* cookie, off_t pos, uint8* buffer, 46 off_t pos, const uint8* buffer,
|
H A D | Attribute.cpp | 193 Attribute::Read(attr_cookie* cookie, off_t pos, uint8* buffer, size_t* _length) argument 198 if (pos < 0LL) 204 pos += fBlockEntry->ValueOffset(); 205 if (((uint32)pos + length) > fVolume->BlockSize() 213 pos += fBodyEntry->ValueOffset(); 214 if ((off_t)(pos + length) > (end - start) || length > fBodyEntry->ValueSize()) 217 memcpy(buffer, start + (uint32)pos, length); 225 Attribute::Write(Transaction& transaction, attr_cookie* cookie, off_t pos, argument
|
/haiku/src/libs/stdc++/legacy/ |
H A D | streambuf.cc | 118 streampos streambuf::seekpos(streampos pos, int mode) argument 120 return seekoff(pos, ios::beg, mode); 123 streampos streambuf::sseekpos(streampos pos, int mode) argument 125 return _IO_seekpos (this, pos, mode); 153 static _IO_pos_t _IO_sb_seekoff(_IO_FILE *fp, _IO_off_t pos, int dir, int mode) argument 155 return ((streambuf*)fp)->seekoff(pos, (ios::seek_dir)dir, mode); 158 static _IO_pos_t _IO_sb_seekpos(_IO_FILE *fp, _IO_pos_t pos, int mode) argument 160 return ((streambuf*)fp)->seekpos(pos, mode);
|
/haiku/src/tests/system/kernel/device_manager/playground/ |
H A D | driver.cpp | 137 device_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument 144 device_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument
|
H A D | generic_video_driver.cpp | 123 device_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument 130 device_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument
|
H A D | specific_video_driver.cpp | 123 device_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument 130 device_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | File.h | 27 virtual status_t Read(off_t pos, void* buffer, size_t size, 29 virtual status_t Write(off_t pos, const void* buffer,
|
/haiku/src/add-ons/kernel/debugger/demangle/ |
H A D | gcc2.cpp | 352 size_t pos = name.CharsRemaining() - 1; local 355 while (pos > 1) { 356 if (name[pos] == '_') { 357 if (name[pos - 1] == '_') { 359 name.Skip(pos + 1); 362 pos--; 364 pos--; 376 *_symbolLength = pos - 1;
|
/haiku/src/add-ons/kernel/drivers/common/ |
H A D | dprintf.cpp | 63 dprintf_read(void *cookie, off_t pos, void *buffer, size_t *length) argument 71 dprintf_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
|
/haiku/src/kits/storage/ |
H A D | ResourceItem.cpp | 41 ResourceItem::WriteAt(off_t pos, const void *buffer, size_t size) argument 43 ssize_t result = BMallocIO::WriteAt(pos, buffer, size);
|
/haiku/src/apps/installer/ |
H A D | UnzipEngine.cpp | 312 int pos = line.FindLast(" -> "); local 313 if (pos > 0) 314 line.CopyInto(itemPath, 13, pos - 13); 319 pos = itemPath.FindLast('/'); 320 BString itemName = itemPath.String() + pos + 1; 321 itemPath.Truncate(pos);
|