Lines Matching refs:errors

136 	timelib_error_container *errors;
336 s->errors->warning_count++;
337 …s->errors->warning_messages = timelib_realloc(s->errors->warning_messages, s->errors->warning_coun…
338 s->errors->warning_messages[s->errors->warning_count - 1].error_code = error_code;
339 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0;
340 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0;
341 s->errors->warning_messages[s->errors->warning_count - 1].message = timelib_strdup(error);
346 s->errors->error_count++;
347 …s->errors->error_messages = timelib_realloc(s->errors->error_messages, s->errors->error_count * si…
348 s->errors->error_messages[s->errors->error_count - 1].error_code = error_code;
349 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0;
350 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0;
351 s->errors->error_messages[s->errors->error_count - 1].message = timelib_strdup(error);
356 s->errors->warning_count++;
357 …s->errors->warning_messages = timelib_realloc(s->errors->warning_messages, s->errors->warning_coun…
358 s->errors->warning_messages[s->errors->warning_count - 1].error_code = error_code;
359 s->errors->warning_messages[s->errors->warning_count - 1].position = cptr - sptr;
360 s->errors->warning_messages[s->errors->warning_count - 1].character = *cptr;
361 s->errors->warning_messages[s->errors->warning_count - 1].message = timelib_strdup(error);
366 s->errors->error_count++;
367 …s->errors->error_messages = timelib_realloc(s->errors->error_messages, s->errors->error_count * si…
368 s->errors->error_messages[s->errors->error_count - 1].error_code = error_code;
369 s->errors->error_messages[s->errors->error_count - 1].position = cptr - sptr;
370 s->errors->error_messages[s->errors->error_count - 1].character = *cptr;
371 s->errors->error_messages[s->errors->error_count - 1].message = timelib_strdup(error);
1866 timelib_time *timelib_strtotime(const char *s, size_t len, timelib_error_container **errors, const …
1873 in.errors = timelib_malloc(sizeof(timelib_error_container));
1874 in.errors->warning_count = 0;
1875 in.errors->warning_messages = NULL;
1876 in.errors->error_count = 0;
1877 in.errors->error_messages = NULL;
1890 if (errors) {
1891 *errors = in.errors;
1893 timelib_error_container_dtor(in.errors);
1938 if (errors) {
1939 *errors = in.errors;
1941 timelib_error_container_dtor(in.errors);
2047 … char *format, const char *string, size_t len, timelib_error_container **errors, const timelib_tzd…
2049 …return timelib_parse_from_format_with_map(format, string, len, errors, tzdb, tz_get_wrapper, &defa…
2052 … char *format, const char *string, size_t len, timelib_error_container **errors, const timelib_tzd…
2069 in.errors = timelib_malloc(sizeof(timelib_error_container));
2070 in.errors->warning_count = 0;
2071 in.errors->warning_messages = NULL;
2072 in.errors->error_count = 0;
2073 in.errors->error_messages = NULL;
2527 if (errors) {
2528 *errors = in.errors;
2530 timelib_error_container_dtor(in.errors);