Lines Matching refs:name

37  * documentation, and that the name of M.I.T. not be used in advertising or
86 static void setAuthNumber (Xauth *auth, char *name);
91 static void InitAuth (unsigned short name_len, const char *name);
92 static Xauth *GetAuth (int namelen, const char *name);
105 char *name; /* DISPLAY name */
110 const char *authName; /* authorization protocol name */
111 int authNameLen; /* authorization protocol name len */
128 const char *name;
158 makeEnv (const char *name, const char *value)
162 result = malloc ((unsigned) (strlen (name) + strlen (value) + 2));
167 sprintf (result, "%s=%s", name, value);
174 const char *name,
182 l = strlen (name);
183 newe = makeEnv (name, value);
191 !strncmp (*old, name, l) && (*old)[l] == '=')
245 printf ("name: ");
246 dumpBytes (auth->name_length, auth->name);
318 char *name)
322 setAuthNumber (auth, name);
500 * make an ugly kernel patch to get a name longer than 8 characters, and
505 struct utsname name;
507 uname(&name);
508 strcpy(displayname, name.nodename);
561 char *name)
566 colon = rindex (name, ':');
586 openFiles (char *name, char *new_name, FILE **oldp, FILE **newp)
590 strcpy (new_name, name);
599 *oldp = fopen (name, "r");
634 const char *name)
636 if (strcmp(name,"SUN-DES-1") != 0) {
641 bcopy (name, auth_name, name_len);
647 const char *name)
662 if (strncmp(name,"MIT-",4) == 0)
671 new->name = (char *) malloc (namelen);
672 if (!new->name)
678 bcopy (name, new->name, namelen);
680 if (strncmp(name,"MIT-",4) == 0) {
770 const char *name)
776 bcmp (AuthProtocols[i].name, name, name_length) == 0)
785 const char *name,
791 a = findProtocol (name_length, name);
796 (*a->InitAuth) (name_length, name);
799 auth = (*a->GetAuth) (name_length, name);
841 char *name;
857 name = home_name;
872 name = backup_name;
885 writeLocalAuth (new, auth, d->name);
903 unlink (name);
905 envname = name;
906 if (link (new_name, name) == -1) {
918 XauUnlockAuth (name);
951 if ((d.name = rindex(d.authFile,':')) == NULL) {