Lines Matching refs:errors
97 struct timelib_error_container *errors;
113 s->errors->warning_count++;
114 …s->errors->warning_messages = timelib_realloc(s->errors->warning_messages, s->errors->warning_coun…
115 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0;
116 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0;
117 s->errors->warning_messages[s->errors->warning_count - 1].message = timelib_strdup(error);
122 s->errors->error_count++;
123 …s->errors->error_messages = timelib_realloc(s->errors->error_messages, s->errors->error_count * si…
124 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0;
125 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0;
126 s->errors->error_messages[s->errors->error_count - 1].message = timelib_strdup(error);
357 } while (!s->errors->error_count && *ptr);
410 struct timelib_error_container **errors)
417 in.errors = timelib_malloc(sizeof(struct timelib_error_container));
418 in.errors->warning_count = 0;
419 in.errors->warning_messages = NULL;
420 in.errors->error_count = 0;
421 in.errors->error_messages = NULL;
433 if (errors) {
434 *errors = in.errors;
436 timelib_error_container_dtor(in.errors);
498 if (errors) {
499 *errors = in.errors;
501 timelib_error_container_dtor(in.errors);