Home
last modified time | relevance | path

Searched refs:startOffset (Results 1 – 25 of 25) sorted by relevance

/haiku/src/apps/aboutsystem/
H A DHyperTextView.cpp30 HyperTextAction::MouseOver(HyperTextView* view, BPoint where, int32 startOffset, in MouseOver() argument
39 view->SetFontAndColor(startOffset, endOffset, &font, B_FONT_FACE); in MouseOver()
44 HyperTextAction::MouseAway(HyperTextView* view, BPoint where, int32 startOffset, in MouseAway() argument
53 view->SetFontAndColor(startOffset, endOffset, &font, B_FONT_FACE); in MouseAway()
67 ActionInfo(int32 startOffset, int32 endOffset, HyperTextAction* action) in ActionInfo()
69 startOffset(startOffset), in ActionInfo()
82 return a->startOffset - b->startOffset; in Compare()
88 if (a->startOffset < b->endOffset && b->startOffset < a->endOffset) in CompareEqualIfIntersecting()
90 return a->startOffset - b->startOffset; in CompareEqualIfIntersecting()
93 int32 startOffset; member
[all …]
H A DHyperTextView.h24 int32 startOffset, int32 endOffset,
27 int32 startOffset, int32 endOffset,
50 void AddHyperTextAction(int32 startOffset,
/haiku/src/tools/fs_shell/
H A Dpartition_support.cpp28 FileRestriction(fssh_dev_t device, fssh_ino_t node, fssh_off_t startOffset, in FileRestriction()
33 startOffset(startOffset), in FileRestriction()
40 fssh_off_t startOffset; member
76 add_file_restriction(const char* fileName, fssh_off_t startOffset, in add_file_restriction() argument
93 restriction = new FileRestriction(device, node, startOffset, endOffset); in add_file_restriction()
105 lseek(fd, restriction->startOffset, SEEK_SET); in restricted_file_opened()
133 pos += restriction->startOffset; in restricted_file_restrict_io()
135 if (pos < restriction->startOffset || pos > restriction->endOffset) { in restricted_file_restrict_io()
156 st->fssh_st_size = restriction->endOffset - restriction->startOffset; in restricted_file_restrict_stat()
201 pos = restriction->startOffset + offset; in fssh_lseek()
[all …]
H A Dpartition_support.h15 void add_file_restriction(const char* fileName, fssh_off_t startOffset,
H A Dfssh.cpp1689 fssh_off_t startOffset = 0; in main() local
1705 startOffset = atoll(argv[argi++]); in main()
1754 if (startOffset != 0 || endOffset != -1) in main()
1755 add_file_restriction(device, startOffset, endOffset); in main()
/haiku/headers/os/interface/
H A DTextView.h110 void Delete(int32 startOffset, int32 endOffset);
130 virtual void Select(int32 startOffset, int32 endOffset);
137 void SetFontAndColor(int32 startOffset,
148 void SetRunArray(int32 startOffset, int32 endOffset,
150 text_run_array* RunArray(int32 startOffset, int32 endOffset,
170 void GetTextRegion(int32 startOffset,
176 void Highlight(int32 startOffset, int32 endOffset);
326 const int32& startOffset,
331 int32 startOffset = -1,
371 void _SetRunArray(int32 startOffset, int32 endOffset,
/haiku/src/kits/interface/
H A DTextView.cpp1260 BTextView::Delete(int32 startOffset, int32 endOffset) in Delete() argument
1265 if (startOffset < 0) in Delete()
1266 startOffset = 0; in Delete()
1267 else if (startOffset > fText->Length()) in Delete()
1268 startOffset = fText->Length(); in Delete()
1276 if (startOffset == endOffset) in Delete()
1288 DeleteText(startOffset, endOffset); in Delete()
1292 fCaretOffset -= (endOffset - startOffset); in Delete()
1293 else if (fCaretOffset >= startOffset && fCaretOffset < endOffset) in Delete()
1294 fCaretOffset = startOffset; in Delete()
[all …]
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DIterators.h155 uint64 startOffset = 0);
158 uint64 startOffset = 0);
187 uint64 startOffset = 0, bool fixedHash = false);
190 uint64 startOffset = 0, bool fixedHash = false);
H A DIterators.cpp829 uint32 objectID, uint64 startOffset) in ObjectItemIterator() argument
833 fOffset(startOffset), in ObjectItemIterator()
854 uint64 startOffset) in SetTo() argument
859 fOffset = startOffset; in SetTo()
1058 uint64 startOffset, bool fixedHash) in DirEntryIterator() argument
1059 : fItemIterator(tree, dirID, objectID, startOffset), in DirEntryIterator()
1085 uint64 startOffset, bool fixedHash) in SetTo() argument
1088 status_t error = fItemIterator.SetTo(tree, dirID, objectID, startOffset); in SetTo()
H A Dkernel_interface.cpp450 uint64 startOffset = 0, bool fixedHash = false) in DirectoryCookie() argument
451 : DirEntryIterator(tree, dirID, objectID, startOffset, in DirectoryCookie()
/haiku/src/kits/package/hpkg/
H A DPackageFileHeapWriter.cpp602 PackageFileHeapWriter::_PushChunks(ChunkBuffer& chunkBuffer, uint64 startOffset, in _PushChunks() argument
610 ssize_t chunkIndex = startOffset / kChunkSize; in _PushChunks()
613 while (startOffset < endOffset) { in _PushChunks()
616 uint32 inChunkOffset = uint32(startOffset - uncompressedChunkOffset); in _PushChunks()
626 endOffset - startOffset)); in _PushChunks()
634 startOffset += toKeepSize; in _PushChunks()
H A DRepositoryWriterImpl.cpp478 uint64 startOffset = fHeapWriter->UncompressedHeapSize(); in _WritePackageAttributes() local
484 uint64 sectionSize = fHeapWriter->UncompressedHeapSize() - startOffset; in _WritePackageAttributes()
H A DWriterImplBase.cpp688 uint64 startOffset = fHeapWriter->UncompressedHeapSize(); in WritePackageAttributes() local
691 = fHeapWriter->UncompressedHeapSize() - startOffset; in WritePackageAttributes()
H A DPackageWriterImpl.cpp1328 uint64 startOffset = fHeapWriter->UncompressedHeapSize(); in _WriteTOC() local
1342 uint64 tocSize = endOffset - startOffset; in _WriteTOC()
1380 off_t startOffset = fHeapWriter->UncompressedHeapSize(); in _WritePackageAttributes() local
1387 uint32 attributesLength = fHeapWriter->UncompressedHeapSize() - startOffset; in _WritePackageAttributes()
/haiku/src/bin/makebootable/platform/bios_ia32/
H A Dmakebootable.cpp314 off_t startOffset = 0; in main() local
328 startOffset = strtoll(argv[argi++], NULL, 0); in main()
627 "...\n", fileName, partitionOffset, startOffset); in main()
629 write_boot_code_part(fileName, fd, startOffset, bootCodeData, 0, in main()
631 write_boot_code_part(fileName, fd, startOffset, bootCodeData, in main()
/haiku/src/system/kernel/messaging/
H A DMessagingService.cpp152 int32 startOffset = sizeof(messaging_area_header); in AllocateCommand() local
158 commandOffset = startOffset; in AllocateCommand()
185 if (size > firstCommandOffset - startOffset) in AllocateCommand()
187 commandOffset = startOffset; in AllocateCommand()
/haiku/headers/private/package/hpkg/
H A DPackageFileHeapWriter.h81 uint64 startOffset, uint64 endOffset);
/haiku/src/bin/bfs_tools/
H A Drecover.cpp750 off_t startOffset = 0, endOffset = -1; in main() local
770 startOffset = atoll(arg); in main()
778 if (endOffset != -1 && endOffset < startOffset) in main()
800 Disk disk(argv[0], gRawMode, startOffset, endOffset); in main()
/haiku/src/kits/interface/textview_support/
H A DStyleBuffer.h127 STEStyleRange* GetStyleRange(int32 startOffset,
H A DStyleBuffer.cpp376 BTextView::StyleBuffer::GetStyleRange(int32 startOffset, int32 endOffset) const in GetStyleRange() argument
378 int32 startIndex = OffsetToRun(startOffset); in GetStyleRange()
392 run->offset -= startOffset; in GetStyleRange()
/haiku/build/jam/
H A DMiscRules336 local startOffset ;
377 startOffset = --start-offset 65536 ;
443 local commandLine = :<build>bfs_shell $(startOffset)
/haiku/docs/user/interface/
H A DTextView.dox610 \fn void BTextView::Delete(int32 startOffset, int32 endOffset)
613 \param startOffset The offset where the text to delete starts.
800 \fn void BTextView::Select(int32 startOffset, int32 endOffset)
803 \param startOffset The offset where the text to select starts.
836 \fn text_run_array* BTextView::RunArray(int32 startOffset, int32 endOffset,
843 \param startOffset The text start offset.
987 \fn void BTextView::Highlight(int32 startOffset, int32 endOffset)
990 \param startOffset The start offset of the text to highlight.
/haiku/src/system/kernel/device_manager/
H A DIORequest.cpp388 const off_t startOffset = fOriginalOffset; in Finish() local
396 if (offset < startOffset) { in Finish()
398 if (offset + (off_t)length <= startOffset) { in Finish()
405 generic_size_t diff = startOffset - offset; in Finish()
/haiku/src/apps/mail/
H A DContent.cpp2116 int32 startOffset = OffsetAt(i); in AddAsContent() local
2118 startOffset++; in AddAsContent()
2122 int32 lineLength = endOffset - startOffset; in AddAsContent()
2125 if (nextUrlAt >= startOffset && nextUrlAt < endOffset in AddAsContent()
2138 lineLength = endOffset - startOffset; in AddAsContent()
2150 CopyQuotes(text + startOffset, lineLength, buffer + strlen(buffer), quoteLength); in AddAsContent()
2169 memcpy(content + contentLength, text + startOffset, lineLength); in AddAsContent()
2179 CopyQuotes(text + startOffset, lineLength, content + contentLength, quoteLength); in AddAsContent()
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A Dwrite_support.cpp633 fc_fill_partitionable_spaces_buffer fillBuffer, off_t startOffset, in get_partitionable_spaces() argument
647 off_t offset = startOffset + headerSize; in get_partitionable_spaces()