/haiku-fatelf/src/apps/cdplayer/ |
H A D | CDAudioDevice.cpp | 357 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 D | GameSoundDevice.cpp | 150 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 D | WavReaderPlugin.cpp | 54 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 D | Smoke.cpp | 81 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 D | Smoke.h | 50 floatToVector position[3]; member in struct:SmokeParticleV
|
/haiku-fatelf/src/apps/soundrecorder/ |
H A D | VolumeSlider.cpp | 62 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 D | ExpressionParser.cpp | 55 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 D | DurationView.cpp | 74 DurationView::Update(bigtime_t position, bigtime_t duration) argument 76 if (position == fPosition && duration == fDuration) 79 fPosition = position;
|
H A D | DurationView.h | 24 void Update(bigtime_t position, bigtime_t duration);
|
/haiku-fatelf/src/system/boot/loader/ |
H A D | partitions.cpp | 157 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 D | Drivers.h | 24 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 D | Drivers.h | 28 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 D | fssh_drivers.h | 23 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 D | module.cpp | 95 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 D | KPPPConfigurePacket.cpp | 45 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 D | StreamBuffer.h | 31 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 D | Camera.h | 17 Camera(const Vector3& position,
|
/haiku-fatelf/src/documentation/docbook-xsl/slides/browser/ |
H A D | xbStyle-css.js | 176 // 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 D | MouseWindow.cpp | 77 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 D | PipedAppRunner.h | 23 ssize_t ReadOutputAt(off_t position, void *buffer, size_t size);
|
/haiku-fatelf/src/tests/kits/storage/virtualdrive/ |
H A D | virtualdrive.cpp | 421 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 D | TrackerString.cpp | 127 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 D | DeskCalc.cpp | 41 printf("%s at %" B_PRId32 "\n", e.message.String(), e.position + 1);
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | device.cpp | 43 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 D | device.cpp | 43 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
|