Searched refs:tr_time (Results 1 - 23 of 23) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dhistory.c36 const time_t cutoff = (now?now:tr_time()) - sec;
H A Dnatpmp.c107 return tr_time( ) >= nat->command_time;
113 nat->command_time = tr_time( ) + COMMAND_WAIT_SECS;
197 else if( nat->is_mapped && tr_time( ) >= nat->renew_time )
218 nat->renew_time = tr_time( ) + ( resp.pnu.newportmapping.lifetime / 2 );
H A Dstats.c118 stats->startTime = tr_time( );
182 setme->secondsActive = tr_time( ) - stats->startTime;
215 session->sessionStats->startTime = tr_time( );
H A Dverify.c55 const time_t begin = tr_time( );
122 now = tr_time( );
152 end = tr_time( );
H A Dannouncer.c319 const time_t now = tr_time( );
711 return tier->manualAnnounceAllowedAt <= tr_time( );
827 dbgmsg( tier, "announcing in %d seconds", (int)difftime(announceAt,tr_time()) );
856 torrentAddAnnounce( tor, TR_ANNOUNCE_EVENT_STARTED, tr_time( ) );
861 torrentAddAnnounce( tor, TR_ANNOUNCE_EVENT_NONE, tr_time( ) );
866 torrentAddAnnounce( tor, TR_ANNOUNCE_EVENT_STOPPED, tr_time( ) );
871 torrentAddAnnounce( tor, TR_ANNOUNCE_EVENT_COMPLETED, tr_time( ) );
1004 tier_announce_event_push( tier, e, tr_time( ) + interval );
1014 const time_t now = tr_time( );
1220 const time_t now = tr_time( );
[all...]
H A Dannouncer-udp.c177 req->created_at = tr_time( );
336 req->created_at = tr_time( );
508 tracker->addr_expiration_time = tr_time() + (60*60); /* one hour */
534 const time_t now = tr_time( );
579 const time_t now = tr_time( );
659 const time_t now = tr_time( );
H A Dcache.c133 const time_t now = tr_time();
334 cb->time = tr_time();
H A Dnet.c49 #include "utils.h" /* tr_time(), tr_dbg() */
572 const time_t now = tr_time( );
634 (tr_time() < 1356130800 && (address[0] & 0xE0) != 0x20);
H A Dpeer-mgr.c768 key.sentAt = tr_time( );
1482 now = tr_time( );
1657 const time_t now = tr_time( );
1734 const time_t now = tr_time( );
1772 tr_historyAdd( &p->cancelsSentToPeer, tr_time( ), 1 );
1780 tr_historyAdd( &peer->blocksSentToClient, tr_time( ), 1 );
1919 a->shelf_date = tr_time( ) + getDefaultShelfLife( from ) + jitter;
2014 atom->time = tr_time( );
2016 atom->lastConnectionAt = tr_time( );
2721 const time_t now = tr_time();
[all...]
H A Dpeer-io.h30 #include "utils.h" /* tr_time() */
237 return tr_time() - io->timeCreated;
H A Dtorrent.c429 && difftime(tr_time(), MAX(tor->startDate, tor->activityDate)) >= idleMinutes * 60u;
840 tr_torrentSetAddedDate( tor, tr_time( ) ); /* this is a default value to be
1081 const time_t now = tr_time( );
1095 tor->anyDate = tr_time( );
1139 idle_secs = difftime(tr_time(), MAX(tor->startDate, tor->activityDate));
1192 tor->lastStatTime = tr_time( );
1522 const time_t now = tr_time( );
1588 now = tr_time( );
1826 tr_bencDictAddInt( d, "date", tr_time( ) );
1997 const time_t now = tr_time( );
[all...]
H A Dfdlimit.c597 o->used_at = tr_time( );
659 o->used_at = tr_time( );
H A Dtr-lpd.c623 const time_t now = tr_time( );
H A Dutils.h493 /** @brief Private libtransmission variable that's visible only for inlining in tr_time() */
506 static inline time_t tr_time( void ) { return __tr_current_time; } function
508 /** @brief Private libtransmission function to update tr_time()'s counter */
H A Drpc-server.c93 const time_t now = tr_time( );
450 const time_t now = tr_time( );
H A Dpeer-msgs.c722 const time_t now = tr_time( );
1443 tr_historyAdd( &msgs->peer->cancelsSentToClient, tr_time( ), 1 );
1911 tr_historyAdd( &msgs->peer->blocksSentToPeer, tr_time( ), 1 );
1951 const time_t now = tr_time( );
2307 /*msgs->clientSentPexAt = tr_time( );*/
H A Dtr-dht.c599 const time_t now = tr_time( );
H A Dresume.c428 const time_t now = tr_time( );
H A Drpcimpl.c160 const time_t now = tr_time( );
774 const time_t now = tr_time( );
H A Dpeer-io.c625 io->timeCreated = tr_time( );
H A Dutils.c285 newmsg->when = tr_time( );
H A Dsession.c660 /* fprintf( stderr, "time %zu sec, %zu microsec\n", (size_t)tr_time(), (size_t)tv.tv_usec ); */
1331 const time_t now = tr_time( );
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/gtk/
H A Dtr-core.c585 const time_t now = tr_time( );
1676 gtr_pref_int_set( "blocklist-date", tr_time( ) );

Completed in 257 milliseconds