Searched refs:pos (Results 201 - 225 of 520) sorted by relevance

1234567891011>>

/haiku/headers/build/os/kernel/
H A Dfs_info.h45 extern dev_t next_dev(int32 *pos);
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto_ccmp.c458 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 DInode.cpp31 Inode::FindBlockRun(off_t pos, block_run &run, off_t &offset) argument
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DAttribute.h51 status_t Read(attr_cookie* cookie, off_t pos,
/haiku/src/tests/system/libroot/os/
H A DDriverSettingsTest.cpp43 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 Ddevices.cpp98 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 Ddevice.h123 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 Dfuse_opt.h241 * @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 DNodeAttribute.h22 status_t Read(attr_cookie* cookie, off_t pos,
H A DShortAttribute.cpp91 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 DShortAttribute.h33 status_t Read(attr_cookie* cookie, off_t pos,
H A DNodeAttribute.cpp192 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 DAudioChannelConverter.cpp96 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 Dfs_attr_untyped.cpp453 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 DAttribute.h43 status_t Read(attr_cookie* cookie, off_t pos, uint8* buffer,
46 off_t pos, const uint8* buffer,
H A DAttribute.cpp193 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 Dstreambuf.cc118 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 Ddriver.cpp137 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 Dgeneric_video_driver.cpp123 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 Dspecific_video_driver.cpp123 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 DFile.h27 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 Dgcc2.cpp352 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 Ddprintf.cpp63 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 DResourceItem.cpp41 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 DUnzipEngine.cpp312 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);

Completed in 130 milliseconds

1234567891011>>