Searched refs:cookie (Results 201 - 225 of 1016) sorted by relevance

1234567891011>>

/haiku-fatelf/src/system/boot/platform/u-boot/
H A Dconsole.cpp22 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);
64 Console::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
73 Console::WriteAt(void *cookie, off_t /*pos*/, const void *buffer, size_t bufferSize) argument
135 SerialConsole::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
144 SerialConsole::WriteAt(void *cookie, off_t /*pos*/, const void *buffer, size_t bufferSize) argument
/haiku-fatelf/src/tests/add-ons/kernel/debugger/
H A Dgcc2_demangle_test.cpp27 uint32 cookie = 0; local
30 while (get_next_argument_gcc2(&cookie, argv[i], name, sizeof(name),
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/client/
H A DVirtualVolume.h53 void** cookie);
55 void** cookie);
56 virtual status_t Close(Node* node, void* cookie);
57 virtual status_t FreeCookie(Node* node, void* cookie);
58 virtual status_t Read(Node* node, void* cookie, off_t pos,
61 virtual status_t Write(Node* node, void* cookie, off_t pos,
64 virtual status_t IOCtl(Node* node, void* cookie, int cmd,
66 virtual status_t SetFlags(Node* node, void* cookie,
84 virtual status_t OpenDir(Node* node, void** cookie);
85 virtual status_t CloseDir(Node* node, void* cookie);
[all...]
H A DVolume.h86 void** cookie);
88 void** cookie);
89 virtual status_t Close(Node* node, void* cookie);
90 virtual status_t FreeCookie(Node* node, void* cookie);
91 virtual status_t Read(Node* node, void* cookie, off_t pos,
94 virtual status_t Write(Node* node, void* cookie, off_t pos,
97 virtual status_t IOCtl(Node* node, void* cookie, int cmd,
99 virtual status_t SetFlags(Node* node, void* cookie,
117 virtual status_t OpenDir(Node* node, void** cookie);
118 virtual status_t CloseDir(Node* node, void* cookie);
[all...]
/haiku-fatelf/src/tests/system/boot/loader/
H A DHandle.h25 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-fatelf/src/tests/system/libroot/posix/
H A Dinit_rld_after_fork_test.cpp16 int32 cookie = 0; local
17 while (get_next_sem_info(B_CURRENT_TEAM, &cookie, &semInfo) == B_OK)
/haiku-fatelf/src/add-ons/kernel/generic/tty/
H A Dtty_private.h37 void Init(RequestOwner *owner, tty_cookie *cookie, size_t bytesNeeded);
70 void NotifyError(tty_cookie *cookie, status_t error);
84 void Enqueue(tty_cookie *cookie, RequestQueue *queue1,
153 extern void tty_destroy_cookie(tty_cookie *cookie);
154 extern void tty_close_cookie(tty_cookie *cookie);
156 extern status_t tty_read(tty_cookie *cookie, void *buffer, size_t *_length);
159 extern status_t tty_control(tty_cookie *cookie, uint32 op, void *buffer,
161 extern status_t tty_select(tty_cookie *cookie, uint8 event, uint32 ref,
163 extern status_t tty_deselect(tty_cookie *cookie, uint8 event, selectsync *sync);
165 extern status_t tty_input_lock(tty_cookie* cookie, boo
[all...]
/haiku-fatelf/src/tests/kits/net/cookie/
H A Dcookie_test.cpp59 BNetworkCookie cookie; local
63 cookie.ParseCookieString(kTestExplode[testIndex].cookieString);
65 ASSERT(testIndex, BString(kTestExplode[testIndex].expected.name) == BString(cookie.Name()));
66 ASSERT(testIndex, BString(kTestExplode[testIndex].expected.value) == BString(cookie.Value()));
67 ASSERT(testIndex, BString(kTestExplode[testIndex].expected.domain) == BString(cookie.Domain()));
68 ASSERT(testIndex, BString(kTestExplode[testIndex].expected.path) == BString(cookie.Path()));
69 ASSERT(testIndex, kTestExplode[testIndex].expected.secure == cookie.Secure());
70 ASSERT(testIndex, kTestExplode[testIndex].expected.discard == cookie.Discard());
71 ASSERT(testIndex, kTestExplode[testIndex].expected.session == cookie.IsSessionCookie());
73 if (!cookie
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/audio/cmedia/
H A Dmixer.c14 static status_t mixer_open(const char *name, uint32 flags, void **cookie);
15 static status_t mixer_close(void *cookie);
16 static status_t mixer_free(void *cookie);
17 static status_t mixer_control(void *cookie, uint32 op, void *data, size_t len);
18 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);
84 void ** cookie)
91 *cookie = NULL;
103 *cookie = &cards[ix].mixer;
111 void * cookie)
81 mixer_open( const char * name, uint32 flags, void ** cookie) argument
110 mixer_close( void * cookie) argument
122 mixer_free( void * cookie) argument
250 mixer_control( void * cookie, uint32 iop, void * data, size_t len) argument
285 mixer_read( void * cookie, off_t pos, void * data, size_t * nread) argument
296 mixer_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument
[all...]
H A Dmux.c14 static status_t mux_open(const char *name, uint32 flags, void **cookie);
15 static status_t mux_close(void *cookie);
16 static status_t mux_free(void *cookie);
17 static status_t mux_control(void *cookie, uint32 op, void *data, size_t len);
18 static status_t mux_read(void *cookie, off_t pos, void *data, size_t *len);
19 static status_t mux_write(void *cookie, off_t pos, const void *data, size_t *len);
78 void ** cookie)
85 *cookie = NULL;
97 *cookie = &cards[ix].mux;
105 void * cookie)
75 mux_open( const char * name, uint32 flags, void ** cookie) argument
104 mux_close( void * cookie) argument
116 mux_free( void * cookie) argument
231 mux_control( void * cookie, uint32 iop, void * data, size_t len) argument
262 mux_read( void * cookie, off_t pos, void * data, size_t * nread) argument
273 mux_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.h53 virtual status_t SetFlags(void* node, void* cookie,
76 int openMode, int mode, void** cookie,
79 void** cookie);
80 virtual status_t Close(void* node, void* cookie);
81 virtual status_t FreeCookie(void* node, void* cookie);
82 virtual status_t Read(void* node, void* cookie, off_t pos,
85 virtual status_t Write(void* node, void* cookie,
93 virtual status_t OpenDir(void* node, void** cookie);
94 virtual status_t CloseDir(void* node, void* cookie);
95 virtual status_t FreeDirCookie(void* node, void* cookie);
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_keyboard.cpp332 keyboard_cookie* cookie = new(std::nothrow) keyboard_cookie(); local
333 if (cookie == NULL)
336 cookie->is_reader = false;
337 cookie->is_debugger = false;
346 delete cookie;
354 delete cookie;
362 delete cookie;
373 *_cookie = cookie;
383 keyboard_cookie *cookie = (keyboard_cookie *)_cookie; local
396 if (cookie
407 keyboard_freecookie(void *cookie) argument
415 keyboard_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument
424 keyboard_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
435 keyboard_cookie *cookie = (keyboard_cookie *)_cookie; local
[all...]
/haiku-fatelf/src/add-ons/kernel/partitioning_systems/intel/
H A Dintel.cpp114 pm_identify_partition(int fd, partition_data* partition, void** cookie) argument
117 if (fd < 0 || !partition || !cookie)
143 *cookie = map;
179 pm_scan_partition(int fd, partition_data* partition, void* cookie) argument
182 if (fd < 0 || !partition || !cookie)
189 PartitionMapCookie* map = (PartitionMapCookie*)cookie;
225 child->cookie = primary;
241 child->cookie = NULL;
251 pm_free_identify_partition_cookie(partition_data*/* partition*/, void* cookie) argument
253 if (cookie) {
302 ep_identify_partition(int fd, partition_data* partition, void** cookie) argument
331 ep_scan_partition(int fd, partition_data* partition, void* cookie) argument
406 ep_free_identify_partition_cookie(partition_data* partition, void* cookie) argument
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/bt_fs/
H A Dnfs_add_on.c173 // If we're creating a new file, or we just had to delete our old vnid-cookie pair
445 extern int fs_opendir(fs_nspace *ns, fs_node *node, btCookie **cookie) argument
460 // Allocate and initialize the cookie.
461 *cookie = (btCookie *) malloc(sizeof(btCookie));
462 if (!*cookie)
465 memset((*cookie)->opaque, 0, BT_COOKIE_SIZE);
466 (*cookie)->lpbCache = false;
467 (*cookie)->eof = false;
474 extern int fs_closedir(fs_nspace *ns, fs_node *node, btCookie *cookie) argument
477 btEmptyLPBCache(cookie);
483 fs_rewinddir(fs_nspace *ns, fs_node *node, btCookie *cookie) argument
494 fs_readdir(fs_nspace *ns, fs_node *node, btCookie *cookie, long *num, struct dirent *buf, size_t bufsize) argument
545 fs_free_dircookie(fs_nspace *ns, fs_node *node, btCookie *cookie) argument
767 fs_open(fs_nspace *ns, fs_node *node, int omode, fs_file_cookie **cookie) argument
792 fs_close(fs_nspace *ns, fs_node *node, fs_file_cookie *cookie) argument
803 fs_free_cookie(fs_nspace *ns, fs_node *node, fs_file_cookie *cookie) argument
814 fs_read(fs_nspace *ns, fs_node *node, fs_file_cookie *cookie, off_t pos, void *buf, size_t *len) argument
833 fs_write(fs_nspace *ns, fs_node *node, fs_file_cookie *cookie, off_t pos, const void *buf, size_t *len) argument
867 fs_create(fs_nspace *ns, fs_node *dir, const char *name, int omode, int perms, vnode_id *vnid, fs_file_cookie **cookie) argument
1175 fs_open_attribdir(fs_nspace *ns, fs_node *node, btCookie **cookie) argument
1200 fs_close_attribdir(fs_nspace *ns, fs_node *node, btCookie *cookie) argument
1209 fs_rewind_attribdir(fs_nspace *ns, fs_node *node, btCookie *cookie) argument
1222 fs_read_attribdir(fs_nspace *ns, fs_node *node, btCookie *cookie, long *num, struct dirent *buf, size_t bufsize) argument
1264 fs_free_attribdircookie(fs_nspace *ns, btCookie *cookie) argument
1311 fs_open_indexdir(fs_nspace *ns, btCookie **cookie) argument
1324 fs_close_indexdir(fs_nspace *ns, btCookie *cookie) argument
1332 fs_rewind_indexdir(fs_nspace *ns, btCookie *cookie) argument
1342 fs_read_indexdir(fs_nspace *ns, btCookie *cookie, long *num, struct dirent *buf, size_t bufsize) argument
1379 fs_free_indexdircookie(fs_nspace *ns, btCookie *cookie) argument
1413 fsOpenQuery(fs_nspace *ns, const char *query, ulong flags, port_id port, long token, btQueryCookie **cookie) argument
1424 fsCloseQuery(fs_nspace *ns, btQueryCookie *cookie) argument
1430 fsReadQuery(fs_nspace *ns, btQueryCookie *cookie, long *num, struct dirent *buf, size_t bufsize) argument
1466 fsFreeQueryCookie(fs_nspace *ns, btQueryCookie *cookie) argument
[all...]
/haiku-fatelf/headers/private/fs_shell/
H A Dfssh_fs_interface.h88 fssh_fs_cookie *cookie);
90 fssh_fs_cookie cookie);
92 fssh_fs_cookie cookie);
94 fssh_fs_cookie cookie, struct fssh_dirent *buffer,
97 fssh_fs_cookie cookie);
109 fssh_status_t (*close_query)(fssh_fs_volume *volume, fssh_fs_cookie cookie);
111 fssh_fs_cookie cookie);
112 fssh_status_t (*read_query)(fssh_fs_volume *volume, fssh_fs_cookie cookie,
116 fssh_fs_cookie cookie);
139 fssh_fs_cookie cookie);
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/
H A Dh2transactions.cpp28 void acl_tx_complete(void* cookie, uint32 status, void* data, uint32 actual_len);
29 void acl_rx_complete(void* cookie, uint32 status, void* data, uint32 actual_len);
30 void command_complete(void* cookie, uint32 status, void* data, uint32 actual_len);
31 void event_complete(void* cookie, uint32 status, void* data, uint32 actual_len);
33 void acl_tx_complete(void* cookie, status_t status, void* data, size_t actual_len);
34 void acl_rx_complete(void* cookie, status_t status, void* data, size_t actual_len);
35 void command_complete(void* cookie, status_t status, void* data, size_t actual_len);
36 void event_complete(void* cookie, status_t status, void* data, size_t actual_len);
56 event_complete(void* cookie, uint32 status, void* data, uint32 actual_len) argument
58 event_complete(void* cookie, status_
99 acl_rx_complete(void* cookie, uint32 status, void* data, uint32 actual_len) argument
206 command_complete(void* cookie, uint32 status, void* data, uint32 actual_len) argument
235 acl_tx_complete(void* cookie, uint32 status, void* data, uint32 actual_len) argument
[all...]
/haiku-fatelf/headers/os/add-ons/input_server/
H A DInputServerDevice.h18 void* cookie; member in struct:input_device_ref
49 virtual status_t Start(const char* device, void* cookie);
50 virtual status_t Stop(const char* device, void* cookie);
51 virtual status_t Control(const char* device, void* cookie, uint32 code,
/haiku-fatelf/src/add-ons/kernel/drivers/misc/
H A Dconfig_driver.h28 uint64 cookie; member in struct:cm_ioctl_data
/haiku-fatelf/src/apps/devices/
H A Dconfig_driver.h19 uint64 cookie; member in struct:cm_ioctl_data
/haiku-fatelf/src/bin/
H A Dlistport.c31 int32 cookie = 0; local
35 while (get_next_team_info(&cookie, &info) >= B_OK)
67 int32 cookie = 0; local
80 while (get_next_port_info(id, &cookie, &this_port) == B_OK) {
/haiku-fatelf/src/servers/input/
H A DMethodMenuItem.cpp20 MethodMenuItem::MethodMenuItem(void* cookie, const char* name, const uchar* icon, BMenu* subMenu, BMessenger& messenger) argument
23 fCookie(cookie)
31 MethodMenuItem::MethodMenuItem(void* cookie, const char* name, const uchar* icon) argument
34 fCookie(cookie)
/haiku-fatelf/src/system/boot/loader/
H A DRootFileSystem.h21 virtual status_t Close(void *cookie);
25 virtual status_t GetNextEntry(void *cookie, char *nameBuffer, size_t bufferSize);
26 virtual status_t GetNextNode(void *cookie, Node **_node);
27 virtual status_t Rewind(void *cookie);
/haiku-fatelf/src/system/boot/platform/amiga_m68k/
H A DHandle.cpp55 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-fatelf/src/system/boot/platform/atari_m68k/
H A DHandle.cpp56 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
99 CharHandle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
116 CharHandle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
/haiku-fatelf/src/system/boot/platform/routerboard_mipsel/
H A Dconsole.cpp18 virtual ssize_t ReadAt(void* cookie, off_t pos, void* buffer,
20 virtual ssize_t WriteAt(void* cookie, off_t pos,
46 Console::ReadAt(void* cookie, off_t pos, void* buffer, size_t bufferSize) argument
54 Console::WriteAt(void* cookie, off_t /*pos*/, const void* buffer, size_t bufferSize) argument

Completed in 220 milliseconds

1234567891011>>