Searched refs:position (Results 51 - 75 of 369) sorted by relevance

1234567891011>>

/haiku-fatelf/src/apps/cdplayer/
H A DCDAudioDevice.cpp357 else if ((!pos.position[1]) || (pos.position[1] >= 0x13) ||
358 ((pos.position[1] == 0x12) && (!pos.position[6])))
360 else if (pos.position[1] == 0x11)
396 if (!pos.position[1] || pos.position[1] >= 0x13
397 || (pos.position[1] == 0x12 && !pos.position[6]))
400 return pos.position[
[all...]
/haiku-fatelf/src/kits/game/
H A DGameSoundDevice.cpp150 int32 position = AllocateSound(); local
152 if (position >= 0) {
155 fSounds[position] = new SimpleSoundBuffer(format, data, frames);
156 err = fSounds[position]->Connect(&systemMixer);
160 *sound = gs_id(position + 1);
174 int32 position = AllocateSound(); local
176 if (position >= 0) {
179 fSounds[position] = new StreamingSoundBuffer(format, object,
181 err = fSounds[position]->Connect(&systemMixer);
185 *sound = gs_id(position
[all...]
/haiku-fatelf/src/add-ons/media/plugins/wav_reader/
H A DWavReaderPlugin.cpp54 int64 position; member in struct:wavdata
83 static bigtime_t PositionToTime(int64 position, uint32 bitrate) { argument
84 return (position * 8000000LL) / bitrate;
91 static uint64 PositionToFrame(int64 position, uint32 bitrate, uint32 fps) { argument
92 return TimeToFrame(PositionToTime(position,bitrate),fps);
369 data->position = 0;
478 int64 *frame, bigtime_t *time, int64 *position)
484 *position = FrameToPosition(*frame, data->bitrate, data->fps);
488 *position = TimeToPosition(*time, data->bitrate);
494 *position
476 CalculateNewPosition(void *cookie, uint32 flags, int64 *frame, bigtime_t *time, int64 *position) argument
[all...]
/haiku-fatelf/src/add-ons/screen_savers/flurry/
H A DSmoke.cpp81 float sx = info->star->position[0];
82 float sy = info->star->position[1];
83 float sz = info->star->position[2];
111 s->p[s->nextParticle].position[0].f[s->nextSubParticle] = sx;
112 s->p[s->nextParticle].position[1].f[s->nextSubParticle] = sy;
113 s->p[s->nextParticle].position[2].f[s->nextSubParticle] = sz;
118 dx = s->p[s->nextParticle].position[0].f[s->nextSubParticle] - info->spark[i]->position[0];
119 dy = s->p[s->nextParticle].position[1].f[s->nextSubParticle] - info->spark[i]->position[
[all...]
H A DSmoke.h50 floatToVector position[3]; member in struct:SmokeParticleV
/haiku-fatelf/src/apps/soundrecorder/
H A DVolumeSlider.cpp62 float position = 11 + (fRight - 11) * (fSoundPlayer local
65 FillRect(BRect(11, 3, position, 4));
67 FillRect(BRect(11, 5, position, 13));
73 FillRect(BRect(position, 3, fRight, 13));
77 if (i > position)
82 DrawBitmapAsync(&fButtonBitmap, BPoint(position - 5, 3));
/haiku-fatelf/src/kits/shared/
H A DExpressionParser.cpp55 position(0)
63 position(other.position)
67 Token(const char* string, int32 length, int32 position, int32 type) argument
71 position(position)
80 position = other.position;
88 int32 position; member in struct:ExpressionParser::Token
383 throw ParseException("parse error", token.position);
[all...]
/haiku-fatelf/src/apps/mediaplayer/interface/
H A DDurationView.cpp74 DurationView::Update(bigtime_t position, bigtime_t duration) argument
76 if (position == fPosition && duration == fDuration)
79 fPosition = position;
H A DDurationView.h24 void Update(bigtime_t position, bigtime_t duration);
/haiku-fatelf/src/system/boot/loader/
H A Dpartitions.cpp157 Partition::ReadAt(void *cookie, off_t position, void *buffer, size_t bufferSize) argument
159 if (position > this->size)
161 if (position < 0)
164 if (position + bufferSize > this->size)
165 bufferSize = this->size - position;
167 ssize_t result = read_pos(fFD, this->offset + position, buffer, bufferSize);
173 Partition::WriteAt(void *cookie, off_t position, const void *buffer, argument
176 if (position > this->size)
178 if (position < 0)
181 if (position
[all...]
/haiku-fatelf/headers/build/os/drivers/
H A DDrivers.h24 typedef status_t (*device_read_hook) (void *cookie, off_t position, void *data,
26 typedef status_t (*device_write_hook) (void *cookie, off_t position,
32 typedef status_t (*device_read_pages_hook)(void *cookie, off_t position, const iovec *vec,
34 typedef status_t (*device_write_pages_hook) (void *cookie, off_t position, const iovec *vec,
/haiku-fatelf/headers/os/drivers/
H A DDrivers.h28 typedef status_t (*device_read_hook)(void *cookie, off_t position, void *data,
30 typedef status_t (*device_write_hook)(void *cookie, off_t position,
36 typedef status_t (*device_read_pages_hook)(void *cookie, off_t position,
38 typedef status_t (*device_write_pages_hook)(void *cookie, off_t position,
/haiku-fatelf/headers/private/fs_shell/
H A Dfssh_drivers.h23 fssh_off_t position, void *data,
26 fssh_off_t position, const void *data,
33 fssh_off_t position, const fssh_iovec *vec,
36 fssh_off_t position, const fssh_iovec *vec,
/haiku-fatelf/src/add-ons/kernel/debugger/qrencode/
H A Dmodule.cpp95 int position = strlcat(sEncodeBuffer, "=", encodeLength + 1); local
96 if (position > encodeLength)
100 while (inputLength > 0 && position < encodeLength) {
115 sEncodeBuffer[position++] = character;
116 sEncodeBuffer[position] = 0;
119 sEncodeBuffer[position++] = '+';
120 sEncodeBuffer[position] = 0;
123 if (encodeLength - position < 3) {
130 position = strlcat(sEncodeBuffer, escaped, encodeLength + 1);
/haiku-fatelf/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPConfigurePacket.cpp45 int32 position = 0;
48 while (position < length - 4) {
49 item = (ppp_configure_item*) (header->data + position);
54 position += item->length;
/haiku-fatelf/src/add-ons/translators/shared/
H A DStreamBuffer.h31 off_t Seek(off_t position, uint32 seekMode);
32 // seek the stream to the given position
35 // return the actual position
49 // current position in the buffer
/haiku-fatelf/src/apps/haiku3d/
H A DCamera.h17 Camera(const Vector3& position,
/haiku-fatelf/src/documentation/docbook-xsl/slides/browser/
H A DxbStyle-css.js176 // elements, left,top are measured from the element's normal inline position.
180 // defined to return and set the position of either an absolutely or relatively
262 var position;
265 // effective position attribute , attempt to use offsetXXX
282 position = elmstyle.getEffectiveValue('position');
283 if (position != '' && position != 'static')
300 var position;
303 // effective position attribut
[all...]
/haiku-fatelf/src/preferences/mouse/
H A DMouseWindow.cpp77 BPoint position = fSettings.WindowPosition(); local
78 BRect windowFrame = Frame().OffsetToSelf(position);
80 // center window on screen as it doesn't fit on the saved position
81 position.x = (rect.Width() - windowFrame.Width()) / 2;
82 position.y = (rect.Height() - windowFrame.Height()) / 2;
83 if (position.x < 0)
84 position.x = 0;
85 if (position.y < 0)
86 position.y = 15;
88 MoveTo(position);
[all...]
/haiku-fatelf/src/tests/kits/app/common/
H A DPipedAppRunner.h23 ssize_t ReadOutputAt(off_t position, void *buffer, size_t size);
/haiku-fatelf/src/tests/kits/storage/virtualdrive/
H A Dvirtualdrive.cpp421 virtualdrive_read(void *cookie, off_t position, void *buffer, size_t *numBytes) argument
423 TRACE(("virtualdrive: read pos = 0x%08Lx, bytes = 0x%08lx\n", position, *numBytes));
431 if (position < 0)
436 // adjust position and numBytes according to the file size
437 if (position > info.size)
438 position = info.size;
439 if (position + *numBytes > info.size)
440 *numBytes = info.size - position;
443 ssize_t bytesRead = read_pos(info.fd, position, buffer, *numBytes);
454 virtualdrive_write(void *cookie, off_t position, cons argument
[all...]
/haiku-fatelf/src/kits/tracker/
H A DTrackerString.cpp127 int32 position = Length() - (int32)strlen(string); local
128 if (position < 0)
132 return FindLast(string) == position;
134 return IFindLast(string) == position;
210 int32 position = -1; local
216 position = i;
222 return position;
283 int32 position = -1; local
289 position = i;
295 return position;
355 int32 position = -1; local
411 int32 position = -1; local
[all...]
/haiku-fatelf/src/apps/deskcalc/
H A DDeskCalc.cpp41 printf("%s at %" B_PRId32 "\n", e.message.String(), e.position + 1);
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Ddevice.cpp43 geode_read(void* cookie, off_t position, void *buf, size_t* numBytes) argument
52 geode_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) argument
/haiku-fatelf/src/add-ons/kernel/drivers/audio/hda/
H A Ddevice.cpp43 hda_read(void* cookie, off_t position, void* buffer, size_t* numBytes) argument
51 hda_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) argument

Completed in 206 milliseconds

1234567891011>>