Searched refs:fromOffset (Results 1 - 25 of 25) sorted by relevance

/haiku/src/apps/cortex/addons/common/
H A DRawBuffer.cpp231 uint32 fromOffset = *pioFromFrame * m_frameSize; local
262 uint32 sourceChunk = size - fromOffset;
269 (int8*)m_pData + fromOffset,
277 fromOffset += sourceChunk;
278 if(fromOffset == size)
279 fromOffset = 0;
288 *pioFromFrame = fromOffset / m_frameSize;
299 uint32 fromOffset,
303 return rawCopyTo(target, &fromOffset, &targetOffset, frames);
297 rawCopyTo( RawBuffer& target, uint32 fromOffset, uint32 targetOffset, uint32 frames) const argument
H A Daudio_buffer_tools.h238 size_t samples, size_t fromOffset, size_t fromLength) {
244 ASSERT(fromOffset < fromLength);
246 size_t n = fromOffset;
264 size_t samples, size_t fromOffset, size_t fromLength) {
270 ASSERT(fromOffset < fromLength);
272 size_t n = fromOffset;
H A DAudioBuffer.cpp204 uint32 fromOffset = *pioFromFrame * m_frameSize; local
226 (void*) ((int8*)m_pData + fromOffset),
231 fromOffset += sampleSize;
232 if(fromOffset == size)
233 fromOffset = 0;
241 *pioFromFrame = fromOffset / m_frameSize;
/haiku/headers/private/interface/
H A DWidthBuffer.h38 int32 fromOffset, int32 length,
41 int32 fromOffset, int32 length,
/haiku/headers/os/support/
H A DString.h77 BString& CopyInto(BString& into, int32 fromOffset,
79 void CopyInto(char* into, int32 fromOffset,
120 BString& Insert(const char* string, int32 fromOffset,
125 BString& Insert(const BString& string, int32 fromOffset,
209 int32 fromOffset) const;
211 int32 fromOffset) const;
213 int32 FindFirst(char c, int32 fromOffset) const;
237 int32 fromOffset) const;
239 int32 fromOffset) const;
268 int32 fromOffset
[all...]
/haiku/src/kits/interface/textview_support/
H A DLineBuffer.cpp39 BTextView::LineBuffer::RemoveLineRange(int32 fromOffset, int32 toOffset) argument
41 int32 fromLine = OffsetToLine(fromOffset);
48 BumpOffset(fromOffset - toOffset, fromLine + 1);
H A DLineBuffer.h33 void RemoveLineRange(int32 fromOffset,
H A DWidthBuffer.cpp89 \param fromOffset The offset in the string where to begin the examination.
95 WidthBuffer::StringWidth(const char* inText, int32 fromOffset, int32 length, argument
111 const char* sourceText = inText + fromOffset;
161 \param fromOffset The offset in the TextGapBuffer where to begin the
168 WidthBuffer::StringWidth(TextGapBuffer &inBuffer, int32 fromOffset, argument
171 const char* text = inBuffer.GetString(fromOffset, &length);
389 const char* inText, int32 fromOffset, int32 length, const BFont* inStyle)
391 return BPrivate::gWidthBuffer->StringWidth(inText, fromOffset, length,
388 StringWidth__14_BWidthBuffer_PCcllPC5BFont(_BWidthBuffer_* widthBuffer, const char* inText, int32 fromOffset, int32 length, const BFont* inStyle) argument
H A DStyleBuffer.cpp273 BTextView::StyleBuffer::SetStyleRange(int32 fromOffset, int32 toOffset, argument
283 if (fromOffset == toOffset) {
284 SetNullStyle(inMode, inFont, inColor, fromOffset);
290 newDesc.offset = fromOffset;
297 int32 offset = fromOffset;
404 BTextView::StyleBuffer::RemoveStyleRange(int32 fromOffset, int32 toOffset) argument
406 int32 fromIndex = fStyleRunDesc.OffsetToRun(fromOffset);
415 fStyleRunDesc.BumpOffset(fromOffset - toOffset, fromIndex + 1);
419 runDesc->offset = fromOffset;
449 BTextView::StyleBuffer::Iterate(int32 fromOffset, int3 argument
550 ContinuousGetStyle(BFont *outFont, uint32* ioMode, rgb_color* outColor, bool* sameColor, int32 fromOffset, int32 toOffset) const argument
[all...]
H A DTextGapBuffer.cpp137 TextGapBuffer::GetString(int32 fromOffset, int32* _numBytes) argument
147 bool isStartBeforeGap = fromOffset < fGapIndex;
148 bool isEndBeforeGap = (fromOffset + numBytes - 1) < fGapIndex;
151 result = fBuffer + fromOffset;
161 fScratchBuffer[i] = RealCharAt(fromOffset + i);
H A DStyleBuffer.h123 void SetStyleRange(int32 fromOffset,
130 void RemoveStyleRange(int32 fromOffset,
134 int32 Iterate(int32 fromOffset, int32 length,
H A DTextGapBuffer.h40 const char* GetString(int32 fromOffset, int32* numBytes);
/haiku/src/kits/support/
H A DString.cpp463 BString::CopyInto(BString& into, int32 fromOffset, int32 length) const argument
466 into.SetTo(fPrivateData + fromOffset, length);
472 BString::CopyInto(char* into, int32 fromOffset, int32 length) const argument
475 length = min_clamp0(length, Length() - fromOffset);
476 memcpy(into, fPrivateData + fromOffset, length);
485 int32 fromOffset = UTF8CountBytes(fPrivateData, fromCharOffset); local
486 int32 length = UTF8CountBytes(fPrivateData + fromOffset, charCount);
487 return CopyInto(into, fromOffset, length);
498 int32 fromOffset = UTF8CountBytes(fPrivateData, fromCharOffset);
499 int32 length = UTF8CountBytes(fPrivateData + fromOffset, charCoun
724 Insert(const char* string, int32 fromOffset, int32 length, int32 position) argument
752 Insert(const BString& string, int32 fromOffset, int32 length, int32 position) argument
796 int32 fromOffset = UTF8CountBytes(string, fromCharOffset); local
822 int32 fromOffset = UTF8CountBytes(string.String(), fromCharOffset); local
866 int32 fromOffset = UTF8CountBytes(fPrivateData, fromCharOffset); local
1527 ReplaceAll(char replaceThis, char withThis, int32 fromOffset) argument
1542 Replace(char replaceThis, char withThis, int32 maxReplaceCount, int32 fromOffset) argument
1605 ReplaceAll(const char* replaceThis, const char* withThis, int32 fromOffset) argument
1620 Replace(const char* replaceThis, const char* withThis, int32 maxReplaceCount, int32 fromOffset) argument
1678 IReplaceAll(char replaceThis, char withThis, int32 fromOffset) argument
1693 IReplace(char replaceThis, char withThis, int32 maxReplaceCount, int32 fromOffset) argument
1757 IReplaceAll(const char* replaceThis, const char* withThis, int32 fromOffset) argument
1772 IReplace(const char* replaceThis, const char* withThis, int32 maxReplaceCount, int32 fromOffset) argument
2643 _DoReplace(const char* findThis, const char* replaceWith, int32 maxReplaceCount, int32 fromOffset, bool ignoreCase) argument
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/
H A DNummericalTextView.h46 virtual void DeleteText(int32 fromOffset,
H A DNummericalTextView.cpp160 NummericalTextView::DeleteText(int32 fromOffset, int32 toOffset) argument
162 InputTextView::DeleteText(fromOffset, toOffset);
/haiku/src/kits/interface/
H A DTextInput.h48 virtual void DeleteText(int32 fromOffset, int32 toOffset);
H A DTextInput.cpp206 _BTextInput_::DeleteText(int32 fromOffset, int32 toOffset) argument
208 BTextView::DeleteText(fromOffset, toOffset);
H A DTextView.cpp3045 BTextView::DeleteText(int32 fromOffset, int32 toOffset) argument
3049 if (fromOffset < 0)
3050 fromOffset = 0;
3051 else if (fromOffset > fText->Length())
3052 fromOffset = fText->Length();
3059 if (fromOffset >= toOffset)
3064 fStyles->SyncNullStyle(fromOffset);
3067 fText->RemoveRange(fromOffset, toOffset);
3070 fLines->RemoveLineRange(fromOffset, toOffset);
3073 fStyles->RemoveStyleRange(fromOffset, toOffse
3783 _Refresh(int32 fromOffset, int32 toOffset, int32 scrollTo) argument
3875 int32 fromOffset = curLine->offset; local
3980 _FindLineBreak(int32 fromOffset, float* _ascent, float* _descent, float* inOutWidth) argument
4302 _StyledWidth(int32 fromOffset, int32 length, float* _ascent, float* _descent) const argument
4390 _DoDeleteText(int32 fromOffset, int32 toOffset) argument
5452 int32 fromOffset = theRun->offset + startOffset; local
5880 _ApplyStyleRange(int32 fromOffset, int32 toOffset, uint32 mode, const BFont* font, const rgb_color* color, bool syncNullStyle) argument
[all...]
/haiku/headers/os/interface/
H A DTextView.h232 virtual void DeleteText(int32 fromOffset, int32 toOffset);
301 void _Refresh(int32 fromOffset, int32 toOffset,
306 int32 _FindLineBreak(int32 fromOffset,
310 float _StyledWidth(int32 fromOffset, int32 length,
322 void _DoDeleteText(int32 fromOffset,
374 void _ApplyStyleRange(int32 fromOffset,
/haiku/src/system/kernel/vm/
H A DVMAnonymousCache.h98 void _FreeSwapPageRange(off_t fromOffset,
H A DVMAnonymousCache.cpp521 VMAnonymousCache::_FreeSwapPageRange(off_t fromOffset, off_t toOffset, argument
526 for (off_t pageIndex = fromOffset >> PAGE_SHIFT;
/haiku/src/apps/mail/
H A DAddressTextControl.cpp66 virtual void DeleteText(int32 fromOffset, int32 toOffset);
363 AddressTextControl::TextView::DeleteText(int32 fromOffset, argument
366 BTextView::DeleteText(fromOffset, toOffset);
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A Dwrite_support.cpp1067 move_block(int fd, off_t fromOffset, off_t toOffset, uint8* buffer, int32 size) argument
1071 if (read_pos(fd, fromOffset, buffer, size) != size) {
1093 move_partition(int fd, off_t fromOffset, off_t toOffset, off_t size, argument
1103 error = move_block(fd, fromOffset, toOffset, buffer, buffer_size);
1106 fromOffset += buffer_size;
1111 error = move_block(fd, fromOffset, toOffset, buffer, remainingSize);
/haiku/src/preferences/filetypes/
H A DApplicationTypeWindow.cpp75 virtual void DeleteText(int32 fromOffset, int32 toOffset);
148 TabFilteringTextView::DeleteText(int32 fromOffset, int32 toOffset) argument
150 BTextView::DeleteText(fromOffset, toOffset);
/haiku/src/apps/webpositive/
H A DURLInputGroup.cpp166 virtual void DeleteText(int32 fromOffset, int32 toOffset);
398 URLInputGroup::URLTextView::DeleteText(int32 fromOffset, int32 toOffset) argument
400 BTextView::DeleteText(fromOffset, toOffset);

Completed in 540 milliseconds