Searched defs:add_error (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/date/lib/
H A Dparse_date.c111 #define TIMELIB_HAVE_TIME() { if (s->time->have_time) { add_error(s, "Double time specification"); timelib_string_free(str); return TIMELIB_ERROR; } else { s->time->have_time = 1; s->time->h = 0; s->time->i = 0; s->time->s = 0; s->time->f = 0; } }
113 #define TIMELIB_HAVE_DATE() { if (s->time->have_date) { add_error(s, "Double date specification"); timelib_string_free(str); return TIMELIB_ERROR; } else { s->time->have_date = 1; } }
118 #define TIMELIB_HAVE_TZ() { s->cur = cursor; if (s->time->have_zone) { s->time->have_zone > 1 ? add_error(s, "Double timezone specification") : add_warning(s, "Double timezone specification"); timelib_string_free(str); s->time->have_zone++; return TIMELIB_ERROR; } else { s->time->have_zone++; } }
350 static void add_error(Scanner *s, char *error) function
969 add_error(s, "The timezone could not be found in the database");
1287 add_error(s, "Unexpected character");
4431 add_error(s, "The timezone could not be found in the database");
9761 add_error(s, "The timezone could not be found in the database");
12036 add_error(s, "The timezone could not be found in the database");
13427 add_error(
[all...]
H A Dparse_iso_intervals.c116 static void add_error(Scanner *s, char *error) function
327 add_error(s, "Unexpected character");
360 add_error(s, "Missing expected time part");
379 add_error(s, "Undefined period specifier");
1032 add_error(&in, "Empty string");

Completed in 22 milliseconds