Searched defs:errors (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/date/lib/
H A Dtimelib.c165 void timelib_error_container_dtor(timelib_error_container *errors) argument
169 for (i = 0; i < errors->warning_count; i++) {
170 free(errors->warning_messages[i].message);
172 free(errors->warning_messages);
173 for (i = 0; i < errors->error_count; i++) {
174 free(errors->error_messages[i].message);
176 free(errors->error_messages);
177 free(errors);
H A Dparse_date.c155 struct timelib_error_container *errors; member in struct:Scanner
343 s->errors->warning_count++;
344 s->errors->warning_messages = realloc(s->errors->warning_messages, s->errors->warning_count * sizeof(timelib_error_message));
345 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0;
346 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0;
347 s->errors
24715 timelib_strtotime(char *s, size_t len, struct timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper) argument
24826 timelib_parse_from_format(char *format, char *string, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper) argument
[all...]
H A Dparse_iso_intervals.c93 struct timelib_error_container *errors; member in struct:Scanner
109 s->errors->warning_count++;
110 s->errors->warning_messages = realloc(s->errors->warning_messages, s->errors->warning_count * sizeof(timelib_error_message));
111 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0;
112 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0;
113 s->errors
1007 timelib_strtointerval(char *s, size_t len, timelib_time **begin, timelib_time **end, timelib_rel_time **period, int *recurrences, struct timelib_error_container **errors) argument
[all...]
/PHP_TRUNK/ext/date/
H A Dphp_date.c2479 /* Helper function used to store the latest found warnings and errors while
2508 /* update last errors and warnings */
2851 /* Helper function used to add an associative array of warnings and errors to a zval */
2869 add_assoc_zval(z, "errors", &element);
2873 Returns the warnings and errors found while parsing a date/time string.
3032 /* update last errors and warnings */
3931 struct timelib_error_container *errors; local
3933 timelib_strtointerval(format, format_length, &b, &e, &p, &r, &errors);
3935 if (errors->error_count > 0) {
3954 timelib_error_container_dtor(errors);
4295 struct timelib_error_container *errors; local
[all...]

Completed in 13 milliseconds