Searched refs:pos (Results 251 - 275 of 520) sorted by path

<<11121314151617181920>>

/haiku/headers/private/storage/sniffer/
H A DParser.h72 Token(TokenType type = EmptyToken, const ssize_t pos = -1);
92 StringToken(const std::string &str, const ssize_t pos);
106 IntToken(const int32 value, const ssize_t pos);
120 FloatToken(const double value, const ssize_t pos);
157 void AddToken(TokenType type, ssize_t pos);
158 void AddString(const std::string &str, ssize_t pos);
159 void AddInt(const char *str, ssize_t pos);
160 void AddFloat(const char *str, ssize_t pos);
283 inline void ThrowOutOfMemError(ssize_t pos);
/haiku/headers/private/system/
H A Dsyscalls.h281 extern off_t _kern_seek(int fd, off_t pos, int seekType);
307 extern ssize_t _kern_read_attr(int fd, const char *attribute, off_t pos,
310 off_t pos, const void *buffer, size_t readBytes);
331 extern ssize_t _kern_read(int fd, off_t pos, void *buffer,
333 extern ssize_t _kern_readv(int fd, off_t pos, const struct iovec *vecs,
335 extern ssize_t _kern_write(int fd, off_t pos, const void *buffer,
337 extern ssize_t _kern_writev(int fd, off_t pos, const struct iovec *vecs,
/haiku/headers/private/userlandfs/fuse/
H A Dfuse_common.h287 * If this flag is set then the .pos field is valid and is
381 off_t pos; member in struct:fuse_buf
425 /* .pos = */ 0, \
H A Dfuse_opt.h241 * @param pos is the position at which to add the argument
245 int fuse_opt_insert_arg(struct fuse_args *args, int pos, const char *arg);
/haiku/headers/private/userlandfs/private/
H A DRequests.h943 off_t pos; member in class:UserlandFSUtil::ReadRequest
964 off_t pos; member in class:UserlandFSUtil::WriteRequest
1222 off_t pos; member in class:UserlandFSUtil::ReadAttrRequest
1243 off_t pos; member in class:UserlandFSUtil::WriteAttrRequest
1820 off_t pos; member in class:UserlandFSUtil::FileCacheReadRequest
1843 off_t pos; member in class:UserlandFSUtil::FileCacheWriteRequest
/haiku/src/add-ons/accelerants/intel_extreme/
H A Doverlay.cpp135 int32 pos; local
137 pos = i + j * 32;
138 sum += rawCoefficients[pos];
141 pos = i + j * 32;
142 coefficients[i][j] = rawCoefficients[pos] / sum;
147 pos = j + i * taps;
151 splitCoefficients[pos]);
173 pos = tap2Fix + i * taps;
177 splitCoefficients[pos]);
679 int32 pos local
[all...]
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.cpp1293 float pos = startPos; local
1295 view->AddLine(BPoint(pos, rect.top),
1296 BPoint(pos, rect.top + 4), darkColor);
1297 view->AddLine(BPoint(pos + 1, rect.top),
1298 BPoint(pos + 1, rect.top + 4), lightColor);
1300 pos += factor;
1303 float pos = startPos; local
1305 view->AddLine(BPoint(rect.left, pos),
1306 BPoint(rect.left + 4, pos), darkColor);
1307 view->AddLine(BPoint(rect.left, pos
1321 float pos = startPos; local
1331 float pos = startPos; local
[all...]
/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp712 fdt_devfs_node_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument
714 if (pos < 0)
718 if ((uint64)pos >= size) {
723 if (pos + readSize > size)
724 readSize = size - pos;
726 status_t res = user_memcpy(buffer, (uint8*)gFDT + pos, readSize);
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_alps.cpp474 alps_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument
482 alps_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument
H A Dps2_elantech.cpp653 elantech_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument
661 elantech_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument
H A Dps2_keyboard.cpp460 keyboard_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument
469 keyboard_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
H A Dps2_standard_mouse.cpp101 mouse_movement* pos)
144 if (pos != NULL) {
145 pos->xdelta = xDelta;
146 pos->ydelta = yDelta;
147 pos->buttons = buttons;
148 pos->clicks = cookie->click_count;
149 pos->modifiers = 0;
150 pos->timestamp = currentTime;
151 pos->wheel_ydelta = yDeltaWheel;
152 pos
100 ps2_packet_to_movement(standard_mouse_cookie* cookie, uint8 packet[], mouse_movement* pos) argument
437 standard_mouse_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument
445 standard_mouse_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument
[all...]
H A Dps2_synaptics.cpp732 synaptics_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument
740 synaptics_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dutil.cpp136 int pos = 1; local
139 pos++;
141 return pos;
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dmixer.c18 static status_t mixer_read(void *cookie, off_t pos, void *data, size_t *len);
19 static status_t mixer_write(void *cookie, off_t pos, const void *data, size_t *len);
292 off_t pos,
303 off_t pos,
290 mixer_read( void * cookie, off_t pos, void * data, size_t * nread) argument
301 mixer_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument
H A Dpcm.c80 static status_t pcm_read(void *cookie, off_t pos, void *data, size_t *len);
81 static status_t pcm_write(void *cookie, off_t pos, const void *data, size_t *len);
82 //static status_t pcm_writev(void *cookie, off_t pos, const iovec *vec, size_t count, size_t *len); /* */
1347 off_t pos,
1451 off_t pos,
1345 pcm_read( void * cookie, off_t pos, void * data, size_t * nread) argument
1449 pcm_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/
H A Dh2generic.cpp722 device_read(void* cookie, off_t pos, void* buffer, size_t* count) argument
733 device_write(void* cookie, off_t pos, const void* buffer, size_t* count) argument
/haiku/src/add-ons/kernel/drivers/disk/nvme/
H A Dnvme_disk.cpp798 nvme_disk_read(void* cookie, off_t pos, void* buffer, size_t* length) argument
804 if (pos >= ns_end)
806 if ((pos + (off_t)*length) > ns_end)
807 *length = ns_end - pos;
810 status_t status = request.Init(pos, (addr_t)buffer, *length, false, 0);
821 nvme_disk_write(void* cookie, off_t pos, const void* buffer, size_t* length) argument
827 if (pos >= ns_end)
829 if ((pos + (off_t)*length) > ns_end)
830 *length = ns_end - pos;
833 status_t status = request.Init(pos, (addr_
[all...]
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/
H A Dram_disk.cpp1340 ram_disk_raw_device_read(void* _cookie, off_t pos, void* buffer, argument
1348 if (pos >= device->DeviceSize())
1350 if (pos + (off_t)length > device->DeviceSize())
1351 length = device->DeviceSize() - pos;
1354 status_t status = request.Init(pos, (addr_t)buffer, length, false, 0);
1370 ram_disk_raw_device_write(void* _cookie, off_t pos, const void* buffer, argument
1378 if (pos >= device->DeviceSize())
1380 if (pos + (off_t)length > device->DeviceSize())
1381 length = device->DeviceSize() - pos;
1384 status_t status = request.Init(pos, (addr_
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/3dfx/
H A Ddriver.cpp85 static status_t device_read(void* dev, off_t pos, void* buf, size_t* len);
86 static status_t device_write(void* dev, off_t pos, const void* buf,
435 device_read(void* dev, off_t pos, void* buf, size_t* len) argument
439 (void)pos;
448 device_write(void* dev, off_t pos, const void* buf, size_t* len) argument
452 (void)pos;
/haiku/src/add-ons/kernel/drivers/graphics/ati/
H A Ddriver.cpp179 static status_t device_read(void* dev, off_t pos, void* buf, size_t* len);
180 static status_t device_write(void* dev, off_t pos, const void* buf, size_t* len);
1068 device_read(void* dev, off_t pos, void* buf, size_t* len) argument
1073 (void)pos;
1082 device_write(void* dev, off_t pos, const void* buf, size_t* len) argument
1087 (void)pos;
/haiku/src/add-ons/kernel/drivers/graphics/et6x00/
H A Ddriver.c71 static status_t et6000ReadHook(void* dev, off_t pos, void* buf, size_t* len);
72 static status_t et6000WriteHook(void* dev, off_t pos, const void* buf, size_t* len);
557 static status_t et6000ReadHook(void* dev, off_t pos, void* buf, size_t* len) argument
567 static status_t et6000WriteHook(void* dev, off_t pos, const void* buf, size_t* len) argument
/haiku/src/add-ons/kernel/drivers/graphics/intel_810/
H A Ddriver.cpp83 static status_t device_read(void* dev, off_t pos, void* buf, size_t* len);
84 static status_t device_write(void* dev, off_t pos, const void* buf,
583 device_read(void* dev, off_t pos, void* buf, size_t* len) argument
588 (void)pos;
597 device_write(void* dev, off_t pos, const void* buf, size_t* len) argument
602 (void)pos;
/haiku/src/add-ons/kernel/drivers/graphics/matrox/
H A Ddriver.c71 static status_t read_hook (void* dev, off_t pos, void* buf, size_t* len);
72 static status_t write_hook (void* dev, off_t pos, const void* buf, size_t* len);
871 read_hook (void* dev, off_t pos, void* buf, size_t* len) argument
882 write_hook (void* dev, off_t pos, const void* buf, size_t* len) argument
/haiku/src/add-ons/kernel/drivers/graphics/neomagic/
H A Ddriver.c77 static status_t read_hook (void* dev, off_t pos, void* buf, size_t* len);
78 static status_t write_hook (void* dev, off_t pos, const void* buf, size_t* len);
796 read_hook (void* dev, off_t pos, void* buf, size_t* len) argument
807 write_hook (void* dev, off_t pos, const void* buf, size_t* len) argument

Completed in 164 milliseconds

<<11121314151617181920>>