Lines Matching defs:name
18 * 3. Neither the name of the University nor the names of its contributors
168 static inline const char *getpwhome(const char *name)
171 struct passwd *pw = getpwnam(name);
182 * perform splitting and file name expansion. When arglist is NULL, perform
368 char *name;
372 name = p + 1;
391 if (*name == '\0') {
394 home = getpwhome(name);
890 varvalue(char *name, int varflags, int flags, int *quotedp)
908 switch (*name) {
967 num = atoi(name);
973 p = lookupvar(name);
1299 expmeta(char *enddir, char *name)
1314 start = name;
1315 for (p = name; esc = 0, *p; p += esc + 1) {
1342 if (metaflag == 0) { /* we've reached the end of the file name */
1345 p = name;
1356 if (name < start) {
1357 p = name;
1413 * Add a file name to the list.
1417 addfname(char *name)
1422 sp->text = sstrdup(name);
1430 * Sort the results of file name expansion. It calculates the number of
1505 char name[10];
1508 { .name = ":alnum:]", .fn = isalnum },
1509 { .name = ":cntrl:]", .fn = iscntrl },
1510 { .name = ":lower:]", .fn = islower },
1511 { .name = ":space:]", .fn = isspace },
1512 { .name = ":alpha:]", .fn = isalpha },
1513 { .name = ":digit:]", .fn = isdigit },
1514 { .name = ":print:]", .fn = isprint },
1515 { .name = ":upper:]", .fn = isupper },
1516 { .name = ":blank:]", .fn = isblank },
1517 { .name = ":graph:]", .fn = isgraph },
1518 { .name = ":punct:]", .fn = ispunct },
1519 { .name = ":xdigit:]", .fn = isxdigit },
1527 q = prefix(p, class->name);