/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
H A D | EnumerableExtensions.cs | 63 var total = default(TAggregate); field in struct:Antlr.Runtime.JavaExtensions.EnumerableExtensions.TAggregate 66 total = func(total, element); 73 return result(total, counter); 236 TR total = default(TR); 238 total = selector(total, element); 241 return total;
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
H A D | profile.rb | 78 def total method in class:ANTLR3.Profile.DataSet 82 length > 0 ? ( total.to_f / length ) : 0
|
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | ContentLengthOutputStream.java | 67 private long total = 0; field in class:ContentLengthOutputStream 113 if (this.total < this.contentLength) { 114 long max = this.contentLength - this.total; 119 this.total += len; 131 if (this.total < this.contentLength) { 133 this.total++;
|
/external/bison/lib/ |
H A D | bitset_stats.c | 111 unsigned int total; local 113 total = 0; 115 total += bins[i]; 117 if (!total) 125 (100.0 * bins[i]) / total); 135 unsigned int total; local 138 total = 0; 140 total += bins[i]; 142 if (!total) 156 max_width, i, bins[i], 100.0 * bins[i] / total); [all...] |
H A D | timevar.c | 442 a special meaning -- it's considered to be the total elapsed time, 452 struct timevar_time_def *total = &timevars[TV_TOTAL].elapsed; local 481 /* Don't print the total execution time here; that goes at the 504 (total->user == 0 ? 0 : tv->elapsed.user / total->user) * 100); 511 (total->sys == 0 ? 0 : tv->elapsed.sys / total->sys) * 100); 518 (total->wall == 0 ? 0 : tv->elapsed.wall / total->wall) * 100); 524 /* Print total tim [all...] |
/external/blktrace/ |
H A D | blkparse.c | 1771 struct io_stats total, *ios; local 1780 memset(&total, 0, sizeof(total)); 1791 total.qreads += ios->qreads; 1792 total.qwrites += ios->qwrites; 1793 total.creads += ios->creads; 1794 total.cwrites += ios->cwrites; 1795 total.mreads += ios->mreads; 1796 total.mwrites += ios->mwrites; 1797 total [all...] |
/external/blktrace/btt/ |
H A D | globals.h | 76 __u64 min, max, total; member in struct:avg_info
|
H A D | output.c | 71 ap->avg = BIT_TIME(ap->total) / (double)ap->n; 103 ap->avg = BIT_TIME(ap->total) / (double)ap->n; 165 unsigned long long nq, nd, blkmin, blkmax, total; member in struct:__anon395 185 blks_avg = (double)dip->avgs.blks.total / d2c_n; 195 (unsigned long long)dip->avgs.blks.total); 207 (unsigned long long)dip->avgs.blks.total); 217 merge_data.total += dip->avgs.blks.total; 238 merge_data.total / merge_data.nd, 239 merge_data.blkmax, merge_data.total); 245 __u64 total; member in struct:__ohead_data [all...] |
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/ |
H A D | bitalloc.c | 260 OI_UINT32 total = 0; local 278 total += n; 281 count = (total & 0xFFFF) + (total >> 16);
|
/external/bluetooth/bluedroid/gki/common/ |
H A D | gki_buffer.c | 38 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem) argument 57 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total); 64 p_cb->freeq[id].total = total; 74 for (i = 0; i < total; i++) 104 void* p_mem = GKI_os_malloc((Q->size + BUFFER_PADDING_SIZE) * Q->total); 108 GKI_TRACE("\ngki_alloc_free_queue calling gki_init_free_queue, id:%d size:%d, totol:%d\n", id, Q->size, Q->total); 109 gki_init_free_queue(id, Q->size, Q->total, p_mem); 110 GKI_TRACE("\ngki_alloc_free_queue ret OK, id:%d size:%d, totol:%d\n", id, Q->size, Q->total); 179 p_cb->freeq[tt].total [all...] |
H A D | gki_common.h | 73 UINT16 total; /* toatal number of buffers */ member in struct:_free_queue
|
/external/bluetooth/bluedroid/hci/src/ |
H A D | userial.c | 365 uint16_t total = 0; local 367 ssize_t ret = write(userial_cb.fd, p_data + total, len); 371 return total; 373 return total; 375 total += ret; 381 return total;
|
H A D | userial_mct.c | 322 int ret, total = 0; local 327 ret = write(userial_cb.fd[ch_idx], p_data+total, len); 328 total += ret; 332 return ((uint16_t)total);
|
/external/bluetooth/bluedroid/stack/sdp/ |
H A D | sdp_discovery.c | 323 UINT16 total, cur_handles, orig; local 328 BE_STREAM_TO_UINT16 (total, p_reply); 341 if (total > sdp_cb.max_recs_per_search) 342 total = sdp_cb.max_recs_per_search;
|
/external/chromium_org/base/ |
H A D | callback_list_unittest.cc | 23 int total() const { return total_; } function in class:base::__anon2204::Listener 43 int total() const { return total_; } function in class:base::__anon2204::Remover 69 int total() const { return total_; } function in class:base::__anon2204::Adder 164 EXPECT_EQ(1, a.total()); 165 EXPECT_EQ(1, b.total()); 174 EXPECT_EQ(2, a.total()); 175 EXPECT_EQ(1, b.total()); 176 EXPECT_EQ(1, c.total()); 199 EXPECT_EQ(10, a.total()); 200 EXPECT_EQ(-10, b.total()); [all...] |
H A D | md5_unittest.cc | 117 int total = 0; local 118 while (total < length) { 120 if (len > length - total) 121 len = length - total; 124 StringPiece(reinterpret_cast<char*>(data.get() + total), len)); 125 total += len; 128 EXPECT_EQ(length, total);
|
H A D | observer_list_unittest.cc | 28 explicit Adder(int scaler) : total(0), scaler_(scaler) {} 30 total += x * scaler_; 33 int total; member in class:base::__anon2397::Adder 203 EXPECT_EQ(20, a.total); 204 EXPECT_EQ(-20, b.total); 205 EXPECT_EQ(0, c.total); 206 EXPECT_EQ(-10, d.total); 207 EXPECT_EQ(0, e.total); 234 EXPECT_EQ(20, a.total); 235 EXPECT_EQ(-20, b.total); [all...] |
H A D | sys_info_win.cc | 60 ULARGE_INTEGER available, total, free; local 61 if (!GetDiskFreeSpaceExW(path.value().c_str(), &available, &total, &free)) {
|
/external/chromium_org/base/process/ |
H A D | process_metrics.h | 89 // total : total amount in megabytes marked as free. Maximum value is 2048. 91 // always smaller or equal to FreeMBytes::total. 94 size_t total; member in struct:base::FreeMBytes 134 // may or may not be in memory). On Linux, this returns the total virtual 267 int total; member in struct:base::SystemMemoryInfoKB
|
/external/chromium_org/base/synchronization/ |
H A D | condition_variable_unittest.cc | 647 int total = 0; local 649 total += completion_history_[i]; 650 return total;
|
/external/chromium_org/base/threading/ |
H A D | simple_thread_unittest.cc | 60 int total, WaitableEvent* event) 61 : seq_(seq), total_(total), event_(event) { } 59 VerifyPoolRunner(AtomicSequenceNumber* seq, int total, WaitableEvent* event) argument
|
/external/chromium_org/cc/trees/ |
H A D | layer_tree_impl.cc | 326 float total = page_scale_factor_ * page_scale_delta; local 327 if (min_page_scale_factor_ && total < min_page_scale_factor_) 329 else if (max_page_scale_factor_ && total > max_page_scale_factor_)
|
/external/chromium_org/chrome/browser/bitmap_fetcher/ |
H A D | bitmap_fetcher.cc | 61 int64 total) { 59 OnURLFetchDownloadProgress(const net::URLFetcher* source, int64 current, int64 total) argument
|
/external/chromium_org/chrome/browser/chromeos/ |
H A D | boot_times_loader.cc | 272 base::TimeDelta total = last - first; local 279 total_hist->AddTime(total); 281 base::StringPrintf("%s: %.2f", uma_name.c_str(), total.InSecondsF());
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | drive_file_stream_reader.cc | 33 // of |total| size. 40 bool ComputeConcretePosition(net::HttpByteRange range, int64 total, argument 43 if (range.HasFirstBytePosition() && range.first_byte_position() == total) { 50 if (!range.ComputeBounds(total))
|