/external/e2fsprogs/resize/ |
D | resource_track.c | 43 track->bytes_written = 0; in init_resource_track() 48 track->bytes_written = io_start->bytes_written; in init_resource_track() 105 unsigned long long bytes_written = 0; in print_resource_track() local 110 bytes_written = delta->bytes_written - in print_resource_track() 111 track->bytes_written; in print_resource_track() 112 if (bytes_read == 0 && bytes_written == 0) in print_resource_track() 119 mbytes(bytes_written), in print_resource_track() 120 (double)mbytes(bytes_read + bytes_written) / in print_resource_track()
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetLMBCS.java | 936 int bytes_written; in encodeLoop() local 972 bytes_written = 0; in encodeLoop() 986 bytes_written = 1; in encodeLoop() 989 if (bytes_written == 0) { in encodeLoop() 993 bytes_written = LMBCSConvertUni(LMBCS, uniChar); in encodeLoop() 1003 bytes_written = pLMBCS; in encodeLoop() 1006 … bytes_written = LMBCSConversionWorker(group, LMBCS, uniChar, lastConverterIndex, groups_tried); in encodeLoop() 1008 if (bytes_written == 0) { /* the ambiguous group cases (Strategy 3) */ in encodeLoop() 1014 …bytes_written = LMBCSConversionWorker (ULMBCS_GRP_L1, LMBCS, uniChar, lastConverterIndex, groups_t… in encodeLoop() 1016 if(bytes_written == 0) { in encodeLoop() [all …]
|
/external/icu/icu4c/source/common/ |
D | ucnv_lmb.c | 847 int32_t bytes_written; in _LMBCSFromUnicode() local 889 bytes_written = 0; in _LMBCSFromUnicode() 908 bytes_written = 1; in _LMBCSFromUnicode() 912 if (!bytes_written) in _LMBCSFromUnicode() 921 bytes_written = (int32_t)(pLMBCS - LMBCS); in _LMBCSFromUnicode() 936 bytes_written = (int32_t)(pLMBCS - LMBCS); in _LMBCSFromUnicode() 941 bytes_written = (int32_t)LMBCSConversionWorker ( in _LMBCSFromUnicode() 945 if (!bytes_written) /* the ambiguous group cases (Strategy 3) */ in _LMBCSFromUnicode() 957 bytes_written = LMBCSConversionWorker (extraInfo, in _LMBCSFromUnicode() 961 if(!bytes_written) in _LMBCSFromUnicode() [all …]
|
/external/curl/lib/ |
D | sendf.c | 172 ssize_t bytes_written; in Curl_sendf() local 184 bytes_written=0; in Curl_sendf() 190 result = Curl_write(conn, sockfd, sptr, write_len, &bytes_written); in Curl_sendf() 196 Curl_debug(data, CURLINFO_DATA_OUT, sptr, (size_t)bytes_written, conn); in Curl_sendf() 198 if((size_t)bytes_written != write_len) { in Curl_sendf() 201 write_len -= bytes_written; in Curl_sendf() 202 sptr += bytes_written; in Curl_sendf() 226 ssize_t bytes_written; in Curl_write() local 230 bytes_written = conn->send[num](conn, num, mem, len, &result); in Curl_write() 232 *written = bytes_written; in Curl_write() [all …]
|
D | telnet.c | 347 ssize_t bytes_written; in send_negotiation() local 355 bytes_written = swrite(conn->sock[FIRSTSOCKET], buf, 3); in send_negotiation() 356 if(bytes_written < 0) { in send_negotiation() 928 ssize_t bytes_written; in suboption() local 944 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption() 945 if(bytes_written < 0) { in suboption() 956 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption() 957 if(bytes_written < 0) { in suboption() 984 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption() 985 if(bytes_written < 0) { in suboption() [all …]
|
D | pingpong.c | 162 ssize_t bytes_written; in Curl_pp_vsendf() local 187 bytes_written = 0; in Curl_pp_vsendf() 203 &bytes_written); in Curl_pp_vsendf() 216 s, (size_t)bytes_written, conn); in Curl_pp_vsendf() 218 if(bytes_written != (ssize_t)write_len) { in Curl_pp_vsendf() 222 pp->sendleft = write_len - bytes_written; in Curl_pp_vsendf()
|
/external/libchrome/base/files/ |
D | file_posix.cc | 273 int bytes_written = 0; in Write() local 276 rv = HANDLE_EINTR(pwrite(file_.get(), data + bytes_written, in Write() 277 size - bytes_written, offset + bytes_written)); in Write() 281 bytes_written += rv; in Write() 282 } while (bytes_written < size); in Write() 284 return bytes_written ? bytes_written : rv; in Write() 295 int bytes_written = 0; in WriteAtCurrentPos() local 298 rv = HANDLE_EINTR(write(file_.get(), data + bytes_written, in WriteAtCurrentPos() 299 size - bytes_written)); in WriteAtCurrentPos() 303 bytes_written += rv; in WriteAtCurrentPos() [all …]
|
D | file_unittest.cc | 165 int bytes_written = file.Write(0, data_to_write, 0); in TEST() local 166 EXPECT_EQ(0, bytes_written); in TEST() 169 bytes_written = file.Write(0, data_to_write, kTestDataSize); in TEST() 170 EXPECT_EQ(kTestDataSize, bytes_written); in TEST() 203 bytes_written = file.Write(kOffsetBeyondEndOfFile, in TEST() 205 EXPECT_EQ(kPartialWriteLength, bytes_written); in TEST() 235 int bytes_written = file.Write(0, data_to_write, 0); in TEST() local 236 EXPECT_EQ(0, bytes_written); in TEST() 239 bytes_written = file.Write(0, data_to_write, kTestDataSize); in TEST() 240 EXPECT_EQ(kTestDataSize, bytes_written); in TEST() [all …]
|
/external/dbus/dbus/ |
D | dbus-transport-socket.c | 302 int bytes_written; in write_data_from_auth() local 309 bytes_written = _dbus_write_socket (socket_transport->fd, in write_data_from_auth() 313 if (bytes_written > 0) in write_data_from_auth() 315 _dbus_auth_bytes_sent (transport->auth, bytes_written); in write_data_from_auth() 318 else if (bytes_written < 0) in write_data_from_auth() 525 int bytes_written; in do_writing() local 583 bytes_written = in do_writing() 607 bytes_written = in do_writing() 617 if (bytes_written > 0 && n > 0) in do_writing() 625 bytes_written = in do_writing() [all …]
|
D | dbus-sysdeps-unix.c | 235 int bytes_written; in _dbus_write_socket() local 241 bytes_written = send (fd, data, len, MSG_NOSIGNAL); in _dbus_write_socket() 243 if (bytes_written < 0 && errno == EINTR) in _dbus_write_socket() 246 return bytes_written; in _dbus_write_socket() 435 int bytes_written; in _dbus_write_socket_with_unix_fds_two() 470 bytes_written = sendmsg (fd, &m, 0 in _dbus_write_socket_with_unix_fds_two() 476 if (bytes_written < 0 && errno == EINTR) in _dbus_write_socket_with_unix_fds_two() 480 if (bytes_written > 0) in _dbus_write_socket_with_unix_fds_two() 481 _dbus_verbose_bytes_of_string (buffer, start, bytes_written); in _dbus_write_socket_with_unix_fds_two() 484 return bytes_written; in _dbus_write_socket_with_unix_fds_two() [all …]
|
D | dbus-file-unix.c | 248 int bytes_written; in _dbus_string_save_to_file() local 250 bytes_written = _dbus_write (fd, str, total, in _dbus_string_save_to_file() 253 if (bytes_written <= 0) in _dbus_string_save_to_file() 262 total += bytes_written; in _dbus_string_save_to_file()
|
D | dbus-file-win.c | 293 DWORD bytes_written; in _dbus_string_save_to_file() local 297 &bytes_written, NULL); in _dbus_string_save_to_file() 299 if (res == 0 || bytes_written <= 0) in _dbus_string_save_to_file() 308 total += bytes_written; in _dbus_string_save_to_file()
|
/external/nanopb-c/ |
D | pb_encode.c | 79 stream.bytes_written = 0; in pb_ostream_from_buffer() 90 if (stream->bytes_written + count > stream->max_size) in pb_write() 102 stream->bytes_written += count; in pb_write() 149 size = sizestream.bytes_written; in encode_array() 388 *size = stream.bytes_written; in pb_get_encoded_size() 520 size = substream.bytes_written; in pb_encode_submessage() 528 if (stream->bytes_written + size > stream->max_size) in pb_encode_submessage() 536 substream.bytes_written = 0; in pb_encode_submessage() 543 stream->bytes_written += substream.bytes_written; in pb_encode_submessage() 549 if (substream.bytes_written != size) in pb_encode_submessage()
|
/external/skia/tools/ |
D | embed_resources.py | 49 bytes_written = 0 53 bytes_written += 1 60 .format(index, bytes_written))
|
/external/libweave/third_party/chromium/base/ |
D | logging.cc | 237 size_t bytes_written = 0; in RawLog() local 240 while (bytes_written < message_len) { in RawLog() 242 write(STDERR_FILENO, message + bytes_written, in RawLog() 243 message_len - bytes_written)); in RawLog() 248 bytes_written += rv; in RawLog()
|
/external/webrtc/webrtc/base/ |
D | transformadapter.cc | 107 size_t bytes_written = 0; in Write() local 132 bytes_written = in_len; in Write() 160 if (bytes_written == 0) in Write() 164 *written = bytes_written; in Write()
|
D | bufferqueue.cc | 58 size_t* bytes_written) { in WriteBack() argument 74 if (bytes_written) { in WriteBack() 75 *bytes_written = bytes; in WriteBack()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | byte_array.cc | 90 int32_t bytes_written = InternalPut(index, b, offset, actual_length); in Put() local 91 filled_length_ = std::max<int32_t>(filled_length_, index + bytes_written); in Put() 92 return bytes_written; in Put() 117 int bytes_written = array->Put(index + dst_offset, &(b[0]), 0, bytes_read); in CopyTo() local 118 UNREFERENCED_PARAMETER(bytes_written); in CopyTo()
|
/external/libcxx/src/ |
D | random.cpp | 111 size_t bytes_written; 112 int error = nacl_secure_random(&r, n, &bytes_written); 115 else if (bytes_written != n)
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_libc_test.cc | 97 uptr bytes_written = 0; in TEST() local 98 EXPECT_TRUE(WriteToFile(fd, str1, len1, &bytes_written)); in TEST() 99 EXPECT_EQ(len1, bytes_written); in TEST() 100 EXPECT_TRUE(WriteToFile(fd, str2, len2, &bytes_written)); in TEST() 101 EXPECT_EQ(len2, bytes_written); in TEST()
|
/external/e2fsprogs/e2fsck/ |
D | util.c | 348 track->bytes_written = 0; in init_resource_track() 353 track->bytes_written = io_start->bytes_written; in init_resource_track() 418 unsigned long long bytes_written = 0; in print_resource_track() local 426 bytes_written = delta->bytes_written - in print_resource_track() 427 track->bytes_written; in print_resource_track() 431 mbytes(bytes_read), mbytes(bytes_written), in print_resource_track() 432 (double)mbytes(bytes_read + bytes_written) / in print_resource_track()
|
/external/webrtc/webrtc/test/testsupport/ |
D | frame_writer.cc | 59 size_t bytes_written = fwrite(frame_buffer, 1, frame_length_in_bytes_, in WriteFrame() local 61 if (bytes_written != frame_length_in_bytes_) { in WriteFrame()
|
/external/libchrome/sandbox/linux/suid/ |
D | process_util_linux.c | 76 ssize_t bytes_written = write(fd, buf, len); in AdjustOOMScore() local 78 return (bytes_written == (ssize_t)len); in AdjustOOMScore()
|
/external/webrtc/webrtc/tools/converter/ |
D | converter.cc | 125 size_t bytes_written = fwrite(yuv_plane, 1, yuv_plane_size, file); in AddYUVPlaneToFile() local 127 if (bytes_written != static_cast<size_t>(yuv_plane_size)) { in AddYUVPlaneToFile() 129 " (%d)\n", static_cast<int>(bytes_written), yuv_plane_size); in AddYUVPlaneToFile()
|
/external/bsdiff/ |
D | bspatch.cc | 275 size_t bytes_written; in bspatch() local 276 if (!new_file->Write(temp_new_buf, newsize, &bytes_written)) in bspatch() 278 newsize -= bytes_written; in bspatch() 279 temp_new_buf += bytes_written; in bspatch()
|