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

1 2 3

  /xsrc/external/mit/libXau/dist/
AuDispose.c 34 XauDisposeAuth (Xauth *auth)
36 if (auth) {
37 free (auth->address);
38 free (auth->number);
39 free (auth->name);
40 if (auth->data) {
42 explicit_bzero (auth->data, auth->data_length);
44 explicit_memset (auth->data, 0, auth->data_length)
    [all...]
AuWrite.c 55 XauWriteAuth (FILE *auth_file, Xauth *auth)
57 if (write_short (auth->family, auth_file) == 0)
59 if (write_counted_string (auth->address_length, auth->address, auth_file) == 0)
61 if (write_counted_string (auth->number_length, auth->number, auth_file) == 0)
63 if (write_counted_string (auth->name_length, auth->name, auth_file) == 0)
65 if (write_counted_string (auth->data_length, auth->data, auth_file) == 0
    [all...]
  /xsrc/external/mit/xorg-server/dist/os/
mitauth.c 43 static struct auth { struct
44 struct auth *next;
53 struct auth *new;
55 new = malloc(sizeof(struct auth));
75 struct auth *auth; local
77 for (auth = mit_auth; auth; auth = auth->next)
89 struct auth *auth, *next; local
103 struct auth *auth; local
118 struct auth *auth, *prev; local
    [all...]
xdmauth.c 202 XdmClientAuthDecode(const unsigned char *plain, XdmClientAuthPtr auth)
208 auth->rho.data[i] = plain[j];
212 auth->client[i] = plain[j];
215 auth->time = 0;
217 auth->time |= plain[j] << ((3 - i) << 3);
326 case 16: /* auth from files is 16 bytes long */
343 case 8: /* auth from XDMCP is 8 bytes long */
369 XdmAuthorizationPtr auth; local
373 /* Auth packets must be a multiple of 8 bytes long */
379 for (auth = xdmAuth; auth; auth = auth->next)
398 XdmAuthorizationPtr auth, next_auth; local
417 XdmAuthorizationPtr auth; local
432 XdmAuthorizationPtr auth; local
    [all...]
auth.c 113 Xauth *auth; local
131 while ((auth = XauReadAuth(f)) != 0) {
133 if (protocols[i].name_length == auth->name_length &&
134 memcmp(protocols[i].name, auth->name,
135 (int) auth->name_length) == 0 && protocols[i].Add) {
137 (*protocols[i].Add) (auth->data_length, auth->data,
141 XauDisposeAuth(auth);
  /xsrc/external/mit/xorg-server.old/dist/os/
mitauth.c 43 static struct auth { struct
44 struct auth *next;
56 struct auth *new;
58 new = malloc(sizeof (struct auth));
81 struct auth *auth; local
83 for (auth = mit_auth; auth; auth=auth->next)
95 struct auth *auth, *next; local
112 struct auth *auth; local
129 struct auth *auth, *prev; local
    [all...]
xdmauth.c 204 XdmClientAuthDecode (const unsigned char *plain, XdmClientAuthPtr auth)
211 auth->rho.data[i] = plain[j];
216 auth->client[i] = plain[j];
219 auth->time = 0;
222 auth->time |= plain[j] << ((3 - i) << 3);
337 case 16: /* auth from files is 16 bytes long */
355 case 8: /* auth from XDMCP is 8 bytes long */
381 XdmAuthorizationPtr auth; local
385 /* Auth packets must be a multiple of 8 bytes long */
391 for (auth = xdmAuth; auth; auth=auth->next)
408 XdmAuthorizationPtr auth, next_auth; local
429 XdmAuthorizationPtr auth; local
444 XdmAuthorizationPtr auth; local
    [all...]
auth.c 113 Xauth *auth; local
125 while ((auth = XauReadAuth (f)) != 0) {
127 if (protocols[i].name_length == auth->name_length &&
128 memcmp (protocols[i].name, auth->name, (int) auth->name_length) == 0 &&
132 (*protocols[i].Add) (auth->data_length, auth->data,
136 XauDisposeAuth (auth);
  /xsrc/external/mit/xdm/dist/xdm/
auth.c 33 * auth.c
150 Xauth *auth = NULL; local
163 auth = (*a->GetAuth) (name_length, name);
164 if (auth)
166 Debug ("Got %p (%d %*.*s) ", auth,
167 auth->name_length, auth->name_length,
168 auth->name_length, auth->name);
169 for (i = 0; i < (int)auth->data_length; i++
192 Xauth *auth; local
465 Xauth *auth, **auths; local
521 register Xauth **auth = d->authorizations; local
    [all...]
policy.c 54 static XdmAuthRec auth[] = { variable
65 # define NumAuth (sizeof auth / sizeof auth[0])
75 &auth[j].authentication))
103 &auth[j].authentication))
109 &auth[j].authorization))
Makefile.am 33 auth.c \
  /xsrc/external/mit/libICE/dist/src/
iceauth.c 50 char *auth,
78 auth[i] = value & 0xff;
84 char *auth,
92 ret = getentropy (auth, len);
97 emulate_getrandom_buf (auth, len);
113 char *auth; local
115 if ((auth = malloc (len + 1)) == NULL)
118 arc4random_buf (auth, len);
120 auth[len] = '\0';
121 return (auth);
    [all...]
authutil.c 290 IceAuthFileEntry *auth
293 if (auth)
295 free (auth->protocol_name);
296 free (auth->protocol_data);
297 free (auth->network_id);
298 free (auth->auth_name);
299 free (auth->auth_data);
300 free (auth);
309 IceAuthFileEntry *auth
312 if (!write_string (auth_file, auth->protocol_name)
    [all...]
  /xsrc/external/mit/xauth/dist/
process.c 70 Xauth *auth; member in struct:_AuthList
160 " data hexkey auth protocol specific data needed to generate the entry\n"
414 Xauth *auth; local
416 auth = malloc (sizeof (Xauth));
417 if (!auth) goto bad;
418 auth->family = 0;
419 auth->address = NULL;
420 auth->address_length = 0;
421 auth->number = NULL;
422 auth->number_length = 0
464 Xauth *auth; local
530 Xauth *auth = malloc(sizeof(Xauth)); local
1684 Xauth *auth = list_cur->auth; local
    [all...]
gethost.c 68 get_hostname (Xauth *auth)
70 if (auth->address_length == 0)
73 if (auth->family == FamilyInternet
75 || auth->family == FamilyInternet6
88 if (auth->family == FamilyInternet6)
94 hp = gethostbyaddr (auth->address, auth->address_length, af);
105 if (inet_ntop(af, auth->address, addr + 1, INET6_ADDRSTRLEN) == NULL)
113 return (inet_ntop(af, auth->address, addr, sizeof(addr)));
115 return (inet_ntoa(*((struct in_addr *)(auth->address))))
    [all...]
xauth.h 50 extern const char *get_hostname ( Xauth *auth );
  /xsrc/external/mit/libXdmcp/dist/
Key.c 65 insecure_getrandom_buf (unsigned char *auth, int len)
72 getbits (lowbits, auth);
73 getbits (highbits, auth + 4);
77 arc4random_buf (void *auth, int len)
83 ret = getentropy (auth, len);
88 insecure_getrandom_buf (auth, len);
  /xsrc/external/mit/iceauth/dist/
process.c 45 IceAuthFileEntry *auth; member in struct:_AuthList
97 static int dump_entry ( const char *inputfilename, int lineno, IceAuthFileEntry *auth, void *data );
98 static int extract_entry ( const char *inputfilename, int lineno, IceAuthFileEntry *auth, void *data );
102 static int remove_entry ( const char *inputfilename, int lineno, IceAuthFileEntry *auth, void *data );
372 IceAuthFileEntry *auth; local
379 while ((auth = IceReadAuthFileEntry (fp)) != NULL) {
383 "%s: unable to alloc entry reading auth file\n",
388 l->auth = auth;
481 static AuthList *iceauth_head = NULL; /* list of auth entries *
1276 IceAuthFileEntry *auth = NULL; local
    [all...]
  /xsrc/external/mit/libXext/dist/include/X11/extensions/
security.h 44 void XSecurityFreeXauth(Xauth *auth);
46 /* type for returned auth ids */
  /xsrc/external/mit/xf86-video-intel-2014/dist/test/
dri2-race.c 22 drm_auth_t auth; local
35 if (drmIoctl(fd, DRM_IOCTL_GET_MAGIC, &auth))
38 if (!DRI2Authenticate(dpy, DefaultRootWindow(dpy), auth.magic))
  /xsrc/external/mit/xfs/dist/include/
clientstr.h 52 #include "auth.h"
66 AuthContextPtr auth; member in struct:_Client
difsutils.h 30 #include <auth.h>
  /xsrc/external/mit/freetype/dist/builds/unix/
detect.mk 24 $(wildcard /hurd/auth))
  /xsrc/external/mit/libdrm/dist/amdgpu/
amdgpu_device.c 72 * \param auth - \c [out] Pointer to output the fd is authenticated or not
73 * A render node fd, output auth = 0
80 static int amdgpu_get_auth(int fd, int *auth)
86 *auth = 0;
91 *auth = client.auth;
  /xsrc/external/mit/xdm/dist/include/
dm_auth.h 67 /* auth.c */
89 extern int GenerateAuthData (char *auth, int len);

Completed in 14 milliseconds

1 2 3