Home
last modified time | relevance | path

Searched refs:log_size (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/components/metrics/
Dpersisted_logs.cc126 size_t log_size = list_[start - 1].compressed_log_data.length(); in WriteLogsToPrefList() local
132 if (log_size > max_log_size_) in WriteLogsToPrefList()
134 bytes_used += log_size; in WriteLogsToPrefList()
139 size_t log_size = list_[i].compressed_log_data.length(); in WriteLogsToPrefList() local
140 if (log_size > max_log_size_) { in WriteLogsToPrefList()
142 static_cast<int>(log_size)); in WriteLogsToPrefList()
Dpersisted_logs_unittest.cc136 size_t log_size = 50; in TEST_F() local
139 first_kept.resize(log_size, ' '); in TEST_F()
141 std::string blank_log = std::string(log_size, ' '); in TEST_F()
144 last_kept.resize(log_size, ' '); in TEST_F()
178 size_t log_size = (kLogByteLimit / log_count) * 2; in TEST_F() local
179 std::string log_data = GenerateLogWithMinCompressedSize(log_size); in TEST_F()
201 size_t log_size = (kLogByteLimit / log_count) * 4; in TEST_F() local
204 target_log += GenerateLogWithMinCompressedSize(log_size); in TEST_F()
206 std::string log_data = GenerateLogWithMinCompressedSize(log_size); in TEST_F()
Dmetrics_service.cc1053 const size_t log_size = log_manager_.staged_log().length(); in OnLogUploadComplete() local
1055 UMA_HISTOGRAM_COUNTS_10000("UMA.LogSize.OnSuccess", log_size / 1024); in OnLogUploadComplete()
1056 } else if (log_size > kUploadLogAvoidRetransmitSize) { in OnLogUploadComplete()
1058 static_cast<int>(log_size)); in OnLogUploadComplete()
/external/eigen/bench/btl/generic_bench/utils/
Dsize_lin_log.hh41 Vector log_size; in size_lin_log() local
42 size_log(nb_point-nine,ten,size_max,log_size); in size_lin_log()
46 X[i+nine]=log_size[i]; in size_lin_log()
/external/libunwind/src/x86_64/
DGtrace.c41 size_t log_size; member
71 munmap (cache->frames, (1u << cache->log_size) * sizeof(unw_tdep_frame_t)); in trace_cache_free()
129 cache->log_size = HASH_MIN_BITS; in trace_cache_create()
142 size_t old_size = (1u << cache->log_size); in trace_cache_expand()
143 size_t new_log_size = cache->log_size + 2; in trace_cache_expand()
152 Debug(5, "expanded cache from 2^%lu to 2^%lu buckets\n", cache->log_size, new_log_size); in trace_cache_expand()
155 cache->log_size = new_log_size; in trace_cache_expand()
286 uint64_t cache_size = 1u << cache->log_size; in trace_lookup()
321 cache_size = 1u << cache->log_size; in trace_lookup()
/external/chromium_org/chrome/installer/util/
Dlogging_installer.cc36 int64 log_size = 0; in TruncateLogFileIfNeeded() local
37 if (base::GetFileSize(log_file, &log_size) && in TruncateLogFileIfNeeded()
38 log_size > kMaxInstallerLogFileSize) { in TruncateLogFileIfNeeded()
51 int64 offset = log_size - kTruncatedInstallerLogFileSize; in TruncateLogFileIfNeeded()
/external/chromium_org/components/crash/app/
Dbreakpad_linux.cc1200 size_t log_size; in HandleCrashDump() local
1203 LoadDataFromFile(allocator, info.log_filename, &logfd, &log_data, &log_size); in HandleCrashDump()
1425 writer.AddFileContents(g_log_msg, log_data, log_size); in HandleCrashDump()