Searched refs:currentPos (Results 1 - 7 of 7) sorted by relevance

/haiku/src/apps/mediaplayer/supplier/
H A DMediaTrackAudioSupplier.cpp554 int64 currentPos = position; local
556 error = _SeekToKeyFrameBackward(currentPos);
557 TRACE("_ReadUncachedFrames() - seeked to position: %lld\n", currentPos);
558 // if (position - currentPos > 100000)
560 // "keyframe was far away: %lld -> %lld\n", position, currentPos);
566 Buffer* cacheBuffer = _FindUsableBufferFor(currentPos);
568 "position: %lld/%lld\n", cacheBuffer, currentPos, position);
569 error = _ReadBuffer(cacheBuffer, currentPos, time);
579 currentPos += cacheBuffer->size;
591 int64 nextKeyFrame = currentPos;
[all...]
/haiku/src/kits/support/
H A DDataIO.cpp286 off_t currentPos = Position();
287 if (currentPos < 0)
288 return (status_t)currentPos;
294 off_t pos = const_cast<BPositionIO*>(this)->Seek(currentPos, SEEK_SET);
296 if (pos != currentPos)
/haiku/src/kits/locale/
H A DFormattingConventions.cpp100 char* currentPos = buffer; local
101 if (currentPos == NULL)
112 for (char* previousPos = currentPos; (ch = BUnicodeChar::FromUTF8(
113 (const char**)&currentPos)) != 0; previousPos = currentPos) {
132 amPmEndPos = currentPos;
/haiku/src/tools/
H A Dset_haiku_revision.cpp441 off_t currentPos = lseek(fFD, 0, SEEK_END); local
442 if (currentPos < 0)
445 return lseek(fFD, currentPos, SEEK_SET);
/haiku/src/add-ons/translators/psd/
H A DPSDLoader.cpp522 off_t currentPos = fStream->Position();
525 while (fStream->Position() < currentPos + fImageResourceSectionSize) {
562 fStream->Seek(currentPos, SEEK_SET);
/haiku/src/apps/debuganalyzer/model_loader/
H A DModelLoader.cpp539 off_t currentPos = positionIO->Position(); local
540 if (currentPos < 0)
541 return currentPos;
548 size = fileSize - currentPos;
/haiku/src/kits/interface/
H A DTextView.cpp3651 BPoint currentPos = PointAt(fCaretOffset, &lineHeight); local
3652 BPoint nextPos(currentPos.x,
3653 currentPos.y + lineHeight - Bounds().Height());
3656 _ScrollBy(0, nextPos.y - currentPos.y);
3682 BPoint currentPos = PointAt(fCaretOffset); local
3683 BPoint nextPos(currentPos.x, currentPos.y + Bounds().Height());
3686 _ScrollBy(0, nextPos.y - currentPos.y);

Completed in 68 milliseconds