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

1234567891011>>

/haiku/src/kits/interface/layouter/
H A DLayouter.cpp21 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 DPagesView.cpp40 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 DPositionToolTip.cpp20 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 DMediaTrackAudioSupplier.h49 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 DMediaTrackAudioSupplier.cpp174 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 DCamera.cpp12 Camera::Camera(const Vector3& position, const Quaternion& orientation, argument
15 fPosition(position),
/haiku/src/kits/debugger/source_language/c_family/
H A DCLanguageTokenizer.h82 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 DDataPositionIOWrapper.cpp49 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/add-ons/translators/shared/
H A DStreamBuffer.cpp183 // 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/kits/storage/
H A DFileIO.cpp47 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 DStar.cpp47 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 DStar.h41 float position[3]; member in struct:Star
/haiku/src/add-ons/kernel/network/ppp/modem/
H A DModemDevice.cpp66 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 DWindowStack.h20 int32 position);
22 int32 position);
26 status_t RemoveWindowAt(int32 position,
31 status_t WindowAt(int32 position,
/haiku/src/apps/serialconnect/
H A DFileSender.cpp27 off_t position; local
34 position = 0;
45 position += s;
48 msg.AddInt32("pos", position);
/haiku/headers/libs/print/libprint/
H A DPagesView.h23 void _DrawPages(BPoint position, int number, int count);
24 void _DrawPage(BPoint position, int number);
/haiku/src/system/kernel/arch/x86/64/
H A Dsignals.cpp31 addr_t position = fill_commpage_entry(COMMPAGE_ENTRY_X86_SIGNAL_HANDLER, local
36 elf_add_memory_image_symbol(image, "commpage_signal_handler", position,
H A Dsignals_compat.cpp32 addr_t position = fill_commpage_compat_entry( local
38 position, len, B_SYMBOL_TYPE_TEXT);
/haiku/headers/private/shared/
H A DExpressionParser.h19 ParseException(const char* message, int32 position) argument
21 position(position)
27 position(other.position)
32 int32 position; member in class:ParseException
/haiku/src/bin/
H A Dplay.cpp134 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/src/tools/restest/
H A DOffsetFile.cpp86 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 DBigtimeChartAxisLegendSource.cpp32 // 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 DNanotimeChartAxisLegendSource.cpp33 // 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/src/kits/media/experimental/
H A DAdapterIO.cpp49 status_t EvaluatePosition(off_t position, off_t totalSize) argument
51 if (position < 0)
54 if (position < fStartOffset)
57 if (totalSize > 0 && position > totalSize) {
70 status_t WaitForData(off_t position, off_t size) argument
79 while (bufferSize < position + size) {
96 virtual ssize_t ReadAt(off_t position, void* buffer, argument
102 _PositionToRelative(position), buffer, size);
106 virtual ssize_t WriteAt(off_t position, argument
112 _PositionToRelative(position), buffe
115 Seek(off_t position, uint32 seekMode) argument
247 ReadAt(off_t position, void* buffer, size_t size) argument
260 WriteAt(off_t position, const void* buffer, size_t size) argument
269 Seek(off_t position, uint32 seekMode) argument
395 SeekRequested(off_t position) argument
[all...]
/haiku/headers/private/storage/
H A DFileDescriptorIO.h21 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);

Completed in 280 milliseconds

1234567891011>>