/haiku-fatelf/src/add-ons/kernel/drivers/common/ |
H A D | null.c | 20 null_open(const char *name, uint32 flags, void **cookie) argument 22 *cookie = NULL; 28 null_close(void *cookie) argument 35 null_freecookie(void *cookie) argument 42 null_ioctl(void *cookie, uint32 op, void *buffer, size_t length) argument 49 null_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument 57 null_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
|
H A D | zero.c | 19 zero_open(const char *name, uint32 flags, void **cookie) argument 21 *cookie = NULL; 27 zero_close(void *cookie) argument 34 zero_freecookie(void *cookie) argument 41 zero_ioctl(void *cookie, uint32 op, void *buffer, size_t length) argument 48 zero_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument 58 zero_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
|
/haiku-fatelf/src/add-ons/media/plugins/ffmpeg/ |
H A D | AVFormatReader.h | 28 void** cookie); 29 virtual status_t FreeCookie(void* cookie); 31 virtual status_t GetStreamInfo(void* cookie, int64* frameCount, 36 virtual status_t GetStreamMetaData(void* cookie, 39 virtual status_t Seek(void* cookie, uint32 flags, int64* frame, 41 virtual status_t FindKeyFrame(void* cookie, uint32 flags, 44 virtual status_t GetNextChunk(void* cookie,
|
H A D | AVFormatWriter.h | 30 virtual status_t AllocateCookie(void** cookie, 33 virtual status_t FreeCookie(void* cookie); 35 virtual status_t SetCopyright(void* cookie, 38 virtual status_t AddTrackInfo(void* cookie, uint32 code, 42 virtual status_t WriteChunk(void* cookie, 47 static int _Write(void* cookie, uint8* buffer, 49 static off_t _Seek(void* cookie, off_t offset, int whence);
|
/haiku-fatelf/src/add-ons/media/plugins/wav_reader/ |
H A D | WavReaderPlugin.h | 43 status_t AllocateCookie(int32 streamNumber, void **cookie); 44 status_t FreeCookie(void *cookie); 46 status_t GetStreamInfo(void *cookie, int64 *frameCount, bigtime_t *duration, 49 status_t Seek(void *cookie, uint32 flags, 52 status_t FindKeyFrame(void* cookie, uint32 flags, 55 status_t GetNextChunk(void *cookie, 59 status_t CalculateNewPosition(void* cookie, uint32 flags,
|
/haiku-fatelf/src/tests/system/kernel/device_manager/playground/ |
H A D | generic_video_driver.cpp | 59 uninit_driver(void* cookie) argument 65 register_child_devices(void* cookie) argument 67 device_node* node = (device_node*)cookie; 109 device_close(void* cookie) argument 116 device_free(void* cookie) argument 123 device_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument 130 device_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument 137 device_ioctl(void* cookie, int32 op, void* buffer, size_t length) argument 144 device_io(void* cookie, io_request* request) argument
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/ps2/ |
H A D | ps2_alps.cpp | 35 FireEvent(alps_cookie* cookie, uint8* package) argument 37 fCookie = cookie; 196 get_alps_movment(alps_cookie *cookie, mouse_movement *movement) argument 202 status = acquire_sem_etc(cookie->sem, 1, B_CAN_INTERRUPT, 0); 206 if (!cookie->dev->active) { 211 if (packet_buffer_read(cookie->ring_buffer, event_buffer, 212 cookie->dev->packet_size) != cookie->dev->packet_size) { 234 if (cookie->previousZ == 0 && event.wValue == 4 && event.zPressure == 16) 237 cookie 488 alps_cookie *cookie = (alps_cookie*)_cookie; local 524 alps_cookie *cookie = (alps_cookie*)_cookie; local 557 alps_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument 565 alps_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument 575 alps_cookie* cookie = (alps_cookie*)dev->cookie; local 620 alps_cookie *cookie = (alps_cookie*)dev->cookie; local [all...] |
/haiku-fatelf/headers/os/drivers/ |
H A D | module.h | 48 extern status_t get_next_loaded_module_name(uint32 *cookie, char *buffer, 52 extern status_t close_module_list(void *cookie); 53 extern status_t read_next_module_name(void *cookie, char *buffer,
|
/haiku-fatelf/src/add-ons/input_server/devices/easypen/ |
H A D | EasyPenInputDevice.h | 28 virtual status_t Start(const char *name, void *cookie); 29 virtual status_t Stop(const char *name, void *cookie); 31 virtual status_t Control(const char *name, void *cookie,
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/ata/ |
H A D | ATAModule.cpp | 18 ata_sim_init_bus(device_node *node, void **cookie) argument 30 *cookie = channel; 36 ata_sim_uninit_bus(void *cookie) argument 38 ATAChannel *channel = (ATAChannel *)cookie; 44 ata_sim_bus_removed(void *cookie) argument 46 ATAChannel *channel = (ATAChannel *)cookie; 55 ata_sim_set_scsi_bus(scsi_sim_cookie cookie, scsi_bus bus) argument 57 ATAChannel *channel = (ATAChannel *)cookie; 64 ata_sim_scsi_io(scsi_sim_cookie cookie, scsi_ccb *ccb) argument 66 ATAChannel *channel = (ATAChannel *)cookie; 79 ata_sim_abort(scsi_sim_cookie cookie, scsi_ccb *ccb) argument 91 ata_sim_reset_device(scsi_sim_cookie cookie, uchar targetId, uchar targetLun) argument 103 ata_sim_term_io(scsi_sim_cookie cookie, scsi_ccb *ccb) argument 115 ata_sim_path_inquiry(scsi_sim_cookie cookie, scsi_path_inquiry *info) argument 127 ata_sim_rescan_bus(scsi_sim_cookie cookie) argument 135 ata_sim_reset_bus(scsi_sim_cookie cookie) argument 148 ata_sim_get_restrictions(scsi_sim_cookie cookie, uchar targetID, bool *isATAPI, bool *noAutoSense, uint32 *maxBlocks) argument 157 ata_sim_control(scsi_sim_cookie cookie, uchar targetID, uint32 op, void *buffer, size_t length) argument 208 ata_interrupt_handler(void *cookie, uint8 status) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/bus_managers/pci/arch/x86/ |
H A D | pci_bios.cpp | 19 pci_bios_read_config(void *cookie, uint8 bus, uint8 device, uint8 function, argument 27 pci_bios_write_config(void *cookie, uint8 bus, uint8 device, uint8 function, argument 35 pci_bios_get_max_bus_devices(void *cookie, int32 *count) argument
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/auich/ |
H A D | multi.h | 36 void (*get) (void *card, const void *cookie, int32 type, float *values); 37 void (*set) (void *card, const void *cookie, int32 type, float *values); 38 const void *cookie; member in struct:_multi_mixer_control
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/auvia/ |
H A D | multi.h | 39 void (*get) (void *card, const void *cookie, int32 type, float *values); 40 void (*set) (void *card, const void *cookie, int32 type, float *values); 41 const void *cookie; member in struct:_multi_mixer_control
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/es1370/ |
H A D | multi.h | 16 void (*get) (void *card, const void *cookie, int32 type, float *values); 17 void (*set) (void *card, const void *cookie, int32 type, float *values); 18 const void *cookie; member in struct:_multi_mixer_control
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/emuxki/ |
H A D | multi.h | 36 void (*get) (void *card, const void *cookie, int32 type, float *values); 37 void (*set) (void *card, const void *cookie, int32 type, float *values); 38 const void *cookie; member in struct:_multi_mixer_control
|
/haiku-fatelf/src/system/kernel/fs/ |
H A D | vfs_request_io.cpp | 56 void* cookie; member in struct:iterative_io_cookie 85 status_t (*doIO)(void* cookie, off_t offset, void* buffer, 87 void* cookie) 91 fCookie(cookie) 108 VnodeIO(bool write, struct vnode* vnode, void* cookie) argument 112 fCookie(cookie) 145 iterative_io_cookie* cookie = (iterative_io_cookie*)_cookie; local 149 off_t requestOffset = cookie->request_offset; 156 status_t error = cookie->get_vecs(cookie 84 CallbackIO(bool write, status_t (*doIO)(void* cookie, off_t offset, void* buffer, size_t* length), void* cookie) argument 231 iterative_io_cookie* cookie = (iterative_io_cookie*)_cookie; local 252 do_synchronous_iterative_vnode_io(struct vnode* vnode, void* openCookie, io_request* request, iterative_io_get_vecs getVecs, iterative_io_finished finished, void* cookie) argument 360 vfs_vnode_io(struct vnode* vnode, void* cookie, io_request* request) argument 375 vfs_synchronous_io(io_request* request, status_t (*doIO)(void* cookie, off_t offset, void* buffer, size_t* length), void* cookie) argument 385 vfs_asynchronous_read_pages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, size_t count, generic_size_t numBytes, uint32 flags, AsyncIOCallback* callback) argument 411 vfs_asynchronous_write_pages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, size_t count, generic_size_t numBytes, uint32 flags, AsyncIOCallback* callback) argument 456 do_iterative_fd_io(int fd, io_request* request, iterative_io_get_vecs getVecs, iterative_io_finished finished, void* cookie) argument [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/busses/scsi/example/ |
H A D | example_scsi.c | 60 example_init_driver(device_node_handle node, void *userCookie, void **cookie) argument 68 example_uninit_driver(void *cookie) argument 76 example_device_removed(device_node_handle node, void *cookie) argument 103 example_scsi_io(scsi_sim_cookie cookie, scsi_ccb *ccb) argument 110 example_abort(scsi_sim_cookie cookie, scsi_ccb *ccbToAbort) argument 118 example_reset_device(scsi_sim_cookie cookie, uchar targetID, uchar targetLUN) argument 126 example_term_io(scsi_sim_cookie cookie, scsi_ccb *ccbToTerminate) argument 134 example_path_inquiry(scsi_sim_cookie cookie, scsi_path_inquiry *inquiryData) argument 142 example_scan_bus(scsi_sim_cookie cookie) argument 150 example_reset_bus(scsi_sim_cookie cookie) argument 158 example_get_restrictions(scsi_sim_cookie cookie, uchar targetID, bool *isATAPI, bool *noAutosense, uint32 *maxBlocks) argument 166 example_ioctl(scsi_sim_cookie cookie, uint8 targetID, uint32 op, void *buffer, size_t bufferLength) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/ |
H A D | Volume.cpp | 129 void* cookie; local 130 error = OpenDir(parentNode, &cookie); 139 error = ReadDir(parentNode, cookie, entry, sizeof(_entry), 1, &num); 162 CloseDir(parentNode, cookie); 163 FreeDirCookie(parentNode, cookie); 199 Volume::DoIO(void* node, void* cookie, const IORequestInfo& requestInfo) argument 206 Volume::CancelIO(void* node, void* cookie, int32 ioRequestID) argument 213 Volume::IterativeIOGetVecs(void* cookie, int32 requestID, off_t offset, argument 221 Volume::IterativeIOFinished(void* cookie, int32 requestID, status_t status, argument 233 Volume::IOCtl(void* node, void* cookie, uint3 argument 241 SetFlags(void* node, void* cookie, int flags) argument 248 Select(void* node, void* cookie, uint8 event, selectsync* sync) argument 255 Deselect(void* node, void* cookie, uint8 event, selectsync* sync) argument 332 Create(void* dir, const char* name, int openMode, int mode, void** cookie, ino_t* vnid) argument 340 Open(void* node, int openMode, void** cookie) argument 347 Close(void* node, void* cookie) argument 354 FreeCookie(void* node, void* cookie) argument 361 Read(void* node, void* cookie, off_t pos, void* buffer, size_t bufferSize, size_t* bytesRead) argument 369 Write(void* node, void* cookie, off_t pos, const void* buffer, size_t bufferSize, size_t* bytesWritten) argument 395 OpenDir(void* node, void** cookie) argument 402 CloseDir(void* node, void* cookie) argument 409 FreeDirCookie(void* node, void* cookie) argument 416 ReadDir(void* node, void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument 424 RewindDir(void* node, void* cookie) argument 435 OpenAttrDir(void* node, void** cookie) argument 442 CloseAttrDir(void* node, void* cookie) argument 449 FreeAttrDirCookie(void* node, void* cookie) argument 456 ReadAttrDir(void* node, void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument 464 RewindAttrDir(void* node, void* cookie) argument 475 CreateAttr(void* node, const char* name, uint32 type, int openMode, void** cookie) argument 483 OpenAttr(void* node, const char* name, int openMode, void** cookie) argument 491 CloseAttr(void* node, void* cookie) argument 498 FreeAttrCookie(void* node, void* cookie) argument 505 ReadAttr(void* node, void* cookie, off_t pos, void* buffer, size_t bufferSize, size_t* bytesRead) argument 513 WriteAttr(void* node, void* cookie, off_t pos, const void* buffer, size_t bufferSize, size_t* bytesWritten) argument 521 ReadAttrStat(void* node, void* cookie, struct stat *st) argument 528 WriteAttrStat(void* node, void* cookie, const struct stat* st, int statMask) argument 555 OpenIndexDir(void** cookie) argument 562 CloseIndexDir(void* cookie) argument 569 FreeIndexDirCookie(void* cookie) argument 576 ReadIndexDir(void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument 584 RewindIndexDir(void* cookie) argument 616 OpenQuery(const char* queryString, uint32 flags, port_id port, uint32 token, void** cookie) argument 624 CloseQuery(void* cookie) argument 631 FreeQueryCookie(void* cookie) argument 638 ReadQuery(void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument 646 RewindQuery(void* cookie) argument [all...] |
/haiku-fatelf/src/tests/kits/app/broster/ |
H A D | LaunchTester.cpp | 333 int32 cookie = 0; local 334 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); 335 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); 336 CHK(context.CheckMessageMessages(caller, team, cookie)); 337 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); 339 CHK(context.CheckRefsMessage(caller, team, cookie)); 340 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); 341 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); 342 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); 366 int32 cookie local 399 int32 cookie = 0; local 434 int32 cookie = 0; local 471 int32 cookie = 0; local 508 int32 cookie = 0; local 552 int32 cookie = 0; local 587 int32 cookie = 0; local 618 int32 cookie = 0; local 673 int32 cookie = 0; local 725 int32 cookie = 0; local 767 int32 cookie = 0; local 822 int32 cookie = 0; local 873 int32 cookie = 0; local 913 int32 cookie = 0; local 964 int32 cookie = 0; local 1023 int32 cookie = 0; local 1074 int32 cookie = 0; local 1114 int32 cookie = 0; local 1163 int32 cookie = 0; local 1209 int32 cookie = 0; local 1260 int32 cookie = 0; local 1306 int32 cookie = 0; local 1415 int32 cookie = 0; local 1526 int32 cookie = 0; local 1619 int32 cookie = 0; local 1654 int32 cookie = 0; local 1749 int32 cookie = 0; local 1880 int32 cookie = 0; local 1916 int32 cookie = 0; local 1955 int32 cookie = 0; local 2020 int32 cookie = 0; local 2094 int32 cookie = 0; local 2165 int32 cookie = 0; local 2297 int32 cookie = 0; local 2333 int32 cookie = 0; local 2372 int32 cookie = 0; local 2436 int32 cookie = 0; local 2510 int32 cookie = 0; local 2547 int32 cookie = 0; local 2620 int32 cookie = 0; local 2752 int32 cookie = 0; local 2788 int32 cookie = 0; local 2827 int32 cookie = 0; local 2891 int32 cookie = 0; local 2971 int32 cookie = 0; local 3006 int32 cookie = 0; local 3079 int32 cookie = 0; local [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/usb_ecm/ |
H A D | Driver.cpp | 28 usb_ecm_device_added(usb_device device, void **cookie) argument 30 *cookie = NULL; 42 *cookie = gECMDevices[i]; 61 *cookie = ecmDevice; 76 usb_ecm_device_removed(void *cookie) argument 80 ECMDevice *device = (ECMDevice *)cookie; 167 usb_ecm_open(const char *name, uint32 flags, void **cookie) argument 169 TRACE("open(%s, %lu, %p)\n", name, flags, cookie); 172 *cookie = NULL; 177 *cookie 186 usb_ecm_read(void *cookie, off_t position, void *buffer, size_t *numBytes) argument 195 usb_ecm_write(void *cookie, off_t position, const void *buffer, size_t *numBytes) argument 205 usb_ecm_control(void *cookie, uint32 op, void *buffer, size_t length) argument 214 usb_ecm_close(void *cookie) argument 223 usb_ecm_free(void *cookie) argument [all...] |
/haiku-fatelf/headers/private/kernel/slab/ |
H A D | ObjectDepot.h | 26 void* cookie; member in struct:object_depot 28 void (*return_object)(struct object_depot* depot, void* cookie, 38 size_t maxCount, uint32 flags, void* cookie, 39 void (*returnObject)(object_depot* depot, void* cookie, void* object,
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/ |
H A D | ntfsdir.h | 42 status_t fs_closedir(fs_volume *volume, fs_vnode *vnode, void *cookie); 43 status_t fs_free_dircookie(fs_volume *volume, fs_vnode *vnode, void *cookie); 44 status_t fs_opendir(fs_volume *volume, fs_vnode *vnode, void** cookie); 47 status_t fs_rewinddir(fs_volume *volume, fs_vnode *vnode, void *cookie);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/haiku/ |
H A D | HaikuKernelIORequest.h | 39 void* cookie; member in struct:UserlandFS::HaikuKernelIterativeFDIOCookie 43 void* cookie) 49 cookie(cookie) 41 HaikuKernelIterativeFDIOCookie(int fd, HaikuKernelIORequest* request, iterative_io_get_vecs getVecs, iterative_io_finished finished, void* cookie) argument
|
/haiku-fatelf/src/libs/icon/transformer/ |
H A D | TransformerFactory.cpp | 69 TransformerFactory::NextType(int32* cookie, uint32* type, BString* name) argument 71 *type = *cookie; 72 *cookie = *cookie + 1;
|
/haiku-fatelf/src/system/boot/loader/file_systems/amiga_ffs/ |
H A D | Directory.h | 28 virtual status_t Close(void *cookie); 32 virtual status_t GetNextEntry(void *cookie, char *nameBuffer, size_t bufferSize); 33 virtual status_t GetNextNode(void *cookie, Node **_node); 34 virtual status_t Rewind(void *cookie);
|