Lines Matching refs:size

122   return (haystack.size() >= needle.size() &&
123 equal(haystack.end()-needle.size(), haystack.end(),
160 " size integer not null,\n" // in bytes
263 "union all select 'files scanned (mb)',coalesce(sum(size)/1024/1024,0) from " BUILDIDS "_file_mtime_scanned\n"
265 "union all select 'index db size (mb)',page_count*page_size/1024/1024 as size FROM pragma_page_count(), pragma_page_size()\n"
372 { "fdcache-mbs", ARGP_KEY_FDCACHE_MBS, "MB", 0, "Maximum total size of archive file fdcache.", 0 },
632 if (source_paths.size() > 0
634 || extra_ddl.size() > 0
670 MHD_Response* r = MHD_create_response_from_buffer (message.size(),
740 set_metric("thread_work_pending","role","scan", q.size());
756 set_metric("thread_work_pending","role","scan", q.size());
765 while (!dead && (q.size() == 0 || idlers > 0))
774 set_metric("thread_work_pending","role","scan", q.size());
786 if (q.size() == 0 && fronters == 0)
795 while (!dead && ((q.size() != 0) || fronters > 0))
1178 while (i.size() != 0)
1303 set_metric("fdcache_count", lru.size());
1305 set_metric("fdcache_prefetch_count", prefetch.size());
1739 if (fn.size() == 0)
2074 if (dc_pool.size() > 0)
2089 while (dc_pool.size() > 0)
2130 if (suffix.size () < 2)
2141 if ((buildid.size() < 2) || // not empty
2142 (buildid.size() % 2) || // even number
2500 handle_metrics (off_t* size)
2513 MHD_Response* r = MHD_create_response_from_buffer (os.size(),
2518 *size = os.size();
2525 handle_root (off_t* size)
2529 MHD_Response* r = MHD_create_response_from_buffer (version.size (),
2534 *size = version.size ();
2640 // get the resulting fd so we can report its size
2673 throw reportable_exception(406, "File too large, max size=" + std::to_string(maxsize));
2685 http_size = e.message.size();
3126 if (sourcefiles.size() && buildid != "")
3128 fts_sourcefiles += sourcefiles.size();
3313 if (sourcefiles.size() > 0) // sref records needed
3388 << " sourcefiles=" << sourcefiles.size() << endl;
3523 "insert or ignore into " BUILDIDS "_file_mtime_scanned (sourcetype, file, mtime, size)"
3546 "insert or ignore into " BUILDIDS "_file_mtime_scanned (sourcetype, file, mtime, size)"
3606 (void) statfs_free_enough_p(db_path, "database"); // report sqlite filesystem size
3876 set_metric("thread_work_pending","role","groom", stale_fileid_mtime.size());
3907 set_metric("thread_work_pending","role","groom", stale_fileid_mtime.size());
3932 set_metric("thread_work_pending","role","groom", stale_fileid_mtime.size());
3954 (void) statfs_free_enough_p(db_path, "database"); // report sqlite filesystem size
4135 if (scan_archives.size()==0 && !scan_files && source_paths.size()>0)
4329 if (scan_archives.size()>0)
4357 if (scan_files || scan_archives.size() > 0)