/external/chromium_org/chrome/browser/ |
chrome_browser_main_posix.cc | 59 size_t bytes_written = 0; local 63 reinterpret_cast<const char*>(&signal) + bytes_written, 64 sizeof(signal) - bytes_written)); 66 bytes_written += rv; 67 } while (bytes_written < sizeof(signal));
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
native_message_process_host_unittest.cc | 155 int bytes_written = base::WriteFile( local 157 if (bytes_written < 0 || 158 (message_with_header.size() != static_cast<size_t>(bytes_written))) {
|
/external/chromium_org/chrome/browser/extensions/ |
app_background_page_apitest.cc | 54 int bytes_written = base::WriteFile(manifest_path, local 57 if (bytes_written != static_cast<int>(app_manifest.size())) { 59 << bytes_written;
|
/external/chromium_org/chrome/browser/policy/test/ |
local_policy_test_server.cc | 99 int bytes_written = base::WriteFile( local 104 if (bytes_written != static_cast<int>(signing_key_bits.size())) 110 bytes_written = base::WriteFile( 115 return bytes_written == static_cast<int>(signature.size());
|
/external/chromium_org/chrome/browser/sessions/ |
base_session_service.cc | 30 // |pickle|, if and only if |str| fits within (|max_bytes| - |*bytes_written|). 31 // |bytes_written| is incremented to reflect the data written. 32 void WriteStringToPickle(Pickle& pickle, int* bytes_written, int max_bytes, 35 if (*bytes_written + num_bytes < max_bytes) { 36 *bytes_written += num_bytes; 168 int bytes_written = 0; local 170 WriteStringToPickle(pickle, &bytes_written, max_id_size, extension_id); 188 int bytes_written = 0; local 190 WriteStringToPickle(pickle, &bytes_written, max_user_agent_size, 208 int bytes_written = 0 local [all...] |
/external/chromium_org/chrome/browser/spellchecker/ |
spellcheck_hunspell_dictionary.cc | 41 size_t bytes_written = local 43 if (bytes_written != data->length()) { 50 bytes_written = 52 if (bytes_written == data->length())
|
/external/chromium_org/chrome/utility/extensions/ |
unpacker.cc | 91 int bytes_written = base::WriteFile(dest_path, data, size); local 92 return (bytes_written == size);
|
/external/chromium_org/chromeos/accelerometer/ |
accelerometer_reader.cc | 126 int bytes_written = base::WriteFile( local 128 if (bytes_written < 2) { 129 PLOG(ERROR) << "Accelerometer trigger failure: " << bytes_written;
|
/external/chromium_org/chromeos/process_proxy/ |
process_proxy.cc | 163 int bytes_written = local 166 return (bytes_written == static_cast<int>(data_size));
|
/external/chromium_org/components/sessions/ |
serialized_navigation_entry.cc | 164 // |*bytes_written|). |bytes_written| is incremented to reflect the 170 int* bytes_written, 174 if (*bytes_written + num_bytes < max_bytes) { 175 *bytes_written += num_bytes; 186 int* bytes_written, 190 if (*bytes_written + num_bytes < max_bytes) { 191 *bytes_written += num_bytes; 232 int bytes_written = 0; local 234 WriteStringToPickle(pickle, &bytes_written, max_size [all...] |
/external/chromium_org/content/browser/fileapi/ |
file_system_operation_impl_write_unittest.cc | 104 int64 bytes_written() const { return bytes_written_; } function in class:content::FileSystemOperationImplWriteTest 189 EXPECT_EQ(14, bytes_written()); 203 EXPECT_EQ(0, bytes_written()); 218 EXPECT_EQ(0, bytes_written()); 234 EXPECT_EQ(0, bytes_written()); 255 EXPECT_EQ(0, bytes_written()); 276 EXPECT_EQ(10, bytes_written()); 298 EXPECT_EQ(0, bytes_written()); 322 EXPECT_EQ(0, bytes_written());
|
/external/chromium_org/content/test/net/ |
url_request_slow_download_job.cc | 138 net::IOBuffer* buf, int buf_size, int* bytes_written) { 145 *bytes_written = bytes_to_write; 160 *bytes_written = bytes_to_write; 207 int bytes_written = 0; local 209 FillBufferHelper(buffer_.get(), buffer_size_, &bytes_written); 213 NotifyReadComplete(bytes_written);
|
/external/chromium_org/ipc/ |
ipc_channel_nacl.cc | 283 ssize_t bytes_written = imc_sendmsg(pipe_, &msgh, 0); local 285 DCHECK(bytes_written); // The trusted side shouldn't return 0. 286 if (bytes_written < 0) {
|
/external/chromium_org/media/audio/mac/ |
audio_low_latency_input_mac_unittest.cc | 60 int bytes_written = 0; local 61 while (bytes_written < bytes_to_write_) { 72 bytes_written += chunk_size;
|
/external/chromium_org/mojo/system/ |
message_pipe_dispatcher_unittest.cc | 395 // |*messages_written| and |*bytes_written| belong to the thread while it's 398 size_t* messages_written, size_t* bytes_written) 402 bytes_written_(bytes_written) { 543 size_t bytes_written[kNumWriters]; local 551 new WriterThread(d_write, &messages_written[i], &bytes_written[i])); 578 total_bytes_written += bytes_written[i];
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
fuse_fs_test.cc | 236 int bytes_written; local 237 ASSERT_EQ(0, node->Write(attr, &message[0], strlen(message), &bytes_written)); 238 ASSERT_EQ(bytes_written, strlen(message));
|
html5_fs_test.cc | 255 int bytes_written = 0; local 257 &bytes_written)); 258 EXPECT_EQ(strlen(contents), bytes_written); local 313 int bytes_written = 1; // Set to a non-zero value. local 316 node->Write(attr, &buffer[0], sizeof(buffer), &bytes_written)); 317 ASSERT_EQ(0, bytes_written); 346 int bytes_written = 1; // Set to a non-zero value. local 348 EXPECT_EQ(0, node->Write(attr, "struct", 6, &bytes_written)); 349 EXPECT_EQ(6, bytes_written);
|
http_fs_test.cc | 167 int bytes_written = 1; // Set to a non-zero value. local 168 EXPECT_EQ(EACCES, node->Write(attr, "struct", 6, &bytes_written)); 169 EXPECT_EQ(0, bytes_written);
|
/external/chromium_org/net/quic/ |
quic_data_stream.cc | 50 size_t bytes_written = session()->WriteHeaders( local 57 return bytes_written;
|
/external/chromium_org/net/socket/ |
tcp_server_socket_unittest.cc | 216 size_t bytes_written = 0; local 217 while (bytes_written < message.size()) { 219 new net::IOBufferWithSize(message.size() - bytes_written)); 227 ASSERT_TRUE(bytes_written + write_result <= message.size()); 228 bytes_written += write_result;
|
tcp_socket_unittest.cc | 251 size_t bytes_written = 0; local 252 while (bytes_written < message.size()) { 254 new IOBufferWithSize(message.size() - bytes_written)); 255 memmove(write_buffer->data(), message.data() + bytes_written, 256 message.size() - bytes_written); 263 bytes_written += write_result; 264 ASSERT_TRUE(bytes_written <= message.size());
|
/external/chromium_org/net/tools/flip_server/ |
ring_buffer.cc | 38 int bytes_written = 0; local 44 memcpy(wptr, bytes + bytes_written, wsize); 45 bytes_written += wsize; 50 return bytes_written; 218 int bytes_written = 0; local 229 memcpy(new_buffer + bytes_written, ptr, size); 230 bytes_written += size;
|
/external/chromium_org/ppapi/tests/ |
test_flash_file.cc | 38 DWORD bytes_written = 0; local 40 &bytes_written, NULL); 41 return result && bytes_written == static_cast<DWORD>(contents.size()); 43 ssize_t bytes_written = 0; 45 bytes_written = write(file_handle, contents.c_str(), contents.size()); 46 } while (bytes_written == -1 && errno == EINTR); 47 return bytes_written == static_cast<ssize_t>(contents.size());
|
/external/chromium_org/third_party/webrtc/tools/converter/ |
converter.cc | 121 size_t bytes_written = fwrite(yuv_plane, 1, yuv_plane_size, file); local 123 if (bytes_written != static_cast<size_t>(yuv_plane_size)) { 125 " (%d)\n", static_cast<int>(bytes_written), yuv_plane_size);
|
/external/chromium_org/ui/events/keycodes/ |
keyboard_code_conversion_x.cc | 833 int bytes_written = XLookupString(&xev->xkey, buf, 6, NULL, NULL); local [all...] |