Searched refs:offset (Results 451 - 475 of 1236) sorted by relevance

<<11121314151617181920>>

/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A DCP_setup.c44 #define ALLOC_MEM( asize, mem_type, aglobal, handle, offset ) \
56 *(offset) = am.offset; \
60 ((uint32 *)(ai->mapped_memory[(mem).memory_type].data + (mem).offset))
62 #define MEM2GC( mem ) ((mem).offset + si->memory[(mem).memory_type].virtual_addr_start)
70 fm.handle = offset; \
81 #define ALLOC_MEM( asize, mem_type, aglobal, handle, offset ) \
84 res = mem_alloc( di->memmgr[mem_type], asize, NULL, handle, offset );
88 #define MEM2CPU( memory_type, offset ) \
91 + (offset))
327 int32 offset; local
394 int32 offset; local
445 int32 offset; local
[all...]
/haiku/src/libs/udis86/
H A Ddecode.c376 * decode_a()- Decodes operands of the type seg:offset
497 op->offset = 8;
501 op->offset = 16;
505 op->offset = 32;
509 op->offset = 64;
548 size_t offset = 0; local
573 offset = 8;
575 offset = 32;
578 offset = 32;
580 offset
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_80003es2lan.c47 u32 offset,
50 u32 offset,
52 static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset,
66 static s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
68 static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
396 * @offset: offset of the register to read
402 u32 offset, u16 *data)
415 if ((offset & MAX_PHY_REG_ADDRESS) < GG82563_MIN_ALT_REG) {
424 temp = (u16)((u16)offset >> GG82563_PAGE_SHIF
401 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument
472 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument
544 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
1308 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument
1345 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument
[all...]
/haiku/src/system/boot/platform/bios_ia32/
H A Ddevices.cpp41 uint16 offset; member in struct:real_addr
351 && parameters.device_table.offset == 0xffff)
355 parameters.device_table.offset);
391 compute_check_sum(BIOSDrive *drive, off_t offset) argument
394 ssize_t bytesRead = drive->ReadAt(NULL, offset, buffer, sizeof(buffer));
494 off_t offset = get_next_check_sum_offset(index, minSize); local
502 disk.device.unknown.check_sums[i].offset = offset;
503 disk.device.unknown.check_sums[i].sum = compute_check_sum(drive, offset);
505 TRACE(("disk %x, offset
629 uint32 offset = pos % fBlockSize; local
884 off_t offset = (off_t)gBootPartitionOffset * drive->BlockSize(); local
[all...]
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregex_internal.c566 int offset = idx - pstr->raw_mbs_idx;
567 if (BE (offset < 0, 0))
584 offset = idx;
587 if (BE (offset != 0, 1))
590 if (BE (offset < pstr->valid_raw_len, 1))
600 if (pstr->offsets[mid] > offset)
602 else if (pstr->offsets[mid] < offset)
608 if (pstr->offsets[mid] < offset)
615 case is present at or after offset. */
616 if (pstr->valid_len > offset
565 int offset = idx - pstr->raw_mbs_idx; local
[all...]
/haiku/src/tools/
H A Dset_haiku_revision.cpp311 off_t offset; member in struct:SectionInfo
386 //printf("section %3d: offset: %7d, size: %7d, name: %s\n", i, info.offset, info.size, info.name);
570 // section header table offset and entry count/size
575 "header table offset: %llu.",
605 Read(info.offset, fSectionHeaderStrings, info.size,
627 off_t offset = GetValue(sectionHeader.sh_offset); local
638 if (offset < (off_t)fELFHeaderSize || offset > fFileSize) {
640 "invalid section offset
[all...]
/haiku/headers/libs/libfdt/
H A Dlibfdt.h35 * offset which is out-of-bounds, or which points to an
120 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int checklen);
122 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) argument
124 return (void *)(uintptr_t)fdt_offset_ptr(fdt, offset, checklen);
127 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
193 int fdt_next_node(const void *fdt, int offset, int *depth);
196 * fdt_first_subnode() - get offset of first direct subnode
198 * @offset: Offset of node to check
200 * Return: offset of first subnode, or -FDT_ERR_NOTFOUND if there is none
202 int fdt_first_subnode(const void *fdt, int offset);
[all...]
/haiku/src/tools/gensyscalls/
H A Dgensyscalls.cpp68 int size, int usedSize, int offset, const char* alignmentTypeName)
72 fOffset(offset)
153 int size, int usedSize, int offset, const char* alignmentTypeName)
156 usedSize, offset, alignmentTypeName);
164 // compute offset
165 int offset = 0; local
167 offset = previous->Offset() + previous->UsedSize();
172 if ((offset % kLongParameterAlignmentSize) != 0) {
173 offset += kLongParameterAlignmentSize
174 - offset
67 Parameter(const char* typeName, const char* parameterName, int size, int usedSize, int offset, const char* alignmentTypeName) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Demulation.cpp25 static bool copy_sg_data(scsi_ccb *request, uint offset, uint allocation_length,
456 offset - offset of data in request
465 copy_sg_data(scsi_ccb *request, uint offset, uint allocation_length, argument
472 SHOW_FLOW(3, "offset=%u, req_size_limit=%d, size=%d, sg_list=%p, sg_count=%d, %s buffer",
473 offset, allocation_length, size, sg_list, sg_count, to_buffer ? "to" : "from");
476 while (sg_count > 0 && offset >= sg_list->size) {
477 offset -= sg_list->size;
486 req_size = min_c(allocation_length, request->data_length) - offset;
496 B_PRIuSIZE ", to_buffer = %d", buffer, sg_list->address + offset,
[all...]
/haiku/src/bin/bfs_tools/
H A Dchkindex.cpp149 off_t offset; local
151 while (tree.GetNextEntry(name,&length,B_FILE_NAME_LENGTH,&offset) == B_OK)
154 block_run run = disk.ToBlockRun(offset);
157 printf(" inode at (%ld, %d), offset %lld, doesn't exist!",run.allocation_group,run.start,offset);
294 off_t offset,searchOffset = disk.ToBlock(runs[i]); local
297 while (parentTree->GetNextEntry(name,&length,B_FILE_NAME_LENGTH,&offset) == B_OK)
299 if (offset == searchOffset)
325 fprintf(stderr," offset in index and inode offset does
332 off_t offset; local
[all...]
/haiku/src/system/libroot/posix/malloc_hoard2/
H A Dwrapper.cpp57 char* buffer, size_t bufferSize, int32& offset)
59 offset = -1;
81 if (offset == -1 || offset > newOffset) {
89 offset = newOffset;
98 return offset != -1 ? B_OK : B_ENTRY_NOT_FOUND;
111 int32 offset; local
113 name, sizeof(name), offset) != B_OK) {
115 offset = 0;
118 printf(": %p (%s:%s+0x%lx)", b->getCallStack(i), image, name, offset);
56 get_symbol_for_address(void* address, char *imageBuffer, size_t imageBufferSize, char* buffer, size_t bufferSize, int32& offset) argument
[all...]
/haiku/src/system/libroot/os/arch/arm/
H A Dstdatomic.c398 * in 32-bit words at an offset corresponding with the location of the
405 size_t offset; local
407 offset = (intptr_t)offset_ptr & 3;
408 r->v8[offset] = val;
414 size_t offset; local
416 offset = (intptr_t)offset_ptr & 3;
417 return (r->v8[offset]);
423 size_t offset; local
429 offset = (intptr_t)offset_ptr & 3;
431 r->v8[offset]
438 size_t offset; local
[all...]
/haiku/src/tests/servers/app/bitmap_drawing/
H A Dmain.cpp299 BPoint offset = where - fLastMousePos; local
302 fBitmapRect.Set(fBitmapRect.left + offset.x,
303 fBitmapRect.top + offset.y,
310 fBitmapRect.right + offset.x,
311 fBitmapRect.bottom + offset.y);
314 fBitmapRect.Set(fBitmapRect.left + offset.x,
317 fBitmapRect.bottom + offset.y);
321 fBitmapRect.top + offset.y,
322 fBitmapRect.right + offset.x,
326 fBitmapRect.Set(fBitmapRect.left + offset
[all...]
/haiku/src/kits/translation/
H A DTranslationUtils.cpp373 uint32 offset = header.header.header_size + header.header.data_size;
375 if (mallocIO.BufferLength() < offset + kTextHeaderSize)
379 *(const TranslatorStyledTextTextHeader *)(buffer + offset);
388 offset += textHeader.header.header_size;
389 if (mallocIO.BufferLength() < offset + textHeader.header.data_size) {
391 textHeader.header.data_size = mallocIO.BufferLength() - offset;
394 const char* text = (const char*)buffer + offset;
398 if (mallocIO.BufferLength() > offset + textHeader.header.data_size) {
402 offset += textHeader.header.data_size;
405 if (mallocIO.BufferLength() >= offset
[all...]
/haiku/src/build/libroot/
H A Dfs_descriptors.cpp356 AttributeDescriptor::Write(off_t offset, const void* buffer, size_t bufferSize) argument
358 if (offset < 0)
367 size_t minSize = (size_t)offset + bufferSize;
373 if ((size_t)offset > fDataSize)
374 memset(data + offset, 0, offset - fDataSize);
384 memcpy((uint8*)fData + offset, buffer, bufferSize);
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DPhysicalMemoryAllocator.cpp195 size_t offset = fBlockSize[arrayToUse] * i; local
196 *logicalAddress = (void *)((uint8 *)fLogicalBase + offset);
197 *physicalAddress = (phys_addr_t)(fPhysicalBase + offset);
251 phys_addr_t offset; local
253 offset = (addr_t)logicalAddress - (addr_t)fLogicalBase;
255 offset = (addr_t)physicalAddress - fPhysicalBase;
261 uint32 index = offset / fBlockSize[arrayToUse];
/haiku/src/preferences/input/
H A DMouseView.cpp179 const int32* offset = getButtonOffsets(fType); local
182 if (_ButtonRect(offset, i).Contains(where)) {
277 const int32* offset = getButtonOffsets(fType); local
279 BRect buttonRect = _ButtonRect(offset, i);
291 FillRect(_ButtonRect(offset, i));
294 BRect border(fScaling * (offset[i] + 1), fScaling * (kButtonTop + 5),
295 fScaling * offset[i + 1] - 1,
/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Ddriver.h148 uint32 offset; /* HDA I/O/B descriptor offset */ member in struct:hda_stream
188 return controller->Read8(HDAC_STREAM_BASE + offset + reg);
193 return controller->Read16(HDAC_STREAM_BASE + offset + reg);
198 return controller->Read32(HDAC_STREAM_BASE + offset + reg);
203 *(controller->regs + HDAC_STREAM_BASE + offset + reg) = value;
208 *(vuint16*)(controller->regs + HDAC_STREAM_BASE + offset + reg) = value;
213 *(vuint32*)(controller->regs + HDAC_STREAM_BASE + offset + reg) = value;
/haiku/src/apps/icon-o-matic/transformable/
H A DPerspectiveBox.cpp375 // find out how to offset the second line optimally
376 BPoint offset(0.0, 0.0);
383 offset.y = -1.0;
385 offset.y = 1.0;
390 offset.x = -1.0;
392 offset.x = 1.0;
397 from += offset;
398 to += offset;
/haiku/src/bin/keymap/
H A DKeymap.cpp335 int offset = 0; local
431 maps[i - 2][keyCode] = offset;
432 _ComputeChars(buffer, regs, i, offset);
438 fKeys.acute_dead_key[acuteOffset++] = offset;
439 _ComputeChars(buffer, regs, i, offset);
444 fKeys.grave_dead_key[graveOffset++] = offset;
445 _ComputeChars(buffer, regs, i, offset);
450 fKeys.circumflex_dead_key[circumflexOffset++] = offset;
451 _ComputeChars(buffer, regs, i, offset);
456 fKeys.dieresis_dead_key[diaeresisOffset++] = offset;
757 GetKey(const char* chars, int32 offset, char* buffer, size_t bufferSize) argument
1049 _ComputeChars(const char* buffer, struct re_registers& regs, int i, int& offset) argument
[all...]
/haiku/src/apps/cortex/TipManager/
H A DTipManagerImpl.cpp561 BPoint offset,
590 offset,
635 BPoint offset,
647 tip_entry e(rect, text, offsetMode, offset, flags);
962 BPoint offset = (entry->offset == TipManager::s_useDefaultOffset) ? local
964 entry->offset;
969 p = m_visibleTipRect.RightTop() + offset;
972 p = m_lastMousePoint + offset;
976 p.x -= offset
557 armTip( const BRect& screenRect, const char* text, TipManager::offset_mode_t offsetMode, BPoint offset, uint32 flags) argument
630 setTip( const BRect& rect, const char* text, BView* view, TipManager::offset_mode_t offsetMode, BPoint offset, uint32 flags) argument
[all...]
/haiku/src/kits/package/hpkg/
H A DPackageFileHeapWriter.cpp36 uint64 offset; member in struct:BPackageKit::BHPKG::BPrivate::PackageFileHeapWriter::Chunk
82 || fChunks.ElementAt(segment.chunkIndex).offset != chunkOffset) {
87 chunk.offset = chunkOffset;
130 return fChunks[fNextReadIndex].offset;
141 status_t error = fWriter->ReadFileData(chunk.offset, chunk.buffer,
341 uint64 writeOffset = ranges[0].offset - ranges[0].offset % kChunkSize;
346 _PushChunks(chunkBuffer, readOffset, range.offset);
347 readOffset = range.offset + range.size;
493 uint64 offset local
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.h121 uint8 CountDuplicates(off_t offset,
123 off_t DuplicateAt(off_t offset, bool isFragment,
190 CachedNode(BPlusTree* tree, off_t offset, bool check = true) argument
201 SetTo(offset, check);
212 const bplustree_node* SetTo(off_t offset, bool check = true);
213 status_t SetTo(off_t offset,
222 off_t offset, bool check = true);
228 status_t Free(Transaction& transaction, off_t offset);
238 off_t offset);
356 void _UpdateIterators(off_t offset, off_
[all...]
/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_general.c167 uint32 value, offset; local
177 for (offset = 0, value = 0x55aa55aa; offset < 256; offset++)
180 ((uint32 *)si->fbc.frame_buffer)[offset] = value;
185 for (offset = 0, value = 0x55aa55aa; offset < 256; offset++)
188 if (((uint32 *)si->fbc.frame_buffer)[offset] != value) result = B_ERROR;
401 /* this register has influence on the CRTC framebuffer offset, s
[all...]
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dgeneral.c118 uint32 value, offset; local
128 for (offset = 0, value = 0x55aa55aa; offset < 256; offset++)
131 ((uint32 *)si->fbc.frame_buffer)[offset] = value;
136 for (offset = 0, value = 0x55aa55aa; offset < 256; offset++)
139 if (((uint32 *)si->fbc.frame_buffer)[offset] != value) result = B_ERROR;

Completed in 302 milliseconds

<<11121314151617181920>>