now 1042 daemons/based/based_callbacks.c time_t now = time(NULL); now 1078 daemons/based/based_callbacks.c if ((finished - now) > 3) { now 1079 daemons/based/based_callbacks.c crm_trace("%s operation took %lds to complete", op, (long)(finished - now)); now 707 daemons/controld/controld_control.c crm_time_t *now = crm_time_new(NULL); now 741 daemons/controld/controld_control.c config_hash, CIB_OPTIONS_FIRST, FALSE, now, NULL); now 781 daemons/controld/controld_control.c crm_time_free(now); now 476 daemons/controld/controld_execd_state.c crm_time_t *now = crm_time_new(NULL); now 482 daemons/controld/controld_execd_state.c config_hash, CIB_OPTIONS_FIRST, FALSE, now, NULL); now 488 daemons/controld/controld_execd_state.c crm_time_free(now); now 848 daemons/controld/controld_fencing.c char *now = pcmk__ttoa(time(NULL)); now 862 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, now 864 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 477 daemons/execd/cts-exec-helper.c data_set->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 1475 daemons/execd/execd_commands.c time_t now = time(NULL); now 1504 daemons/execd/execd_commands.c crm_xml_add_ll(*reply, PCMK__XA_UPTIME, now - start_time); now 2175 daemons/fenced/fenced_commands.c time_t now = time(NULL); now 2177 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 2481 daemons/fenced/fenced_remote.c time_t now = time(NULL); now 2500 daemons/fenced/fenced_remote.c } else if ((rop->completed + tolerance) < now) { now 812 daemons/fenced/pacemaker-fenced.c if (fenced_data_set->now != NULL) { now 813 daemons/fenced/pacemaker-fenced.c crm_time_free(fenced_data_set->now); now 814 daemons/fenced/pacemaker-fenced.c fenced_data_set->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 195 include/crm/pengine/common.h crm_time_t *now; // @COMPAT could be const now 161 include/crm/pengine/pe_types.h crm_time_t *now; 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 633 lib/cib/cib_utils.c crm_time_t *now = NULL; now 639 lib/cib/cib_utils.c now = crm_time_new(NULL); now 646 lib/cib/cib_utils.c options, CIB_OPTIONS_FIRST, TRUE, now, NULL); now 651 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 506 lib/common/logging.c time_t now = time(NULL); now 517 lib/common/logging.c if (nsig == 0 && now == last) { now 534 lib/common/logging.c last = now; now 1626 lib/common/xml.c if ((now + 1) < next) { now 1629 lib/common/xml.c (long long) buffer->len, next - 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 101 lib/pacemaker/pcmk_injections.c char *now = pcmk__ttoa(time(NULL)); now 108 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, now); now 111 lib/pacemaker/pcmk_injections.c free(now); now 29 lib/pacemaker/pcmk_rule.c eval_date_expression(const xmlNode *expr, crm_time_t *now) now 34 lib/pacemaker/pcmk_rule.c .now = now, now 98 lib/pacemaker/pcmk_rule.c new_data_set->now = pcmk_copy_time(date); now 218 lib/pacemaker/pcmk_rule.c rc = eval_date_expression(match, data_set->now); now 36 lib/pacemaker/pcmk_sched_constraints.c result = pe_evaluate_rules(lifetime, NULL, data_set->now, next_change); now 148 lib/pacemaker/pcmk_sched_location.c data_set->now, next_change, &match_data); now 438 lib/pacemaker/pcmk_simulate.c data_set->now = crm_time_new(use_date); now 440 lib/pacemaker/pcmk_simulate.c crm_time_log(LOG_NOTICE, "Pretending 'now' is", data_set->now, now 444 lib/pacemaker/pcmk_simulate.c data_set->now = pcmk__copy_timet(original_date); now 447 lib/pacemaker/pcmk_simulate.c char *when = crm_time_as_string(data_set->now, now 161 lib/pengine/complex.c .now = data_set->now, now 205 lib/pengine/complex.c .now = data_set->now, now 603 lib/pengine/complex.c .now = NULL, now 614 lib/pengine/complex.c rule_data.now = data_set->now; now 325 lib/pengine/failcounts.c time_t now = get_effective_time(rsc->cluster); now 327 lib/pengine/failcounts.c if (now > (last + rsc->failure_timeout)) { now 240 lib/pengine/pe_actions.c .now = data_set->now, now 521 lib/pengine/pe_actions.c guint interval_ms, const crm_time_t *now, now 529 lib/pengine/pe_actions.c if ((value == NULL) || (interval_ms == 0) || (now == NULL)) { now 543 lib/pengine/pe_actions.c result = crm_time_get_seconds(now) - crm_time_get_seconds(origin); now 658 lib/pengine/pe_actions.c .now = data_set->now, now 916 lib/pengine/pe_actions.c if (unpack_interval_origin(value, xml_obj, interval_ms, data_set->now, now 1228 lib/pengine/pe_actions.c .now = data_set->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 156 lib/pengine/rules.c phase_of_the_moon(const crm_time_t *now) now 161 lib/pengine/rules.c crm_time_get_ordinal(now, &y, &diy); now 239 lib/pengine/rules.c pe_cron_range_satisfied(const crm_time_t *now, const xmlNode *cron_spec) now 243 lib/pengine/rules.c CRM_CHECK(now != NULL, return pcmk_rc_op_unsatisfied); now 245 lib/pengine/rules.c crm_time_get_gregorian(now, &y, &m, &d); now 250 lib/pengine/rules.c crm_time_get_timeofday(now, &h, &m, &s); now 255 lib/pengine/rules.c crm_time_get_ordinal(now, &y, &d); now 258 lib/pengine/rules.c crm_time_get_isoweek(now, &y, &w, &d); now 263 lib/pengine/rules.c CHECK_ONE(cron_spec, "moon", phase_of_the_moon(now)); now 535 lib/pengine/rules.c crm_time_t *now, crm_time_t *next_change) now 540 lib/pengine/rules.c .now = now, now 1068 lib/pengine/rules.c } else if ((start != NULL) && (crm_time_compare(rule_data->now, start) < 0)) { now 1071 lib/pengine/rules.c } else if ((end != NULL) && (crm_time_compare(rule_data->now, end) > 0)) { now 1083 lib/pengine/rules.c rc = pe_cron_range_satisfied(rule_data->now, date_spec); now 1089 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, start) > 0) { now 1102 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, end) < 0) { now 1242 lib/pengine/rules.c test_ruleset(xmlNode *ruleset, GHashTable *node_hash, crm_time_t *now) now 1244 lib/pengine/rules.c return pe_evaluate_rules(ruleset, node_hash, now, NULL); now 1248 lib/pengine/rules.c test_rule(xmlNode * rule, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now) now 1250 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, NULL); now 1254 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 1261 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, &match_data); now 1266 lib/pengine/rules.c crm_time_t *now, pe_match_data_t *match_data) now 1268 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, match_data); now 1272 lib/pengine/rules.c test_expression(xmlNode * expr, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now) now 1274 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, NULL); now 1278 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 1285 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, &match_data); now 1290 lib/pengine/rules.c enum rsc_role_e role, crm_time_t *now, now 1293 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, match_data); now 1300 lib/pengine/rules.c crm_time_t *now) now 1305 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 (data_set->now == NULL) { now 87 lib/pengine/status.c data_set->now = crm_time_new(NULL); now 320 lib/pengine/status.c crm_time_free(data_set->now); now 222 lib/pengine/unpack.c .now = data_set->now, now 3899 lib/pengine/unpack.c time_t now = get_effective_time(history->rsc->cluster); now 3903 lib/pengine/unpack.c if ((now >= (last_run + history->rsc->failure_timeout)) now 3919 lib/pengine/unpack.c (long long) now, unexpired_fail_count, now 3922 lib/pengine/unpack.c if (unexpired_fail_count && (now < last_failure)) { now 4646 lib/pengine/unpack.c .now = data_set->now, now 437 lib/pengine/utils.c if (data_set->now == NULL) { now 439 lib/pengine/utils.c data_set->now = crm_time_new(NULL); now 441 lib/pengine/utils.c return crm_time_get_seconds_since_epoch(data_set->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 442 tools/crm_resource_ban.c crm_time_t *now = crm_time_new(NULL); now 475 tools/crm_resource_ban.c if (crm_time_compare(now, end) == 1) { now 503 tools/crm_resource_ban.c crm_time_free(now); now 34 tools/crm_resource_print.c if (pe_evaluate_rules(lifetime, NULL, data_set->now, NULL) == FALSE) { now 1194 tools/crm_resource_runtime.c data_set->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 802 tools/crm_ticket.c data_set->now = crm_time_new(NULL);