/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
MessageFormatTest.java | 56 MessageFormat read = (MessageFormat) in.readObject(); local 57 assertTrue("Not equal: " + format.toPattern(), format.equals(read)); [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
httpbase.cc | 125 size_t read = 0; local 126 ProcessResult result = ProcessData(buffer + *processed, available, read, 128 LOG(LS_VERBOSE) << "Processed data, result: " << result << " read: " 129 << read << " err: " << error; 134 *processed += read; 136 data_size_ -= read; 270 virtual StreamResult Read(void* buffer, size_t buffer_len, 271 size_t* read, int* error) { 307 // adapter from the HttpBase, and further calls to read will either return 317 // Even if we are complete, if some data was read we must return SUCCESS 529 size_t read; local 640 size_t read; local [all...] |
schanneladapter.cc | 431 SChannelAdapter::Read() { 580 size_t read = _min(cb, readable.size()); local 581 memcpy(pv, &readable[0], read); 582 if (size_t remaining = readable.size() - read) { 583 memmove(&readable[0], &readable[read], remaining); 590 return static_cast<int>(read); 653 if (int err = Read()) { 654 Error("Read", err);
|
/external/chromium-trace/trace-viewer/examples/stream_server/ |
standalone.py | 192 def read(self, length): member in class:_StandaloneConnection 193 """Mimic mp_conn.read().""" 195 return self._request_handler.rfile.read(length) [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
standalone.py | 188 def read(self, length): member in class:_StandaloneConnection 189 """Mimic mp_conn.read().""" 191 return self._request_handler.rfile.read(length) [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
appengine_wrappers.py | 16 return AppYamlHelper.ExtractVersion(app_yaml.read()) 104 def read(self): member in class:IsDeadlineExceededError.FakeBlobstore.BlobReader
|
/external/chromium_org/content/renderer/media/ |
buffered_resource_loader.cc | 44 // effectively the largest single read the code path can handle. 49 // fulfill a read. If a read starts more than 2MB away from the data we 50 // currently have in the buffer, we will not wait for buffer to reach the read's 217 void BufferedResourceLoader::Read( 240 // If we're attempting to read past the end of the file, return a zero 243 // This can happen with callees that read in fixed-sized amounts for parsing 262 // fulfill the read request. 272 // If we can serve the request now, do the actual read. 279 // If we expect the read request to be fulfilled later, expand capacity a 677 int read = buffer_.Read(read_buffer_, read_size_); local [all...] |
/external/chromium_org/jingle/glue/ |
chrome_async_socket_unittest.cc | 43 // If there's no read, sets the "has pending read" flag. Otherwise, 44 // pops the next read. 75 // read/write events. 78 // If there is a pending read, completes it with the given read. 79 // Otherwise, queues up the given read. 396 // Read utility fucntions. 399 std::string read; local 404 chrome_async_socket_->Read(buf.get(), buf_size, &len_read) [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_wrap_glibc.cc | 137 OP(read); \ 246 int WRAP(read)(int fd, void *buf, size_t count, size_t *nread) { function 377 CHECK_REAL(read); 378 return REAL(read)(fd, buf, count, nread);
|
/external/chromium_org/net/socket/ |
ssl_server_socket_unittest.cc | 64 int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback) { 94 // Closes the FakeDataChannel. After Close() is called, Read() returns 0, 167 virtual int Read(IOBuffer* buf, int buf_len, 169 // Read random number of bytes. 171 return incoming_->Read(buf, buf_len, callback); 270 // Write then read. 276 int read = client.Read(read_buf.get(), kReadBufSize, CompletionCallback()); local 277 EXPECT_GT(read, 0); 278 EXPECT_LE(read, written) [all...] |
/external/chromium_org/ppapi/tests/ |
test_file_io.cc | 35 # define read _read macro 93 file_io->Read(read_offset, buf, sizeof(buf), callback.GetCallback())); 114 callback.WaitForResult(file_io->Read(offset, 256, callback.GetCallback())); 137 ret = read(fd, buf, sizeof(buf)); 338 // Attempt to read a negative number of bytes; it should fail. 340 callback.WaitForResult(file_io.Read(0, 347 // Read the entire file. 366 // Try to read past the end of the file. 409 // Read from the middle of the file. 435 // This is basically a copy of TestReadWriteSetLength, but with the new Read [all...] |
/external/chromium_org/sandbox/win/src/ |
service_resolver_32.cc | 184 SIZE_T read; local 186 sizeof(function_code), &read)) 189 if (sizeof(function_code) != read) 204 &ki_system_call, sizeof(ki_system_call), &read)) 207 if (sizeof(ki_system_call) != read) 297 SIZE_T read; local 299 sizeof(function_code), &read)) 302 if (sizeof(function_code) != read) 332 SIZE_T read; local 334 sizeof(function_code), &read)) 358 SIZE_T read; local 379 SIZE_T read; local 399 SIZE_T read; local [all...] |
/external/chromium_org/sandbox/win/wow_helper/ |
service64_resolver.cc | 260 SIZE_T read; local 262 sizeof(function_code), &read)) 265 if (sizeof(function_code) != read)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
filesystem_mock.py | 456 def read(self, bytes=None): member in class:ReadableBinaryFileObject 472 def read(self, bytes=-1): member in class:ReadableTextFileObject 473 return self.data.read(bytes)
|
/external/chromium_org/third_party/freetype/src/pshinter/ |
pshrec.c | 13 /* this file you indicate that you have read the license and */ 335 FT_Byte* read = (FT_Byte*)source + ( bit_pos >> 3 ); local 346 if ( read[0] & rmask ) 354 read++; 437 FT_Byte* read; local 454 read = mask2->bytes; 460 write[0] = (FT_Byte)( write[0] | read[0] ); 462 read++;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
httpbase.cc | 125 size_t read = 0; local 126 ProcessResult result = ProcessData(buffer + *processed, available, read, 128 LOG(LS_VERBOSE) << "Processed data, result: " << result << " read: " 129 << read << " err: " << error; 134 *processed += read; 136 data_size_ -= read; 274 virtual StreamResult Read(void* buffer, size_t buffer_len, 275 size_t* read, int* error) { 311 // adapter from the HttpBase, and further calls to read will either return 321 // Even if we are complete, if some data was read we must return SUCCESS 533 size_t read; local 644 size_t read; local [all...] |
opensslstreamadapter.cc | 134 size_t read; local 136 StreamResult result = stream->Read(out, outl, &read, &error); 138 return read; 405 LOG(LS_VERBOSE) << " -- error want read"; 422 StreamResult OpenSSLStreamAdapter::Read(void* data, size_t data_len, 423 size_t* read, int* error) { 424 LOG(LS_VERBOSE) << "OpenSSLStreamAdapter::Read(" << data_len << ")"; 428 return StreamAdapterInterface::Read(data, data_len, read, error) [all...] |
schanneladapter.cc | 428 SChannelAdapter::Read() { 577 size_t read = _min(cb, readable.size()); local 578 memcpy(pv, &readable[0], read); 579 if (size_t remaining = readable.size() - read) { 580 memmove(&readable[0], &readable[read], remaining); 587 return static_cast<int>(read); 650 if (int err = Read()) { 651 Error("Read", err);
|
/external/chromium_org/third_party/pexpect/ |
pexpect.py | 133 """Raised when EOF is read from a child. 139 """Raised when a read time exceeds the timeout. """ 143 ## This is different than a read TIMEOUT because the child process may 318 The maxread attribute sets the read buffer size. This is maximum number 319 of bytes that Pexpect will try to read from a TTY at one time. Setting 322 output are read back from the child. This feature is useful in 329 imcomming buffer each time new data is read from the child. But this is 389 If you need more detail you can also read the self.status member which 422 # max bytes to read at one time into buffer 424 # This is the read buffer. See maxread 894 def read(self, size=-1): member in class:spawn [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFFont.cpp | 156 // able to use skip(), rewind(), or getMemoryBase(). read()ing through 171 size_t read = 0; local 172 while (read < srcLen) { 173 size_t got = srcStream->read((void *)staticStream->getAtPos(), 174 srcLen - read); 178 read += got; 179 staticStream->seek(read); 187 while ((amount = srcStream->read(buf, kBufSize)) > 0) { 581 // Read font into buffer. 585 if (fontData->read(originalFont.begin(), fontSize) == (size_t)fontSize) [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
port.h | 368 inline ssize_t read(int fd, void *buf, size_t count) { function
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
port.h | 365 inline ssize_t read(int fd, void *buf, size_t count) { function
|
/external/clang/test/Analysis/ |
taint-tester.c | 164 ssize_t read; local 165 while ((read = getline(&line, &len, stdin)) != -1) {
|
/external/freetype/src/pshinter/ |
pshrec.c | 13 /* this file you indicate that you have read the license and */ 335 FT_Byte* read = (FT_Byte*)source + ( bit_pos >> 3 ); local 346 if ( read[0] & rmask ) 354 read++; 437 FT_Byte* read; local 454 read = mask2->bytes; 460 write[0] = (FT_Byte)( write[0] | read[0] ); 462 read++;
|
/external/javassist/src/main/javassist/bytecode/ |
CodeAttribute.java | 114 attributes.add(AttributeInfo.read(cp, in));
|