/external/linux-tools-perf/perf-3.12.0/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 | 27 my %reads; 44 $reads{$common_pid}{bytes_read} += $ret; 46 if (!defined ($reads{$common_pid}{bytes_read})) { 47 $reads{$common_pid}{bytes_read} = 0; 49 $reads{$common_pid}{errors}{$ret}++; 61 $reads{$common_pid}{bytes_requested} += $count; 62 $reads{$common_pid}{total_reads}++; 63 $reads{$common_pid}{comm} = $common_comm; 132 "# reads", "bytes_req", "bytes_read"); 136 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};
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
CachedInputStream.java | 138 int reads = in.read(buffer, offset, count); local 139 return reads; 158 int reads = in.read(buf, indexInBuf, toRead); local 159 if (reads > 0) { 160 System.arraycopy(buf, indexInBuf, buffer, offset, reads); 161 mPos += reads; 162 mCount += reads; 163 totalReads += reads; 164 offset += reads; 165 count -= reads; 237 int reads = in.read(buf, indexInBuf, toRead); local [all...] |
/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/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, 393 MockRead reads[] = { local 398 Initialize(reads, arraysize(reads), writes, arraysize(writes)); 414 MockRead reads[] = { local 419 Initialize(reads, arraysize(reads), writes, arraysize(writes)); 435 MockRead reads[] = local 457 MockRead reads[] = { local 488 MockRead reads[] = { local 512 MockRead reads[] = { local 537 MockRead reads[] = { local 574 MockRead reads[] = { local 600 MockRead reads[] = { local 630 MockRead reads[] = { local 654 MockRead reads[] = { local 682 MockRead reads[] = { local 709 MockRead reads[] = { local 737 MockRead reads[] = { local 769 MockRead reads[] = { local 797 MockRead reads[] = { local 829 MockRead reads[] = { local 855 MockRead reads[] = { local 880 MockRead reads[] = { local 916 MockRead reads[] = { local 951 MockRead reads[] = { local 977 MockRead reads[] = { local 1004 MockRead reads[] = { local 1031 MockRead reads[] = { local 1064 MockRead reads[] = { local 1090 MockRead reads[] = { local 1118 MockRead reads[] = { local 1150 MockRead reads[] = { local 1184 MockRead reads[] = { local 1219 MockRead reads[] = { local 1263 MockRead reads[] = { local 1350 MockRead reads[] = { local [all...] |
spdy_http_stream_unittest.cc | 90 void InitSessionDeterministic(MockRead* reads, size_t reads_count, 94 new DeterministicSocketData(reads, reads_count, writes, writes_count)); 103 void InitSession(MockRead* reads, size_t reads_count, 106 data_.reset(new OrderedSocketData(reads, reads_count, 139 MockRead reads[] = { local 146 InitSession(reads, arraysize(reads), NULL, 0, key); 153 // Pump the event loop so |reads| is consumed before the function returns. 164 MockRead reads[] = { local 172 InitSession(reads, arraysize(reads), writes, arraysize(writes), key) 236 MockRead reads[] = { local 328 std::vector<MockRead> reads; local 401 MockRead reads[] = { local 498 MockRead reads[] = { local 555 MockRead reads[] = { local [all...] |
spdy_network_transaction_unittest.cc | 291 // Occasionally a test will expect to error out before certain reads are 292 // processed. In that case we want to explicitly ensure that the reads were 593 // reads until we complete our callback. 760 MockRead reads[] = { local 766 DelayedSocketData data(1, reads, arraysize(reads), 832 MockRead reads[] = { local 838 DelayedSocketData data(1, reads, arraysize(reads), 886 MockRead reads[] = { local 975 MockRead reads[] = { local 1062 MockRead reads[] = { local 1184 MockRead reads[] = { local 1323 MockRead reads[] = { local 1466 MockRead reads[] = { local 1603 MockRead reads[] = { local 1723 MockRead reads[] = { local 1791 MockRead reads[] = { local 1820 MockRead reads[] = { local 1849 MockRead reads[] = { local 1871 MockRead reads[] = { local 1900 MockRead reads[] = { local 1928 MockRead reads[] = { local 1968 MockRead reads[] = { local 2036 MockRead reads[] = { local 2083 MockRead reads[] = { local 2109 MockRead reads[] = { local 2161 MockRead reads[] = { local 2192 MockRead reads[] = { local 2219 MockRead reads[] = { local 2271 MockRead reads[] = { local 2308 MockRead reads[] = { local 2338 MockRead reads[] = { local 2380 MockRead reads[] = { local 2430 MockRead reads[] = { local 2485 MockRead reads[] = { local 2545 MockRead reads[] = { local 2631 MockRead reads[] = { local 2732 MockRead reads[] = { local 2780 MockRead reads[] = { local 2826 MockRead reads[] = { local 2872 MockRead reads[] = { local 2946 MockRead reads[] = { local 3006 MockRead reads[] = { local 3065 MockRead reads[] = { local 3118 MockRead reads[] = { local 3179 MockRead reads[] = { local 3240 MockRead reads[] = { local 3337 MockRead reads[] = { local 3479 MockRead reads[] = { local 3598 MockRead reads[] = { local 3650 MockRead reads[] = { local 3689 MockRead reads[] = { local 3717 MockRead reads[] = {CreateMockRead(*resp)}; local 3742 MockRead reads[] = {CreateMockRead(*bad_window_update)}; local 3765 MockRead reads[] = { local 3796 MockRead reads[] = { local 3828 MockRead reads[] = { local 3856 MockRead reads[] = { local 3961 MockRead reads[] = { local 4055 MockRead reads[] = { local 4155 MockRead reads[] = { local 4242 MockRead reads[] = { local 4325 MockRead reads[] = { local 4447 MockRead reads[] = { local 4589 MockRead reads[] = { local 4634 MockRead reads[] = { local 4654 MockRead reads[] = { local 4818 MockRead reads[] = { local 4974 MockRead reads[] = { local 5218 MockRead reads[] = { local 5281 MockRead reads[] = { local 5418 MockRead reads[] = { local 5538 MockRead reads[] = { local 5646 MockRead reads[] = { local 5698 MockRead reads[] = { local 5770 MockRead reads[] = { local 5842 MockRead reads[] = { local 5907 MockRead reads[] = { local 6021 MockRead reads[] = { local 6103 std::vector<MockRead> reads; local 6194 MockRead reads[] = { local 6297 MockRead reads[] = { local 6395 std::vector<MockRead> reads; local 6516 std::vector<MockRead> reads; local 6617 MockRead reads[] = { local [all...] |
spdy_session_unittest.cc | 237 MockRead reads[] = {MockRead(ASYNC, 0, 0), }; local 239 DeterministicSocketData data(reads, arraysize(reads), NULL, 0); 291 MockRead reads[] = { local 294 DeterministicSocketData data(reads, arraysize(reads), NULL, 0); 321 MockRead reads[] = { local 324 DeterministicSocketData data(reads, arraysize(reads), NULL, 0); 348 MockRead reads[] = local 429 MockRead reads[] = { local 508 MockRead reads[] = { local 609 MockRead reads[] = { local 652 MockRead reads[] = { local 718 MockRead reads[] = { local 780 MockRead reads[] = { local 848 MockRead reads[] = { local 903 MockRead reads[] = { local 954 MockRead reads[] = { local 1019 MockRead reads[] = { local 1121 MockRead reads[] = { local 1201 MockRead reads[] = { local 1273 MockRead reads[] = { local 1338 MockRead reads[] = { local 1408 MockRead reads[] = { local 1476 MockRead reads[] = { local 1537 MockRead reads[] = { local 1628 MockRead reads[] = { local 1669 MockRead reads[] = { local 1716 MockRead reads[] = { local 1782 MockRead reads[] = { local 1854 MockRead reads[] = { local 1929 MockRead reads[] = { local 2001 MockRead reads[] = { local 2079 MockRead reads[] = { local 2161 MockRead reads[] = { local 2267 MockRead reads[] = { local 2323 MockRead reads[] = { local 2366 MockRead reads[] = { local 2438 MockRead reads[] = { local 2564 MockRead reads[] = { local 2676 MockRead reads[] = { local 2766 MockRead reads[] = { local 2874 MockRead reads[] = { local 2954 MockRead reads[] = { local 3007 MockRead reads[] = { local 3048 MockRead reads[] = { local 3099 MockRead reads[] = { local 3178 MockRead reads[] = { local 3340 MockRead reads[] = { local 3403 MockRead reads[] = { local 3464 MockRead reads[] = { local 3522 MockRead reads[] = { local 3558 MockRead reads[] = { local 3628 MockRead reads[] = { local 3704 MockRead reads[] = { local 3791 MockRead reads[] = { local 3911 MockRead reads[] = { local 4069 MockRead reads[] = { local 4223 MockRead reads[] = { local 4379 MockRead reads[] = { local 4487 MockRead reads[] = { local [all...] |
spdy_session_pool_unittest.cc | 102 MockRead reads[] = { local 106 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); 141 MockRead reads[] = { local 147 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); 273 MockRead reads[] = { local 277 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); 363 MockRead reads[] = local 516 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 | 230 void AddSocket(MockRead* reads, size_t reads_size, 233 reads, reads_size, writes, writes_size); 262 MockRead reads[] = { local 268 AddSocket(reads, arraysize(reads), writes, arraysize(writes)); 314 MockRead reads[] = { local 323 AddSocket(reads, arraysize(reads), writes, arraysize(writes)); 353 MockRead reads[] = { local 367 AddSocket(reads, arraysize(reads), writes, arraysize(writes)) 393 MockRead reads[] = { local 430 MockRead reads[] = { local 481 MockRead reads[] = { local 538 MockRead reads[] = { local 574 MockRead reads[] = { local 614 MockRead reads[] = { local [all...] |
/external/qemu/android/ |
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_org/net/quic/ |
quic_stream_factory_test.cc | 127 MockRead reads[] = { local 130 DeterministicSocketData socket_data(reads, arraysize(reads), NULL, 0); 203 MockRead reads[] = { local 206 DeterministicSocketData socket_data(reads, arraysize(reads), NULL, 0); 245 MockRead reads[] = { local 248 DeterministicSocketData socket_data(reads, arraysize(reads), NULL, 0); 274 MockRead reads[] = local 309 MockRead reads[] = { local 358 MockRead reads[] = { local 405 MockRead reads[] = { local 475 MockRead reads[] = { local 535 MockRead reads[] = { local 602 MockRead reads[] = { local 667 MockRead reads[] = { local 775 MockRead reads[] = { local 829 MockRead reads[] = { local 892 MockRead reads[] = { local 956 MockRead reads[] = { local 1020 MockRead reads[] = { local [all...] |
/external/chromium_org/net/http/ |
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, 284 MockRead reads[] = { local 320 Initialize(reads, arraysize(reads), writes, arraysize(writes), 359 MockRead reads[] = { local 363 Initialize(reads, arraysize(reads), writes, arraysize(writes), NULL, 0, 384 MockRead reads[] = { local 399 Initialize(reads, arraysize(reads), writes, arraysize(writes) 529 MockRead reads[] = { local 578 MockRead reads[] = { local 604 MockRead reads[] = { local 655 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/websockets/ |
websocket_test_util.cc | 74 std::vector<MockRead> reads; member in struct:net::WebSocketDeterministicMockClientSocketFactoryMaker::Detail 105 // HttpStreamParser reads 4KB at a time. We need to take this implementation 109 detail_->reads.push_back( 116 new DeterministicSocketData(vector_as_array(&detail_->reads), 117 detail_->reads.size(),
|
websocket_basic_stream_test.cc | 85 StrictStaticSocketDataProvider(MockRead* reads, 90 : StaticSocketDataProvider(reads, reads_count, writes, writes_count), 119 scoped_ptr<ClientSocketHandle> MakeTransportSocket(MockRead reads[], 124 reads, reads_count, writes, writes_count, expect_all_io_to_complete_)); 146 void CreateStream(MockRead reads[], 151 MakeTransportSocket(reads, reads_count, writes, writes_count), 159 void CreateReadOnly(MockRead (&reads)[N]) { 160 CreateStream(reads, N, NULL, 0); 191 // A test fixture for tests that perform chunked reads. 207 // smaller). All reads must be either SYNCHRONOUS or ASYNC (not a mixture) 316 MockRead reads[] = {MockRead(SYNCHRONOUS, kSampleFrame, 1), local 329 MockRead reads[] = { local 362 MockRead reads[] = { local 541 MockRead reads[] = {MockRead(ASYNC, kSampleFrame, 1U), local 552 MockRead reads[] = {MockRead(ASYNC, kSampleFrame, 1U), local 572 MockRead reads[] = { local 587 MockRead reads[] = { local 617 MockRead reads[] = { local [all...] |
/external/chromium_org/third_party/freetype/src/base/ |
ftstream.c | 490 FT_Byte reads[2]; local 503 if ( stream->read( stream, stream->pos, reads, 2L ) != 2L ) 506 p = reads; 537 FT_Byte reads[2]; local 550 if ( stream->read( stream, stream->pos, reads, 2L ) != 2L ) 553 p = reads; 584 FT_Byte reads[3]; local 597 if (stream->read( stream, stream->pos, reads, 3L ) != 3L ) 600 p = reads; 631 FT_Byte reads[4] local 678 FT_Byte reads[4]; local [all...] |
/external/freetype/src/base/ |
ftstream.c | 490 FT_Byte reads[2]; local 503 if ( stream->read( stream, stream->pos, reads, 2L ) != 2L ) 506 p = reads; 537 FT_Byte reads[2]; local 550 if ( stream->read( stream, stream->pos, reads, 2L ) != 2L ) 553 p = reads; 584 FT_Byte reads[3]; local 597 if (stream->read( stream, stream->pos, reads, 3L ) != 3L ) 600 p = reads; 631 FT_Byte reads[4] local 678 FT_Byte reads[4]; local [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
ftstream.c | 490 FT_Byte reads[2]; local 503 if ( stream->read( stream, stream->pos, reads, 2L ) != 2L ) 506 p = reads; 537 FT_Byte reads[2]; local 550 if ( stream->read( stream, stream->pos, reads, 2L ) != 2L ) 553 p = reads; 584 FT_Byte reads[3]; local 597 if (stream->read( stream, stream->pos, reads, 3L ) != 3L ) 600 p = reads; 631 FT_Byte reads[4] local 678 FT_Byte reads[4]; local [all...] |
/external/bison/src/ |
lalr.c | 161 goto_number **reads = xnmalloc (ngotos, sizeof *reads); local 186 reads[i] = NULL; 189 reads[i] = xnmalloc (nedges + 1, sizeof reads[i][0]); 190 memcpy (reads[i], edge, nedges * sizeof edge[0]); 191 reads[i][nedges] = END_NODE; 196 relation_digraph (reads, ngotos, &goto_follows); 199 free (reads[i]); 201 free (reads); [all...] |
/external/llvm/lib/CodeGen/ |
CalcSpillWeights.cpp | 134 bool reads, writes; local 135 std::tie(reads, writes) = mi->readsWritesVirtualRegister(li.reg); 137 writes, reads, &MBFI, mi);
|