Lines Matching defs:str
555 if (!strcmp(new->str, ".") || !strcmp(new->str, "..")) {
556 int x = new->str[1];
573 len = readlinkat(dirfd, new->str, libbuf, sizeof(libbuf));
589 fd = openat(dirfd, new->str, O_PATH);
625 try += strlen(temp->str);
637 try = stpcpy(ret+try, todo->str) - ret;
956 time_t xvali_date(struct tm *tm, char *str)
964 error_exit("bad date %s", str);
968 void xparsedate(char *str, time_t *t, unsigned *nano, int endian)
975 char *s = str, *p, *oldtz = 0, *formats[] = {"%Y-%m-%d %T", "%Y-%m-%dT%T",
983 if (*str == '@') {
998 xvali_date(0, str);
1003 if ((i = strlen(str)) && toupper(str[i-1])=='Z') {
1004 str[--i] = 0;
1037 *t = xvali_date((i!=ARRAY_LEN(formats)) ? &tm : 0, str);