/haiku/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | joy.c | 18 static status_t joy_read(void *cookie, off_t pos, void *data, size_t *len); 19 static status_t joy_write(void *cookie, off_t pos, const void *data, size_t *len); 95 off_t pos, 99 return (*gameport->read_hook)(cookie, pos, data, nread); 106 off_t pos, 110 return (*gameport->write_hook)(cookie, pos, data, nwritten); 93 joy_read( void * cookie, off_t pos, void * data, size_t * nread) argument 104 joy_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument
|
/haiku/src/add-ons/kernel/drivers/audio/emuxki/ |
H A D | joy.c | 21 static status_t joy_read(void *cookie, off_t pos, void *data, size_t *len); 22 static status_t joy_write(void *cookie, off_t pos, const void *data, size_t *len); 85 joy_read(void * cookie, off_t pos, void * data, size_t * nread) argument 87 return (*gameport->read_hook)(cookie, pos, data, nread); 92 joy_write(void * cookie, off_t pos, const void * data, size_t * nwritten) argument 94 return (*gameport->write_hook)(cookie, pos, data, nwritten);
|
/haiku/src/add-ons/translators/gif/ |
H A D | SFHash.cpp | 58 int pos = item->key % size; local 60 if (main_array[pos] == NULL) 61 main_array[pos] = item; 63 HashItem* temp = main_array[pos]; 73 int pos = key % size; local 74 HashItem* item = main_array[pos];
|
/haiku/src/system/boot/platform/amiga_m68k/ |
H A D | Handle.h | 22 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize); 23 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize); 38 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize); 39 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize); 59 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize); 60 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
|
H A D | Handle.cpp | 55 Handle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument 62 Handle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument 98 CharHandle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument 109 CharHandle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
|
/haiku/src/system/libroot/posix/glibc/include/ |
H A D | unistd.h | 19 #define __lseek(fd, pos, whence) \ 20 lseek(fd, pos, whence)
|
/haiku/src/system/boot/loader/file_systems/bfs/ |
H A D | Link.h | 26 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize); 27 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
|
/haiku/src/tests/system/boot/loader/ |
H A D | Handle.h | 25 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize); 26 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
|
/haiku/src/system/boot/platform/openfirmware/ |
H A D | Handle.h | 20 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize); 21 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | Handle.cpp | 56 Handle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument 63 Handle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
|
H A D | Handle.h | 23 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize); 24 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
|
/haiku/src/system/boot/loader/file_systems/fat/ |
H A D | Stream.cpp | 110 Stream::_FindCluster(off_t pos, uint32& _cluster) argument 112 //TRACE(("FATFS::Stream::%s(%lld,,)\n", __FUNCTION__, pos)); 113 uint32 index = (uint32)(pos / fVolume.ClusterSize()); 114 if (pos > fSize || index >= fClusterCount) 156 Stream::_FindOrCreateCluster(off_t pos, uint32& _cluster, bool& _added) argument 158 status_t error = _FindCluster(pos, _cluster); 165 uint32 index = (uint32)(pos / fVolume.ClusterSize()); 212 Stream::FindBlock(off_t pos, off_t &block, off_t &offset) argument 215 status_t error = _FindCluster(pos, cluster); 221 offset += (pos 232 ReadAt(off_t pos, void *_buffer, size_t *_length, off_t *diskOffset) argument 348 WriteAt(off_t pos, const void* _buffer, size_t* _length, off_t* diskOffset) argument [all...] |
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | state.c | 20 static void putglyph(VTermState *state, const uint32_t chars[], int width, VTermPos pos) argument 26 .dwl = state->lineinfo[pos.row].doublewidth, 27 .dhl = state->lineinfo[pos.row].doubleheight, 31 if((*state->callbacks->putglyph)(&info, pos, state->cbdata)) 34 fprintf(stderr, "libvterm: Unhandled putglyph U+%04x at (%d,%d)\n", chars[0], pos.col, pos.row); 39 if(state->pos.col == oldpos->col && state->pos.row == oldpos->row) 46 if((*state->callbacks->movecursor)(state->pos, *oldpos, state->mode.cursor_visible, state->cbdata)) 111 if(state->pos 632 VTermPos pos; local [all...] |
H A D | encoding.c | 31 const char bytes[], size_t *pos, size_t bytelen) 39 for(; *pos < bytelen && *cpi < cplen; (*pos)++) { 40 unsigned char c = bytes[*pos]; 43 printf(" pos=%zd c=%02x rem=%d\n", *pos, c, data->bytes_remaining); 162 const char bytes[], size_t *pos, size_t bytelen) 164 int is_gr = bytes[*pos] & 0x80; 166 for(; *pos < bytelen && *cpi < cplen; (*pos) 29 decode_utf8(VTermEncoding *enc, void *data_, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument 160 decode_usascii(VTermEncoding *enc, void *data, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument 185 decode_table(VTermEncoding *enc, void *data, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument [all...] |
H A D | screen.c | 39 static int vterm_screen_set_cell(VTermScreen *screen, VTermPos pos, const VTermScreenCell *cell); 173 static int putglyph(VTermGlyphInfo *info, VTermPos pos, void *user) argument 176 ScreenCell *cell = getcell(screen, pos.row, pos.col); 191 getcell(screen, pos.row, pos.col + col)->chars[0] = (uint32_t)-1; 193 rect.start_row = pos.row; 194 rect.end_row = pos.row+1; 195 rect.start_col = pos.col; 196 rect.end_col = pos 217 VTermPos pos; local 385 movecursor(VTermPos pos, VTermPos oldpos, int visible, void *user) argument 496 VTermPos pos = { 0, 0 }; local 550 VTermPos pos = { 0, 0 }; local 743 vterm_screen_get_cell(const VTermScreen *screen, VTermPos pos, VTermScreenCell *cell) argument 781 vterm_screen_set_cell(VTermScreen *screen, VTermPos pos, const VTermScreenCell *cell) argument 812 vterm_screen_is_eol(const VTermScreen *screen, VTermPos pos) argument 900 vterm_screen_get_attrs_extent(const VTermScreen *screen, VTermRect *extent, VTermPos pos, VTermAttrMask attrs) argument [all...] |
/haiku/headers/private/app/ |
H A D | SimpleMallocIO.h | 41 void ReadAt(off_t pos, void *buffer, size_t size) argument 43 memcpy(buffer, fBuffer + pos, size); 56 void WriteAt(off_t pos, const void *buffer, size_t size) argument 58 memcpy(fBuffer + pos, buffer, size);
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_unistd.h | 62 extern fssh_ssize_t fssh_read_pos(int fd, fssh_off_t pos, void *buffer, 65 fssh_off_t pos); 67 extern fssh_ssize_t fssh_write_pos(int fd, fssh_off_t pos, const void *buffer, 70 fssh_off_t pos);
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/ |
H A D | CamBufferedFilterInterface.cpp | 31 CamBufferedFilterInterface::ReadAt(off_t pos, void *buffer, size_t size) argument 33 return fInternalBuffer.ReadAt(pos, buffer, size); 47 CamBufferedFilterInterface::WriteAt(off_t pos, const void *buffer, size_t size) argument 51 return fInternalBuffer.WriteAt(pos, buffer, size);
|
/haiku/src/tests/kits/interface/menu/menuworld/ |
H A D | ViewLayoutFactory.cpp | 36 uint32 msgID, BPoint pos, corner posRef) 42 MoveViewCorner(*pButton, pos, posRef); 47 const char* label, uint32 msgID, BPoint pos, corner posRef) 53 MoveViewCorner(*pCheckBox, pos, posRef); 58 const char* label, const char* text, BPoint pos, float controlWidth, 69 LayoutTextControl(*pCtrl, pos, controlWidth, posRef); 74 BPoint pos, float controlWidth, corner posRef) 84 MoveViewCorner(control, pos, posRef); 92 void ViewLayoutFactory::MoveViewCorner(BView& view, BPoint pos, corner posRef) argument 98 topLeft = pos; 35 MakeButton(const char* name, const char* label, uint32 msgID, BPoint pos, corner posRef) argument 46 MakeCheckBox(const char* name, const char* label, uint32 msgID, BPoint pos, corner posRef) argument 57 MakeTextControl(const char* name, const char* label, const char* text, BPoint pos, float controlWidth, corner posRef) argument 73 LayoutTextControl(BTextControl& control, BPoint pos, float controlWidth, corner posRef) argument [all...] |
/haiku/src/tests/kits/interface/pictureprint/ |
H A D | DumpPrintJob.cpp | 63 BPoint pos; local 66 while (pjp.NextPicture(picture, pos, rect) == B_OK) { 68 pos.x, pos.y,
|
/haiku/src/tools/fs_shell/ |
H A D | partition_support.h | 22 int restricted_file_restrict_io(int fd, fssh_off_t& pos, fssh_off_t size);
|
/haiku/src/tests/add-ons/kernel/debugger/ |
H A D | c++filt.cpp | 90 size_t pos = (end - s) - 1; local 93 while (pos > 1) { 94 if (s[pos] == '_') { 95 if (s[pos - 1] == '_') { 96 mangled = s + pos + 1; 99 pos--; 101 pos--;
|
/haiku/src/tests/kits/interface/picture/ |
H A D | SVGViewView.cpp | 486 BPoint pos, startPos; local 501 pos.Set(startPos.x, startPos.y); 512 pos.Set(x, y); 514 startPos = pos; 515 shape.MoveTo(pos); 523 pos.x += x; 524 pos.y += y; 526 startPos = pos; 527 shape.MoveTo(pos); 535 pos [all...] |
/haiku/src/system/kernel/device_manager/ |
H A D | AbstractModuleDevice.cpp | 71 AbstractModuleDevice::_DoIO(void* cookie, off_t pos, argument 75 status_t status = request.Init(pos, (addr_t)buffer, *_length, isWrite, 0); 90 AbstractModuleDevice::Read(void* cookie, off_t pos, void* buffer, size_t* _length) argument 94 return BaseDevice::Read(cookie, pos, buffer, _length); 96 return _DoIO(cookie, pos, buffer, _length, false); 98 return Module()->read(cookie, pos, buffer, _length); 103 AbstractModuleDevice::Write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument 107 return BaseDevice::Write(cookie, pos, buffer, _length); 109 return _DoIO(cookie, pos, const_cast<void*>(buffer), _length, true); 111 return Module()->write(cookie, pos, buffe [all...] |
/haiku/src/tests/kits/game/push_game_sound_test/ |
H A D | push_game_sound_sine.cpp | 80 for(size_t pos = 0; pos < sampleCount; pos++) 82 *(int16_t*)(buffer + pos * sizeof(int16_t)) 83 = (int16_t)(2000 * sin(pos * gsFormat.frame_rate
|