now 1125 daemons/based/based_callbacks.c time_t now = time(NULL); now 1162 daemons/based/based_callbacks.c if ((finished - now) > 3) { now 1163 daemons/based/based_callbacks.c crm_trace("%s operation took %lds to complete", op, (long)(finished - now)); now 711 daemons/controld/controld_control.c crm_time_t *now = crm_time_new(NULL); now 744 daemons/controld/controld_control.c config_hash, CIB_OPTIONS_FIRST, FALSE, now, NULL); now 788 daemons/controld/controld_control.c crm_time_free(now); now 475 daemons/controld/controld_execd_state.c crm_time_t *now = crm_time_new(NULL); now 481 daemons/controld/controld_execd_state.c config_hash, CIB_OPTIONS_FIRST, FALSE, now, NULL); now 487 daemons/controld/controld_execd_state.c crm_time_free(now); now 849 daemons/controld/controld_fencing.c char *now = pcmk__ttoa(time(NULL)); now 863 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, now 865 daemons/controld/controld_fencing.c free(now); now 223 daemons/controld/controld_remote_ra.c time_t now = time(NULL); now 231 daemons/controld/controld_remote_ra.c uptime + 20 >= now - conn_node->peer_lost) { now 223 daemons/controld/controld_te_events.c char *now = pcmk__ttoa(time(NULL)); now 236 daemons/controld/controld_te_events.c rsc_id, on_uname, task, rc, value, now); now 259 daemons/controld/controld_te_events.c last_pair->value = now; now 273 daemons/controld/controld_te_events.c free(now); now 132 daemons/controld/controld_throttle.c time_t now = time(NULL); now 180 daemons/controld/controld_throttle.c && last_call < now now 184 daemons/controld/controld_throttle.c time_t elapsed = now - last_call; now 194 daemons/controld/controld_throttle.c crm_debug("Init %lu + %lu ticks at %ld (%lu tps)", utime, stime, (long)now, ticks_per_s); now 197 daemons/controld/controld_throttle.c last_call = now; now 478 daemons/execd/cts-exec-helper.c scheduler->now = crm_time_new(NULL); now 150 daemons/execd/execd_commands.c time_diff_ms(const struct timespec *now, const struct timespec *old) now 157 daemons/execd/execd_commands.c if (now == NULL) { now 159 daemons/execd/execd_commands.c now = &local_now; now 161 daemons/execd/execd_commands.c diff_ms = (now->tv_sec - old->tv_sec) * 1000 now 162 daemons/execd/execd_commands.c + (now->tv_nsec - old->tv_nsec) / 1000000; now 1481 daemons/execd/execd_commands.c time_t now = time(NULL); now 1511 daemons/execd/execd_commands.c crm_xml_add_ll(*reply, PCMK__XA_UPTIME, now - start_time); now 2173 daemons/fenced/fenced_commands.c time_t now = time(NULL); now 2175 daemons/fenced/fenced_commands.c if (dev->targets == NULL || dev->targets_age + 60 < now) { now 999 daemons/fenced/fenced_remote.c time_t now = time(NULL); now 1044 daemons/fenced/fenced_remote.c && (now > (other->total_timeout + other->created))) { now 1046 daemons/fenced/fenced_remote.c op->id, other->id, now, other->created, now 2484 daemons/fenced/fenced_remote.c time_t now = time(NULL); now 2503 daemons/fenced/fenced_remote.c } else if ((rop->completed + tolerance) < now) { now 213 daemons/fenced/fenced_scheduler.c if (scheduler->now != NULL) { now 214 daemons/fenced/fenced_scheduler.c crm_time_free(scheduler->now); now 215 daemons/fenced/fenced_scheduler.c scheduler->now = NULL; now 346 daemons/pacemakerd/pcmkd_subdaemons.c time_t now = time(NULL); now 361 daemons/pacemakerd/pcmkd_subdaemons.c next_log = now + 30; now 369 daemons/pacemakerd/pcmkd_subdaemons.c } else if (now >= next_log) { now 370 daemons/pacemakerd/pcmkd_subdaemons.c next_log = now + 30; now 176 include/crm/common/scheduler.h crm_time_t *now; //!< Current time for evaluation purposes now 82 include/crm/pengine/common.h crm_time_t *now; // @COMPAT could be const now 40 include/crm/pengine/rules.h crm_time_t *now, crm_time_t *next_change); now 43 include/crm/pengine/rules.h enum rsc_role_e role, crm_time_t *now, now 47 include/crm/pengine/rules.h enum rsc_role_e role, crm_time_t *now, now 59 include/crm/pengine/rules.h gboolean overwrite, crm_time_t *now, now 32 include/crm/pengine/rules_compat.h gboolean test_ruleset(xmlNode *ruleset, GHashTable *node_hash, crm_time_t *now); now 36 include/crm/pengine/rules_compat.h crm_time_t *now); now 40 include/crm/pengine/rules_compat.h enum rsc_role_e role, crm_time_t *now, now 45 include/crm/pengine/rules_compat.h enum rsc_role_e role, crm_time_t *now, now 50 include/crm/pengine/rules_compat.h enum rsc_role_e role, crm_time_t *now); now 54 include/crm/pengine/rules_compat.h enum rsc_role_e role, crm_time_t *now, now 60 include/crm/pengine/rules_compat.h crm_time_t *now, pe_match_data_t *match_data); now 66 include/crm/pengine/rules_compat.h gboolean overwrite, crm_time_t *now); now 34 include/crm/pengine/rules_internal.h int pe_cron_range_satisfied(const crm_time_t *now, const xmlNode *cron_spec); now 919 lib/cib/cib_utils.c crm_time_t *now = NULL; now 925 lib/cib/cib_utils.c now = crm_time_new(NULL); now 932 lib/cib/cib_utils.c options, CIB_OPTIONS_FIRST, TRUE, now, NULL); now 937 lib/cib/cib_utils.c crm_time_free(now); now 750 lib/cluster/cpg.c time_t now = time(NULL); now 754 lib/cluster/cpg.c peer->when_lost = now; now 756 lib/cluster/cpg.c } else if (now > (peer->when_lost + 60)) { now 775 lib/common/iso8601.c time_t now = time(NULL); now 776 lib/common/iso8601.c struct tm *now_tm = localtime(&now); now 511 lib/common/logging.c time_t now = time(NULL); now 522 lib/common/logging.c if (nsig == 0 && now == last) { now 539 lib/common/logging.c last = now; now 133 lib/lrmd/lrmd_alerts.c pcmk__time_hr_t *now = NULL; now 163 lib/lrmd/lrmd_alerts.c if (now == NULL) { now 164 lib/lrmd/lrmd_alerts.c now = pcmk__time_hr_now(&epoch); now 177 lib/lrmd/lrmd_alerts.c if (now) { now 178 lib/lrmd/lrmd_alerts.c char *timestamp = pcmk__time_format_hr(entry->tstamp_format, now); now 192 lib/lrmd/lrmd_alerts.c snprintf(timestamp_usec, sizeof(timestamp_usec), "%06d", now->useconds); now 211 lib/lrmd/lrmd_alerts.c if (now) { now 212 lib/lrmd/lrmd_alerts.c free(now); now 102 lib/pacemaker/pcmk_injections.c char *now = pcmk__ttoa(time(NULL)); now 109 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, now); now 112 lib/pacemaker/pcmk_injections.c free(now); now 30 lib/pacemaker/pcmk_rule.c eval_date_expression(const xmlNode *expr, crm_time_t *now) now 35 lib/pacemaker/pcmk_rule.c .now = now, now 99 lib/pacemaker/pcmk_rule.c new_scheduler->now = pcmk_copy_time(date); now 219 lib/pacemaker/pcmk_rule.c rc = eval_date_expression(match, scheduler->now); now 36 lib/pacemaker/pcmk_sched_constraints.c result = pe_evaluate_rules(lifetime, NULL, scheduler->now, next_change); now 149 lib/pacemaker/pcmk_sched_location.c rsc->cluster->now, next_change, &match_data); now 442 lib/pacemaker/pcmk_simulate.c scheduler->now = crm_time_new(use_date); now 444 lib/pacemaker/pcmk_simulate.c crm_time_log(LOG_NOTICE, "Pretending 'now' is", scheduler->now, now 448 lib/pacemaker/pcmk_simulate.c scheduler->now = pcmk__copy_timet(original_date); now 451 lib/pacemaker/pcmk_simulate.c char *when = crm_time_as_string(scheduler->now, now 169 lib/pengine/complex.c .now = scheduler->now, now 213 lib/pengine/complex.c .now = scheduler->now, now 616 lib/pengine/complex.c .now = NULL, now 627 lib/pengine/complex.c rule_data.now = scheduler->now; now 395 lib/pengine/failcounts.c time_t now = get_effective_time(rsc->cluster); now 397 lib/pengine/failcounts.c if (now > (fc_data.last_failure + rsc->failure_timeout)) { now 249 lib/pengine/pe_actions.c .now = scheduler->now, now 568 lib/pengine/pe_actions.c guint interval_ms, const crm_time_t *now, now 576 lib/pengine/pe_actions.c if ((value == NULL) || (interval_ms == 0) || (now == NULL)) { now 590 lib/pengine/pe_actions.c result = crm_time_get_seconds(now) - crm_time_get_seconds(origin); now 716 lib/pengine/pe_actions.c .now = rsc->cluster->now, now 831 lib/pengine/pe_actions.c rsc->cluster->now, &start_delay)) { now 1415 lib/pengine/pe_actions.c .now = scheduler->now, now 39 lib/pengine/rules.c pe_evaluate_rules(xmlNode *ruleset, GHashTable *node_hash, crm_time_t *now, now 45 lib/pengine/rules.c .now = now, now 56 lib/pengine/rules.c crm_time_t *now, crm_time_t *next_change, now 62 lib/pengine/rules.c .now = now, now 89 lib/pengine/rules.c crm_time_t *now, crm_time_t *next_change, now 95 lib/pengine/rules.c .now = now, now 154 lib/pengine/rules.c phase_of_the_moon(const crm_time_t *now) now 159 lib/pengine/rules.c crm_time_get_ordinal(now, &y, &diy); now 237 lib/pengine/rules.c pe_cron_range_satisfied(const crm_time_t *now, const xmlNode *cron_spec) now 241 lib/pengine/rules.c CRM_CHECK(now != NULL, return pcmk_rc_op_unsatisfied); now 243 lib/pengine/rules.c crm_time_get_gregorian(now, &y, &m, &d); now 248 lib/pengine/rules.c crm_time_get_timeofday(now, &h, &m, &s); now 253 lib/pengine/rules.c crm_time_get_ordinal(now, &y, &d); now 256 lib/pengine/rules.c crm_time_get_isoweek(now, &y, &w, &d); now 261 lib/pengine/rules.c CHECK_ONE(cron_spec, "moon", phase_of_the_moon(now)); now 538 lib/pengine/rules.c crm_time_t *now, crm_time_t *next_change) now 543 lib/pengine/rules.c .now = now, now 1071 lib/pengine/rules.c } else if ((start != NULL) && (crm_time_compare(rule_data->now, start) < 0)) { now 1074 lib/pengine/rules.c } else if ((end != NULL) && (crm_time_compare(rule_data->now, end) > 0)) { now 1086 lib/pengine/rules.c rc = pe_cron_range_satisfied(rule_data->now, date_spec); now 1092 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, start) > 0) { now 1105 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, end) < 0) { now 1245 lib/pengine/rules.c test_ruleset(xmlNode *ruleset, GHashTable *node_hash, crm_time_t *now) now 1247 lib/pengine/rules.c return pe_evaluate_rules(ruleset, node_hash, now, NULL); now 1251 lib/pengine/rules.c test_rule(xmlNode * rule, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now) now 1253 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, NULL); now 1257 lib/pengine/rules.c pe_test_rule_re(xmlNode * rule, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now, pe_re_match_data_t * re_match_data) now 1264 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, &match_data); now 1269 lib/pengine/rules.c crm_time_t *now, pe_match_data_t *match_data) now 1271 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, match_data); now 1275 lib/pengine/rules.c test_expression(xmlNode * expr, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now) now 1277 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, NULL); now 1281 lib/pengine/rules.c pe_test_expression_re(xmlNode * expr, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now, pe_re_match_data_t * re_match_data) now 1288 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, &match_data); now 1293 lib/pengine/rules.c enum rsc_role_e role, crm_time_t *now, now 1296 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, match_data); now 1303 lib/pengine/rules.c crm_time_t *now) now 1308 lib/pengine/rules.c .now = now, now 33 lib/pengine/rules_alerts.c crm_time_t *now = crm_time_new(NULL); now 38 lib/pengine/rules_alerts.c NULL, FALSE, now, NULL); now 39 lib/pengine/rules_alerts.c crm_time_free(now); now 86 lib/pengine/status.c if (scheduler->now == NULL) { now 87 lib/pengine/status.c scheduler->now = crm_time_new(NULL); now 320 lib/pengine/status.c crm_time_free(scheduler->now); now 220 lib/pengine/unpack.c .now = scheduler->now, now 4159 lib/pengine/unpack.c time_t now = get_effective_time(history->rsc->cluster); now 4163 lib/pengine/unpack.c if ((now >= (last_run + history->rsc->failure_timeout)) now 4180 lib/pengine/unpack.c (long long) now, unexpired_fail_count, now 4183 lib/pengine/unpack.c if (unexpired_fail_count && (now < last_failure)) { now 4895 lib/pengine/unpack.c .now = scheduler->now, now 399 lib/pengine/utils.c if (scheduler->now == NULL) { now 401 lib/pengine/utils.c scheduler->now = crm_time_new(NULL); now 403 lib/pengine/utils.c return crm_time_get_seconds_since_epoch(scheduler->now); now 6044 maint/gnulib/lib/gen-uni-tables.c time_t now; now 6046 maint/gnulib/lib/gen-uni-tables.c now = time (NULL); now 6047 maint/gnulib/lib/gen-uni-tables.c strftime (date, sizeof (date), "%Y-%m-%d", gmtime (&now)); now 1712 maint/gnulib/lib/parse-datetime.y struct timespec const *now, unsigned int flags, now 1729 maint/gnulib/lib/parse-datetime.y if (! now) now 1732 maint/gnulib/lib/parse-datetime.y now = &gettime_buffer; now 1735 maint/gnulib/lib/parse-datetime.y time_t Start = now->tv_sec; now 1736 maint/gnulib/lib/parse-datetime.y int Start_ns = now->tv_nsec; now 1793 maint/gnulib/lib/parse-datetime.y if (! localtime_rz (tz, &now->tv_sec, &tmp)) now 2384 maint/gnulib/lib/parse-datetime.y struct timespec const *now, unsigned int flags, now 2387 maint/gnulib/lib/parse-datetime.y return parse_datetime_body (result, p, now, flags, tzdefault, tzstring); now 2395 maint/gnulib/lib/parse-datetime.y struct timespec const *now) now 2401 maint/gnulib/lib/parse-datetime.y bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); now 76 maint/gnulib/lib/posixtm.c time_t now = time (NULL); now 77 maint/gnulib/lib/posixtm.c struct tm *tmp = localtime (&now); now 96 maint/gnulib/lib/timevar.c set_to_current_time (struct timevar_time_def *now) now 98 maint/gnulib/lib/timevar.c now->user = 0; now 99 maint/gnulib/lib/timevar.c now->sys = 0; now 100 maint/gnulib/lib/timevar.c now->wall = 0; now 110 maint/gnulib/lib/timevar.c now->user = now 114 maint/gnulib/lib/timevar.c now->sys = now 118 maint/gnulib/lib/timevar.c now->wall = gethrxtime(); now 126 maint/gnulib/lib/timevar.c struct timevar_time_def now; now 127 maint/gnulib/lib/timevar.c set_to_current_time (&now); now 128 maint/gnulib/lib/timevar.c return now; now 175 maint/gnulib/lib/timevar.c struct timevar_time_def const now = get_current_time (); now 180 maint/gnulib/lib/timevar.c timevar_accumulate (&stack->timevar->elapsed, &start_time, &now); now 184 maint/gnulib/lib/timevar.c start_time = now; now 214 maint/gnulib/lib/timevar.c struct timevar_time_def const now = get_current_time (); now 218 maint/gnulib/lib/timevar.c timevar_accumulate (&popped->timevar->elapsed, &start_time, &now); now 222 maint/gnulib/lib/timevar.c start_time = now; now 265 maint/gnulib/lib/timevar.c struct timevar_time_def const now = get_current_time (); now 266 maint/gnulib/lib/timevar.c timevar_accumulate (&tv->elapsed, &tv->start_time, &now); now 279 maint/gnulib/lib/timevar.c struct timevar_time_def const now = get_current_time (); now 280 maint/gnulib/lib/timevar.c timevar_accumulate (elapsed, &tv->start_time, &now); now 285 maint/gnulib/lib/timevar.c struct timevar_time_def const now = get_current_time (); now 286 maint/gnulib/lib/timevar.c timevar_accumulate (elapsed, &start_time, &now); now 302 maint/gnulib/lib/timevar.c struct timevar_time_def const now = get_current_time (); now 307 maint/gnulib/lib/timevar.c timevar_accumulate (&stack->timevar->elapsed, &start_time, &now); now 311 maint/gnulib/lib/timevar.c start_time = now; now 123 maint/gnulib/tests/test-cnd.c struct timeval now; now 125 maint/gnulib/tests/test-cnd.c gettimeofday (&now, NULL); now 127 maint/gnulib/tests/test-cnd.c ts->tv_sec = now.tv_sec + 1; now 128 maint/gnulib/tests/test-cnd.c ts->tv_nsec = now.tv_usec * 1000; now 118 maint/gnulib/tests/test-cond.c struct timeval now; now 120 maint/gnulib/tests/test-cond.c gettimeofday (&now, NULL); now 122 maint/gnulib/tests/test-cond.c ts->tv_sec = now.tv_sec + 1; now 123 maint/gnulib/tests/test-cond.c ts->tv_nsec = now.tv_usec * 1000; now 32 maint/gnulib/tests/test-parse-datetime.c #define LOG(str, now, res) \ now 34 maint/gnulib/tests/test-parse-datetime.c str, res.tv_sec - now.tv_sec, res.tv_nsec - now.tv_nsec); now 36 maint/gnulib/tests/test-parse-datetime.c #define LOG(str, now, res) (void) 0 now 119 maint/gnulib/tests/test-parse-datetime.c struct timespec now; now 218 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 219 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 221 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 222 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 223 maint/gnulib/tests/test-parse-datetime.c ASSERT (now.tv_sec == result.tv_sec && now.tv_nsec == result.tv_nsec); now 225 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 226 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 228 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 229 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 230 maint/gnulib/tests/test-parse-datetime.c ASSERT (now.tv_sec + 24 * 60 * 60 == result.tv_sec now 231 maint/gnulib/tests/test-parse-datetime.c && now.tv_nsec == result.tv_nsec); now 233 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 234 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 236 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 237 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 238 maint/gnulib/tests/test-parse-datetime.c ASSERT (now.tv_sec - 24 * 60 * 60 == result.tv_sec now 239 maint/gnulib/tests/test-parse-datetime.c && now.tv_nsec == result.tv_nsec); now 241 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 242 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 244 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 245 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 246 maint/gnulib/tests/test-parse-datetime.c ASSERT (now.tv_sec + 4 * 60 * 60 == result.tv_sec now 247 maint/gnulib/tests/test-parse-datetime.c && now.tv_nsec == result.tv_nsec); now 250 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 251 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 253 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 254 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 256 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 257 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 262 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 263 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 265 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 266 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 268 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 269 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 273 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 274 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 278 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 279 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 281 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 282 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 284 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 285 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 289 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 290 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 294 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 295 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 297 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 298 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 300 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 301 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 305 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 306 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 308 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 309 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 311 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 312 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 318 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 319 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 321 maint/gnulib/tests/test-parse-datetime.c ASSERT (!parse_datetime (&result, p, &now)); now 324 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 325 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 327 maint/gnulib/tests/test-parse-datetime.c ASSERT (!parse_datetime (&result, p, &now)); now 329 maint/gnulib/tests/test-parse-datetime.c ASSERT (!parse_datetime (&result, p, &now)); now 331 maint/gnulib/tests/test-parse-datetime.c ASSERT (!parse_datetime (&result, p, &now)); now 333 maint/gnulib/tests/test-parse-datetime.c ASSERT (!parse_datetime (&result, p, &now)); now 335 maint/gnulib/tests/test-parse-datetime.c ASSERT (!parse_datetime (&result, p, &now)); now 337 maint/gnulib/tests/test-parse-datetime.c ASSERT (!parse_datetime (&result, p, &now)); now 339 maint/gnulib/tests/test-parse-datetime.c ASSERT (!parse_datetime (&result, p, &now)); now 342 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 343 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 345 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 346 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 348 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 349 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 353 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 354 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 357 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 358 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 360 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 361 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 363 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 364 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 367 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 4711; now 368 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 370 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 371 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 373 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result2, p, &now)); now 374 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result2); now 385 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = thur2 + 4711; now 386 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 387 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, tmp, &now)); now 388 maint/gnulib/tests/test-parse-datetime.c LOG (tmp, now, result); now 393 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = thur2 + 4711; now 394 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 1267; now 395 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, tmp, &now)); now 396 maint/gnulib/tests/test-parse-datetime.c LOG (tmp, now, result); now 402 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 0; now 403 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 0; now 404 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 405 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 406 maint/gnulib/tests/test-parse-datetime.c ASSERT (result.tv_sec == now.tv_sec now 407 maint/gnulib/tests/test-parse-datetime.c && result.tv_nsec == now.tv_nsec); now 410 maint/gnulib/tests/test-parse-datetime.c now.tv_sec = 0; now 411 maint/gnulib/tests/test-parse-datetime.c now.tv_nsec = 0; now 412 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, p, &now)); now 413 maint/gnulib/tests/test-parse-datetime.c LOG (p, now, result); now 415 maint/gnulib/tests/test-parse-datetime.c && result.tv_nsec == now.tv_nsec); now 419 maint/gnulib/tests/test-parse-datetime.c ASSERT ( ! parse_datetime (&result, "\xb0", &now)); now 423 maint/gnulib/tests/test-parse-datetime.c ASSERT ( ! parse_datetime (&result, "TZ=\"\"\"", &now)); now 424 maint/gnulib/tests/test-parse-datetime.c ASSERT ( ! parse_datetime (&result, "TZ=\"\" \"", &now)); now 426 maint/gnulib/tests/test-parse-datetime.c ASSERT ( ! parse_datetime (&result, "TZ=\"", &now)); now 427 maint/gnulib/tests/test-parse-datetime.c ASSERT ( ! parse_datetime (&result, "TZ=\"\\\"", &now)); now 428 maint/gnulib/tests/test-parse-datetime.c ASSERT ( ! parse_datetime (&result, "TZ=\"\\n", &now)); now 429 maint/gnulib/tests/test-parse-datetime.c ASSERT ( ! parse_datetime (&result, "TZ=\"\\n\"", &now)); now 431 maint/gnulib/tests/test-parse-datetime.c ASSERT ( parse_datetime (&result, "TZ=\"\"", &now)); now 432 maint/gnulib/tests/test-parse-datetime.c ASSERT ( parse_datetime (&result, "TZ=\"\" ", &now)); now 433 maint/gnulib/tests/test-parse-datetime.c ASSERT ( parse_datetime (&result, " TZ=\"\"", &now)); now 437 maint/gnulib/tests/test-parse-datetime.c ASSERT ( parse_datetime (&result, "TZ=\"\\\\\"", &now)); now 438 maint/gnulib/tests/test-parse-datetime.c ASSERT ( parse_datetime (&result, "TZ=\"\\\"\"", &now)); now 459 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, buf, &now)); now 460 maint/gnulib/tests/test-parse-datetime.c LOG (buf, now, result); now 128 maint/gnulib/tests/test-pthread-cond.c struct timeval now; now 130 maint/gnulib/tests/test-pthread-cond.c gettimeofday (&now, NULL); now 132 maint/gnulib/tests/test-pthread-cond.c ts->tv_sec = now.tv_sec + 1; now 133 maint/gnulib/tests/test-pthread-cond.c ts->tv_nsec = now.tv_usec * 1000; now 2158 tools/crm_mon.c time_t now = time(NULL); now 2181 tools/crm_mon.c ((now - last_refresh) > (options.reconnect_ms / 1000)) || now 18 tools/crm_resource_ban.c crm_time_t *now = NULL; now 34 tools/crm_resource_ban.c now = crm_time_new(NULL); now 35 tools/crm_resource_ban.c later = crm_time_add(now, duration); now 40 tools/crm_resource_ban.c crm_time_free(now); now 45 tools/crm_resource_ban.c crm_time_log(LOG_INFO, "now ", now, now 55 tools/crm_resource_ban.c crm_time_free(now); now 437 tools/crm_resource_ban.c crm_time_t *now = crm_time_new(NULL); now 470 tools/crm_resource_ban.c if (crm_time_compare(now, end) == 1) { now 498 tools/crm_resource_ban.c crm_time_free(now); now 34 tools/crm_resource_print.c if (pe_evaluate_rules(lifetime, NULL, scheduler->now, NULL) == FALSE) { now 1206 tools/crm_resource_runtime.c scheduler->now = crm_time_new(NULL); now 618 tools/crm_ticket.c char *now = pcmk__ttoa(time(NULL)); now 620 tools/crm_ticket.c crm_xml_add(ticket_state_xml, "last-granted", now); now 621 tools/crm_ticket.c free(now); now 805 tools/crm_ticket.c scheduler->now = crm_time_new(NULL);