Lines Matching refs:errors

155 	struct timelib_error_container *errors;  member
343 s->errors->warning_count++; in add_warning()
344 …s->errors->warning_messages = realloc(s->errors->warning_messages, s->errors->warning_count * size… in add_warning()
345 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning()
346 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning()
347 s->errors->warning_messages[s->errors->warning_count - 1].message = strdup(error); in add_warning()
352 s->errors->error_count++; in add_error()
353 …s->errors->error_messages = realloc(s->errors->error_messages, s->errors->error_count * sizeof(tim… in add_error()
354 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error()
355 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error()
356 s->errors->error_messages[s->errors->error_count - 1].message = strdup(error); in add_error()
361 s->errors->warning_count++; in add_pbf_warning()
362 …s->errors->warning_messages = realloc(s->errors->warning_messages, s->errors->warning_count * size… in add_pbf_warning()
363 s->errors->warning_messages[s->errors->warning_count - 1].position = cptr - sptr; in add_pbf_warning()
364 s->errors->warning_messages[s->errors->warning_count - 1].character = *cptr; in add_pbf_warning()
365 s->errors->warning_messages[s->errors->warning_count - 1].message = strdup(error); in add_pbf_warning()
370 s->errors->error_count++; in add_pbf_error()
371 …s->errors->error_messages = realloc(s->errors->error_messages, s->errors->error_count * sizeof(tim… in add_pbf_error()
372 s->errors->error_messages[s->errors->error_count - 1].position = cptr - sptr; in add_pbf_error()
373 s->errors->error_messages[s->errors->error_count - 1].character = *cptr; in add_pbf_error()
374 s->errors->error_messages[s->errors->error_count - 1].message = strdup(error); in add_pbf_error()
24715 timelib_time* timelib_strtotime(char *s, int len, struct timelib_error_container **errors, const ti… in timelib_strtotime() argument
24722 in.errors = malloc(sizeof(struct timelib_error_container)); in timelib_strtotime()
24723 in.errors->warning_count = 0; in timelib_strtotime()
24724 in.errors->warning_messages = NULL; in timelib_strtotime()
24725 in.errors->error_count = 0; in timelib_strtotime()
24726 in.errors->error_messages = NULL; in timelib_strtotime()
24739 if (errors) { in timelib_strtotime()
24740 *errors = in.errors; in timelib_strtotime()
24742 timelib_error_container_dtor(in.errors); in timelib_strtotime()
24787 if (errors) { in timelib_strtotime()
24788 *errors = in.errors; in timelib_strtotime()
24790 timelib_error_container_dtor(in.errors); in timelib_strtotime()
24826 …om_format(char *format, char *string, int len, timelib_error_container **errors, const timelib_tzd… in timelib_parse_from_format() argument
24837 in.errors = malloc(sizeof(struct timelib_error_container)); in timelib_parse_from_format()
24838 in.errors->warning_count = 0; in timelib_parse_from_format()
24839 in.errors->warning_messages = NULL; in timelib_parse_from_format()
24840 in.errors->error_count = 0; in timelib_parse_from_format()
24841 in.errors->error_messages = NULL; in timelib_parse_from_format()
25153 if (errors) { in timelib_parse_from_format()
25154 *errors = in.errors; in timelib_parse_from_format()
25156 timelib_error_container_dtor(in.errors); in timelib_parse_from_format()