now 120 lib/async_req/async_req.c struct timeval now, void *priv)
now 228 lib/async_req/async_req.c struct timeval now,
now 343 lib/tevent/tevent_req.c struct timeval now,
now 857 nsswitch/pam_winbind.c time_t now,
now 875 nsswitch/pam_winbind.c if (next_change <= now) {
now 884 nsswitch/pam_winbind.c (next_change > now + warn_pwd_expire * SECONDS_PER_DAY)) {
now 888 nsswitch/pam_winbind.c if ((localtime_r(&now, &tm_now) == NULL) ||
now 975 nsswitch/pam_winbind.c time_t now = time(NULL);
now 1003 nsswitch/pam_winbind.c if (_pam_send_password_expiry_message(ctx, next_change, now,
now 1020 nsswitch/pam_winbind.c if (_pam_send_password_expiry_message(ctx, next_change, now,
now 162 source3/auth/auth_server.c static bool send_server_keepalive(const struct timeval *now,
now 160 source3/client/mtab.c struct timeval now;
now 179 source3/client/mtab.c gettimeofday(&now, NULL);
now 180 source3/client/mtab.c if (errno == ENOENT && now.tv_sec < maxtime.tv_sec) {
now 201 source3/client/mtab.c gettimeofday(&now, NULL);
now 202 source3/client/mtab.c if (now.tv_sec < maxtime.tv_sec) {
now 203 source3/client/mtab.c alarm(maxtime.tv_sec - now.tv_sec);
now 34 source3/include/event.h const struct timeval *now,
now 34 source3/include/module.h typedef void (smb_idle_event_fn)(void **data,time_t *interval,time_t now);
now 6794 source3/include/proto.h bool (*handler)(const struct timeval *now,
now 229 source3/include/smb_macros.h Disable these now we have checked all code paths and ensured
now 85 source3/lib/afs.c uint32 now;
now 143 source3/lib/afs.c now = time(NULL);
now 144 source3/lib/afs.c SIVAL(p, 0, now);
now 145 source3/lib/afs.c ct->BeginTimestamp = now;
now 150 source3/lib/afs.c ct->EndTimestamp = now + lp_afs_token_lifetime();
now 203 source3/lib/ctdbd_conn.c struct timeval now,
now 49 source3/lib/events.c const struct timeval *now,
now 77 source3/lib/events.c diff = timeval_until(now, &ev->timer_events->next_event);
now 87 source3/lib/events.c struct timeval now;
now 99 source3/lib/events.c GetTimeOfDay(&now);
now 102 source3/lib/events.c && (timeval_compare(&now, &ev->timer_events->next_event) >= 0)) {
now 107 source3/lib/events.c ev->timer_events->handler(ev, ev->timer_events, now,
now 138 source3/lib/events.c struct timeval now;
now 144 source3/lib/events.c now = timeval_current();
now 145 source3/lib/events.c *to_ret = timeval_until(&now, &ev->timer_events->next_event);
now 155 source3/lib/events.c struct timeval now, to;
now 170 source3/lib/events.c GetTimeOfDay(&now);
now 172 source3/lib/events.c if (!event_add_to_select_args(ev, &now, &r_fds, &w_fds, &to, &maxfd)) {
now 204 source3/lib/events.c struct timeval evt, now;
now 210 source3/lib/events.c now = timeval_current();
now 216 source3/lib/events.c evt = timeval_until(&now, &te->next_event);
now 114 source3/lib/idmap_cache.c time_t now = time(NULL);
now 125 source3/lib/idmap_cache.c gencache_set(key, value, now + timeout);
now 138 source3/lib/idmap_cache.c gencache_set(key, value, now + timeout);
now 234 source3/lib/idmap_cache.c time_t now = time(NULL);
now 245 source3/lib/idmap_cache.c gencache_set(key, value, now + timeout);
now 258 source3/lib/idmap_cache.c gencache_set(key, value, now + timeout);
now 441 source3/lib/ldb/common/ldb.c time_t now;
now 445 source3/lib/ldb/common/ldb.c now = time(NULL);
now 450 source3/lib/ldb/common/ldb.c if ((now - oldreq->starttime) > oldreq->timeout) {
now 454 source3/lib/ldb/common/ldb.c newreq->timeout = oldreq->timeout - (now - oldreq->starttime);
now 1075 source3/lib/smbldap.c struct timeval now,
now 1181 source3/lib/smbldap.c time_t now = time(NULL);
now 1187 source3/lib/smbldap.c if (now >= endtime) {
now 1196 source3/lib/smbldap.c alarm(endtime - now);
now 1212 source3/lib/smbldap.c ldap_state->last_use = now;
now 1238 source3/lib/smbldap.c ldap_state->last_use = now;
now 1633 source3/lib/smbldap.c struct timeval now,
now 1645 source3/lib/smbldap.c if ((state->last_use+SMBLDAP_IDLE_TIME) > now.tv_sec) {
now 1650 source3/lib/smbldap.c timeval_add(&now, SMBLDAP_IDLE_TIME, 0),
now 2962 source3/lib/util.c Disable these now we have checked all code paths and ensured
now 100 source3/libaddns/dns.h Disable these now we have checked all code paths and ensured
now 299 source3/libads/dns.c time_t now = time(NULL);
now 305 source3/libads/dns.c if ( last_dns_check > now )
now 314 source3/libads/dns.c (last_dns_check+DNS_FAILED_WAITTIME) > now )
now 438 source3/libsmb/async_smb.c struct timeval now,
now 228 source3/libsmb/samlogon_cache.c time_t now = time(NULL);
now 232 source3/libsmb/samlogon_cache.c time_diff = now - t;
now 295 source3/libsmb/trustdom_cache.c time_t now = time(NULL);
now 300 source3/libsmb/trustdom_cache.c trustdom_cache_store_timestamp(0, now+TRUSTDOM_UPDATE_INTERVAL);
now 302 source3/libsmb/trustdom_cache.c time_diff = (int) (now - last_check);
now 312 source3/libsmb/trustdom_cache.c trustdom_cache_store_timestamp(now, now+TRUSTDOM_UPDATE_INTERVAL);
now 325 source3/libsmb/trustdom_cache.c now+TRUSTDOM_UPDATE_INTERVAL);
now 2581 source3/modules/getdate.c get_date (const char *p, const time_t *now)
now 2583 source3/modules/getdate.c time_t Start = now ? *now : time (0);
now 45 source3/modules/getdate.h time_t get_date PARAMS ((const char *p, const time_t *now));
now 880 source3/modules/getdate.y get_date (const char *p, const time_t *now)
now 882 source3/modules/getdate.y time_t Start = now ? *now : time (0);
now 219 source3/modules/vfs_aio_fork.c struct timeval now,
now 255 source3/modules/vfs_aio_fork.c timeval_add(&now, 30, 0),
now 88 source3/nmbd/nmbd_browserdb.c time_t now = time( NULL );
now 104 source3/nmbd/nmbd_browserdb.c browc->sync_time = now + 60;
now 107 source3/nmbd/nmbd_browserdb.c browc->death_time = now + ( (CHECK_TIME_MST_ANNOUNCE + 2) * 60 );
now 1792 source3/nmbd/nmbd_packets.c struct timeval now = timeval_current();
now 1793 source3/nmbd/nmbd_packets.c event_add_to_select_args(nmbd_event_context(), &now,
now 55 source3/nmbd/nmbd_processlogon.c struct timeval now,
now 227 source3/printing/notify.c struct timeval now,
now 5762 source3/printing/nt_printing.c time_t now = time(NULL);
now 5772 source3/printing/nt_printing.c t = gmtime(&now);
now 449 source3/rpc_server/srv_samr_nt.c struct timeval now,
now 620 source3/rpc_server/srv_samr_util.c time_t now = time(NULL);
now 636 source3/rpc_server/srv_samr_util.c ((now - stored_time) > pwd_max_age)) {
now 637 source3/rpc_server/srv_samr_util.c pdb_set_pass_last_set_time(to, now, PDB_CHANGED);
now 841 source3/rpc_server/srv_srvsvc_nt.c time_t now = time(NULL);
now 867 source3/rpc_server/srv_srvsvc_nt.c connect_time = (uint32_t)(now - session_list[resume_handle].connect_start);
now 38 source3/smbd/blocking.c struct timeval now,
now 64 source3/smbd/dnsregister.c struct timeval now,
now 90 source3/smbd/dnsregister.c struct timeval now,
now 174 source3/smbd/fileio.c struct timeval now,
now 989 source3/smbd/open.c struct timeval now, end_time;
now 990 source3/smbd/open.c GetTimeOfDay(&now);
now 992 source3/smbd/open.c return (timeval_compare(&end_time, &now) < 0);
now 310 source3/smbd/oplock.c struct timeval now,
now 648 source3/smbd/process.c bool (*handler)(const struct timeval *now, void *private_data);
now 654 source3/smbd/process.c struct timeval now,
now 665 source3/smbd/process.c if (!event->handler(&now, event->private_data)) {
now 677 source3/smbd/process.c timeval_sum(&now, &event->interval),
now 688 source3/smbd/process.c bool (*handler)(const struct timeval *now,
now 693 source3/smbd/process.c struct timeval now = timeval_current();
now 712 source3/smbd/process.c timeval_sum(&now, &interval),
now 797 source3/smbd/process.c struct timeval now;
now 798 source3/smbd/process.c GetTimeOfDay(&now);
now 800 source3/smbd/process.c event_add_to_select_args(smbd_event_context(), &now,
now 1963 source3/smbd/process.c static bool keepalive_fn(const struct timeval *now, void *private_data)
now 1975 source3/smbd/process.c static bool deadtime_fn(const struct timeval *now, void *private_data)
now 1978 source3/smbd/process.c || (conn_idle_all(now->tv_sec))) {
now 1992 source3/smbd/process.c static bool housekeeping_fn(const struct timeval *now, void *private_data)
now 251 source3/utils/net_lua.c struct timeval now,
now 70 source3/utils/smbcontrol.c struct timeval now,
now 224 source3/utils/smbget.c static void print_progress(const char *name, time_t start, time_t now, off_t start_pos, off_t pos, off_t total)
now 232 source3/utils/smbget.c if(now - start)avg = 1.0 * (pos - start_pos) / (now - start);
now 78 source3/winbindd/idmap_ad.c time_t now = time(NULL);
now 86 source3/winbindd/idmap_ad.c (uint32)expire-(uint32)now, (uint32) expire, (uint32) now));
now 1077 source3/winbindd/winbindd.c struct timeval now;
now 1078 source3/winbindd/winbindd.c GetTimeOfDay(&now);
now 1080 source3/winbindd/winbindd.c event_add_to_select_args(winbind_event_context(), &now,
now 50 source3/winbindd/winbindd_ads.c time_t now = time(NULL);
now 58 source3/winbindd/winbindd_ads.c (uint32)expire-(uint32)now, (uint32) expire, (uint32) now));
now 60 source3/winbindd/winbindd_ads.c if ( ads->config.realm && (expire > now)) {
now 390 source3/winbindd/winbindd_cache.c static NTSTATUS fetch_cache_seqnum( struct winbindd_domain *domain, time_t now )
now 416 source3/winbindd/winbindd_cache.c time_diff = now - domain->last_seq_check;
now 271 source3/winbindd/winbindd_cm.c struct timeval now,
now 285 source3/winbindd/winbindd_cm.c if (domain->startup && (now.tv_sec > domain->startup_time + 30)) {
now 100 source3/winbindd/winbindd_cred_cache.c struct timeval now,
now 293 source3/winbindd/winbindd_cred_cache.c struct timeval now,
now 178 source3/winbindd/winbindd_dual.c struct timeval now,
now 829 source3/winbindd/winbindd_dual.c struct timeval now,
now 920 source3/winbindd/winbindd_dual.c struct timeval now,
now 1386 source3/winbindd/winbindd_dual.c struct timeval now;
now 1394 source3/winbindd/winbindd_dual.c GetTimeOfDay(&now);
now 1397 source3/winbindd/winbindd_dual.c (now.tv_sec > child->domain->startup_time + 30)) {
now 1409 source3/winbindd/winbindd_dual.c event_add_to_select_args(winbind_event_context(), &now,
now 542 source3/winbindd/winbindd_util.c time_t now = time(NULL);
now 550 source3/winbindd/winbindd_util.c if ((now >= last_trustdom_scan) &&
now 551 source3/winbindd/winbindd_util.c ((now-last_trustdom_scan) < WINBINDD_RESCAN_FREQ) )
now 567 source3/winbindd/winbindd_util.c last_trustdom_scan = now;
now 157 source4/auth/sam.c NTTIME now;
now 184 source4/auth/sam.c unix_to_nt_time(&now, time(NULL));
now 185 source4/auth/sam.c if (now > acct_expiry) {
now 200 source4/auth/sam.c if (must_change_time < now) {
now 646 source4/dsdb/common/util.c NTTIME now;
now 652 source4/dsdb/common/util.c unix_to_nt_time(&now, time(NULL));
now 654 source4/dsdb/common/util.c if (must_change_time < now) {
now 1601 source4/dsdb/common/util.c time_t now = time(NULL);
now 1606 source4/dsdb/common/util.c unix_to_nt_time(&now_nt, now);
now 87 source4/dsdb/repl/drepl_out_pull.c NTTIME now;
now 90 source4/dsdb/repl/drepl_out_pull.c unix_to_nt_time(&now, t);
now 95 source4/dsdb/repl/drepl_out_pull.c rf->last_success = now;
now 125 source4/dsdb/repl/drepl_out_pull.c NTTIME now;
now 138 source4/dsdb/repl/drepl_out_pull.c unix_to_nt_time(&now, t);
now 144 source4/dsdb/repl/drepl_out_pull.c op->source_dsa->repsFrom1->last_attempt = now;
now 251 source4/dsdb/samdb/ldb_modules/repl_meta_data.c NTTIME now;
now 310 source4/dsdb/samdb/ldb_modules/repl_meta_data.c unix_to_nt_time(&now, t);
now 370 source4/dsdb/samdb/ldb_modules/repl_meta_data.c m->originating_change_time = now;
now 1054 source4/dsdb/samdb/ldb_modules/repl_meta_data.c NTTIME now;
now 1064 source4/dsdb/samdb/ldb_modules/repl_meta_data.c unix_to_nt_time(&now, t);
now 1171 source4/dsdb/samdb/ldb_modules/repl_meta_data.c nuv.ctr.ctr2.cursors[j].last_sync_success = now;
now 1184 source4/dsdb/samdb/ldb_modules/repl_meta_data.c nuv.ctr.ctr2.cursors[ni].last_sync_success = now;
now 1229 source4/dsdb/samdb/ldb_modules/repl_meta_data.c nrf.ctr.ctr1.last_success = now;
now 1230 source4/dsdb/samdb/ldb_modules/repl_meta_data.c nrf.ctr.ctr1.last_attempt = now;
now 87 source4/heimdal/kdc/pkinit.c krb5_timestamp now;
now 89 source4/heimdal/kdc/pkinit.c krb5_timeofday (context, &now);
now 92 source4/heimdal/kdc/pkinit.c if (a->ctime == 0 || abs(a->ctime - now) > context->max_skew) {
now 108 source4/heimdal/kdc/pkinit.c krb5_timestamp now;
now 111 source4/heimdal/kdc/pkinit.c krb5_timeofday (context, &now);
now 114 source4/heimdal/kdc/pkinit.c if (a->ctime == 0 || abs(a->ctime - now) > context->max_skew) {
now 683 source4/heimdal/lib/hx509/revoke.c time_t now,
now 710 source4/heimdal/lib/hx509/revoke.c ret = verify_ocsp(context, ocsp, now, certs, parent_cert);
now 757 source4/heimdal/lib/hx509/revoke.c now + context->ocsp_time_diff)
now 762 source4/heimdal/lib/hx509/revoke.c if (*ocsp->ocsp.tbsResponseData.responses.val[j].nextUpdate < now)
now 799 source4/heimdal/lib/hx509/revoke.c ret = verify_crl(context, ctx, &crl->crl, now, certs, parent_cert);
now 831 source4/heimdal/lib/hx509/revoke.c if (t > now)
now 1185 source4/heimdal/lib/hx509/revoke.c time_t now,
now 1195 source4/heimdal/lib/hx509/revoke.c if (now == 0)
now 1196 source4/heimdal/lib/hx509/revoke.c now = time(NULL);
now 1233 source4/heimdal/lib/hx509/revoke.c now + context->ocsp_time_diff)
now 1238 source4/heimdal/lib/hx509/revoke.c if (*basic.tbsResponseData.responses.val[i].nextUpdate < now)
now 1242 source4/heimdal/lib/hx509/revoke.c *expiration = now;
now 136 source4/heimdal/lib/krb5/init_creds_pw.c krb5_timestamp now;
now 138 source4/heimdal/lib/krb5/init_creds_pw.c krb5_timeofday (context, &now);
now 154 source4/heimdal/lib/krb5/init_creds_pw.c cred->times.starttime = now + start_time;
now 160 source4/heimdal/lib/krb5/init_creds_pw.c cred->times.endtime = now + tmp;
now 164 source4/heimdal/lib/krb5/init_creds_pw.c cred->times.renew_till = now + options->renew_life;
now 195 source4/heimdal/lib/krb5/init_creds_pw.c time_t now)
now 199 source4/heimdal/lib/krb5/init_creds_pw.c asprintf (&p, "%s%s", str, ctime(&now));
now 233 source4/heimdal/lib/krb5/rd_req.c krb5_timestamp now;
now 236 source4/heimdal/lib/krb5/rd_req.c krb5_timeofday (context, &now);
now 239 source4/heimdal/lib/krb5/rd_req.c if(start - now > context->max_skew
now 246 source4/heimdal/lib/krb5/rd_req.c if(now - t.endtime > context->max_skew) {
now 436 source4/heimdal/lib/krb5/rd_req.c krb5_timestamp now;
now 438 source4/heimdal/lib/krb5/rd_req.c krb5_timeofday (context, &now);
now 440 source4/heimdal/lib/krb5/rd_req.c if (abs(ac->authenticator->ctime - now) > context->max_skew) {
now 1223 source4/heimdal/lib/ntlm/ntlm.c time_t now,
now 1246 source4/heimdal/lib/ntlm/ntlm.c if (now == 0)
now 1247 source4/heimdal/lib/ntlm/ntlm.c now = time(NULL);
now 1274 source4/heimdal/lib/ntlm/ntlm.c if (abs((int)(authtime - now)) > authtimediff) {
now 510 source4/libcli/ldap/ldap_client.c time_t now = time(NULL);
now 516 source4/libcli/ldap/ldap_client.c if (now > conn->reconnect.previous + 30) {
now 518 source4/libcli/ldap/ldap_client.c conn->reconnect.previous = now;
now 582 source4/nbt_server/wins/winsdb.c time_t now = time(NULL);
now 597 source4/nbt_server/wins/winsdb.c status = winsdb_record(h, res->msgs[0], tmp_ctx, now, &rec);
now 610 source4/nbt_server/wins/winsdb.c NTSTATUS winsdb_record(struct winsdb_handle *h, struct ldb_message *msg, TALLOC_CTX *mem_ctx, time_t now, struct winsdb_record **_rec)
now 706 source4/nbt_server/wins/winsdb.c rec->addresses[j]->expire_time <= now &&
now 2405 source4/rpc_server/lsa/dcesrv_lsa.c struct timeval now = timeval_current();
now 2406 source4/rpc_server/lsa/dcesrv_lsa.c NTTIME nt_now = timeval_to_nttime(&now);
now 351 source4/torture/libnet/libnet_user.c struct timeval now;
now 362 source4/torture/libnet/libnet_user.c gettimeofday(&now, NULL);
now 426 source4/torture/libnet/libnet_user.c now = timeval_add(&now, (random() % (31*24*60*60)), 0);
now 427 source4/torture/libnet/libnet_user.c r->in.acct_expiry = (struct timeval *)talloc_memdup(mem_ctx, &now, sizeof(now));
now 96 source4/torture/libnet/userman.c struct timeval now;
now 116 source4/torture/libnet/userman.c gettimeofday(&now, NULL);
now 186 source4/torture/libnet/userman.c now = timeval_add(&now, (random() % (31*24*60*60)), 0);
now 187 source4/torture/libnet/userman.c mod->in.change.acct_expiry = (struct timeval *)talloc_memdup(mem_ctx, &now, sizeof(now));
now 78 source4/torture/raw/lookuprate.c struct timeval now;
now 111 source4/torture/raw/lookuprate.c now = timeval_current();
now 112 source4/torture/raw/lookuprate.c rate = (double)count / usec_to_sec((double)usec_time_diff(&now, &start));
now 175 source4/torture/raw/lookuprate.c struct timeval now;
now 190 source4/torture/raw/lookuprate.c now = timeval_current();
now 191 source4/torture/raw/lookuprate.c elapsed = usec_time_diff(&now, &start);
now 69 source4/torture/raw/tconrate.c struct timeval now;
now 93 source4/torture/raw/tconrate.c now = timeval_current();
now 97 source4/torture/raw/tconrate.c while (timeval_compare(&now, &end) == -1) {
now 117 source4/torture/raw/tconrate.c now = timeval_current();
now 163 source4/torture/raw/tconrate.c struct timeval now, last, start;
now 179 source4/torture/raw/tconrate.c now = timeval_current();
now 186 source4/torture/raw/tconrate.c (unsigned)rate_convert_secs(delta, &last, &now));
now 192 source4/torture/raw/tconrate.c now = timeval_current();
now 199 source4/torture/raw/tconrate.c (unsigned)rate_convert_secs(delta, &start, &now),
now 202 source4/wrepl_server/wrepl_in_call.c time_t now = time(NULL);
now 282 source4/wrepl_server/wrepl_in_call.c status = winsdb_record(service->wins_db, res->msgs[i], call, now, &rec);
now 57 source4/wrepl_server/wrepl_scavenging.c time_t now = time(NULL);
now 70 source4/wrepl_server/wrepl_scavenging.c now_timestr = ldb_timestring(tmp_mem, now);
now 120 source4/wrepl_server/wrepl_scavenging.c rec->expire_time= service->config.tombstone_interval + now;
now 129 source4/wrepl_server/wrepl_scavenging.c rec->addresses[i]->expire_time= service->config.renew_interval + now;
now 136 source4/wrepl_server/wrepl_scavenging.c rec->expire_time= service->config.renew_interval + now;
now 158 source4/wrepl_server/wrepl_scavenging.c rec->expire_time= service->config.tombstone_timeout + now;
now 211 source4/wrepl_server/wrepl_scavenging.c time_t now = time(NULL);
now 222 source4/wrepl_server/wrepl_scavenging.c now_timestr = ldb_timestring(tmp_mem, now);
now 264 source4/wrepl_server/wrepl_scavenging.c rec->expire_time= service->config.tombstone_timeout + now;
now 426 source4/wrepl_server/wrepl_scavenging.c time_t now = time(NULL);
now 437 source4/wrepl_server/wrepl_scavenging.c now_timestr = ldb_timestring(tmp_mem, now);