Searched refs:cookie (Results 1 - 25 of 114) sorted by relevance

12345

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/t/
H A Dcan.t7 can_ok('CGI', qw/cookie param/);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dparted_io.c41 static int do_close (void *cookie);
42 static int do_sync (void *cookie);
43 static blk_t do_get_size (void *cookie);
44 static int do_read (void *cookie, void *ptr, blk_t block, blk_t numblocks);
45 static int do_set_blocksize(void *cookie, int logsize);
46 static int do_write (void *cookie, void *ptr, blk_t block, blk_t numblocks);
60 static int do_close(void *cookie) argument
62 struct my_cookie *monster = cookie;
67 static int do_sync(void *cookie) argument
69 struct my_cookie *monster = cookie;
74 do_get_size(void *cookie) argument
81 do_read(void *cookie, void *ptr, blk_t block, blk_t num) argument
90 do_set_blocksize(void *cookie, int logsize) argument
98 do_write(void *cookie, void *ptr, blk_t block, blk_t num) argument
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_reads.c60 static int validate_filter(ns_ldap_cookie_t *cookie);
323 * (cookie->i_extra_info_attr) are requested and returns
328 set_extra_info(ns_ldap_cookie_t *cookie) argument
336 iattr = cookie->i_extra_info_attr;
354 for (iattr = cookie->i_extra_info_attr; *iattr != NULL; iattr++) {
357 if (cookie->conn == NULL)
359 switch (cookie->conn->serverType) {
412 cookie->extra_info = ep;
1280 __s_api_getEntry(ns_ldap_cookie_t *cookie) argument
1291 if (cookie
1590 ns_ldap_cookie_t *cookie; local
1615 delete_search_cookie(ns_ldap_cookie_t *cookie) argument
1653 get_mapped_filter(ns_ldap_cookie_t *cookie, char **new_filter) argument
2050 setup_next_search(ns_ldap_cookie_t *cookie) argument
2171 setup_referral_search(ns_ldap_cookie_t *cookie) argument
2193 get_current_session(ns_ldap_cookie_t *cookie) argument
2230 get_next_session(ns_ldap_cookie_t *cookie) argument
2284 get_referral_session(ns_ldap_cookie_t *cookie) argument
2345 paging_supported(ns_ldap_cookie_t *cookie) argument
2447 setup_vlv_params(ns_ldap_cookie_t *cookie) argument
2534 setup_simplepg_params(ns_ldap_cookie_t *cookie) argument
2561 proc_result_referrals(ns_ldap_cookie_t *cookie) argument
2601 proc_search_references(ns_ldap_cookie_t *cookie) argument
2638 multi_result(ns_ldap_cookie_t *cookie) argument
2807 clear_results(ns_ldap_cookie_t *cookie) argument
2870 search_state_machine(ns_ldap_cookie_t *cookie, ns_state_t state, int cycle) argument
3692 check_shadow(ns_ldap_cookie_t *cookie, const char *service) argument
3772 ns_ldap_cookie_t *cookie; local
4121 ns_ldap_cookie_t *cookie = NULL; local
4557 ns_ldap_cookie_t *cookie; local
4687 ns_ldap_cookie_t *cookie = NULL; local
4943 ns_ldap_cookie_t *cookie; local
4987 ns_ldap_cookie_t *cookie; local
6196 validate_filter(ns_ldap_cookie_t *cookie) argument
6219 setup_acctmgmt_params(ns_ldap_cookie_t *cookie) argument
6652 ns_ldap_cookie_t *cookie; local
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dextensions.c30 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output) argument
43 (cookie && cookie->bv_val) ? cookie->bv_val : "",
44 (cookie && cookie->bv_val) ? cookie->bv_len : 0)
57 int ldap_parse_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie) argument
69 if ((rc = ber_scanf(theBer, "{iO}", totalcount, cookie)) == LBER_ERROR){
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dspagectrl.c24 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output) argument
37 (cookie && cookie->bv_val) ? cookie->bv_val : "",
38 (cookie && cookie->bv_val) ? cookie->bv_len : 0)
51 int ldap_parse_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie) argument
63 if ((rc = ber_scanf(theBer, "{iO}", totalcount, cookie)) == LBER_ERROR){
/osnet-11/usr/src/lib/libidmap/common/
H A Dsized_array.c49 char cookie[8]; member in struct:sized_array
73 (void) memcpy(sa->cookie, COOKIE, sizeof (sa->cookie));
90 assert(memcmp(sa->cookie, COOKIE, sizeof (sa->cookie)) == 0);
104 assert(memcmp(sa->cookie, COOKIE, sizeof (sa->cookie)) == 0);
118 assert(memcmp(sa->cookie, COOKIE, sizeof (sa->cookie)) == 0);
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.pm92 # lgrp_isleaf($cookie, $lgrp)
97 scalar @_ == 2 or _usage "lgrp_isleaf(cookie, lgrp)";
102 # lgrp_lgrps($cookie, [$lgrp])
108 scalar @_ > 0 or _usage("lgrp_lgrps(cookie, [lgrp])");
109 my $cookie = shift;
111 $root = lgrp_root($cookie) unless defined $root;
113 my @children = lgrp_children($cookie, $root);
122 ($root, map {lgrp_lgrps($cookie, $_)} @children) :
128 # lgrp_leaves($cookie, [$lgrp])
135 scalar @_ > 0 or _usage("lgrp_leaves(cookie, [lgr
155 sub cookie subroutine
[all...]
H A DLgrp.xs126 _lgrp_latency_cookie(lgrp_cookie_t cookie, lgrp_id_t from, lgrp_id_t to,
131 lgrp_latency_cookie(cookie, from, to, between));
202 lgrp_view(cookie)
203 lgrp_cookie_t cookie
226 lgrp_cookie_stale(cookie)
227 lgrp_cookie_t cookie;
232 lgrp_fini(cookie)
233 lgrp_cookie_t cookie;
251 lgrp_mem_size(cookie, lgrp, type, content)
252 lgrp_cookie_t cookie
[all...]
/osnet-11/usr/src/lib/libuvfs/common/
H A Ddir.c48 ino64_t ino, off64_t off, void **cookie)
58 if (*cookie == NULL) {
60 *cookie = (void *)dp;
62 dp = (dirent64_t *)*cookie;
66 if (((char *)*cookie + reclen) > ((char *)data_buf + buflen))
68 *cookie = (void **)((uintptr_t)*cookie + reclen);
71 dp->d_off = (off == -1) ? (uintptr_t)*cookie - (uintptr_t)data_buf :
47 libuvfs_add_direntry(void *data_buf, size_t buflen, const char *name, ino64_t ino, off64_t off, void **cookie) argument
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_cookie.c35 * PURPOSE: Manage CQE cookie structures
46 * enough to hold cookie data for the maximum number of operations possible
49 * Two pieces of information are maintained to manage cookie allocation:
51 * head index : index of next unallocated cookie
52 * tail index : index of last unallocated cookie
54 * Each cookie store its index in this memory pool.
56 * When an event is received, the index stored in the event's cookie will be
101 DAPL_COOKIE *cookie);
183 * new_buffer pointer to the newly allocated cookie buffer
211 * create a new cookie buffe
323 dapls_cb_put( IN DAPL_COOKIE_BUFFER *buffer, IN DAPL_COOKIE *cookie) argument
357 DAPL_COOKIE *cookie; local
403 DAPL_COOKIE *cookie; local
420 dapls_cookie_dealloc( IN DAPL_COOKIE_BUFFER *buffer, IN DAPL_COOKIE *cookie) argument
[all...]
H A Ddapl_ep_post_recv.c81 DAPL_COOKIE *cookie; local
113 &cookie);
123 dat_status = dapls_ib_post_recv(ep_ptr, cookie, num_segments,
126 dat_status = dapls_ib_post_recv_one(ep_ptr, cookie, local_iov);
129 dapls_cookie_dealloc(&ep_ptr->recv_buffer, cookie);
/osnet-11/usr/src/cmd/sendmail/db/btree/
H A Dbt_conv.c31 __bam_pgin(pg, pp, cookie)
34 DBT *cookie;
38 pginfo = (DB_PGINFO *)cookie->data;
53 __bam_pgout(pg, pp, cookie)
56 DBT *cookie;
60 pginfo = (DB_PGINFO *)cookie->data;
/osnet-11/usr/src/cmd/sendmail/db/hash/
H A Dhash_conv.c38 __ham_pgin(pg, pp, cookie)
41 DBT *cookie;
46 pginfo = (DB_PGINFO *)cookie->data;
71 __ham_pgout(pg, pp, cookie)
74 DBT *cookie;
78 pginfo = (DB_PGINFO *)cookie->data;
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_search.c60 int level, void *cookie) {
63 (*action)(root, leaf, level, cookie);
65 (*action)(root, preorder, level, cookie);
67 slp_twalk(root->llink, action, level + 1, cookie);
68 (*action)(root, postorder, level, cookie);
70 slp_twalk(root->rlink, action, level + 1, cookie);
71 (*action)(root, endorder, level, cookie);
58 slp_twalk(void *r, void (*action)(void *, VISIT, int, void *), int level, void *cookie) argument
H A DSLPFindSrvs.c41 void *cookie; member in struct:caller_bundle
107 SLPSrvURLCallback cb, void *cookie,
120 traverse_surls(hp, cb, cookie, *collator);
122 cb(hp, NULL, 0, SLP_LAST_CALL, cookie);
133 return (cb(hp, NULL, 0, errCode, cookie));
199 cookie);
225 SLPSrvURLCallback cb, void *cookie,
236 traverse_surls(hp, cb, cookie, *collator);
238 cb(hp, NULL, 0, SLP_LAST_CALL, cookie);
247 return (cb(hp, NULL, 0, errCode, cookie));
106 slp_unpackSrvReply(slp_handle_impl_t *hp, char *reply, SLPSrvURLCallback cb, void *cookie, void **collator, int *numResults) argument
224 unpackDAAdvert_srv(slp_handle_impl_t *hp, char *reply, SLPSrvURLCallback cb, void *cookie, void **collator, int *numResults) argument
282 unpackSAAdvert_srv(slp_handle_impl_t *hp, char *reply, SLPSrvURLCallback cb, void *cookie, void **collator, int *numResults) argument
505 traverse_surls(SLPHandle h, SLPSrvURLCallback cb, void *cookie, void *collator) argument
[all...]
H A DSLPFindAttrs.c106 SLPAttrCallback cb, void *cookie,
125 cb(hp, pcAttrList, SLP_OK, cookie);
128 cb(hp, NULL, SLP_LAST_CALL, cookie);
140 return (cb(hp, NULL, errCode, cookie));
177 cont = cb((SLPHandle) hp, pcAttrList, errCode, cookie);
197 SLPAttrCallback cb, void *cookie,
211 cb(hp, attrs, SLP_OK, cookie);
214 cb(hp, NULL, SLP_LAST_CALL, cookie);
223 return (cb(hp, NULL, errCode, cookie));
231 cont = cb((SLPHandle) hp, attrs, errCode, cookie);
105 slp_UnpackAttrReply(slp_handle_impl_t *hp, char *reply, SLPAttrCallback cb, void *cookie, void **collator, int *numResults) argument
196 unpackDAAdvert_attr(slp_handle_impl_t *hp, char *reply, SLPAttrCallback cb, void *cookie, void **collator, int *numResults) argument
253 unpackSAAdvert_attr(slp_handle_impl_t *hp, char *reply, SLPAttrCallback cb, void *cookie, void **collator, int *numResults) argument
553 collect_attrs(void *node, VISIT order, int level, void *cookie) argument
[all...]
/osnet-11/usr/src/lib/libkvm/common/
H A Dtest.c51 kvm_t *cookie; variable
133 if (cookie == NULL)
143 if (kvm_read(cookie, (uintptr_t)proc->p_pidp, &pid,
175 if ((cookie = kvm_open(namelist, corefile,
177 printf("ERROR: kvm_open returned %p\n", cookie);
186 if ((i = kvm_close(cookie)) != 0)
197 if ((i = kvm_nlist(cookie, nl)) != 0)
266 if ((e = kvm_read(cookie, addr, buf, nbytes)) != nbytes)
284 if ((e = kvm_write(cookie, addr, buf, nbytes)) != nbytes)
290 if ((i = kvm_read(cookie, add
[all...]
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_dto.c53 IN DAPL_COOKIE *cookie,
97 if (cookie != NULL) {
98 cookie->val.dto.size = total_len;
101 "size(%d) hkey(%016llx)\n", cookie, num_segments,
102 cookie->val.dto.size, ep_ptr->qp_handle->ep_hkey);
105 pr_wr.wr_id = (ibt_wrid_t)(uintptr_t)cookie;
152 IN DAPL_COOKIE *cookie,
176 if (cookie != NULL) {
177 cookie->val.dto.size = total_len;
180 "size(%d) hkey(%016llx)\n", cookie,
51 dapls_ib_post_recv( IN DAPL_EP *ep_ptr, IN DAPL_COOKIE *cookie, IN DAT_COUNT num_segments, IN DAT_LMR_TRIPLET *local_iov, IN DAT_COMPLETION_FLAGS completion_flags) argument
150 dapls_ib_post_recv_one( IN DAPL_EP *ep_ptr, IN DAPL_COOKIE *cookie, IN DAT_LMR_TRIPLET *local_iov) argument
219 dapls_ib_post_srq( IN DAPL_SRQ *srq_ptr, IN DAPL_COOKIE *cookie, IN DAT_COUNT num_segments, IN DAT_LMR_TRIPLET *local_iov) argument
301 dapls_ib_post_send(IN DAPL_EP *ep_ptr, IN ib_send_op_type_t op_type, IN DAPL_COOKIE *cookie, IN DAT_COUNT num_segments, IN DAT_LMR_TRIPLET *local_iov, IN const DAT_RMR_TRIPLET *remote_iov, IN DAT_COMPLETION_FLAGS completion_flags) argument
454 dapls_ib_post_send_one(IN DAPL_EP *ep_ptr, IN ib_send_op_type_t op_type, IN DAPL_COOKIE *cookie, IN DAT_LMR_TRIPLET *local_iov, IN const DAT_RMR_TRIPLET *remote_iov) argument
[all...]
/osnet-11/usr/src/lib/librcm/
H A Dlibrcm_event.c177 * add result to cookie, this is only invoked if result size > BUF_THRESHOLD
197 * Attach current door result to the door cookie
247 door_service(void *cookie, char *args, size_t alen, argument
253 door_cookie_t *cook = (door_cookie_t *)cookie;
260 free_door_result(cookie, *(uint64_t *)(void *)args);
333 door_cookie_t *cookie; local
342 /* allocate space for door cookie */
343 if ((cookie = calloc(1, sizeof (*cookie))) == NULL) {
347 cookie
382 door_cookie_t *cookie; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/
H A DCookie.pm52 # return as a hash. The cookie values are not unescaped or altered in any way.
153 my @cookie = ( "$name=$value" );
155 push @cookie,"domain=".$self->domain if $self->domain;
156 push @cookie,"path=".$self->path if $self->path;
157 push @cookie,"expires=".$self->expires if $self->expires;
158 push @cookie,"max-age=".$self->max_age if $self->max_age;
159 push @cookie,"secure" if $self->secure;
160 push @cookie,"HttpOnly" if $self->httponly;
162 return join "; ", @cookie;
182 print CGI::header(-cookie
[all...]
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetservent.c77 _nss_services_cookie_t *cookie; local
79 if ((cookie = calloc(1, sizeof (*cookie))) == NULL)
86 cookie->result = result;
88 cookie->index = index;
89 cookie->cname = cname;
91 return (cookie);
119 _nss_services_cookie_t *cookie = (_nss_services_cookie_t *) local
122 if (cookie) {
127 result = cookie
[all...]
/osnet-11/usr/src/lib/libcmdutils/common/
H A Davltree.c205 void *cookie; local
210 cookie = NULL;
211 while ((tnode = avl_destroy_nodes(stree, &cookie)) != NULL) {
/osnet-11/usr/src/lib/libsysevent/
H A Dllib-lsysevent126 int (*event_handler)(sysevent_t *ev, void *cookie),
127 void *cookie, uint32_t flags);
130 int (*event_handler)(sysevent_t *ev, void *cookie),
131 void *cookie, uint32_t flags,
142 door_xcreate_server_func_t *func, void *cookie);
144 door_xcreate_thrsetup_func_t *func, void *cookie);
/osnet-11/usr/src/lib/liblgrp/common/
H A Dlgrp.c567 * Return whether given cookie is out-of-date (stale) or not
570 lgrp_cookie_stale(lgrp_cookie_t cookie) argument
576 * Check for bad cookie
578 snap = (lgrp_snapshot_header_t *)cookie;
579 if (snap == NULL || snap->ss_magic != cookie) {
601 return (0); /* cookie isn't stale */
606 * Get view of lgroup hierarchy from snapshot represented by given cookie
609 lgrp_view(lgrp_cookie_t cookie) argument
613 snap = (lgrp_snapshot_header_t *)cookie;
614 if (snap == NULL || snap->ss_magic != cookie) {
627 lgrp_nlgrps(lgrp_cookie_t cookie) argument
646 lgrp_root(lgrp_cookie_t cookie) argument
665 lgrp_parents(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *parents, uint_t count) argument
742 lgrp_children(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *children, uint_t count) argument
888 lgrp_cpus(lgrp_cookie_t cookie, lgrp_id_t lgrp, processorid_t *cpuids, uint_t count, lgrp_content_t content) argument
965 lgrp_mem_size(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_mem_size_flag_t type, lgrp_content_t content) argument
1075 lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *lgrps, uint_t count, lgrp_rsrc_t type) argument
1133 lgrp_fini(lgrp_cookie_t cookie) argument
1164 lgrp_cookie_t cookie; local
1185 lgrp_latency_cookie(lgrp_cookie_t cookie, lgrp_id_t from, lgrp_id_t to, lgrp_lat_between_t between) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/examples/
H A Dcustomize.cgi10 # recover the "preferences" cookie.
11 %preferences = cookie('preferences');
23 # Refresh the cookie so that it doesn't expire. This also
25 $the_cookie = cookie(-name=>'preferences',
28 print header(-cookie=>$the_cookie);

Completed in 60 milliseconds

12345