/haiku-fatelf/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-fatelf/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-fatelf/src/apps/mediaplayer/interface/ |
H A D | PositionToolTip.cpp | 20 BStringView("position", ""), 36 void Update(bigtime_t position, bigtime_t duration) argument 41 if (position != -1) { 42 position /= 1000000L; 44 if (position == fPosition && duration == fDuration) { 49 fPosition = position; 95 PositionToolTip::Update(bigtime_t position, bigtime_t duration) argument 97 fView->Update(position, duration);
|
/haiku-fatelf/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 617 _FindKeyFrameForward(int64& position) argument 633 _FindKeyFrameBackward(int64& position) argument 672 _SeekToKeyFrameBackward(int64& position) argument [all...] |
/haiku-fatelf/src/apps/haiku3d/ |
H A D | Camera.cpp | 12 Camera::Camera(const Vector3& position, const Quaternion& orientation, argument 15 fPosition(position),
|
/haiku-fatelf/src/add-ons/screen_savers/flurry/ |
H A D | Star.cpp | 43 s->position[i] = RandFlt(-10000.0, 10000.0);
73 s->position[0] = 250.0f * cf * (float) cos(11.0 * (thisPointInRadians + (3.0*thisAngle)));
74 s->position[1] = 250.0f * cf * (float) sin(12.0 * (thisPointInRadians + (4.0*thisAngle)));
75 s->position[2] = 250.0f * (float) cos((23.0 * (thisPointInRadians + (12.0*thisAngle))));
80 tmpX1 = s->position[0] * cr - s->position[1] * sr;
81 tmpY1 = s->position[1] * cr + s->position[0] * sr;
82 tmpZ1 = s->position[2];
99 s->position[ [all...] |
H A D | Star.h | 39 float position[3]; member in struct:Star
|
/haiku-fatelf/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-fatelf/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...] |
H A D | FileDescriptorIO.cpp | 47 BFileDescriptorIO::ReadAt(off_t position, void* buffer, size_t size) argument 49 ssize_t bytesRead = pread(fFD, buffer, size, position); 55 BFileDescriptorIO::WriteAt(off_t position, const void* buffer, size_t size) argument 57 ssize_t bytesWritten = pwrite(fFD, buffer, size, position); 63 BFileDescriptorIO::Seek(off_t position, uint32 seekMode) argument 65 off_t result = lseek(fFD, position, seekMode);
|
/haiku-fatelf/src/add-ons/kernel/network/ppp/modem/ |
H A D | ModemDevice.cpp | 67 int32 result, position = 0; 69 while(position < length) { 70 result = read(handle, string + position, 1); 74 if(string[position] == '\r') { 75 string[position] = 0; 77 position = 0; 81 return position; 84 position++; 128 int32 length = 0, position = 0; local 133 if(position 431 int32 position = 0, length; local [all...] |
/haiku-fatelf/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-fatelf/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-fatelf/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-fatelf/src/bin/ |
H A D | play.cpp | 134 scsi_position position; local 164 printf(" 6 - current position\n"); 250 if (ioctl(id, B_SCSI_GET_POSITION, &position) == B_ERROR) 251 printf("Could not get current position\n"); 253 switch(position.position[1]) { 260 position.position[6], 261 position.position[ [all...] |
/haiku-fatelf/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-fatelf/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-fatelf/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);
|
/haiku-fatelf/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);
|
/haiku-fatelf/src/apps/soundrecorder/ |
H A D | TrackSlider.cpp | 127 TrackSlider::_DrawCounter(bigtime_t timestamp, float position, bool isTracking) argument 140 float counterX = position; 190 TrackSlider::_DrawMarker(float position) argument 199 AddLine(BPoint(position,SLIDER_BASE+7), BPoint(position-4,SLIDER_BASE+3), 201 AddLine(BPoint(position-4,SLIDER_BASE+3), BPoint(position-4,SLIDER_BASE+1), 203 AddLine(BPoint(position-4,SLIDER_BASE+1), BPoint(position+4,SLIDER_BASE+1), 205 AddLine(BPoint(position [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/misc/ |
H A D | mem.c | 25 static area_id mem_map_target(off_t position, size_t length, uint32 protection, 106 mem_read(void* cookie, off_t position, void* buffer, size_t* numBytes) argument 117 area = mem_map_target(position, *numBytes, B_READ_AREA, &virtualAddress); 130 mem_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) argument 141 area = mem_map_target(position, *numBytes, B_WRITE_AREA, &virtualAddress); 154 mem_map_target(off_t position, size_t length, uint32 protection, argument 167 physicalAddress = (phys_addr_t)position & ~((off_t)B_PAGE_SIZE - 1); 170 offset = position - (off_t)physicalAddress;
|
/haiku-fatelf/src/preferences/touchpad/ |
H A D | TouchpadPref.h | 36 void SetWindowPosition(BPoint position) argument 37 { fWindowPosition = position; }
|
/haiku-fatelf/src/add-ons/media/plugins/avi_reader/libOpenDML/ |
H A D | StandardIndex.cpp | 98 int64 position; local 136 // first try and validate position as relative to the data chunk 137 position = fDataOffset + fIndex[i].chunk_offset; 138 TRACE("Validating chunk position %Ld as relative\n",position); 139 if (!IsValidChunk(position,size)) { 141 // then try and validate position as an absolute position that points to a chunk 143 position = fDataOffset + fIndex[i].chunk_offset; 144 TRACE("Validating chunk position 200 IsValidChunk(off_t position, uint32 size) argument [all...] |