Lines Matching refs:ptr

55 #define   YYMARKER     s->ptr
62 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str
75 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
108 static timelib_sll timelib_get_nr(const char **ptr, int max_length) in timelib_get_nr() argument
115 while ((**ptr < '0') || (**ptr > '9')) { in timelib_get_nr()
116 if (**ptr == '\0') { in timelib_get_nr()
119 ++*ptr; in timelib_get_nr()
121 begin = *ptr; in timelib_get_nr()
122 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) { in timelib_get_nr()
123 ++*ptr; in timelib_get_nr()
126 end = *ptr; in timelib_get_nr()
134 static timelib_ull timelib_get_unsigned_nr(const char **ptr, int max_length) in timelib_get_unsigned_nr() argument
138 while (((**ptr < '0') || (**ptr > '9')) && (**ptr != '+') && (**ptr != '-')) { in timelib_get_unsigned_nr()
139 if (**ptr == '\0') { in timelib_get_unsigned_nr()
142 ++*ptr; in timelib_get_unsigned_nr()
145 while (**ptr == '+' || **ptr == '-') in timelib_get_unsigned_nr()
147 if (**ptr == '-') { in timelib_get_unsigned_nr()
150 ++*ptr; in timelib_get_unsigned_nr()
152 return dir * timelib_get_nr(ptr, max_length); in timelib_get_unsigned_nr()
174 const char *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(&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(&ptr, 4); in scan()
669 ptr++; in scan()
670 s->period->m = timelib_get_unsigned_nr(&ptr, 2); in scan()
671 ptr++; in scan()
672 s->period->d = timelib_get_unsigned_nr(&ptr, 2); in scan()
673 ptr++; in scan()
674 s->period->h = timelib_get_unsigned_nr(&ptr, 2); in scan()
675 ptr++; in scan()
676 s->period->i = timelib_get_unsigned_nr(&ptr, 2); in scan()
677 ptr++; in scan()
678 s->period->s = timelib_get_unsigned_nr(&ptr, 2); in scan()
825 current->y = timelib_get_nr(&ptr, 4); in scan()
826 current->m = timelib_get_nr(&ptr, 2); in scan()
827 current->d = timelib_get_nr(&ptr, 2); in scan()
828 current->h = timelib_get_nr(&ptr, 2); in scan()
829 current->i = timelib_get_nr(&ptr, 2); in scan()
830 current->s = timelib_get_nr(&ptr, 2); in scan()
917 ptr++; in scan()
918 s->recurrences = timelib_get_unsigned_nr(&ptr, 9); in scan()