/haiku/src/tests/kits/net/service/ |
H A D | CookieTest.cpp | 93 const BNetworkCookie* cookie = _GetCookie(jar, url, "001"); local 95 CPPUNIT_ASSERT(cookie != NULL); 97 CPPUNIT_ASSERT(cookie->HasValue()); 98 CPPUNIT_ASSERT_EQUAL(BString("1"), cookie->Value()); 99 CPPUNIT_ASSERT(cookie->IsSessionCookie()); 100 CPPUNIT_ASSERT(cookie->ShouldDeleteAtExit()); 102 CPPUNIT_ASSERT(!cookie->HasExpirationDate()); 103 CPPUNIT_ASSERT(!cookie->Secure()); 104 CPPUNIT_ASSERT(!cookie->HttpOnly()); 123 // The cookie shoul 163 const BNetworkCookie* cookie = _GetCookie(jar, url, "006"); local 189 const BNetworkCookie* cookie = _GetCookie(jar, url, cookieString.String()); local 211 const BNetworkCookie* cookie = _GetCookie(jar, url, "008"); local 228 const BNetworkCookie* cookie = _GetCookie(jar, url, "010"); local 247 const BNetworkCookie* cookie = _GetCookie(jar, url, "011"); local 268 const BNetworkCookie* cookie = _GetCookie(jar, url, "012-1"); local 303 const BNetworkCookie* cookie = _GetCookie(jar, url, "013-1"); local 381 const BNetworkCookie* cookie = it.Next(); local 405 BNetworkCookie cookie; local 531 BNetworkCookie cookie; local 765 BNetworkCookie cookie; local 849 const BNetworkCookie* cookie = it.Next(); local [all...] |
/haiku/src/add-ons/kernel/drivers/input/i2c_hid/ |
H A D | Driver.cpp | 39 uint32 cookie; member in struct:device_cookie 99 i2c_hid_device_removed(void *cookie) 102 int32 parentCookie = (int32)(addr_t)cookie; 142 i2c_hid_init_device(void *driverCookie, void **cookie) argument 144 *cookie = driverCookie; 161 device_cookie *cookie = new(std::nothrow) device_cookie(); local 162 if (cookie == NULL) 164 cookie->driver_cookie = (hid_driver_cookie*)initCookie; 171 cookie->handler = handler; 172 cookie 192 device_cookie *cookie = (device_cookie *)_cookie; local 204 device_cookie *cookie = (device_cookie *)_cookie; local 215 device_cookie *cookie = (device_cookie *)_cookie; local 225 device_cookie *cookie = (device_cookie *)_cookie; local 235 device_cookie *cookie = (device_cookie *)_cookie; local 395 i2c_hid_register_child_devices(void *cookie) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Request.cpp | 17 Request::Send(Cookie* cookie) argument 20 case IPPROTO_UDP: return _SendUDP(cookie); 21 case IPPROTO_TCP: return _SendTCP(cookie); 29 Request::_SendUDP(Cookie* cookie) argument 38 if (cookie != NULL) 39 cookie->RegisterRequest(rpc); 57 if (cookie != NULL) 58 cookie->UnregisterRequest(rpc); 67 if (cookie != NULL) 68 cookie 92 _SendTCP(Cookie* cookie) argument [all...] |
H A D | InodeRegular.cpp | 66 Inode::Create(const char* name, int mode, int perms, OpenFileCookie* cookie, argument 70 ASSERT(cookie != NULL); 73 cookie->fMode = mode; 74 cookie->fLocks = NULL; 86 cookie->fOpenState = state; 100 Inode::Open(int mode, OpenFileCookie* cookie) argument 102 ASSERT(cookie != NULL); 124 cookie->fOpenState = state; 130 cookie->fOpenState = fOpenState; 173 cookie 191 Close(OpenFileCookie* cookie) argument 234 OpenAttr(const char* _name, int mode, OpenAttrCookie* cookie, bool create, int32 type) argument 292 CloseAttr(OpenAttrCookie* cookie) argument 308 ReadDirect(OpenStateCookie* cookie, off_t pos, void* buffer, size_t* _length, bool* eof) argument 345 Read(OpenFileCookie* cookie, off_t pos, void* buffer, size_t* _length) argument 359 WriteDirect(OpenStateCookie* cookie, off_t pos, const void* _buffer, size_t* _length) argument 408 Write(OpenFileCookie* cookie, off_t pos, const void* _buffer, size_t* _length) argument [all...] |
/haiku/headers/private/i2c/ |
H A D | i2c.h | 44 // bus cookie, issued by i2c bus manager 46 // device cookie, issued by i2c bus manager 53 status_t (*exec_command)(i2c_device cookie, i2c_op op, 56 status_t (*acquire_bus)(i2c_device cookie); 57 void (*release_bus)(i2c_device cookie); 77 status_t (*exec_command)(i2c_bus cookie, i2c_op op, i2c_addr slaveAddress, 80 status_t (*acquire_bus)(i2c_bus cookie); 81 void (*release_bus)(i2c_bus cookie); 117 void (*set_i2c_bus)(i2c_bus_cookie cookie, i2c_bus bus); 119 status_t (*exec_command)(i2c_bus_cookie cookie, i2c_o [all...] |
/haiku/src/add-ons/kernel/drivers/input/usb_hid/ |
H A D | Driver.cpp | 26 uint32 cookie; member in struct:device_cookie 62 usb_hid_device_added(usb_device device, void **cookie) argument 183 *cookie = (void *)(addr_t)parentCookie; 189 usb_hid_device_removed(void *cookie) argument 192 int32 parentCookie = (int32)(addr_t)cookie; 237 device_cookie *cookie = new(std::nothrow) device_cookie(); local 238 if (cookie == NULL) 246 cookie->handler = handler; 247 cookie->cookie 267 device_cookie *cookie = (device_cookie *)_cookie; local 279 device_cookie *cookie = (device_cookie *)_cookie; local 290 device_cookie *cookie = (device_cookie *)_cookie; local 301 device_cookie *cookie = (device_cookie *)_cookie; local 311 device_cookie *cookie = (device_cookie *)_cookie; local [all...] |
/haiku/src/tests/add-ons/kernel/network/ |
H A D | userland_ipc.c | 104 static void shutdown_connection(connection_cookie *cookie); 170 on_socket_event(void * socket, uint32 event, void * cookie) argument 172 connection_cookie * cc = (connection_cookie *) cookie; 180 printf("on_socket_event(%p, %ld, %p): socket is higly suspect! Aborting.\n", socket, event, cookie); 184 printf("on_socket_event(%p, %ld, %p)\n", socket, event, cookie); 187 sed.cookie = cc->notify_cookie; 203 connection_cookie *cookie = (connection_cookie *)_cookie; local 213 ssize_t bytes = read_port(cookie->localPort,&index,NULL,0); 221 command = cookie->commands + index; 241 cookie 449 connection_cookie *cookie; local 519 shutdown_connection(connection_cookie *cookie) argument 544 connection_cookie *cookie; local [all...] |
/haiku/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/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);
|
H A D | FFmpegPlugin.cpp | 115 FFmpegPlugin::RegisterNextEncoder(int32* cookie, media_codec_info* _codecInfo, argument 119 if (*cookie < 0 || *cookie >= (int32)gEncoderCount) 122 *_codecInfo = gEncoderTable[*cookie].codec_info; 123 *_formatFamily = gEncoderTable[*cookie].format_family; 124 _inputFormat->type = gEncoderTable[*cookie].input_type; 125 _outputFormat->type = gEncoderTable[*cookie].output_type;; 127 *cookie = *cookie + 1;
|
/haiku/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/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/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/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/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/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/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/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/src/add-ons/kernel/bus_managers/ata/ |
H A D | ATAModule.cpp | 18 ata_sim_init_bus(device_node *node, void **cookie) argument 31 *cookie = channel; 37 ata_sim_uninit_bus(void *cookie) argument 39 ATAChannel *channel = (ATAChannel *)cookie; 45 ata_sim_bus_removed(void *cookie) argument 47 ATAChannel *channel = (ATAChannel *)cookie; 56 ata_sim_set_scsi_bus(scsi_sim_cookie cookie, scsi_bus bus) argument 58 ATAChannel *channel = (ATAChannel *)cookie; 65 ata_sim_scsi_io(scsi_sim_cookie cookie, scsi_ccb *ccb) argument 67 ATAChannel *channel = (ATAChannel *)cookie; 80 ata_sim_abort(scsi_sim_cookie cookie, scsi_ccb *ccb) argument 92 ata_sim_reset_device(scsi_sim_cookie cookie, uchar targetId, uchar targetLun) argument 104 ata_sim_term_io(scsi_sim_cookie cookie, scsi_ccb *ccb) argument 116 ata_sim_path_inquiry(scsi_sim_cookie cookie, scsi_path_inquiry *info) argument 128 ata_sim_rescan_bus(scsi_sim_cookie cookie) argument 136 ata_sim_reset_bus(scsi_sim_cookie cookie) argument 149 ata_sim_get_restrictions(scsi_sim_cookie cookie, uchar targetID, bool *isATAPI, bool *noAutoSense, uint32 *maxBlocks) argument 158 ata_sim_control(scsi_sim_cookie cookie, uchar targetID, uint32 op, void *buffer, size_t length) argument 209 ata_interrupt_handler(void *cookie, uint8 status) argument [all...] |
/haiku/src/add-ons/input_server/devices/virtualkeyboard/ |
H A D | VirtualKeyboardInputDevice.cpp | 39 VirtualKeyboardInputDevice::Start(const char* name, void* cookie) argument 48 VirtualKeyboardInputDevice::Stop(const char* name, void* cookie) argument 59 VirtualKeyboardInputDevice::Control(const char* name, void* cookie, argument
|
/haiku/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/src/add-ons/kernel/bus_managers/ps2/ |
H A D | ps2_synaptics.cpp | 154 get_synaptics_movment(synaptics_cookie *cookie, touchpad_movement *_event, bigtime_t timeout) argument 163 status = acquire_sem_etc(cookie->synaptics_sem, 1, B_CAN_INTERRUPT | B_RELATIVE_TIMEOUT, 168 if (!cookie->dev->active) { 173 if (packet_buffer_read(cookie->synaptics_ring_buffer, event_buffer, 174 cookie->dev->packet_size) != cookie->dev->packet_size) { 447 = (synaptics_cookie*)dev->parent_dev->cookie; 584 synaptics_cookie *cookie; local 603 cookie = (synaptics_cookie*)malloc(sizeof(synaptics_cookie)); 604 if (cookie 695 synaptics_cookie *cookie = (synaptics_cookie*)_cookie; local 732 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 750 synaptics_cookie *cookie = (synaptics_cookie*)_cookie; local 781 synaptics_cookie *cookie = (synaptics_cookie*)dev->cookie; local 846 synaptics_cookie *cookie = (synaptics_cookie*)dev->cookie; local [all...] |
/haiku/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...] |