Searched refs:canon (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Drealpath.c37 * Input name in raw, canonicalized pathname output to canon. If dosymlinks
46 pathcanon(raw, canon, dosymlinks)
48 *canon;
53 register char *limit = canon + MAXPATHLEN;
60 if (raw == NULL || canon == NULL) {
67 * In any case, initialize canon with the absolute form of raw. Make
73 d = canon;
86 modcanon = canon;
106 if ((*d++ = *s++) == '/' && d > canon + 1) {
123 while (t > canon
[all...]
/illumos-gate/usr/src/cmd/look/
H A Dlook.c33 void canon(char *, char *);
85 canon(wstring,key);
98 canon(entry,word);
118 canon(entry,word);
133 canon(entry,word);
178 canon(char *old, char *new) function
/illumos-gate/usr/src/lib/libidmap/common/
H A Ddirectory.h157 char **canon, uint64_t *classes);
159 char **canon);
161 char **canon);
H A Ddirectory_helper.c167 char **canon,
189 *canon = NULL;
216 *canon = strdup(ret_name->x_sun_canonicalName[0]);
217 if (*canon == NULL)
242 char **canon,
245 return (directory_canon_common(d, sid, DIRECTORY_ID_SID, canon,
253 char **canon,
256 return (directory_canon_common(d, name, DIRECTORY_ID_NAME, canon,
261 directory_canon_from_user_name(directory_t d, char *name, char **canon) argument
264 directory_canon_common(d, name, DIRECTORY_ID_USER, canon, NUL
163 directory_canon_common( directory_t d, char *id, char *id_type, char **canon, uint64_t *classes) argument
239 directory_name_from_sid( directory_t d, char *sid, char **canon, uint64_t *classes) argument
250 directory_canon_from_name( directory_t d, char *name, char **canon, uint64_t *classes) argument
268 directory_canon_from_group_name(directory_t d, char *name, char **canon) argument
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c203 char *luser, *canon, *cp; local
409 if (krb5_unparse_name(context, princ, &canon)) {
417 realm = strchr(canon, '@');
419 if (realm - canon && *(realm - 1) != '\\')
426 cp = strchr(canon, '/');
428 if (cp - canon && *(cp - 1) != '\\')
435 princstr = (char*)malloc(strlen(canon) + 6 /* "/admin" */ +
443 strcpy(princstr, canon);
449 free(canon);
655 char *canon; local
714 char *canon; local
1208 char *pass, *canon; local
1409 char *pass, *canon; local
1502 char *canon, *modcanon; local
[all...]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_nsswitch.c346 char *canon; local
348 (void) asprintf(&canon, "%s@%s",
351 if (canon == NULL)
353 const char *ccanon = canon;
355 free(canon);
404 char *canon; local
406 (void) asprintf(&canon, "%s@%s",
409 if (canon == NULL)
411 const char *ccanon = canon;
413 free(canon);
[all...]
H A Ddirectory_provider_builtin.c237 char *canon; local
241 (void) asprintf(&canon, "%s@%s",
245 canon = strdup(wksid->winname);
247 (void) asprintf(&canon, "%s@%s",
251 if (canon == NULL)
253 const char *ccanon = canon;
255 free(canon);
/illumos-gate/usr/src/lib/libtsol/common/
H A Dsetflabel.c86 char canon[MAXPATHLEN]; local
103 * corresponds to path, stuffing it into canon.
105 if (abspath(cwd, path, canon) < 0)
108 path_len = strlen(canon) + 1;
123 (void) strcpy(clcall.pathname, canon);
259 * form, storing the result in the buffer named by canon, which must be
269 abspath(char *wd, const char *raw, char *canon) argument
276 if (raw == NULL || canon == NULL)
308 return (realpath(raw, canon) == NULL ? -1 : 0);
/illumos-gate/usr/src/lib/libast/common/include/
H A Dccode.h45 const char* canon; /* canonical name format */ member in struct:Ccmap_s
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.h255 extern void canon(char *, char *, size_t);
319 extern void canon();
H A Dinteractive.c81 canon("/", curdir, sizeof (curdir));
129 /* No need to canon(name), getcmd() did it for us */
339 * "curdir" is prepended to it. Finally "canon" is called to
437 canon(rawname, name, namesiz);
445 canon(output, name, namesiz);
533 canon(rawname, canonname, limit) function
H A Dmain.c456 canon(*argv++, name, sizeof (name));
474 canon(*argv++, name, sizeof (name));
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c759 * representation canon (which will require accessing the file systems on the
762 * name is a substring of canon and whose corresponding device matches that of
763 * canon. This technique avoids accessing unnecessary file system resources
771 char canon[MAXPATHLEN]; local
790 * corresponds to path, stuffing it into canon.
802 * Force canon to be in canonical form; if the result from
808 (void) sprintf(canon, "%s%s", chrootpath ? chrootpath : "", scratch);
845 * form, storing the result in the buffer named by canon, which must be
854 abspath(char *wd, char *raw, char *canon) argument
861 if (wd == NULL || raw == NULL || canon
[all...]
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dccode.h54 const char* canon; /* canonical name format */ member in struct:Ccmap_s
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dccode.h54 const char* canon; /* canonical name format */ member in struct:Ccmap_s
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dccode.h54 const char* canon; /* canonical name format */ member in struct:Ccmap_s
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dccode.h54 const char* canon; /* canonical name format */ member in struct:Ccmap_s
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dutil.c1976 bool canon = false; local
1984 canon = true;
1997 if ((canon ? sm_strcasecmp(p, mydom)
/illumos-gate/usr/src/lib/libast/common/comp/
H A Diconv.c475 if (cp->canon)
485 b += sfsprintf(b, e - b, cp->canon, m);
509 if (error_info.trace < DEBUG_TRACE) sfprintf(sfstderr, "%s: debug-%d: AHA%d _ast_iconv_name ccode=%d canon=\"%s\"\n", error_info.id, error_info.trace, __LINE__, cp->ccode, o);
521 if (error_info.trace < DEBUG_TRACE) sfprintf(sfstderr, "%s: debug-%d: AHA%d _ast_iconv_name ccode=%d canon=\"%s\"\n", error_info.id, error_info.trace, __LINE__, CC_ICONV, o);
/illumos-gate/usr/src/lib/libc/port/
H A Dllib-lc824 char *realpath(const char *_RESTRICT_KYWD raw, char *_RESTRICT_KYWD canon);

Completed in 69 milliseconds