/haiku/src/kits/interface/layouter/ |
H A D | Layouter.cpp | 21 LayoutInfo::ElementRangeSize(int32 position, int32 length) argument 24 return ElementSize(position); 26 int lastIndex = position + length - 1; 28 - ElementLocation(position);
|
/haiku/src/libs/print/libprint/ |
H A D | PagesView.cpp | 40 BPoint position(3, 3); 43 _DrawPages(position, 1, 3); 44 position += next; 45 _DrawPages(position, 1, 3); 50 _DrawPages(position, page, 2); 51 position += next; 56 void PagesView::_DrawPages(BPoint position, int number, int count) argument 58 position.x += kPageHorizontalIndent * (count - 1); 68 _DrawPage(position, page); 69 position 79 _DrawPage(BPoint position, int number) argument [all...] |
/haiku/src/apps/mediaplayer/interface/ |
H A D | PositionToolTip.cpp | 20 BStringView("position", ""), 37 void Update(bigtime_t position, bigtime_t duration) argument 42 if (position != -1) { 43 position /= 1000000L; 45 if (position == fPosition && duration == fDuration) { 50 fPosition = position; 96 PositionToolTip::Update(bigtime_t position, bigtime_t duration) argument 98 fView->Update(position, duration);
|
/haiku/src/apps/mediaplayer/supplier/ |
H A D | MediaTrackAudioSupplier.h | 49 int64 position, int64 frames) const; 51 int64 targetOffset, int64 position, 60 Buffer* _FindUsableBufferFor(int64 position) const; 61 void _GetBuffersFor(BList& buffers, int64 position, 65 status_t _ReadBuffer(Buffer* buffer, int64 position); 66 status_t _ReadBuffer(Buffer* buffer, int64 position, 70 int64& position, int64& frames, 74 int64 position, int64 frames, 77 status_t _FindKeyFrameForward(int64& position); 78 status_t _FindKeyFrameBackward(int64& position); [all...] |
H A D | MediaTrackAudioSupplier.cpp | 174 printf(" error seeking to position: %lld (%lld)\n", pos, 298 // copies /frames/ frames at position /position/ from the source to the 304 int64 position, int64 frames) const 309 source = (char*)source + frameSize * (position - sourceOffset); 310 target = (char*)target + frameSize * (position - targetOffset); 317 // copies /frames/ frames at position /position/ from the source to the 323 int64 position, int64 frames) const 325 _CopyFrames(buffer->data, buffer->offset, target, targetOffset, position, 302 _CopyFrames(void* source, int64 sourceOffset, void* target, int64 targetOffset, int64 position, int64 frames) const argument 321 _CopyFrames(Buffer* buffer, void* target, int64 targetOffset, int64 position, int64 frames) const argument 443 _GetBuffersFor(BList& buffers, int64 position, int64 frames) const argument 471 _ReadBuffer(Buffer* buffer, int64 position) argument 481 _ReadBuffer(Buffer* buffer, int64 position, bigtime_t time) argument 548 _ReadUncachedFrames(void* buffer, int64 position, int64 frames, bigtime_t time) argument 618 _FindKeyFrameForward(int64& position) argument 635 _FindKeyFrameBackward(int64& position) argument 676 _SeekToKeyFrameBackward(int64& position) argument [all...] |
/haiku/src/apps/haiku3d/ |
H A D | Camera.cpp | 12 Camera::Camera(const Vector3& position, const Quaternion& orientation, argument 15 fPosition(position),
|
/haiku/src/kits/debugger/source_language/c_family/ |
H A D | CLanguageTokenizer.h | 82 ParseException(const char* message, int32 position) argument 84 position(position) 90 position(other.position) 95 int32 position; member in class:CLanguage::ParseException 103 int32 position, int32 type); 109 int32 position; member in struct:CLanguage::Token
|
/haiku/src/kits/support/ |
H A D | DataPositionIOWrapper.cpp | 49 BDataPositionIOWrapper::ReadAt(off_t position, void* buffer, size_t size) argument 51 if (position != fPosition) 59 BDataPositionIOWrapper::WriteAt(off_t position, const void* buffer, argument 62 if (position != fPosition) 70 BDataPositionIOWrapper::Seek(off_t position, uint32 seekMode) argument 74 return position == 0 ? B_OK : B_NOT_SUPPORTED; 76 return position == fPosition ? B_OK : B_NOT_SUPPORTED;
|
/haiku/src/kits/storage/ |
H A D | FileIO.cpp | 47 BFileIO::ReadAt(off_t position, void* buffer, size_t size) argument 49 // save the old position and seek to the requested one 50 off_t oldPosition = _Seek(position, SEEK_SET); 65 BFileIO::WriteAt(off_t position, const void* buffer, size_t size) argument 67 // save the old position and seek to the requested one 68 off_t oldPosition = _Seek(position, SEEK_SET); 83 BFileIO::Seek(off_t position, uint32 seekMode) argument 85 if (fseeko(fFile, position, seekMode) < 0) 110 // save the current position and seek to the end 111 off_t position local 126 _Seek(off_t position, uint32 seekMode) const argument [all...] |
/haiku/src/add-ons/screen_savers/flurry/ |
H A D | Star.cpp | 47 s->position[i] = RandFlt(-10000.0, 10000.0); 88 s->position[0] = 250.0f * cf * (float)cos(11.0 * (thisPointInRadians 90 s->position[1] = 250.0f * cf * (float)sin(12.0 * (thisPointInRadians 92 s->position[2] = 250.0f * (float)cos((23.0 * (thisPointInRadians 99 tmpX1 = s->position[0] * cr - s->position[1] * sr; 100 tmpY1 = s->position[1] * cr + s->position[0] * sr; 101 tmpZ1 = s->position[2]; 119 s->position[ [all...] |
H A D | Star.h | 41 float position[3]; member in struct:Star
|
/haiku/src/add-ons/translators/shared/ |
H A D | StreamBuffer.cpp | 183 // Seeks the stream to the given position. If the seek operation fails, 193 // Returns: the new position 196 StreamBuffer::Seek(off_t position, uint32 seekMode) argument 198 // just seek in the current buffer if the new position is in it 201 && (fPos + position < fLen) 202 && (fPos + position >= 0)) { 203 fPos += position; 206 && (fLen + position < fBufferSize) 207 && (fLen + position >= 0)) { 208 fLen += position; 243 off_t position = fStream->Position(); local [all...] |
/haiku/src/add-ons/kernel/network/ppp/modem/ |
H A D | ModemDevice.cpp | 66 int32 result, position = 0; 68 while(position < length) { 69 result = read(handle, string + position, 1); 73 if (string[position] == '\r') { 74 string[position] = 0; 76 position = 0; 80 return position; 83 position++; 127 int32 length = 0, position = 0; local 132 if (position 433 int32 position = 0; local [all...] |
/haiku/headers/private/interface/ |
H A D | WindowStack.h | 20 int32 position); 22 int32 position); 26 status_t RemoveWindowAt(int32 position, 31 status_t WindowAt(int32 position,
|
/haiku/src/apps/serialconnect/ |
H A D | FileSender.cpp | 27 off_t position; local 34 position = 0; 45 position += s; 48 msg.AddInt32("pos", position);
|
/haiku/headers/libs/print/libprint/ |
H A D | PagesView.h | 23 void _DrawPages(BPoint position, int number, int count); 24 void _DrawPage(BPoint position, int number);
|
/haiku/src/system/kernel/arch/x86/64/ |
H A D | signals_compat.cpp | 32 addr_t position = fill_commpage_compat_entry( local 38 position, len, B_SYMBOL_TYPE_TEXT);
|
/haiku/headers/private/shared/ |
H A D | ExpressionParser.h | 19 ParseException(const char* message, int32 position) argument 21 position(position) 27 position(other.position) 32 int32 position; member in class:ParseException
|
/haiku/src/kits/media/experimental/ |
H A D | AdapterIO.cpp | 49 status_t FlushBefore(off_t position, BPositionIO* buffer, const void* oldBuffer, argument 53 off_t relative = _PositionToRelative(position); 71 status_t EvaluatePosition(off_t position, off_t totalSize) argument 73 if (position < 0) 76 if (position < fStartOffset) 79 if (totalSize > 0 && position > totalSize) { 92 status_t WaitForData(off_t position, off_t size) argument 101 while (bufferSize < position + size) { 118 virtual ssize_t ReadAt(off_t position, void* buffer, argument 124 _PositionToRelative(position), buffe 128 WriteAt(off_t position, const void* buffer, size_t size) argument 137 Seek(off_t position, uint32 seekMode) argument 276 ReadAt(off_t position, void* buffer, size_t size) argument 289 WriteAt(off_t position, const void* buffer, size_t size) argument 298 Seek(off_t position, uint32 seekMode) argument 413 FlushBefore(off_t position) argument 434 SeekRequested(off_t position) argument [all...] |
/haiku/src/tools/restest/ |
H A D | OffsetFile.cpp | 86 OffsetFile::Seek(off_t position, uint32 seekMode) argument 88 // off_t result = fFile.Seek(position + fOffset, seekMode); 95 if (position >= 0) 96 result = fCurrentPosition = position; 102 if (size + position >= 0) 103 result = fCurrentPosition = size + position; 109 if (fCurrentPosition + position >= 0) 110 result = fCurrentPosition += position;
|
/haiku/src/apps/debuganalyzer/gui/chart/ |
H A D | BigtimeChartAxisLegendSource.cpp | 32 // find the main position (h, m, s, us) we want to play with 33 int32 position = 0; local 35 while (rangeTime / positionFactors[position] + 1 < maxLegends / 2 36 && position < 3) { 37 position++; 41 bigtime_t baseInterval = positionFactors[position];
|
H A D | NanotimeChartAxisLegendSource.cpp | 33 // find the main position (h, m, s, us) we want to play with 34 int32 position = 0; local 36 while (rangeTime / positionFactors[position] + 1 < maxLegends / 2 37 && position < 3) { 38 position++; 42 nanotime_t baseInterval = positionFactors[position];
|
/haiku/headers/private/storage/ |
H A D | FileDescriptorIO.h | 21 virtual ssize_t ReadAt(off_t position, void *buffer, 23 virtual ssize_t WriteAt(off_t position, const void *buffer, 26 virtual off_t Seek(off_t position, uint32 seekMode);
|
H A D | FdIO.h | 24 virtual ssize_t ReadAt(off_t position, void* buffer, 26 virtual ssize_t WriteAt(off_t position, const void* buffer, 29 virtual off_t Seek(off_t position, uint32 seekMode);
|
/haiku/src/tests/add-ons/print/ppd/test/ |
H A D | TestScanner.cpp | 16 Position position = scanner->GetPosition(); local 19 printf("[%d, %d] (%s) %c\n", position.x, position.y, filename, ch);
|