Lines Matching refs:ptr
57 #define YYMARKER s->ptr
64 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str
77 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
110 static timelib_sll timelib_get_nr(char **ptr, int max_length) in timelib_get_nr() argument
116 while ((**ptr < '0') || (**ptr > '9')) { in timelib_get_nr()
117 if (**ptr == '\0') { in timelib_get_nr()
120 ++*ptr; in timelib_get_nr()
122 begin = *ptr; in timelib_get_nr()
123 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) { in timelib_get_nr()
124 ++*ptr; in timelib_get_nr()
127 end = *ptr; in timelib_get_nr()
135 static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length) in timelib_get_unsigned_nr() argument
139 while (((**ptr < '0') || (**ptr > '9')) && (**ptr != '+') && (**ptr != '-')) { in timelib_get_unsigned_nr()
140 if (**ptr == '\0') { in timelib_get_unsigned_nr()
143 ++*ptr; in timelib_get_unsigned_nr()
146 while (**ptr == '+' || **ptr == '-') in timelib_get_unsigned_nr()
148 if (**ptr == '-') { in timelib_get_unsigned_nr()
151 ++*ptr; in timelib_get_unsigned_nr()
153 return dir * timelib_get_nr(ptr, max_length); in timelib_get_unsigned_nr()
174 char *str, *ptr = NULL; in scan() local
280 ptr++; in scan()
282 if ( *ptr == 'T' ) { in scan()
284 ptr++; in scan()
286 if ( *ptr == '\0' ) { in scan()
291 nr = timelib_get_unsigned_nr((char **) &ptr, 12); in scan()
292 switch (*ptr) { in scan()
309 ptr++; in scan()
310 } while (!s->errors->error_count && *ptr); in scan()
668 s->period->y = timelib_get_unsigned_nr((char **) &ptr, 4); in scan()
669 ptr++; in scan()
670 s->period->m = timelib_get_unsigned_nr((char **) &ptr, 2); in scan()
671 ptr++; in scan()
672 s->period->d = timelib_get_unsigned_nr((char **) &ptr, 2); in scan()
673 ptr++; in scan()
674 s->period->h = timelib_get_unsigned_nr((char **) &ptr, 2); in scan()
675 ptr++; in scan()
676 s->period->i = timelib_get_unsigned_nr((char **) &ptr, 2); in scan()
677 ptr++; in scan()
678 s->period->s = timelib_get_unsigned_nr((char **) &ptr, 2); in scan()
825 current->y = timelib_get_nr((char **) &ptr, 4); in scan()
826 current->m = timelib_get_nr((char **) &ptr, 2); in scan()
827 current->d = timelib_get_nr((char **) &ptr, 2); in scan()
828 current->h = timelib_get_nr((char **) &ptr, 2); in scan()
829 current->i = timelib_get_nr((char **) &ptr, 2); in scan()
830 current->s = timelib_get_nr((char **) &ptr, 2); in scan()
917 ptr++; in scan()
918 s->recurrences = timelib_get_unsigned_nr((char **) &ptr, 9); in scan()