Searched refs:offset (Results 276 - 300 of 1236) sorted by relevance

<<11121314151617181920>>

/haiku/src/tests/kits/midi/synth_file_reader/
H A DSynthFile.h63 void SetOffset(uint32 offset) { fOffset = offset; } argument
93 void SetOffset(uint32 offset) { fOffset = offset; } argument
/haiku/src/kits/storage/
H A DOffsetFile.cpp26 OffsetFile::OffsetFile(BFile *file, off_t offset) argument
31 SetTo(file, offset);
41 OffsetFile::SetTo(BFile *file, off_t offset) argument
45 fOffset = offset;
/haiku/src/add-ons/kernel/file_systems/nfs/
H A DXDRInPacket.h19 void XDRInPacketSetTo (struct XDRInPacket *packet, uint8 *buffer, size_t offset);
/haiku/src/tools/checkstyle/
H A Dutils.py105 offset = 0
110 text, (start - offset, end - offset))
115 offset += len(before + between)
/haiku/src/kits/network/libnetservices2/
H A DHttpBuffer.cpp119 auto offset = fBuffer.cbegin() + fCurrentOffset; local
120 auto result = std::search(offset, fBuffer.cend(), kNewLine.cbegin(), kNewLine.cend());
125 reinterpret_cast<const char*>(std::addressof(*offset)), std::distance(offset, result));
144 The GetNextLine() increases the offset of the internal buffer. This call moves remaining data
/haiku/src/bin/debug/strace/
H A DSyscall.h46 Parameter(string name, int32 offset, string typeName, TypeHandler *handler) argument
49 fOffset(offset),
94 void AddParameter(string name, int32 offset, string typeName, argument
97 AddParameter(new Parameter(name, offset, typeName, handler));
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DMixerInput.h156 int32 offset = framepos % fMixBufferFrameCount;
158 PRINT(3, "GetMixerChannelInfo: frames %ld to %ld\n", offset,
159 offset + fDebugMixBufferFrames - 1);
163 + (offset * sizeof(float) * fInputChannelCount));
H A DMixerInput.cpp149 int offset = frames_for_duration(fMixBufferFrameRate, start) local
152 PRINT(4, "MixerInput::BufferReceived: buffer start %10Ld, offset %6d\n",
153 start, offset);
170 if (offset != expected_frame) {
171 // due to rounding and other errors, offset might be off by +/- 1
173 if (offset == fLastDataFrameWritten) {
176 // fLastDataFrameWritten, expected_frame, offset);
177 offset = expected_frame;
178 } else if (offset == ((fLastDataFrameWritten + 2)
182 // fLastDataFrameWritten, expected_frame, offset);
[all...]
/haiku/src/add-ons/accelerants/radeon/
H A Dinternal_tv_out.c22 // mapping of offset in impactv_regs to register address
25 uint16 offset; // offset in impactv_regs member in struct:register_mapping
95 for( ; mapping->address != 0 && mapping->offset != 0; ++mapping ) {
97 *(uint32 *)((char *)(values) + mapping->offset) );*/
99 OUTREG( regs, mapping->address, *(uint32 *)((char *)(values) + mapping->offset) );
110 for( ; mapping->address != 0 && mapping->offset != 0; ++mapping ) {
112 *(uint32 *)((char *)(values) + mapping->offset) );*/
115 mapping->address, *(uint32 *)((char *)(values) + mapping->offset) );
235 for( ; mapping->address != 0 && mapping->offset !
[all...]
/haiku/src/libs/stdc++/legacy/
H A Dparsestream.cc55 streampos parsebuf::seekoff(streamoff offset, _seek_dir dir, int) argument
57 // Make offset relative to line start.
60 offset -= pos_at_line_start;
63 offset += tell_in_line();
68 if (offset < -1)
70 if (offset > _line_length + 1)
72 return seek_in_line(offset) + pos_at_line_start;
119 int offset = gptr() - eback(); local
121 offset--;
122 return offset;
[all...]
/haiku/src/system/boot/platform/riscv/
H A Ddevices.cpp76 off_t offset = pos % BlockSize(); local
79 uint32 numBlocks = (offset + bufferSize + BlockSize() - 1) / BlockSize();
101 memcpy(buffer, readBuffer.Get() + offset, bufferSize);
141 compute_check_sum(Node* device, off_t offset) argument
144 ssize_t bytesRead = device->ReadAt(NULL, offset, buffer, sizeof(buffer));
211 off_t offset = get_next_check_sum_offset(i, device->Size()); local
212 identifier.device.unknown.check_sums[i].offset = offset;
214 offset);
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_api.h63 void e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value);
87 s32 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data);
88 s32 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data);
89 s32 e1000_write_8bit_ctrl_reg(struct e1000_hw *hw, u32 reg, u32 offset,
106 s32 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
107 s32 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data);
108 s32 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data);
109 s32 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
116 u16 offset, u8 *sum);
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DExtentAllocator.cpp12 CachedExtent::Create(uint64 offset, uint64 length, uint64 flags) argument
18 self->offset = offset;
65 extentType, offset, length, refCount);
85 /* Find extent that cover or after "offset" and has length >= "size"
89 CachedExtentTree::FindNext(CachedExtent** chosen, uint64 offset, uint64 size, argument
92 CachedExtent* found = Find(offset);
114 if (lowerBound < node->offset) {
115 hole = CachedExtent::Create(lowerBound, node->offset - lowerBound,
124 if (node->End() == next->offset) {
[all...]
/haiku/src/build/libbe/app/
H A DMessage.cpp228 const char *name = (const char *)fData + field->offset;
238 + otherField->offset;
246 uint8 *data = fData + field->offset + field->name_length;
247 uint8 *otherData = other.fData + otherField->offset
361 *nameFound = (char *)fData + fFields[index].offset;
377 *nameFound = (char *)fData + field->offset;
521 uint8 *pointer = fData + field->offset + field->name_length;
525 (char *)(fData + field->offset));
528 (char *)(fData + field->offset), j);
657 if (strncmp((const char *)(fData + field->offset), oldEntr
1153 _ResizeData(uint32 offset, int32 change) argument
1575 uint32 offset = field->offset + field->name_length; local
[all...]
/haiku/src/apps/cortex/RouteApp/
H A DRouteWindow.cpp236 BPoint offset(0.0, 0.0);
238 offset.x = -r.left;
240 offset.y = -r.top;
242 offset.x -= (r.left - (sr.Width()/2));
244 offset.y -= (r.top - (sr.Height()/2));
245 if(offset.x != 0.0 || offset.y != 0.0) {
247 MoveBy(offset.x, offset.y);
251 BPoint offset local
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.cpp165 bool Visited(off_t offset) const
167 return fVisited.IsSet(offset / fNodeSize);
170 void SetVisited(off_t offset) argument
172 fVisited.Set(offset / fNodeSize, true);
180 bool VisitedFragment(off_t offset) const
182 return fVisitedFragment.IsSet(offset / fNodeSize);
185 void SetVisitedFragment(off_t offset) argument
187 fVisitedFragment.Set(offset / fNodeSize, true);
206 void SetPreviousOffset(uint32 level, off_t offset) argument
208 fPreviousOffsets[level] = offset;
289 SetTo(off_t offset, bool check) argument
300 SetTo(off_t offset, const bplustree_node** _node, bool check) argument
333 SetToWritable(Transaction& transaction, off_t offset, bool check) argument
423 InternalSetTo(Transaction* transaction, off_t offset) argument
481 Free(Transaction& transaction, off_t offset) argument
978 _UpdateIterators(off_t offset, off_t nextOffset, uint16 keyIndex, uint16 splitAt, int8 change) argument
1205 off_t offset; local
1999 off_t offset; local
2331 _ValidateChildren(TreeCheck& check, uint32 level, off_t offset, const uint8* largestKey, uint16 largestKeyLength, const bplustree_node* parent) argument
2521 _ValidateChild(TreeCheck& check, CachedNode& cached, uint32 level, off_t offset, off_t lastOffset, off_t nextOffset, const uint8* key, uint16 keyLength) argument
2769 off_t offset = BFS_ENDIAN_TO_HOST_INT64(node->Values()[fCurrentKey]); local
2855 Update(off_t offset, off_t nextOffset, uint16 keyIndex, uint16 splitAt, int8 change) argument
2949 CountDuplicates(off_t offset, bool isFragment) const argument
2964 DuplicateAt(off_t offset, bool isFragment, int8 index) const argument
[all...]
/haiku/src/kits/debugger/dwarf/
H A DDwarfFile.cpp151 virtual status_t GetCallTarget(uint64 offset, uint8 refType, argument
155 DebugInfoEntry* entry = fFile->_ResolveReference(fUnit, offset, refType);
279 off_t offset = dataReader.Offset(); local
282 remaining -= dataReader.Offset() - offset + 1;
721 DwarfFile::ResolveRangeList(CompilationUnit* unit, uint64 offset) const
726 if (offset >= (uint64)fDebugRangesSection->Size())
739 DataReader dataReader((uint8*)fDebugRangesSection->Data() + offset,
740 fDebugRangesSection->Size() - offset, unit->AddressSize(), unit->IsBigEndian());
1086 WARNING("Invalid type unit length, offset %#" B_PRIx64 ".\n",
1115 "signature: %#" B_PRIx64 ", type offset
1490 off_t offset; local
1573 uint64 offset = unit->IsDwarf64() local
1683 uint64 offset = unit->IsDwarf64() local
1747 uint64 offset = unit->IsDwarf64() local
1945 target_addr_t offset = unit->IsDwarf64() local
1964 target_addr_t offset = unit->IsDwarf64() local
2023 off_t offset = unit->UnitEntry()->StatementListOffset(); local
2629 uint64 offset = dataReader.ReadUnsignedLEB128(0); local
2713 uint64 offset = dataReader.ReadUnsignedLEB128(0); local
2787 uint64 offset = dataReader.ReadUnsignedLEB128(0); local
2811 uint64 offset = dataReader.ReadUnsignedLEB128(0); local
2853 int64 offset = dataReader.ReadSignedLEB128(0); local
2867 int64 offset = dataReader.ReadSignedLEB128(0); local
2878 int64 offset = dataReader.ReadSignedLEB128(0); local
2894 uint64 offset = dataReader.ReadUnsignedLEB128(0); local
2908 int64 offset = dataReader.ReadSignedLEB128(0); local
2972 int64 offset = dataReader.ReadSignedLEB128(0); local
3074 _GetAbbreviationTable(off_t offset, AbbreviationTable*& _table) argument
3105 _ResolveReference(BaseUnit* unit, uint64 offset, uint8 refType) const argument
3162 _FindLocationExpression(CompilationUnit* unit, uint64 offset, target_addr_t address, const void*& _expression, off_t& _length) const argument
3375 _GetContainingFDEInfo(target_addr_t offset, const FDEInfoList& infoList) const argument
[all...]
/haiku/src/libs/x86emu/
H A Ddebug.c261 int offset; local
280 offset = M.x86.saved_ip;
287 disassemble_forward(M.x86.saved_cs, (u16) offset, 10);
292 offset = ps[1];
293 X86EMU_dump_memory(segment, (u16) offset, 16);
294 offset += 16;
298 offset = ps[2];
299 X86EMU_dump_memory(segment, (u16) offset, 16);
300 offset += 16;
304 X86EMU_dump_memory(segment, (u16) offset, 1
[all...]
/haiku/src/bin/bfs_tools/lib/
H A Ddump.cpp87 off_t offset = 0; local
95 snprintf(buffer, sizeof(buffer), " %16" B_PRIdOFF, offset);
101 offset += stream->direct[i].length * inode->inode_size;
267 off_t offset = *value & 0x3fffffffffffffffLL; local
268 Print(" (%d bytes) -> %" B_PRIdOFF,length,offset);
270 block_run run = disk->ToBlockRun(offset);
321 for (uint32 offset = start; offset < start + kBlockSize;
322 offset += valueSize) {
324 Print("%s%" B_PRIdOFF, offset
[all...]
/haiku/src/system/kernel/device_manager/
H A DIORequest.cpp383 // We iterate through the vecs we have read, moving offset (the device
384 // offset) as we go. If [offset, offset + vec.length) intersects with
386 off_t offset = fOffset; local
395 if (offset < startOffset) {
396 // If the complete vector is before the start offset, skip it.
397 if (offset + (off_t)length <= startOffset) {
398 offset += length;
402 // The vector starts before the start offset, bu
465 off_t offset = fOffset; local
535 SetOriginalRange(off_t offset, generic_size_t length) argument
543 SetRange(off_t offset, generic_size_t length) argument
764 Init(off_t offset, generic_addr_t buffer, generic_size_t length, bool write, uint32 flags) argument
777 Init(off_t offset, generic_size_t firstVecOffset, generic_size_t lastVecSize, const generic_io_vec* vecs, size_t count, generic_size_t length, bool write, uint32 flags) argument
816 CreateSubRequest(off_t parentOffset, off_t offset, generic_size_t length, IORequest*& _subRequest) argument
1197 CopyData(off_t offset, void* buffer, size_t size) argument
1204 CopyData(const void* buffer, off_t offset, size_t size) argument
1211 ClearData(off_t offset, generic_size_t size) argument
1265 _CopyData(void* _buffer, off_t offset, size_t size, bool copyIn) argument
[all...]
/haiku/headers/os/translation/
H A DBitmapStream.h23 virtual ssize_t ReadAt(off_t offset, void* buffer, size_t size);
24 virtual ssize_t WriteAt(off_t offset, const void* buffer,
/haiku/headers/private/kernel/boot/
H A DFileMapDisk.h20 off_t offset; member in struct:file_map_run
37 void AddRun(off_t offset, off_t block, off_t len);
/haiku/src/add-ons/disk_systems/intel/
H A DExtendedPartitionAddOn.h55 virtual status_t ValidateCreateChild(off_t* offset,
58 virtual status_t CreateChild(off_t offset, off_t size,
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Dio.c81 uint8 size, offset = 0; local
88 offset = (reg >> 16) & 0x1f;
89 mask = ((1 << size) - 1) << offset;
92 ptr = (pci->read_io_32(config->nabmbar + EMU_DATA) & mask) >> offset;
101 uint8 size, offset; local
108 offset = (reg >> 16) & 0x1f;
109 mask = ((1 << size) - 1) << offset;
110 data = ((data << offset) & mask) |
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DI2CPort.cpp158 for (int offset = 0; offset < length; offset++)
159 fRadeon.SetRegister(C_RADEON_I2C_DATA, buffer[offset]);
226 for (int offset = 0; offset < length; offset++) {
228 buffer[offset] = fRadeon.Register(C_RADEON_I2C_DATA) & 0xff;

Completed in 143 milliseconds

<<11121314151617181920>>