Searched refs:offset (Results 476 - 500 of 1236) sorted by relevance

<<11121314151617181920>>

/haiku/src/libs/libfdt/
H A Dfdt_rw.c125 * @return offset of string in the string table (whether found or added)
337 int offset, nextoffset; local
345 offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen);
346 if (offset >= 0)
348 else if (offset != -FDT_ERR_NOTFOUND)
349 return offset;
357 offset = nextoffset;
358 tag = fdt_next_tag(fdt, offset, &nextoffset);
361 nh = fdt_offset_ptr_w_(fdt, offset);
374 return offset;
[all...]
/haiku/src/kits/storage/
H A DCopyEngine.cpp341 off_t offset = 0; local
344 ssize_t bytesRead = source.ReadAt(offset, fBuffer, fBufferSize);
355 ssize_t bytesWritten = destination.WriteAt(offset, fBuffer, bytesRead);
368 offset += bytesRead;
410 off_t offset = 0; local
421 offset, fBuffer, toRead);
432 if (bytesRead == 0 && offset > 0)
437 attrInfo.type, offset, fBuffer, bytesRead);
449 offset += bytesRead;
/haiku/src/add-ons/accelerants/radeon/
H A Dtheatre_out.c21 // mapping of offset in impactv_regs to register address
24 uint16 offset; // offset in impactv_regs member in struct:register_mapping
109 for( ; mapping->address != 0 || mapping->offset != 0; ++mapping ) {
111 *(uint32 *)((char *)(values) + mapping->offset) );
114 *(uint32 *)((char *)(values) + mapping->offset) );*/
223 for( ; mapping->address != 0 || mapping->offset != 0; ++mapping ) {
225 (uint32 *)((char *)(values) + mapping->offset) );
228 *(uint32 *)((char *)(values) + mapping->offset) );*/
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DWorkQueue.cpp154 uint64 offset = io_request_offset(args->fRequest); local
167 if (offset + length > args->fInode->MaxFileSize())
168 length = args->fInode->MaxFileSize() - offset;
181 offset + position + size, buffer + size, &bytesWritten);
197 offset + position + size, buffer + size, &bytesRead, &eof);
/haiku/headers/os/interface/
H A DRect.h51 void OffsetTo(BPoint offset);
59 BRect& OffsetBySelf(BPoint offset);
61 BRect OffsetByCopy(BPoint offset) const;
63 BRect& OffsetToSelf(BPoint offset);
65 BRect OffsetToCopy(BPoint offset) const;
/haiku/src/apps/mail/
H A DContent.h161 virtual void InsertText(const char *text, int32 length, int32 offset,
174 void FindSpellBoundry(int32 length, int32 offset, int32 *start,
203 void UpdateSpellMarks(int32 offset, int32 length);
210 int32 LineStart(int32 offset);
211 int32 PreviousByte(int32 offset) const;
/haiku/src/servers/app/drawing/Painter/
H A DTransformable.cpp278 Transformable::TranslateBy(BPoint offset) argument
280 if (offset.x != 0.0 || offset.y != 0.0) {
281 multiply(agg::trans_affine_translation(offset.x, offset.y));
/haiku/src/system/kernel/arch/m68k/
H A Darch_real_time_clock.cpp211 arch_rtc_set_system_time_offset(struct real_time_data *data, bigtime_t offset) argument
217 data->arch_data.data[version % 2].system_time_offset = offset;
229 bigtime_t offset; local
232 offset = data->arch_data.data[version % 2].system_time_offset;
235 return offset;
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_crtc2.c272 uint32 offset; local
274 LOG(4,("CRTC2: setting card pitch (offset between lines)\n"));
276 /* figure out offset value hardware needs */
277 offset = si->fbc.bytes_per_row;
282 offset *= 2;
287 LOG(2,("CRTC2: offset set to %d bytes\n", offset));
290 CR2W(OFFSET,offset);
/haiku/src/apps/mediaplayer/interface/
H A DTransportControlGroup.cpp795 add_bow(BShape* shape, float offset, float size, float height, float step) argument
803 shape->MoveTo(BPoint(offset, height / 2 + size));
806 BPoint(offset + outerControlWidth, height / 2 + size),
807 BPoint(offset + width, height / 2 + outerControlHeight),
808 BPoint(offset + width, height / 2)
812 BPoint(offset + width, height / 2 - outerControlHeight),
813 BPoint(offset + outerControlWidth, height / 2 - size),
814 BPoint(offset, height / 2 - size)
818 BPoint(offset + innerControlWidth, height / 2 - size),
819 BPoint(offset
854 float offset = magnetWidth + chassieWidth + step * 2; local
[all...]
/haiku/src/add-ons/kernel/file_systems/exfat/
H A DVolume.cpp301 Volume::GetIno(cluster_t cluster, uint32 offset, ino_t parent) argument
305 key.offset = offset;
310 TRACE("Volume::GetIno() cached cluster %" B_PRIu32 " offset %" B_PRIu32
311 " ino %" B_PRIdINO "\n", cluster, offset, node->ino);
320 TRACE("Volume::GetIno() new cluster %" B_PRIu32 " offset %" B_PRIu32
321 " ino %" B_PRIdINO "\n", cluster, offset, node->ino);
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_82543.c50 static s32 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset,
52 static s32 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset,
65 static void e1000_write_vfta_82543(struct e1000_hw *hw, u32 offset,
483 * @offset: register offset to be read
486 * Reads the PHY at offset and stores the information read to data.
488 static s32 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset, u16 *data) argument
495 if (offset > MAX_PHY_REG_ADDRESS) {
496 DEBUGOUT1("PHY Address %d is out of range\n", offset);
520 mdic = (offset | (h
544 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset, u16 data) argument
1458 e1000_write_vfta_82543(struct e1000_hw *hw, u32 offset, u32 value) argument
1573 u16 offset, nvm_data, i; local
[all...]
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DSettings.cpp228 off_t offset, off_t size)
231 offset, size));
236 if (_GetParameterValue(parameter, "offset", offset + 1, offset + 1)
237 == offset
227 _FindVolumeParameter(const driver_settings *settings, off_t offset, off_t size) argument
/haiku/src/system/boot/platform/efi/arch/x86/
H A Darch_mmu.cpp174 for (addr_t offset = 0; offset < size; offset += B_PAGE_SIZE) {
175 map_page(virtAddr + offset, physAddr + offset, flags);
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DBPlusTree.cpp152 off_t offset = (pos - 1) * KeySize(); local
155 return (TreeKey*) (base + offset);
160 TreeDirectory::SearchOffsetInTreeNode(uint32 offset, argument
171 if (B_BENDIAN_TO_HOST_INT64(*offsetKey) <= offset) {
187 TreeDirectory::SearchAndFillPath(uint32 offset, int type) argument
203 if (B_BENDIAN_TO_HOST_INT64(*offsetKey) <= offset) {
224 status = SearchOffsetInTreeNode(offset, &ptrToNode, i);
270 status = SearchOffsetInTreeNode(offset, &ptrToNode, i);
312 uint32 offset = fInode->SizeOfLongBlock(); local
317 *(uint64*)(leafBuffer + offset);
588 off_t offset = num * EXTENT_SIZE; local
592 off_t offset = num * EXTENT_SIZE; local
753 uint32 offset = BLOCKOFFSET_FROM_ADDRESS(address * 8, fInode); local
[all...]
/haiku/src/system/kernel/util/
H A Dlist.cpp13 - list->offset); &pointer; })
15 + list->offset); &pointer; })
20 /** Initializes the list with a specified offset to the link
25 list_init_etc(struct list *list, int32 offset) argument
28 list->offset = offset;
/haiku/src/libs/icon/transformable/
H A DTransformable.cpp252 Transformable::TranslateBy(BPoint offset) argument
254 if (offset.x != 0.0 || offset.y != 0.0) {
255 multiply(agg::trans_affine_translation(offset.x, offset.y));
/haiku/src/add-ons/kernel/busses/pci/designware/
H A DDWPCIController.h46 uint32 offset: 8; member in struct:PciAddress::__anon7
57 uint32 offset: 12; member in struct:PciAddressEcam::__anon8
196 uint16 offset, uint8 size, uint32 &value);
200 uint16 offset, uint8 size, uint32 value);
218 inline addr_t ConfigAddress(uint8 bus, uint8 device, uint8 function, uint16 offset);
/haiku/src/kits/interface/
H A DTabView.cpp246 float offset = IsSelected() ? 3 : 2; local
250 frame.bottom - offset),
252 frame.bottom - offset));
256 frame.top + offset),
258 frame.top + offset));
261 owner->StrokeLine(BPoint(frame.right - offset,
263 BPoint(frame.right - offset,
267 owner->StrokeLine(BPoint(frame.left + offset,
269 BPoint(frame.left + offset,
997 const float offset local
[all...]
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp314 offset = _offset;
319 return line == other.line && offset == other.offset;
323 int32 offset; member in struct:SourceView::TextView::SelectionPoint
343 int32 offset) const;
1311 fSelectionStart.offset = 0;
1313 fSelectionEnd.offset = fSourceCode->LineLengthAt(
1443 } else if (point.offset > fSelectionBase.offset) {
1565 // set new starting offset t
1617 int32 offset = -1; local
[all...]
/haiku/src/kits/support/
H A DString.cpp1076 BString::CompareAt(size_t offset, const BString& string, int32 length) const argument
1078 return strncmp(String() + offset, string.String(), length);
1470 int32 offset = Length() - length; local
1471 if (offset < 0)
1474 return memcmp(String() + offset, string, length) == 0;
1495 int32 offset = Length() - length; local
1496 if (offset < 0)
1499 return _IFindBefore(string, Length(), length) == offset;
1796 int32 offset = 0;
1799 pos = strcspn(fPrivateData + offset, setOfByte
1912 int32 offset = UTF8CountBytes(fPrivateData, charIndex); local
2413 _OpenAtBy(int32 offset, int32 length) argument
2427 _ShrinkAtBy(int32 offset, int32 length) argument
2493 _DoInsert(const char* string, int32 offset, int32 length) argument
2520 _FindAfter(const char* string, int32 offset, int32 length) const argument
2532 _IFindAfter(const char* string, int32 offset, int32 length) const argument
2544 _FindBefore(const char* string, int32 offset, int32 length) const argument
2560 _IFindBefore(const char* string, int32 offset, int32 length) const argument
[all...]
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/
H A Dram_disk.cpp417 for (off_t offset = 0; offset < fDeviceSize;) {
418 // find the first modified page at or after the current offset
420 = fCache->pages.GetIterator(offset / B_PAGE_SIZE, true, true);
437 offset = firstPageIndex * B_PAGE_SIZE;
494 pagesToWrite * B_PAGE_SIZE, offset);
523 offset += pagesToWrite * B_PAGE_SIZE;
544 uint64 offset = trimData->ranges[i].offset; local
547 if (offset >
555 uint64 offset = trimData->ranges[i].offset; local
628 off_t offset = operation->Offset(); local
675 _GetPages(off_t offset, off_t length, bool isWrite, vm_page** pages) argument
728 _PutPages(off_t offset, off_t length, vm_page** pages, bool success) argument
838 off_t offset = 0; local
[all...]
/haiku/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp229 int32 offset = blockAddress - dataSource; local
231 if (fEditedOffsets.count(offset + i) != 0) {
574 int32 offset = _GetOffsetAt(point); local
575 if (offset < fSelectionStart || offset > fSelectionEnd) {
578 fSelectionBase = offset;
597 int32 offset = _GetOffsetAt(point); local
598 if (offset < fSelectionBase) {
599 fSelectionStart = offset;
603 fSelectionEnd = offset;
641 target_addr_t offset = fTargetAddress - fTargetBlock->BaseAddress(); local
1053 int32 offset = _GetOffsetAt(point); local
[all...]
/haiku/headers/private/kernel/disk_device_manager/
H A Dddm_modules.h86 status_t (*move)(int fd, partition_id partition, off_t offset,
89 off_t offset, disk_job_id job);
104 status_t (*create_child)(int fd, partition_id partition, off_t offset,
/haiku/src/tests/add-ons/kernel/file_systems/bfs/fragmenter/
H A Dfragmenter.cpp65 fprintf(stderr, "Error: Failed to read %lu bytes at offset %lld\n",
77 fprintf(stderr, "Error: Failed to write %lu bytes at offset %lld\n",
190 off_t offset = i * blockSize; local
191 read_from(fd, offset, block, blockSize);
204 write_to(fd, offset, block, blockSize);

Completed in 200 milliseconds

<<11121314151617181920>>