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;
108 static timelib_sll timelib_get_nr(char **ptr, int max_length)
114 while ((**ptr < '0') || (**ptr > '9')) {
115 if (**ptr == '\0') {
118 ++*ptr;
120 begin = *ptr;
121 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) {
122 ++*ptr;
125 end = *ptr;
133 static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length)
137 while (((**ptr < '0') || (**ptr > '9')) && (**ptr != '+') && (**ptr != '-')) {
138 if (**ptr == '\0') {
141 ++*ptr;
144 while (**ptr == '+' || **ptr == '-')
146 if (**ptr == '-') {
149 ++*ptr;
151 return dir * timelib_get_nr(ptr, max_length);
172 char *str, *ptr = NULL;
212 ptr++;
213 s->recurrences = timelib_get_unsigned_nr((char **) &ptr, 9);
232 current->y = timelib_get_nr((char **) &ptr, 4);
233 current->m = timelib_get_nr((char **) &ptr, 2);
234 current->d = timelib_get_nr((char **) &ptr, 2);
235 current->h = timelib_get_nr((char **) &ptr, 2);
236 current->i = timelib_get_nr((char **) &ptr, 2);
237 current->s = timelib_get_nr((char **) &ptr, 2);
249 ptr++;
251 if ( *ptr == 'T' ) {
253 ptr++;
255 if ( *ptr == '\0' ) {
260 nr = timelib_get_unsigned_nr((char **) &ptr, 12);
261 switch (*ptr) {
278 ptr++;
279 } while (!s->errors->error_count && *ptr);
289 s->period->y = timelib_get_unsigned_nr((char **) &ptr, 4);
290 ptr++;
291 s->period->m = timelib_get_unsigned_nr((char **) &ptr, 2);
292 ptr++;
293 s->period->d = timelib_get_unsigned_nr((char **) &ptr, 2);
294 ptr++;
295 s->period->h = timelib_get_unsigned_nr((char **) &ptr, 2);
296 ptr++;
297 s->period->i = timelib_get_unsigned_nr((char **) &ptr, 2);
298 ptr++;
299 s->period->s = timelib_get_unsigned_nr((char **) &ptr, 2);