HomeSort by: relevance | last modified time | path
    Searched refs:cookie (Results 1 - 25 of 86) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/xorg-server.old/dist/hw/xwin/
winauth.c 45 #define AUTH_NAME "MIT-MAGIC-COOKIE-1"
57 * Code to generate a MIT-MAGIC-COOKIE-1, copied from under XCSECURITY
73 static char cookie[16]; /* 128 bits */ variable
88 cookie[i++] += *data++;
89 if (i >= sizeof (cookie)) i = 0;
91 GenerateRandomData(sizeof (cookie), cookie); local
92 status = MitAddCookie(sizeof (cookie), cookie, id);
99 *data_return = cookie;
    [all...]
  /xsrc/external/mit/xorg-server/dist/os/
mitauth.c 30 * MIT-MAGIC-COOKIE-1 authorization scheme
82 *reason = "Invalid MIT-MAGIC-COOKIE-1 key";
136 static char cookie[16]; /* 128 bits */ variable
147 cookie[i++] += *data++;
148 if (i >= sizeof(cookie))
151 GenerateRandomData(sizeof(cookie), cookie); local
152 status = MitAddCookie(sizeof(cookie), cookie, id);
157 *data_return = cookie;
    [all...]
xdmauth.c 140 XdmAuthenticationInit(const char *cookie, int cookie_len)
143 if (!strncmp(cookie, "0x", 2) || !strncmp(cookie, "0X", 2)) {
146 HexToBinary(cookie + 2, (char *) privateKey.data, cookie_len - 2);
151 memmove(privateKey.data + 1, cookie, cookie_len);
366 XdmCheckCookie(unsigned short cookie_length, const char *cookie,
380 XdmcpUnwrap((unsigned char *) cookie, (unsigned char *) &auth->key,
  /xsrc/external/mit/xorg-server.old/dist/os/
mitauth.c 30 * MIT-MAGIC-COOKIE-1 authorization scheme
88 *reason = "Invalid MIT-MAGIC-COOKIE-1 key";
150 static char cookie[16]; /* 128 bits */ variable
165 cookie[i++] += *data++;
166 if (i >= sizeof (cookie)) i = 0;
168 GenerateRandomData(sizeof (cookie), cookie); local
169 status = MitAddCookie(sizeof (cookie), cookie, id);
176 *data_return = cookie;
    [all...]
xdmauth.c 140 XdmAuthenticationInit (const char *cookie, int cookie_len)
143 if (!strncmp (cookie, "0x", 2) || !strncmp (cookie, "0X", 2))
147 HexToBinary (cookie + 2, (char *)privateKey.data, cookie_len - 2);
153 memmove (privateKey.data + 1, cookie, cookie_len);
378 XdmCheckCookie (unsigned short cookie_length, const char *cookie,
392 XdmcpUnwrap ((unsigned char *)cookie, (unsigned char *)&auth->key, plain, cookie_length);
  /xsrc/external/mit/xorg-server.old/dist/hw/dmx/doc/html/
resize.js 4 function readCookie(cookie)
6 var myCookie = cookie_namespace+"_"+cookie+"=";
7 if (document.cookie)
9 var index = document.cookie.indexOf(myCookie);
13 var valEnd = document.cookie.indexOf(";", valStart);
16 valEnd = document.cookie.length;
18 var val = document.cookie.substring(valStart, valEnd);
25 function writeCookie(cookie, val, expiration)
34 document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"
    [all...]
  /xsrc/external/mit/MesaLib/dist/include/android_stub/cutils/
trace.h 182 * the event, and the cookie provides a unique identifier for distinguishing
183 * simultaneous events. The name and cookie used to begin an event must be
186 #define ATRACE_ASYNC_BEGIN(name, cookie) \
187 atrace_async_begin(ATRACE_TAG, name, cookie)
189 int32_t cookie)
193 atrace_async_begin_body(name, cookie);
201 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie)
202 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie)
206 atrace_async_end_body(name, cookie);
    [all...]
properties.h 113 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie);
  /xsrc/external/mit/libX11/dist/src/
FreeEventData.c 38 event->cookie = 0;
  /xsrc/external/mit/libXpresent/dist/src/
Xpresent.c 93 out->cookie = 0;
114 XGenericEventCookie *cookie,
127 cookie->type = ge->type & 0x7f;
128 cookie->serial = _XSetLastRequestRead(dpy, (xGenericReply *) ge);
129 cookie->send_event = ((ge->type & 0x80) != 0);
130 cookie->display = dpy;
131 cookie->extension = ge->extension;
132 cookie->evtype = ge->evtype;
138 cookie->data = ce;
142 ce->type = cookie->type
    [all...]
  /xsrc/external/mit/xf86-video-intel-2014/dist/test/
dri3.c 54 xcb_dri3_buffer_from_pixmap_cookie_t cookie; local
57 cookie = xcb_dri3_buffer_from_pixmap(c, pixmap);
58 reply = xcb_dri3_buffer_from_pixmap_reply(c, cookie, NULL);
115 xcb_dri3_open_cookie_t cookie; local
118 cookie = xcb_dri3_open(c, root, provider);
119 reply = xcb_dri3_open_reply(c, cookie, NULL);
  /xsrc/external/mit/xorg-server/dist/test/bigreq/
request-length.c 55 xcb_query_extension_cookie_t cookie; local
58 cookie = xcb_query_extension(c, 15, "XInputExtension");
59 rep = xcb_query_extension_reply(c, cookie, NULL);
  /xsrc/external/mit/xorg-server/dist/hw/xwin/winclipboard/
thread.c 178 xcb_void_cookie_t cookie = xcb_create_window_checked(conn, local
191 if ((error = xcb_request_check(conn, cookie))) {
201 cookie = xcb_change_window_attributes_checked(conn, iWindow, XCB_CW_EVENT_MASK, values);
202 if ((error = xcb_request_check(conn, cookie))) {
232 cookie = xcb_set_selection_owner_checked(conn, iWindow, XCB_ATOM_PRIMARY, XCB_CURRENT_TIME);
233 if ((error = xcb_request_check(conn, cookie))) {
240 cookie = xcb_set_selection_owner_checked(conn, iWindow, atoms.atomClipboard, XCB_CURRENT_TIME);
241 if ((error = xcb_request_check(conn, cookie))) {
348 cookie = xcb_destroy_window_checked(conn, iWindow);
349 if ((error = xcb_request_check(conn, cookie)))
    [all...]
xevents.c 137 xcb_get_atom_name_cookie_t cookie = xcb_get_atom_name(conn, atom); local
138 xcb_get_atom_name_reply_t *reply = xcb_get_atom_name_reply(conn, cookie, NULL);
154 xcb_get_property_cookie_t cookie = xcb_get_property(conn, local
161 xcb_get_property_reply_t *reply = xcb_get_property_reply(conn, cookie, NULL);
209 xcb_get_property_cookie_t cookie = xcb_get_property(conn, local
216 xcb_get_property_reply_t *reply = xcb_get_property_reply(conn, cookie, NULL);
449 xcb_void_cookie_t cookie = xcb_change_property_checked(conn, local
458 if ((error = xcb_request_check(conn, cookie))) {
477 cookie = xcb_send_event_checked(conn, FALSE,
480 if ((error = xcb_request_check(conn, cookie))) {
582 xcb_void_cookie_t cookie = xcb_change_property_checked(conn, local
    [all...]
  /xsrc/external/mit/xf86-video-intel/dist/test/
dri3.c 55 xcb_dri3_buffer_from_pixmap_cookie_t cookie; local
58 cookie = xcb_dri3_buffer_from_pixmap(c, pixmap);
59 reply = xcb_dri3_buffer_from_pixmap_reply(c, cookie, NULL);
146 xcb_dri3_open_cookie_t cookie; local
152 cookie = xcb_dri3_open(c, root, provider);
153 reply = xcb_dri3_open_reply(c, cookie, NULL);
  /xsrc/external/mit/MesaLib.old/dist/src/glx/
create_context.c 48 xcb_void_cookie_t cookie; local
104 cookie =
114 err = xcb_request_check(c, cookie);
  /xsrc/external/mit/xinput/dist/src/
test_xi2.c 436 XGenericEventCookie *cookie = (XGenericEventCookie*)&ev.xcookie; local
439 if (XGetEventData(display, cookie) &&
440 cookie->type == GenericEvent &&
441 cookie->extension == xi_opcode)
443 printf("EVENT type %d (%s)\n", cookie->evtype, type_to_name(cookie->evtype));
444 switch (cookie->evtype)
447 print_devicechangedevent(display, cookie->data);
450 print_hierarchychangedevent(cookie->data);
460 print_rawevent(cookie->data)
    [all...]
  /xsrc/external/mit/xcb-util/dist/icccm/
icccm.c 55 xcb_get_property_cookie_t cookie,
59 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e);
114 xcb_get_property_cookie_t cookie,
118 return xcb_get_text_property_reply(c, cookie, prop, e);
163 xcb_get_property_cookie_t cookie,
167 return xcb_get_text_property_reply(c, cookie, prop, e);
213 xcb_get_property_cookie_t cookie,
217 return xcb_get_text_property_reply(c, cookie, prop, e);
261 xcb_get_wm_class_reply(xcb_connection_t *c, xcb_get_property_cookie_t cookie,
264 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e)
    [all...]
xcb_icccm.h 71 * @return The request cookie.
90 * @param cookie TextProperty request cookie.
104 xcb_get_property_cookie_t cookie,
142 * @return The request cookie.
156 * @param cookie Request cookie.
163 xcb_get_property_cookie_t cookie,
202 * @return The request cookie.
216 * @param cookie Request cookie
    [all...]
  /xsrc/external/mit/libXi/dist/src/
XExtInt.c 118 XGenericEventCookie *cookie);
121 XGenericEventCookie *cookie);
124 XGenericEventCookie *cookie);
127 XGenericEventCookie *cookie);
129 wireToPropertyEvent(xXIPropertyEvent *in, XGenericEventCookie *cookie);
132 XGenericEventCookie *cookie);
135 XGenericEventCookie *cookie);
138 XGenericEventCookie *cookie);
141 XGenericEventCookie *cookie);
955 XGenericEventCookie *cookie)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/glx/
create_context.c 56 xcb_void_cookie_t cookie; local
126 cookie =
136 err = xcb_request_check(c, cookie);
  /xsrc/external/mit/MesaLib/dist/src/vulkan/device-select-layer/
device_select_x11.c 39 xcb_dri3_open_cookie_t cookie; local
43 cookie = xcb_dri3_open(conn,
47 reply = xcb_dri3_open_reply(conn, cookie, NULL);
  /xsrc/external/mit/libxcb/dist/src/
xcb_ext.c 42 xcb_query_extension_cookie_t cookie; member in union:lazyreply::__anon6369
79 data->value.cookie = xcb_query_extension(c, strlen(ext->name), ext->name);
99 data->value.reply = xcb_query_extension_reply(c, data->value.cookie, 0);
  /xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri2/
platform_x11.c 114 xcb_get_geometry_cookie_t cookie; local
119 cookie = xcb_get_geometry (dri2_dpy->conn, dri2_surf->drawable);
120 reply = xcb_get_geometry_reply (dri2_dpy->conn, cookie, &error);
182 xcb_get_image_cookie_t cookie; local
186 cookie = xcb_get_image (dri2_dpy->conn, XCB_IMAGE_FORMAT_Z_PIXMAP,
188 reply = xcb_get_image_reply (dri2_dpy->conn, cookie, &error);
255 xcb_get_geometry_cookie_t cookie; local
293 cookie = xcb_get_geometry (dri2_dpy->conn, dri2_surf->drawable);
294 reply = xcb_get_geometry_reply (dri2_dpy->conn, cookie, &error);
317 xcb_void_cookie_t cookie; local
512 xcb_dri2_get_buffers_cookie_t cookie; local
549 xcb_dri2_get_buffers_with_format_cookie_t cookie; local
856 xcb_dri2_copy_region_cookie_t cookie; local
891 xcb_dri2_swap_buffers_cookie_t cookie; local
1148 xcb_dri2_get_msc_cookie_t cookie; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/glx/tests/
clientinfo_unittest.cpp 126 xcb_void_cookie_t cookie; local
138 cookie.sequence = 0;
139 return cookie;
153 xcb_void_cookie_t cookie; local
173 cookie.sequence = 0;
174 return cookie;
188 xcb_void_cookie_t cookie; local
208 cookie.sequence = 0;
209 return cookie;

Completed in 37 milliseconds

1 2 3 4