ttl 77 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc if (parameters_->options.ttl) ttl 78 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc config[kTTL] = base::IntToString(*parameters_->options.ttl); ttl 69 chrome/browser/net/dns_probe_runner.cc TimeDelta ttl; ttl 70 chrome/browser/net/dns_probe_runner.cc DnsResponse::Result result = response->ParseToAddressList(&addr_list, &ttl); ttl 386 chrome/browser/prerender/prerender_field_trial.cc int ttl; ttl 387 chrome/browser/prerender/prerender_field_trial.cc StringToInt(GetLocalPredictorSpecValue(kPrerenderTTLKeyName), &ttl); ttl 389 chrome/browser/prerender/prerender_field_trial.cc if (ttl < 10 || ttl > 600) ttl 390 chrome/browser/prerender/prerender_field_trial.cc ttl = 180; ttl 391 chrome/browser/prerender/prerender_field_trial.cc return ttl; ttl 1398 chrome/browser/prerender/prerender_manager.cc base::TimeDelta ttl = config_.time_to_live; ttl 1400 chrome/browser/prerender/prerender_manager.cc ttl = base::TimeDelta::FromSeconds(GetLocalPredictorTTLSeconds()); ttl 1401 chrome/browser/prerender/prerender_manager.cc return GetCurrentTimeTicks() + ttl; ttl 62 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::TimeDelta ttl = base::TimeDelta::FromDays(expire_days_from_now); ttl 78 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc ttl); ttl 38 cloud_print/gcp20/prototype/command_line_reader.cc uint32 ttl = 0; ttl 42 cloud_print/gcp20/prototype/command_line_reader.cc &ttl)) { ttl 43 cloud_print/gcp20/prototype/command_line_reader.cc ttl = default_value; ttl 46 cloud_print/gcp20/prototype/command_line_reader.cc VLOG(1) << "TTL for announcements: " << ttl; ttl 47 cloud_print/gcp20/prototype/command_line_reader.cc return ttl; ttl 41 cloud_print/gcp20/prototype/dns_response_builder.cc uint32 ttl, ttl 48 cloud_print/gcp20/prototype/dns_response_builder.cc AddResponse(service_type, net::dns_protocol::kTypePTR, ttl, rdata, answer); ttl 52 cloud_print/gcp20/prototype/dns_response_builder.cc uint32 ttl, ttl 73 cloud_print/gcp20/prototype/dns_response_builder.cc AddResponse(service_name, net::dns_protocol::kTypeSRV, ttl, ttl 78 cloud_print/gcp20/prototype/dns_response_builder.cc uint32 ttl, ttl 88 cloud_print/gcp20/prototype/dns_response_builder.cc AddResponse(service_domain_name, net::dns_protocol::kTypeA, ttl, ttl 93 cloud_print/gcp20/prototype/dns_response_builder.cc uint32 ttl, ttl 103 cloud_print/gcp20/prototype/dns_response_builder.cc AddResponse(service_domain_name, net::dns_protocol::kTypeAAAA, ttl, ttl 108 cloud_print/gcp20/prototype/dns_response_builder.cc uint32 ttl, ttl 120 cloud_print/gcp20/prototype/dns_response_builder.cc AddResponse(service_name, net::dns_protocol::kTypeTXT, ttl, rdata, answer); ttl 128 cloud_print/gcp20/prototype/dns_response_builder.cc sizeof(iter->type) + sizeof(iter->klass) + sizeof(iter->ttl) + ttl 160 cloud_print/gcp20/prototype/dns_response_builder.cc writer.WriteU32(iter->ttl) && ttl 173 cloud_print/gcp20/prototype/dns_response_builder.cc uint32 ttl, ttl 179 cloud_print/gcp20/prototype/dns_response_builder.cc response.ttl = ttl; ttl 29 cloud_print/gcp20/prototype/dns_response_builder.h uint32 ttl; ttl 44 cloud_print/gcp20/prototype/dns_response_builder.h uint32 ttl, ttl 49 cloud_print/gcp20/prototype/dns_response_builder.h uint32 ttl, ttl 56 cloud_print/gcp20/prototype/dns_response_builder.h uint32 ttl, ttl 61 cloud_print/gcp20/prototype/dns_response_builder.h uint32 ttl, ttl 66 cloud_print/gcp20/prototype/dns_response_builder.h uint32 ttl, ttl 77 cloud_print/gcp20/prototype/dns_response_builder.h uint32 ttl, ttl 280 cloud_print/gcp20/prototype/dns_sd_server.cc void DnsSdServer::SendAnnouncement(uint32 ttl) { ttl 282 cloud_print/gcp20/prototype/dns_sd_server.cc DnsResponseBuilder builder(ttl); ttl 284 cloud_print/gcp20/prototype/dns_sd_server.cc builder.AppendPtr(serv_params_.service_type_, ttl, ttl 286 cloud_print/gcp20/prototype/dns_sd_server.cc builder.AppendPtr(serv_params_.secondary_service_type_, ttl, ttl 288 cloud_print/gcp20/prototype/dns_sd_server.cc builder.AppendSrv(serv_params_.service_name_, ttl, kSrvPriority, ttl 291 cloud_print/gcp20/prototype/dns_sd_server.cc builder.AppendA(serv_params_.service_domain_name_, ttl, ttl 293 cloud_print/gcp20/prototype/dns_sd_server.cc builder.AppendAAAA(serv_params_.service_domain_name_, ttl, ttl 295 cloud_print/gcp20/prototype/dns_sd_server.cc builder.AppendTxt(serv_params_.service_name_, ttl, metadata_, true); ttl 304 cloud_print/gcp20/prototype/dns_sd_server.cc VLOG(1) << "Announcement was sent with TTL: " << ttl; ttl 75 cloud_print/gcp20/prototype/dns_sd_server.h void SendAnnouncement(uint32 ttl); ttl 809 extensions/browser/api/socket/socket_api.cc static_cast<UDPSocket*>(socket)->SetMulticastTimeToLive(params_->ttl); ttl 276 extensions/browser/api/socket/udp_socket.cc int UDPSocket::SetMulticastTimeToLive(int ttl) { ttl 277 extensions/browser/api/socket/udp_socket.cc return socket_.SetMulticastTimeToLive(ttl); ttl 46 extensions/browser/api/socket/udp_socket.h int SetMulticastTimeToLive(int ttl); ttl 442 extensions/browser/api/sockets_udp/sockets_udp_api.cc int net_result = socket->SetMulticastTimeToLive(params_->ttl); ttl 235 google_apis/gaia/oauth2_mint_token_flow_unittest.cc int ttl; ttl 237 google_apis/gaia/oauth2_mint_token_flow_unittest.cc &ttl)); ttl 243 google_apis/gaia/oauth2_mint_token_flow_unittest.cc int ttl; ttl 245 google_apis/gaia/oauth2_mint_token_flow_unittest.cc &ttl)); ttl 247 google_apis/gaia/oauth2_mint_token_flow_unittest.cc EXPECT_EQ(3600, ttl); ttl 241 google_apis/gcm/base/mcs_util.cc uint64 ttl = GetTTL(protobuf); ttl 245 google_apis/gcm/base/mcs_util.cc return ttl > 0 && ttl 248 google_apis/gcm/base/mcs_util.cc (sent + ttl) * base::Time::kMicrosecondsPerSecond); ttl 258 google_apis/gcm/base/mcs_util.cc DCHECK_LE(data_message->ttl(), kMaxTTLSeconds); ttl 259 google_apis/gcm/base/mcs_util.cc return data_message->ttl(); ttl 284 google_apis/gcm/engine/mcs_client.cc int ttl = GetTTL(message.GetProtobuf()); ttl 285 google_apis/gcm/engine/mcs_client.cc DCHECK_GE(ttl, 0); ttl 299 google_apis/gcm/engine/mcs_client.cc if (ttl > 0) { ttl 44 google_apis/gcm/engine/mcs_client_unittest.cc int ttl, ttl 56 google_apis/gcm/engine/mcs_client_unittest.cc data_message.set_ttl(ttl); ttl 603 google_apis/gcm/gcm_client_impl_unittest.cc EXPECT_EQ(500, mcs_client()->last_data_message_stanza().ttl()); ttl 121 net/dns/dns_response.cc reader.ReadU32(&out->ttl) && ttl 274 net/dns/dns_response.cc base::TimeDelta* ttl) const { ttl 313 net/dns/dns_response.cc ttl_sec = std::min(ttl_sec, record.ttl); ttl 321 net/dns/dns_response.cc ttl_sec = std::min(ttl_sec, record.ttl); ttl 333 net/dns/dns_response.cc *ttl = base::TimeDelta::FromSeconds(ttl_sec); ttl 35 net/dns/dns_response.h uint32 ttl; ttl 151 net/dns/dns_response.h Result ParseToAddressList(AddressList* addr_list, base::TimeDelta* ttl) const; ttl 135 net/dns/dns_response_unittest.cc EXPECT_EQ(0x00012474u, record.ttl); ttl 145 net/dns/dns_response_unittest.cc EXPECT_EQ(0x00201355u, record.ttl); ttl 316 net/dns/dns_response_unittest.cc EXPECT_EQ(0x00000035u, record.ttl); ttl 374 net/dns/dns_response_unittest.cc EXPECT_EQ(0x35u, record.ttl); ttl 448 net/dns/dns_response_unittest.cc base::TimeDelta ttl; ttl 450 net/dns/dns_response_unittest.cc response.ParseToAddressList(&addr_list, &ttl)); ttl 456 net/dns/dns_response_unittest.cc EXPECT_EQ(base::TimeDelta::FromSeconds(t.expected_ttl_sec), ttl); ttl 573 net/dns/dns_response_unittest.cc base::TimeDelta ttl; ttl 575 net/dns/dns_response_unittest.cc response.ParseToAddressList(&addr_list, &ttl)); ttl 18 net/dns/host_cache.cc base::TimeDelta ttl) ttl 21 net/dns/host_cache.cc ttl(ttl) { ttl 22 net/dns/host_cache.cc DCHECK(ttl >= base::TimeDelta()); ttl 55 net/dns/host_cache.cc base::TimeDelta ttl) { ttl 60 net/dns/host_cache.cc entries_.Put(key, entry, now, now + ttl); ttl 27 net/dns/host_cache.h Entry(int error, const AddressList& addrlist, base::TimeDelta ttl); ttl 32 net/dns/host_cache.h bool has_ttl() const { return ttl >= base::TimeDelta(); } ttl 38 net/dns/host_cache.h base::TimeDelta ttl; ttl 91 net/dns/host_cache.h base::TimeDelta ttl); ttl 237 net/dns/host_resolver_impl.cc void RecordTTL(base::TimeDelta ttl) { ttl 238 net/dns/host_resolver_impl.cc UMA_HISTOGRAM_CUSTOM_TIMES("AsyncDNS.TTL", ttl, ttl 976 net/dns/host_resolver_impl.cc base::TimeDelta ttl) = 0; ttl 1074 net/dns/host_resolver_impl.cc base::TimeDelta ttl; ttl 1075 net/dns/host_resolver_impl.cc DnsResponse::Result result = response->ParseToAddressList(&addr_list, &ttl); ttl 1087 net/dns/host_resolver_impl.cc ttl_ = ttl; ttl 1089 net/dns/host_resolver_impl.cc ttl_ = std::min(ttl_, ttl); ttl 1532 net/dns/host_resolver_impl.cc base::TimeDelta ttl = ttl 1535 net/dns/host_resolver_impl.cc ttl = base::TimeDelta::FromSeconds(kCacheEntryTTLSeconds); ttl 1540 net/dns/host_resolver_impl.cc ttl); ttl 1592 net/dns/host_resolver_impl.cc base::TimeDelta ttl) OVERRIDE { ttl 1615 net/dns/host_resolver_impl.cc RecordTTL(ttl); ttl 1620 net/dns/host_resolver_impl.cc std::max(ttl, base::TimeDelta::FromSeconds(kMinimumTTLSeconds)); ttl 1623 net/dns/host_resolver_impl.cc HostCache::Entry(net_error, MakeAddressListForRequest(addr_list), ttl), ttl 1642 net/dns/host_resolver_impl.cc base::TimeDelta ttl) { ttl 1690 net/dns/host_resolver_impl.cc resolver_->CacheResult(key_, entry, ttl); ttl 2067 net/dns/host_resolver_impl.cc RecordTTL(cache_entry->ttl); ttl 2123 net/dns/host_resolver_impl.cc base::TimeDelta ttl) { ttl 2125 net/dns/host_resolver_impl.cc cache_->Set(key, entry, base::TimeTicks::Now(), ttl); ttl 206 net/dns/host_resolver_impl.h base::TimeDelta ttl); ttl 96 net/dns/mdns_cache.cc if (record->ttl() == 0 && mdns_cache_.find(cache_key) == mdns_cache_.end()) ttl 111 net/dns/mdns_cache.cc if (record->ttl() != 0 && !record->IsEqual(other_record, true)) { ttl 201 net/dns/mdns_cache.cc base::TimeDelta ttl; ttl 203 net/dns/mdns_cache.cc if (record->ttl()) { ttl 204 net/dns/mdns_cache.cc ttl = base::TimeDelta::FromSeconds(record->ttl()); ttl 206 net/dns/mdns_cache.cc ttl = base::TimeDelta::FromSeconds(kZeroTTLSeconds); ttl 209 net/dns/mdns_cache.cc return record->time_created() + ttl; ttl 189 net/dns/mdns_cache_unittest.cc base::TimeDelta ttl1 = base::TimeDelta::FromSeconds(record1->ttl()); ttl 192 net/dns/mdns_cache_unittest.cc base::TimeDelta ttl2 = base::TimeDelta::FromSeconds(record2->ttl()); ttl 277 net/dns/mdns_cache_unittest.cc base::TimeDelta ttl1 = base::TimeDelta::FromSeconds(record1->ttl()); ttl 278 net/dns/mdns_cache_unittest.cc base::TimeDelta ttl2 = base::TimeDelta::FromSeconds(record2->ttl()); ttl 307 net/dns/mdns_cache_unittest.cc base::TimeDelta ttl = base::TimeDelta::FromSeconds(record_hello->ttl()); ttl 314 net/dns/mdns_cache_unittest.cc EXPECT_EQ(default_time_ + ttl, cache_.next_expiration()); ttl 486 net/dns/mdns_client_impl.cc ttl_ = record->ttl(); ttl 374 net/dns/mdns_client_unittest.cc ttl_ = value->ttl(); ttl 542 net/dns/mdns_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(record_privet.ttl() + 1)); ttl 191 net/dns/mock_host_resolver.cc base::TimeDelta ttl; ttl 193 net/dns/mock_host_resolver.cc ttl = base::TimeDelta::FromSeconds(kCacheEntryTTLSeconds); ttl 194 net/dns/mock_host_resolver.cc cache_->Set(key, HostCache::Entry(rv, addr), base::TimeTicks::Now(), ttl); ttl 52 net/dns/mock_mdns_socket_factory.h MOCK_METHOD1(SetMulticastTimeToLive, int(int ttl)); ttl 14 net/dns/record_parsed.cc uint32 ttl, scoped_ptr<const RecordRdata> rdata, ttl 16 net/dns/record_parsed.cc : name_(name), type_(type), klass_(klass), ttl_(ttl), rdata_(rdata.Pass()), ttl 66 net/dns/record_parsed.cc record.ttl, ttl 32 net/dns/record_parsed.h uint32 ttl() const { return ttl_; } ttl 49 net/dns/record_parsed.h uint32 ttl, scoped_ptr<const RecordRdata> rdata, ttl 149 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc base::TimeDelta ttl; ttl 151 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc &address_list, &ttl); ttl 162 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc result_line << "}, ttl=" << ttl.InSeconds() << "s"; ttl 559 net/udp/udp_socket_libevent.cc u_char ttl = multicast_time_to_live_; ttl 561 net/udp/udp_socket_libevent.cc &ttl, sizeof(ttl)); ttl 564 net/udp/udp_socket_libevent.cc int ttl = multicast_time_to_live_; ttl 566 net/udp/udp_socket_libevent.cc &ttl, sizeof(ttl)); ttl 473 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var ttl, ttl 604 ppapi/cpp/extensions/dev/socket_dev.cc int32_t ttl, ttl 610 ppapi/cpp/extensions/dev/socket_dev.cc internal::ToVarConverter<int32_t> ttl_var(ttl); ttl 267 ppapi/cpp/extensions/dev/socket_dev.h int32_t ttl, ttl 4260 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_SetMulticastTimeToLive(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* ttl, struct PP_Var* result, struct PP_CompletionCallback* callback) { ttl 4262 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->SetMulticastTimeToLive(instance, *socket_id, *ttl, result, *callback); ttl 5402 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SetMulticastTimeToLive = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var ttl, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_SetMulticastTimeToLive, ttl 316 ppapi/thunk/ppb_ext_socket_thunk.cc PP_Var ttl, ttl 326 ppapi/thunk/ppb_ext_socket_thunk.cc input_args.push_back(ttl); ttl 251 third_party/libevent/evdns.c u32 ttl; /* The RR TTL */ ttl 646 third_party/libevent/evdns.c reply_callback(struct request *const req, u32 ttl, u32 err, struct reply *reply) { ttl 651 third_party/libevent/evdns.c reply->data.a.addrcount, ttl, ttl 660 third_party/libevent/evdns.c req->user_callback(DNS_ERR_NONE, DNS_PTR, 1, ttl, ttl 670 third_party/libevent/evdns.c reply->data.aaaa.addrcount, ttl, ttl 682 third_party/libevent/evdns.c reply_handle(struct request *const req, u16 flags, u32 ttl, struct reply *reply) { ttl 749 third_party/libevent/evdns.c reply_callback(req, ttl, 0, reply); ttl 821 third_party/libevent/evdns.c u32 ttl, ttl_r = 0xffffffff; ttl 888 third_party/libevent/evdns.c GET32(ttl); ttl 901 third_party/libevent/evdns.c ttl_r = MIN(ttl_r, ttl); ttl 917 third_party/libevent/evdns.c ttl_r = MIN(ttl_r, ttl); ttl 929 third_party/libevent/evdns.c ttl_r = MIN(ttl_r, ttl); ttl 1511 third_party/libevent/evdns.c evdns_server_request_add_reply(struct evdns_server_request *_req, int section, const char *name, int type, int class, int ttl, int datalen, int is_name, const char *data) ttl 1549 third_party/libevent/evdns.c item->ttl = ttl; ttl 1579 third_party/libevent/evdns.c evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl) ttl 1583 third_party/libevent/evdns.c ttl, n*4, 0, addrs); ttl 1588 third_party/libevent/evdns.c evdns_server_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl) ttl 1592 third_party/libevent/evdns.c ttl, n*16, 0, addrs); ttl 1597 third_party/libevent/evdns.c evdns_server_request_add_ptr_reply(struct evdns_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl) ttl 1614 third_party/libevent/evdns.c ttl, -1, 1, hostname); ttl 1619 third_party/libevent/evdns.c evdns_server_request_add_cname_reply(struct evdns_server_request *req, const char *name, const char *cname, int ttl) ttl 1623 third_party/libevent/evdns.c ttl, -1, 1, cname); ttl 1683 third_party/libevent/evdns.c APPEND32(item->ttl); ttl 1985 third_party/libevent/evdns.c nameserver_probe_callback(int result, char type, int count, int ttl, void *addresses, void *arg) { ttl 1989 third_party/libevent/evdns.c (void) ttl; ttl 3078 third_party/libevent/evdns.c main_callback(int result, char type, int count, int ttl, ttl 211 third_party/libevent/evdns.h typedef void (*evdns_callback_type) (int result, char type, int count, int ttl, void *addresses, void *arg); ttl 513 third_party/libevent/evdns.h int evdns_server_request_add_reply(struct evdns_server_request *req, int section, const char *name, int type, int dns_class, int ttl, int datalen, int is_name, const char *data); ttl 514 third_party/libevent/evdns.h int evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl); ttl 515 third_party/libevent/evdns.h int evdns_server_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl); ttl 516 third_party/libevent/evdns.h int evdns_server_request_add_ptr_reply(struct evdns_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl); ttl 517 third_party/libevent/evdns.h int evdns_server_request_add_cname_reply(struct evdns_server_request *req, const char *name, const char *cname, int ttl); ttl 72 third_party/libevent/test/regress_dns.c dns_gethostbyname_cb(int result, char type, int count, int ttl, ttl 88 third_party/libevent/test/regress_dns.c fprintf(stderr, "type: %d, count: %d, ttl: %d: ", type, count, ttl); ttl 97 third_party/libevent/test/regress_dns.c if (ttl < 0) ttl 113 third_party/libevent/test/regress_dns.c if (ttl < 0) ttl 236 third_party/libevent/test/regress_dns.c dns_server_gethostbyname_cb(int result, char type, int count, int ttl, ttl 252 third_party/libevent/test/regress_dns.c if (in_addrs[0].s_addr != htonl(0xc0a80b0bUL) || ttl != 12345) { ttl 254 third_party/libevent/test/regress_dns.c inet_ntoa(in_addrs[0]), ttl); ttl 265 third_party/libevent/test/regress_dns.c || ttl != 123) { ttl 267 third_party/libevent/test/regress_dns.c fprintf(stdout, "Bad IPv6 response \"%s\" %d. ", b, ttl); ttl 276 third_party/libevent/test/regress_dns.c if (strcmp(addrs[0], "ZZ.EXAMPLE.COM") || ttl != 54321) { ttl 278 third_party/libevent/test/regress_dns.c addrs[0], ttl); ttl 73 third_party/npapi/npspy/extern/nspr/plresolv.h PRHostEnt *hostentry, PRIntervalTime *ttl); ttl 78 third_party/npapi/npspy/extern/nspr/plresolv.h PRHostEnt *hostentry, PRIntervalTime *ttl);