/external/linux-tools-perf/scripts/perl/ |
rw-by-pid.pl | 21 my %reads; 31 $reads{$common_pid}{bytes_read} += $ret; 33 if (!defined ($reads{$common_pid}{bytes_read})) { 34 $reads{$common_pid}{bytes_read} = 0; 36 $reads{$common_pid}{errors}{$ret}++; 46 $reads{$common_pid}{bytes_requested} += $count; 47 $reads{$common_pid}{total_reads}++; 48 $reads{$common_pid}{comm} = $common_comm; 78 "# reads", "bytes_requested", "bytes_read"); 82 foreach my $pid (sort { ($reads{$b}{bytes_read} || 0) <= [all...] |
rwtop.pl | 26 my %reads; 43 $reads{$common_pid}{bytes_read} += $ret; 45 if (!defined ($reads{$common_pid}{bytes_read})) { 46 $reads{$common_pid}{bytes_read} = 0; 48 $reads{$common_pid}{errors}{$ret}++; 60 $reads{$common_pid}{bytes_requested} += $count; 61 $reads{$common_pid}{total_reads}++; 62 $reads{$common_pid}{comm} = $common_comm; 128 "# reads", "bytes_req", "bytes_read"); 132 foreach my $pid (sort { ($reads{$b}{bytes_read} || 0) <= [all...] |
rw-by-file.pl | 25 my %reads; 34 $reads{$fd}{bytes_requested} += $count; 35 $reads{$fd}{total_reads}++; 54 printf("%6s %10s %10s\n", "fd", "# reads", "bytes_requested"); 57 foreach my $fd (sort {$reads{$b}{bytes_requested} <=> 58 $reads{$a}{bytes_requested}} keys %reads) { 59 my $total_reads = $reads{$fd}{total_reads}; 60 my $bytes_requested = $reads{$fd}{bytes_requested};
|
/external/chromium_org/net/spdy/ |
spdy_proxy_client_socket_unittest.cc | 72 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes, 175 void SpdyProxyClientSocketTest::Initialize(MockRead* reads, 179 data_.reset(new DeterministicSocketData(reads, reads_count, 477 MockRead reads[] = { local 482 Initialize(reads, arraysize(reads), writes, arraysize(writes)); 498 MockRead reads[] = { local 503 Initialize(reads, arraysize(reads), writes, arraysize(writes)); 521 MockRead reads[] = local 541 MockRead reads[] = { local 570 MockRead reads[] = { local 592 MockRead reads[] = { local 615 MockRead reads[] = { local 652 MockRead reads[] = { local 678 MockRead reads[] = { local 708 MockRead reads[] = { local 732 MockRead reads[] = { local 760 MockRead reads[] = { local 787 MockRead reads[] = { local 815 MockRead reads[] = { local 847 MockRead reads[] = { local 875 MockRead reads[] = { local 907 MockRead reads[] = { local 933 MockRead reads[] = { local 958 MockRead reads[] = { local 994 MockRead reads[] = { local 1029 MockRead reads[] = { local 1055 MockRead reads[] = { local 1080 MockRead reads[] = { local 1105 MockRead reads[] = { local 1138 MockRead reads[] = { local 1162 MockRead reads[] = { local 1188 MockRead reads[] = { local 1218 MockRead reads[] = { local 1248 MockRead reads[] = { local 1281 MockRead reads[] = { local 1320 MockRead reads[] = { local 1405 MockRead reads[] = { local [all...] |
spdy_http_stream_unittest.cc | 89 void InitSessionDeterministic(MockRead* reads, size_t reads_count, 93 new DeterministicSocketData(reads, reads_count, writes, writes_count)); 102 void InitSession(MockRead* reads, size_t reads_count, 105 data_.reset(new OrderedSocketData(reads, reads_count, 139 MockRead reads[] = { local 146 InitSession(reads, arraysize(reads), NULL, 0, key); 161 MockRead reads[] = { local 169 InitSession(reads, arraysize(reads), writes, arraysize(writes), key) 233 MockRead reads[] = { local 325 std::vector<MockRead> reads; local 398 MockRead reads[] = { local 495 MockRead reads[] = { local 552 MockRead reads[] = { local [all...] |
spdy_network_transaction_unittest.cc | 269 // Occasionally a test will expect to error out before certain reads are 270 // processed. In that case we want to explicitly ensure that the reads were 553 // reads until we complete our callback. 718 MockRead reads[] = { local 724 DelayedSocketData data(1, reads, arraysize(reads), 790 MockRead reads[] = { local 796 DelayedSocketData data(1, reads, arraysize(reads), 844 MockRead reads[] = local 933 MockRead reads[] = { local 1020 MockRead reads[] = { local 1142 MockRead reads[] = { local 1279 MockRead reads[] = { local 1419 MockRead reads[] = { local 1553 MockRead reads[] = { local 1673 MockRead reads[] = { local 1741 MockRead reads[] = { local 1770 MockRead reads[] = { local 1799 MockRead reads[] = { local 1821 MockRead reads[] = { local 1850 MockRead reads[] = { local 1878 MockRead reads[] = { local 1918 MockRead reads[] = { local 1981 MockRead reads[] = { local 2023 MockRead reads[] = { local 2056 MockRead reads[] = { local 2108 MockRead reads[] = { local 2139 MockRead reads[] = { local 2166 MockRead reads[] = { local 2218 MockRead reads[] = { local 2255 MockRead reads[] = { local 2285 MockRead reads[] = { local 2327 MockRead reads[] = { local 2377 MockRead reads[] = { local 2432 MockRead reads[] = { local 2492 MockRead reads[] = { local 2577 MockRead reads[] = { local 2677 MockRead reads[] = { local 2725 MockRead reads[] = { local 2771 MockRead reads[] = { local 2817 MockRead reads[] = { local 2891 MockRead reads[] = { local 2951 MockRead reads[] = { local 3010 MockRead reads[] = { local 3057 MockRead reads[] = { local 3118 MockRead reads[] = { local 3186 MockRead reads[] = { local 3279 MockRead reads[] = { local 3421 MockRead reads[] = { local 3540 MockRead reads[] = { local 3587 MockRead reads[] = { local 3614 MockRead reads[] = { local 3645 MockRead reads[] = { local 3675 MockRead reads[] = { local 3703 MockRead reads[] = { local 3805 MockRead reads[] = { local 3899 MockRead reads[] = { local 3999 MockRead reads[] = { local 4086 MockRead reads[] = { local 4167 MockRead reads[] = { local 4289 MockRead reads[] = { local 4430 MockRead reads[] = { local 4475 MockRead reads[] = { local 4495 MockRead reads[] = { local 4659 MockRead reads[] = { local 4815 MockRead reads[] = { local 5064 MockRead reads[] = { local 5133 MockRead reads[] = { local 5268 MockRead reads[] = { local 5405 MockRead reads[] = { local 5513 MockRead reads[] = { local 5565 MockRead reads[] = { local 5637 MockRead reads[] = { local 5709 MockRead reads[] = { local 5774 MockRead reads[] = { local 5888 MockRead reads[] = { local 5978 MockRead reads[] = { local 6069 MockRead reads[] = { local 6172 MockRead reads[] = { local 6270 std::vector<MockRead> reads; local 6388 std::vector<MockRead> reads; local [all...] |
spdy_session_unittest.cc | 234 MockRead reads[] = {MockRead(ASYNC, 0, 0), }; local 236 DeterministicSocketData data(reads, arraysize(reads), NULL, 0); 294 MockRead reads[] = { local 297 DeterministicSocketData data(reads, arraysize(reads), NULL, 0); 328 MockRead reads[] = { local 331 DeterministicSocketData data(reads, arraysize(reads), NULL, 0); 355 MockRead reads[] = local 438 MockRead reads[] = { local 521 MockRead reads[] = { local 602 MockRead reads[] = { local 672 MockRead reads[] = { local 737 MockRead reads[] = { local 795 MockRead reads[] = { local 849 MockRead reads[] = { local 953 MockRead reads[] = { local 1018 MockRead reads[] = { local 1075 MockRead reads[] = { local 1146 MockRead reads[] = { local 1210 MockRead reads[] = { local 1304 MockRead reads[] = { local 1348 MockRead reads[] = { local 1417 MockRead reads[] = { local 1492 MockRead reads[] = { local 1570 MockRead reads[] = { local 1644 MockRead reads[] = { local 1724 MockRead reads[] = { local 1808 MockRead reads[] = { local 1909 MockRead reads[] = { local 1965 MockRead reads[] = { local 2007 MockRead reads[] = { local 2077 MockRead reads[] = { local 2206 MockRead reads[] = { local 2321 MockRead reads[] = { local 2414 MockRead reads[] = { local 2525 MockRead reads[] = { local 2608 MockRead reads[] = { local 2664 MockRead reads[] = { local 2705 MockRead reads[] = { local 2756 MockRead reads[] = { local 2835 MockRead reads[] = { local 2997 MockRead reads[] = { local 3063 MockRead reads[] = { local 3122 MockRead reads[] = { local 3183 MockRead reads[] = { local 3219 MockRead reads[] = { local 3292 MockRead reads[] = { local 3371 MockRead reads[] = { local 3461 MockRead reads[] = { local 3584 MockRead reads[] = { local 3743 MockRead reads[] = { local 3899 MockRead reads[] = { local 4056 MockRead reads[] = { local [all...] |
/external/chromium/net/spdy/ |
spdy_proxy_client_socket_unittest.cc | 63 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes, 162 void SpdyProxyClientSocketTest::Initialize(MockRead* reads, 166 data_ = new DeterministicSocketData(reads, reads_count, writes, writes_count); 424 MockRead reads[] = { local 429 Initialize(reads, arraysize(reads), writes, arraysize(writes)); 445 MockRead reads[] = { local 450 Initialize(reads, arraysize(reads), writes, arraysize(writes)); 468 MockRead reads[] = local 488 MockRead reads[] = { local 510 MockRead reads[] = { local 533 MockRead reads[] = { local 564 MockRead reads[] = { local 590 MockRead reads[] = { local 619 MockRead reads[] = { local 643 MockRead reads[] = { local 671 MockRead reads[] = { local 697 MockRead reads[] = { local 725 MockRead reads[] = { local 757 MockRead reads[] = { local 785 MockRead reads[] = { local 817 MockRead reads[] = { local 843 MockRead reads[] = { local 875 MockRead reads[] = { local 911 MockRead reads[] = { local 946 MockRead reads[] = { local 970 MockRead reads[] = { local 994 MockRead reads[] = { local 1018 MockRead reads[] = { local 1046 MockRead reads[] = { local 1069 MockRead reads[] = { local 1094 MockRead reads[] = { local 1123 MockRead reads[] = { local 1152 MockRead reads[] = { local [all...] |
spdy_http_stream_unittest.cc | 25 int InitSession(MockRead* reads, size_t reads_count, 29 data_ = new OrderedSocketData(reads, reads_count, writes, writes_count); 63 MockRead reads[] = { local 70 EXPECT_EQ(OK, InitSession(reads, arraysize(reads), writes, arraysize(writes), 117 MockRead reads[] = { local 126 EXPECT_EQ(OK, InitSession(reads, arraysize(reads), writes, arraysize(writes), 177 MockRead reads[] = { local 184 EXPECT_EQ(OK, InitSession(reads, arraysize(reads), writes, arraysize(writes) [all...] |
spdy_session_unittest.cc | 113 MockRead reads[] = { local 117 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); 174 MockRead reads[] = { local 185 reads, arraysize(reads), writes, arraysize(writes)); 311 MockRead reads[] = { local 316 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); 394 MockRead reads[] = local 482 MockRead reads[] = { local 583 MockRead reads[] = { local [all...] |
spdy_network_transaction_unittest.cc | 205 // Occasionally a test will expect to error out before certain reads are 206 // processed. In that case we want to explicitly ensure that the reads were 414 // reads until we complete our callback. 532 MockRead reads[] = { local 539 new DelayedSocketData(1, reads, arraysize(reads), 582 MockRead reads[] = { local 589 new DelayedSocketData(1, reads, arraysize(reads), 634 MockRead reads[] = local 723 MockRead reads[] = { local 810 MockRead reads[] = { local 931 MockRead reads[] = { local 1069 MockRead reads[] = { local 1212 MockRead reads[] = { local 1335 MockRead reads[] = { local 1460 MockRead reads[] = { local 1531 MockRead reads[] = { local 1559 MockRead reads[] = { local 1590 MockRead reads[] = { local 1629 MockRead reads[] = { local 1673 MockRead reads[] = { local 1710 MockRead reads[] = { local 1743 MockRead reads[] = { local 1774 MockRead reads[] = { local 1796 MockRead reads[] = { local 1878 MockRead reads[] = { local 1947 MockRead reads[] = { local 2043 MockRead reads[] = { local 2150 MockRead reads[] = { local 2207 MockRead reads[] = { local 2247 MockRead reads[] = { local 2323 MockRead reads[] = { local 2391 MockRead reads[] = { local 2476 MockRead reads[] = { local 2579 MockRead reads[] = { local 2693 MockRead reads[] = { local 2746 MockRead reads[] = { local 2796 MockRead reads[] = { local 2872 MockRead reads[] = { local 2930 MockRead reads[] = { local 2993 MockRead reads[] = { local 3051 MockRead reads[] = { local 3112 MockRead reads[] = { local 3169 MockRead reads[] = { local 3258 MockRead reads[] = { local 3397 MockRead reads[] = { local 3513 MockRead reads[] = { local 3552 MockRead reads[] = { local 3599 MockRead reads[] = { local 3634 MockRead reads[] = { local 3664 MockRead reads[] = { local 3765 MockRead reads[] = { local 3859 MockRead reads[] = { local 3956 MockRead reads[] = { local 4042 MockRead reads[] = { local 4122 MockRead reads[] = { local 4249 MockRead reads[] = { local 4363 MockRead reads[] = { local 4407 MockRead reads[] = { local 4428 MockRead reads[] = { local 4584 MockRead reads[] = { local 4736 MockRead reads[] = { local 5002 MockRead reads[] = { local 5086 MockRead reads[] = { local 5234 MockRead reads[] = { local 5363 MockRead reads[] = { local 5420 MockRead reads[] = { local 5478 MockRead reads[] = { local 5554 MockRead reads[] = { local [all...] |
spdy_stream_unittest.cc | 177 MockRead reads[] = { local 182 reads[0].sequence_number = 1; 183 reads[1].sequence_number = 3; 184 reads[2].sequence_number = 4; 187 new OrderedSocketData(reads, arraysize(reads),
|
/external/chromium_org/net/socket/ |
deterministic_socket_data_unittest.cc | 38 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes, 87 void DeterministicSocketDataTest::Initialize(MockRead* reads, 91 data_.reset(new DeterministicSocketData(reads, reads_count, 197 MockRead reads[] = { local 202 Initialize(reads, arraysize(reads), NULL, 0); 209 MockRead reads[] = { local 218 Initialize(reads, arraysize(reads), writes, arraysize(writes)); 226 MockRead reads[] = local 238 MockRead reads[] = { local 263 MockRead reads[] = { local 274 MockRead reads[] = { local 297 MockRead reads[] = { local 324 MockRead reads[] = { local 362 MockRead reads[] = { local 493 MockRead reads[] = { local 515 MockRead reads[] = { local 536 MockRead reads[] = { local 583 MockRead reads[] = { local [all...] |
/external/chromium_org/net/http/ |
http_pipelined_connection_impl_unittest.cc | 103 void Initialize(MockRead* reads, size_t reads_count, 105 data_.reset(new DeterministicSocketData(reads, reads_count, 214 MockRead reads[] = { local 219 Initialize(reads, arraysize(reads), writes, arraysize(writes)); 231 MockRead reads[] = { local 236 Initialize(reads, arraysize(reads), writes, arraysize(writes)); 264 MockRead reads[] = { local 272 Initialize(reads, arraysize(reads), writes, arraysize(writes)) 325 MockRead reads[] = { local 362 MockRead reads[] = { local 386 MockRead reads[] = { local 427 MockRead reads[] = { local 464 MockRead reads[] = { local 515 MockRead reads[] = { local 534 MockRead reads[] = { local 619 MockRead reads[] = { local 751 MockRead reads[] = { local 791 MockRead reads[] = { local 836 MockRead reads[] = { local 882 MockRead reads[] = { local 918 MockRead reads[] = { local 952 MockRead reads[] = { local 1032 MockRead reads[] = { local 1056 MockRead reads[] = { local 1086 MockRead reads[] = { local 1143 MockRead reads[] = { local 1205 MockRead reads[] = { local 1245 MockRead reads[] = { local 1282 MockRead reads[] = { local 1314 MockRead reads[] = { local 1348 MockRead reads[] = { local 1384 MockRead reads[] = { local 1430 MockRead reads[] = { local 1453 MockRead reads[] = { local 1474 MockRead reads[] = { local 1495 MockRead reads[] = { local 1517 MockRead reads[] = { local 1537 MockRead reads[] = { local [all...] |
http_pipelined_network_transaction_unittest.cc | 97 void AddExpectedConnection(MockRead* reads, size_t reads_count, 100 reads, reads_count, writes, writes_count); 244 MockRead reads[] = { local 249 AddExpectedConnection(reads, arraysize(reads), writes, arraysize(writes)); 270 MockRead reads[] = { local 278 AddExpectedConnection(reads, arraysize(reads), writes, arraysize(writes)); 304 MockRead reads[] = { local 318 AddExpectedConnection(reads, arraysize(reads), writes, arraysize(writes)) 347 MockRead reads[] = { local 377 MockRead reads[] = { local 410 MockRead reads[] = { local 444 MockRead reads[] = { local 532 MockRead reads[] = { local 576 MockRead reads[] = { local 620 MockRead reads[] = { local 695 MockRead reads[] = { local 796 MockRead reads[] = { local 874 MockRead reads[] = { local 944 MockRead reads[] = { local 987 MockRead reads[] = { local [all...] |
http_proxy_client_socket_pool_unittest.cc | 171 void Initialize(MockRead* reads, size_t reads_count, 179 data_.reset(new DeterministicSocketData(reads, reads_count, writes, 287 MockRead reads[] = { local 323 Initialize(reads, arraysize(reads), writes, arraysize(writes), 362 MockRead reads[] = { local 366 Initialize(reads, arraysize(reads), writes, arraysize(writes), NULL, 0, 387 MockRead reads[] = { local 402 Initialize(reads, arraysize(reads), writes, arraysize(writes) 532 MockRead reads[] = { local 581 MockRead reads[] = { local 607 MockRead reads[] = { local 658 MockRead reads[] = { local [all...] |
/external/chromium/net/socket/ |
deterministic_socket_data_unittest.cc | 32 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes, 88 void DeterministicSocketDataTest::Initialize(MockRead* reads, 92 data_ = new DeterministicSocketData(reads, reads_count, writes, writes_count); 172 MockRead reads[] = { local 177 Initialize(reads, arraysize(reads), NULL, 0); 184 MockRead reads[] = { local 189 Initialize(reads, arraysize(reads), NULL, 0); 197 MockRead reads[] = local 209 MockRead reads[] = { local 234 MockRead reads[] = { local 245 MockRead reads[] = { local 268 MockRead reads[] = { local 416 MockRead reads[] = { local 438 MockRead reads[] = { local 459 MockRead reads[] = { local 502 MockRead reads[] = { local [all...] |
/external/chromium_org/jingle/glue/ |
fake_ssl_client_socket_unittest.cc | 100 std::vector<net::MockRead>* reads, 104 reads->empty() ? NULL : &*reads->begin(), reads->size(), 135 std::vector<net::MockRead> reads; local 141 AddChunkedOps(ssl_server_hello, read_chunk_size, mode, &reads); 143 reads.push_back( 148 SetData(mock_connect, &reads, &writes); 197 std::vector<net::MockRead> reads; local 200 AddChunkedOps(ssl_server_hello, kChunkSize, mode, &reads); [all...] |
proxy_resolving_client_socket_unittest.cc | 82 net::MockRead reads[] = { local 90 net::StaticSocketDataProvider socket_data2(reads, arraysize(reads),
|
/external/chromium_org/net/url_request/ |
url_request_ftp_job_unittest.cc | 227 void AddSocket(MockRead* reads, size_t reads_size, 230 reads, reads_size, writes, writes_size); 259 MockRead reads[] = { local 265 AddSocket(reads, arraysize(reads), writes, arraysize(writes)); 309 MockRead reads[] = { local 318 AddSocket(reads, arraysize(reads), writes, arraysize(writes)); 346 MockRead reads[] = { local 360 AddSocket(reads, arraysize(reads), writes, arraysize(writes)) 386 MockRead reads[] = { local 423 MockRead reads[] = { local 474 MockRead reads[] = { local 531 MockRead reads[] = { local 567 MockRead reads[] = { local 607 MockRead reads[] = { local [all...] |
/external/qemu/ |
iolooper-select.c | 14 fd_set reads[1]; member in struct:IoLooper 39 FD_ZERO(iol->reads); 94 if (!FD_ISSET(fd, iol->reads) && !FD_ISSET(fd, iol->writes)) 110 FD_SET(fd, iol->reads); 128 FD_CLR(fd, iol->reads); 158 iol->reads_result[0] = iol->reads[0]; 191 iol->reads_result[0] = iol->reads[0];
|
/external/chromium/net/http/ |
http_proxy_client_socket_pool_unittest.cc | 147 void Initialize(bool async, MockRead* reads, size_t reads_count, 155 data_ = new DeterministicSocketData(reads, reads_count, writes, 243 MockRead reads[] = { local 264 Initialize(false, reads, arraysize(reads), writes, arraysize(writes), 305 MockRead reads[] = { local 309 Initialize(false, reads, arraysize(reads), writes, arraysize(writes), NULL, 0, 330 MockRead reads[] = { local 345 Initialize(false, reads, arraysize(reads), writes, arraysize(writes) 442 MockRead reads[] = { local 480 MockRead reads[] = { local [all...] |
/ndk/tests/build/issue42841-LOCAL_PATH/jni/ |
Android.mk | 2 # cause strange error message reads:
|
/sdk/emulator/opengl/tests/event_injector/ |
iolooper-select.c | 32 fd_set reads[1]; member in struct:IoLooper 57 FD_ZERO(iol->reads); 112 if (!FD_ISSET(fd, iol->reads) && !FD_ISSET(fd, iol->writes)) 128 FD_SET(fd, iol->reads); 146 FD_CLR(fd, iol->reads); 176 iol->reads_result[0] = iol->reads[0]; 207 iol->reads_result[0] = iol->reads[0];
|
/external/chromium_org/net/quic/ |
quic_stream_factory_test.cc | 178 MockRead reads[] = { local 181 DeterministicSocketData socket_data(reads, arraysize(reads), NULL, 0); 227 MockRead reads[] = { local 230 DeterministicSocketData socket_data(reads, arraysize(reads), NULL, 0); 233 DeterministicSocketData socket_data2(reads, arraysize(reads), NULL, 0); 282 MockRead reads[] = { local 289 DeterministicSocketData socket_data(reads, arraysize(reads) 355 MockRead reads[] = { local 381 MockRead reads[] = { local 431 MockRead reads[] = { local 482 MockRead reads[] = { local 533 MockRead reads[] = { local [all...] |