Go to the source code of this file.
Defines | |
#define | this_domain (this_quark()) |
#define | SET_SEEN_DATETIME_FROM_TIME_T(tt_expr) |
Enumerations | |
enum | { code_parse_error = 1, code_incomplete_input } |
Functions | |
static GQuark | this_quark () |
gboolean | parse_moment (const char *s, time_t ctx, time_t now, time_t *result, GError **error) |
Variables | |
static const char | _fsm_actions [] |
static const short | _fsm_key_offsets [] |
static const char | _fsm_trans_keys [] |
static const char | _fsm_single_lengths [] |
static const char | _fsm_range_lengths [] |
static const short | _fsm_index_offsets [] |
static const short | _fsm_trans_targs_wi [] |
static const unsigned char | _fsm_trans_actions_wi [] |
static const int | fsm_start = 1 |
static const int | fsm_first_final = 948 |
static const int | fsm_error = 0 |
static const int | fsm_en_main = 1 |
#define SET_SEEN_DATETIME_FROM_TIME_T | ( | tt_expr | ) |
{ \ time_t tt = (tt_expr); \ gmtime_r(&tt, &seen); \ }
Definition at line 20 of file moment_parser.c.
Referenced by parse_moment().
#define this_domain (this_quark()) |
Definition at line 13 of file moment_parser.c.
anonymous enum |
Definition at line 15 of file moment_parser.c.
gboolean parse_moment | ( | const char * | s, | |
time_t | ctx, | |||
time_t | now, | |||
time_t * | result, | |||
GError ** | error | |||
) |
Definition at line 1515 of file moment_parser.c.
References _fsm_actions, _fsm_index_offsets, _fsm_key_offsets, _fsm_range_lengths, _fsm_single_lengths, _fsm_trans_actions_wi, _fsm_trans_keys, _fsm_trans_targs_wi, ATOI_RANGE, code_incomplete_input, code_parse_error, DEF_NOW_DAY_WITH_SEEN_TIME, fsm_error, fsm_first_final, fsm_start, num_days_till_next_wday(), SEEN_TIME_T, seenDay, seenHour, seenMin, seenMonth, seenSec, seenYear, SET_SEEN_DATE_PLUS_DAYS, SET_SEEN_DATETIME_FROM_TIME_T, and this_domain.
Referenced by rb_parse_moment(), and CUploader::SetSnapshotTimerL().
static GQuark this_quark | ( | ) | [static] |
Definition at line 8 of file moment_parser.c.
const char _fsm_actions[] [static] |
Definition at line 31 of file moment_parser.c.
Referenced by parse_moment().
const short _fsm_index_offsets[] [static] |
Definition at line 698 of file moment_parser.c.
Referenced by parse_moment().
const short _fsm_key_offsets[] [static] |
Definition at line 64 of file moment_parser.c.
Referenced by parse_moment().
const char _fsm_range_lengths[] [static] |
Definition at line 576 of file moment_parser.c.
Referenced by parse_moment().
const char _fsm_single_lengths[] [static] |
Definition at line 454 of file moment_parser.c.
Referenced by parse_moment().
const unsigned char _fsm_trans_actions_wi[] [static] |
Definition at line 1161 of file moment_parser.c.
Referenced by parse_moment().
const char _fsm_trans_keys[] [static] |
Definition at line 186 of file moment_parser.c.
Referenced by parse_moment().
const short _fsm_trans_targs_wi[] [static] |
Definition at line 820 of file moment_parser.c.
Referenced by parse_moment().
const int fsm_en_main = 1 [static] |
Definition at line 1506 of file moment_parser.c.
const int fsm_error = 0 [static] |
Definition at line 1504 of file moment_parser.c.
Referenced by parse_moment().
const int fsm_first_final = 948 [static] |
Definition at line 1503 of file moment_parser.c.
Referenced by parse_moment().
const int fsm_start = 1 [static] |
Definition at line 1502 of file moment_parser.c.
Referenced by parse_moment().
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:00 2011 by Doxygen 1.6.1