Home
last modified time | relevance | path

Searched refs:reads (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/external/linux-tools-perf/scripts/perl/
Drw-by-pid.pl21 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;
82 foreach my $pid (sort { ($reads{$b}{bytes_read} || 0) <=>
83 ($reads{$a}{bytes_read} || 0) } keys %reads) {
[all …]
Drwtop.pl26 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;
132 foreach my $pid (sort { ($reads{$b}{bytes_read} || 0) <=>
133 ($reads{$a}{bytes_read} || 0) } keys %reads) {
[all …]
Drw-by-file.pl25 my %reads;
34 $reads{$fd}{bytes_requested} += $count;
35 $reads{$fd}{total_reads}++;
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/net/spdy/
Dspdy_proxy_client_socket_unittest.cc63 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes,
162 void SpdyProxyClientSocketTest::Initialize(MockRead* reads, in Initialize() argument
166 data_ = new DeterministicSocketData(reads, reads_count, writes, writes_count); in Initialize()
424 MockRead reads[] = { in TEST_F() local
429 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
445 MockRead reads[] = { in TEST_F() local
450 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
468 MockRead reads[] = { in TEST_F() local
473 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
488 MockRead reads[] = { in TEST_F() local
[all …]
Dspdy_network_transaction_unittest.cc532 MockRead reads[] = { in TEST_P() local
539 new DelayedSocketData(1, reads, arraysize(reads), in TEST_P()
582 MockRead reads[] = { in TEST_P() local
589 new DelayedSocketData(1, reads, arraysize(reads), in TEST_P()
634 MockRead reads[] = { in TEST_P() local
649 new OrderedSocketData(reads, arraysize(reads), in TEST_P()
723 MockRead reads[] = { in TEST_P() local
733 new OrderedSocketData(reads, arraysize(reads), in TEST_P()
810 MockRead reads[] = { in TEST_P() local
820 new OrderedSocketData(reads, arraysize(reads), in TEST_P()
[all …]
Dspdy_http_stream_unittest.cc25 int InitSession(MockRead* reads, size_t reads_count, in InitSession() argument
29 data_ = new OrderedSocketData(reads, reads_count, writes, writes_count); in InitSession()
63 MockRead reads[] = { in TEST_F() local
70 EXPECT_EQ(OK, InitSession(reads, arraysize(reads), writes, arraysize(writes), in TEST_F()
117 MockRead reads[] = { in TEST_F() local
126 EXPECT_EQ(OK, InitSession(reads, arraysize(reads), writes, arraysize(writes), in TEST_F()
177 MockRead reads[] = { in TEST_F() local
184 EXPECT_EQ(OK, InitSession(reads, arraysize(reads), writes, arraysize(writes), in TEST_F()
Dspdy_session_unittest.cc113 MockRead reads[] = { in TEST_F() local
117 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_F()
174 MockRead reads[] = { in TEST_F() local
185 reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
311 MockRead reads[] = { in TEST_F() local
316 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_F()
394 MockRead reads[] = { in TEST_F() local
398 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_F()
482 MockRead reads[] = { in TEST_F() local
505 reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
[all …]
/external/chromium_org/net/spdy/
Dspdy_proxy_client_socket_unittest.cc72 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes,
175 void SpdyProxyClientSocketTest::Initialize(MockRead* reads, in Initialize() argument
179 data_.reset(new DeterministicSocketData(reads, reads_count, in Initialize()
477 MockRead reads[] = { in TEST_P() local
482 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
498 MockRead reads[] = { in TEST_P() local
503 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
521 MockRead reads[] = { in TEST_P() local
526 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
541 MockRead reads[] = { in TEST_P() local
[all …]
Dspdy_http_stream_unittest.cc89 void InitSessionDeterministic(MockRead* reads, size_t reads_count, in InitSessionDeterministic() argument
93 new DeterministicSocketData(reads, reads_count, writes, writes_count)); in InitSessionDeterministic()
102 void InitSession(MockRead* reads, size_t reads_count, in InitSession() argument
105 data_.reset(new OrderedSocketData(reads, reads_count, in InitSession()
139 MockRead reads[] = { in TEST_P() local
146 InitSession(reads, arraysize(reads), NULL, 0, key); in TEST_P()
161 MockRead reads[] = { in TEST_P() local
169 InitSession(reads, arraysize(reads), writes, arraysize(writes), key); in TEST_P()
233 MockRead reads[] = { in TEST_P() local
244 InitSessionDeterministic(reads, arraysize(reads), in TEST_P()
[all …]
Dspdy_network_transaction_unittest.cc718 MockRead reads[] = { in TEST_P() local
724 DelayedSocketData data(1, reads, arraysize(reads), in TEST_P()
790 MockRead reads[] = { in TEST_P() local
796 DelayedSocketData data(1, reads, arraysize(reads), in TEST_P()
844 MockRead reads[] = { in TEST_P() local
858 OrderedSocketData data(reads, arraysize(reads), in TEST_P()
933 MockRead reads[] = { in TEST_P() local
942 OrderedSocketData data(reads, arraysize(reads), in TEST_P()
1020 MockRead reads[] = { in TEST_P() local
1029 OrderedSocketData preconnect_data(reads, arraysize(reads), in TEST_P()
[all …]
Dspdy_session_unittest.cc234 MockRead reads[] = {MockRead(ASYNC, 0, 0), }; in TEST_P() local
236 DeterministicSocketData data(reads, arraysize(reads), NULL, 0); in TEST_P()
294 MockRead reads[] = { in TEST_P() local
297 DeterministicSocketData data(reads, arraysize(reads), NULL, 0); in TEST_P()
328 MockRead reads[] = { in TEST_P() local
331 DeterministicSocketData data(reads, arraysize(reads), NULL, 0); in TEST_P()
355 MockRead reads[] = { in TEST_P() local
367 DeterministicSocketData data(reads, arraysize(reads), in TEST_P()
438 MockRead reads[] = { in TEST_P() local
451 DeterministicSocketData data(reads, arraysize(reads), in TEST_P()
[all …]
/external/chromium/net/socket/
Ddeterministic_socket_data_unittest.cc32 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes,
88 void DeterministicSocketDataTest::Initialize(MockRead* reads, in Initialize() argument
92 data_ = new DeterministicSocketData(reads, reads_count, writes, writes_count); in Initialize()
172 MockRead reads[] = { in TEST_F() local
177 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
184 MockRead reads[] = { in TEST_F() local
189 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
197 MockRead reads[] = { in TEST_F() local
202 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
209 MockRead reads[] = { in TEST_F() local
[all …]
/external/chromium_org/net/http/
Dhttp_pipelined_connection_impl_unittest.cc103 void Initialize(MockRead* reads, size_t reads_count, in Initialize() argument
105 data_.reset(new DeterministicSocketData(reads, reads_count, in Initialize()
214 MockRead reads[] = { in TEST_F() local
219 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
231 MockRead reads[] = { in TEST_F() local
236 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
264 MockRead reads[] = { in TEST_F() local
272 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
325 MockRead reads[] = { in TEST_F() local
334 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
[all …]
Dhttp_pipelined_network_transaction_unittest.cc97 void AddExpectedConnection(MockRead* reads, size_t reads_count, in AddExpectedConnection() argument
100 reads, reads_count, writes, writes_count); in AddExpectedConnection()
244 MockRead reads[] = { in TEST_F() local
249 AddExpectedConnection(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
270 MockRead reads[] = { in TEST_F() local
278 AddExpectedConnection(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
304 MockRead reads[] = { in TEST_F() local
318 AddExpectedConnection(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
347 MockRead reads[] = { in TEST_F() local
361 AddExpectedConnection(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
[all …]
Dhttp_proxy_client_socket_pool_unittest.cc171 void Initialize(MockRead* reads, size_t reads_count, in Initialize() argument
179 data_.reset(new DeterministicSocketData(reads, reads_count, writes, in Initialize()
287 MockRead reads[] = { in TEST_P() local
323 Initialize(reads, arraysize(reads), writes, arraysize(writes), in TEST_P()
362 MockRead reads[] = { in TEST_P() local
366 Initialize(reads, arraysize(reads), writes, arraysize(writes), NULL, 0, in TEST_P()
387 MockRead reads[] = { in TEST_P() local
402 Initialize(reads, arraysize(reads), writes, arraysize(writes), in TEST_P()
532 MockRead reads[] = { in TEST_P() local
545 Initialize(reads, arraysize(reads), writes, arraysize(writes), in TEST_P()
[all …]
/external/chromium_org/net/socket/
Ddeterministic_socket_data_unittest.cc38 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes,
87 void DeterministicSocketDataTest::Initialize(MockRead* reads, in Initialize() argument
91 data_.reset(new DeterministicSocketData(reads, reads_count, in Initialize()
197 MockRead reads[] = { in TEST_F() local
202 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
209 MockRead reads[] = { in TEST_F() local
218 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
226 MockRead reads[] = { in TEST_F() local
231 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
238 MockRead reads[] = { in TEST_F() local
[all …]
/external/chromium_org/jingle/glue/
Dfake_ssl_client_socket_unittest.cc100 std::vector<net::MockRead>* reads, in SetData() argument
104 reads->empty() ? NULL : &*reads->begin(), reads->size(), in SetData()
135 std::vector<net::MockRead> reads; in RunSuccessfulHandshakeTest() local
141 AddChunkedOps(ssl_server_hello, read_chunk_size, mode, &reads); in RunSuccessfulHandshakeTest()
143 reads.push_back( in RunSuccessfulHandshakeTest()
148 SetData(mock_connect, &reads, &writes); in RunSuccessfulHandshakeTest()
197 std::vector<net::MockRead> reads; in RunUnsuccessfulHandshakeTestHelper() local
200 AddChunkedOps(ssl_server_hello, kChunkSize, mode, &reads); in RunUnsuccessfulHandshakeTestHelper()
206 reads.clear(); in RunUnsuccessfulHandshakeTestHelper()
215 reads.clear(); in RunUnsuccessfulHandshakeTestHelper()
[all …]
/external/chromium_org/net/url_request/
Durl_request_ftp_job_unittest.cc227 void AddSocket(MockRead* reads, size_t reads_size, in AddSocket() argument
230 reads, reads_size, writes, writes_size); in AddSocket()
259 MockRead reads[] = { in TEST_F() local
265 AddSocket(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
309 MockRead reads[] = { in TEST_F() local
318 AddSocket(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
346 MockRead reads[] = { in TEST_F() local
360 AddSocket(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
386 MockRead reads[] = { in TEST_F() local
395 AddSocket(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
[all …]
/external/chromium_org/net/quic/
Dquic_stream_factory_test.cc178 MockRead reads[] = { in TEST_F() local
181 DeterministicSocketData socket_data(reads, arraysize(reads), NULL, 0); in TEST_F()
227 MockRead reads[] = { in TEST_F() local
230 DeterministicSocketData socket_data(reads, arraysize(reads), NULL, 0); in TEST_F()
233 DeterministicSocketData socket_data2(reads, arraysize(reads), NULL, 0); in TEST_F()
282 MockRead reads[] = { in TEST_F() local
289 DeterministicSocketData socket_data(reads, arraysize(reads), in TEST_F()
355 MockRead reads[] = { in TEST_F() local
358 DeterministicSocketData socket_data(reads, arraysize(reads), NULL, 0); in TEST_F()
381 MockRead reads[] = { in TEST_F() local
[all …]
/external/chromium/net/http/
Dhttp_proxy_client_socket_pool_unittest.cc147 void Initialize(bool async, MockRead* reads, size_t reads_count, in Initialize() argument
155 data_ = new DeterministicSocketData(reads, reads_count, writes, in Initialize()
243 MockRead reads[] = { in TEST_P() local
264 Initialize(false, reads, arraysize(reads), writes, arraysize(writes), in TEST_P()
305 MockRead reads[] = { in TEST_P() local
309 Initialize(false, reads, arraysize(reads), writes, arraysize(writes), NULL, 0, in TEST_P()
330 MockRead reads[] = { in TEST_P() local
345 Initialize(false, reads, arraysize(reads), writes, arraysize(writes), in TEST_P()
442 MockRead reads[] = { in TEST_P() local
455 Initialize(false, reads, arraysize(reads), writes, arraysize(writes), in TEST_P()
[all …]
/external/qemu/
Diolooper-select.c14 fd_set reads[1]; member
39 FD_ZERO(iol->reads); in iolooper_reset()
94 if (!FD_ISSET(fd, iol->reads) && !FD_ISSET(fd, iol->writes)) in iolooper_fd_count()
110 FD_SET(fd, iol->reads); in iolooper_add_read()
128 FD_CLR(fd, iol->reads); in iolooper_del_read()
158 iol->reads_result[0] = iol->reads[0]; in iolooper_poll()
191 iol->reads_result[0] = iol->reads[0]; in iolooper_wait()
/external/chromium_org/net/websockets/
Dwebsocket_basic_stream_test.cc83 StrictStaticSocketDataProvider(MockRead* reads, in StrictStaticSocketDataProvider() argument
88 : StaticSocketDataProvider(reads, reads_count, writes, writes_count), in StrictStaticSocketDataProvider()
117 scoped_ptr<ClientSocketHandle> MakeTransportSocket(MockRead reads[], in MakeTransportSocket() argument
122 reads, reads_count, writes, writes_count, expect_all_io_to_complete_)); in MakeTransportSocket()
144 void CreateStream(MockRead reads[], in CreateStream() argument
149 MakeTransportSocket(reads, reads_count, writes, writes_count), in CreateStream()
157 void CreateReadOnly(MockRead (&reads)[N]) { in CreateReadOnly()
158 CreateStream(reads, N, NULL, 0); in CreateReadOnly()
314 MockRead reads[] = {MockRead(SYNCHRONOUS, kSampleFrame, 1), in TEST_F() local
316 CreateReadOnly(reads); in TEST_F()
[all …]
/external/chromium_org/third_party/freetype/src/base/
Dftstream.c490 FT_Byte reads[2]; in FT_Stream_ReadUShort() local
503 if ( stream->read( stream, stream->pos, reads, 2L ) != 2L ) in FT_Stream_ReadUShort()
506 p = reads; in FT_Stream_ReadUShort()
537 FT_Byte reads[2]; in FT_Stream_ReadUShortLE() local
550 if ( stream->read( stream, stream->pos, reads, 2L ) != 2L ) in FT_Stream_ReadUShortLE()
553 p = reads; in FT_Stream_ReadUShortLE()
584 FT_Byte reads[3]; in FT_Stream_ReadUOffset() local
597 if (stream->read( stream, stream->pos, reads, 3L ) != 3L ) in FT_Stream_ReadUOffset()
600 p = reads; in FT_Stream_ReadUOffset()
631 FT_Byte reads[4]; in FT_Stream_ReadULong() local
[all …]
/external/freetype/src/base/
Dftstream.c490 FT_Byte reads[2]; in FT_Stream_ReadUShort() local
503 if ( stream->read( stream, stream->pos, reads, 2L ) != 2L ) in FT_Stream_ReadUShort()
506 p = reads; in FT_Stream_ReadUShort()
537 FT_Byte reads[2]; in FT_Stream_ReadUShortLE() local
550 if ( stream->read( stream, stream->pos, reads, 2L ) != 2L ) in FT_Stream_ReadUShortLE()
553 p = reads; in FT_Stream_ReadUShortLE()
584 FT_Byte reads[3]; in FT_Stream_ReadUOffset() local
597 if (stream->read( stream, stream->pos, reads, 3L ) != 3L ) in FT_Stream_ReadUOffset()
600 p = reads; in FT_Stream_ReadUOffset()
631 FT_Byte reads[4]; in FT_Stream_ReadULong() local
[all …]
/external/bison/src/
Dlalr.c161 goto_number **reads = xnmalloc (ngotos, sizeof *reads); in initialize_F() local
186 reads[i] = NULL; in initialize_F()
189 reads[i] = xnmalloc (nedges + 1, sizeof reads[i][0]); in initialize_F()
190 memcpy (reads[i], edge, nedges * sizeof edge[0]); in initialize_F()
191 reads[i][nedges] = END_NODE; in initialize_F()
196 relation_digraph (reads, ngotos, &goto_follows); in initialize_F()
199 free (reads[i]); in initialize_F()
201 free (reads); in initialize_F()

12345678910>>...15