/external/e2fsprogs/resize/ |
D | resource_track.c | 44 track->bytes_written = 0; in init_resource_track() 49 track->bytes_written = io_start->bytes_written; in init_resource_track() 106 unsigned long long bytes_written = 0; in print_resource_track() local 111 bytes_written = delta->bytes_written - in print_resource_track() 112 track->bytes_written; in print_resource_track() 113 if (bytes_read == 0 && bytes_written == 0) in print_resource_track() 120 mbytes(bytes_written), in print_resource_track() 121 (double)mbytes(bytes_read + bytes_written) / in print_resource_track()
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetLMBCS.java | 942 int bytes_written; in encodeLoop() local 978 bytes_written = 0; in encodeLoop() 992 bytes_written = 1; in encodeLoop() 995 if (bytes_written == 0) { in encodeLoop() 999 bytes_written = LMBCSConvertUni(LMBCS, uniChar); in encodeLoop() 1009 bytes_written = pLMBCS; in encodeLoop() 1012 … bytes_written = LMBCSConversionWorker(group, LMBCS, uniChar, lastConverterIndex, groups_tried); in encodeLoop() 1014 if (bytes_written == 0) { /* the ambiguous group cases (Strategy 3) */ in encodeLoop() 1020 …bytes_written = LMBCSConversionWorker (ULMBCS_GRP_L1, LMBCS, uniChar, lastConverterIndex, groups_t… in encodeLoop() 1022 if(bytes_written == 0) { in encodeLoop() [all …]
|
/external/icu/icu4c/source/common/ |
D | ucnv_lmb.c | 853 int32_t bytes_written; in _LMBCSFromUnicode() local 895 bytes_written = 0; in _LMBCSFromUnicode() 914 bytes_written = 1; in _LMBCSFromUnicode() 918 if (!bytes_written) in _LMBCSFromUnicode() 927 bytes_written = (int32_t)(pLMBCS - LMBCS); in _LMBCSFromUnicode() 942 bytes_written = (int32_t)(pLMBCS - LMBCS); in _LMBCSFromUnicode() 947 bytes_written = (int32_t)LMBCSConversionWorker ( in _LMBCSFromUnicode() 951 if (!bytes_written) /* the ambiguous group cases (Strategy 3) */ in _LMBCSFromUnicode() 963 bytes_written = LMBCSConversionWorker (extraInfo, in _LMBCSFromUnicode() 967 if(!bytes_written) in _LMBCSFromUnicode() [all …]
|
/external/curl/lib/ |
D | sendf.c | 257 ssize_t bytes_written; in Curl_sendf() local 269 bytes_written=0; in Curl_sendf() 275 result = Curl_write(conn, sockfd, sptr, write_len, &bytes_written); in Curl_sendf() 281 Curl_debug(data, CURLINFO_DATA_OUT, sptr, (size_t)bytes_written, conn); in Curl_sendf() 283 if((size_t)bytes_written != write_len) { in Curl_sendf() 286 write_len -= bytes_written; in Curl_sendf() 287 sptr += bytes_written; in Curl_sendf() 311 ssize_t bytes_written; in Curl_write() local 315 bytes_written = conn->send[num](conn, num, mem, len, &result); in Curl_write() 317 *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 | 165 ssize_t bytes_written; in Curl_pp_vsendf() local 190 bytes_written = 0; in Curl_pp_vsendf() 206 &bytes_written); in Curl_pp_vsendf() 219 s, (size_t)bytes_written, conn); in Curl_pp_vsendf() 221 if(bytes_written != (ssize_t)write_len) { in Curl_pp_vsendf() 225 pp->sendleft = write_len - bytes_written; in Curl_pp_vsendf()
|
/external/ltp/testcases/kernel/fs/fs_di/ |
D | frag.c | 48 int bytes_read = 0, bytes_written = 0, fd1 = -1, fd2 = -1; in main() local 84 bytes_written = fwrite(buff, 1, bytes_read, fp_frag1); in main() 85 if (bytes_read != bytes_written) { in main() 90 bytes_written = fwrite(buff, 1, bytes_read, fp_frag2); in main() 91 if (bytes_read != bytes_written) { in main()
|
/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/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLSignatureRawECDSA.java | 93 int bytes_written = in engineSign() local 95 if (bytes_written < 0) { in engineSign() 101 if (bytes_written != output_size) { in engineSign() 102 byte[] newBuffer = new byte[bytes_written]; in engineSign() 103 System.arraycopy(outputBuffer, 0, newBuffer, 0, bytes_written); in engineSign()
|
/external/syslinux/win/ |
D | syslinux.c | 294 DWORD bytes_written; in main() local 420 syslinux_ldlinux_len, &bytes_written, NULL) || in main() 421 bytes_written != syslinux_ldlinux_len) { in main() 426 &bytes_written, NULL) || in main() 427 bytes_written != 2 * ADV_SIZE) { in main() 497 &bytes_written, NULL) in main() 498 || bytes_written != syslinux_ldlinux_len) { in main() 537 syslinux_ldlinuxc32_len, &bytes_written, NULL) || in main() 538 bytes_written != syslinux_ldlinuxc32_len) { in main() 568 if (!WriteFile(f_handle, sectbuf, SECTOR_SIZE, &bytes_written, NULL)) { in main() [all …]
|
/external/stressapptest/src/ |
D | logger.cc | 121 ssize_t bytes_written; in WriteAndDeleteLogLine() local 123 bytes_written = write(log_fd_, line->data(), line->size()); in WriteAndDeleteLogLine() 124 LOGGER_ASSERT(bytes_written == static_cast<ssize_t>(line->size())); in WriteAndDeleteLogLine() 126 bytes_written = write(STDOUT_FILENO, line->data(), line->size()); in WriteAndDeleteLogLine() 127 LOGGER_ASSERT(bytes_written == static_cast<ssize_t>(line->size())); in WriteAndDeleteLogLine()
|
/external/boringssl/src/crypto/base64/ |
D | base64_test.cc | 270 int bytes_written; in TEST_P() local 272 &ctx, out.data() + out_len, &bytes_written, in TEST_P() 280 out_len += bytes_written; in TEST_P() 293 out_len += bytes_written; in TEST_P() 300 int bytes_written; in TEST_P() local 301 int ret = EVP_DecodeFinal(&ctx, out.data() + out_len, &bytes_written); in TEST_P() 303 out_len += bytes_written; in TEST_P()
|
/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/webrtc/webrtc/base/ |
D | bufferqueue.cc | 58 size_t* bytes_written) { in WriteBack() argument 74 if (bytes_written) { in WriteBack() 75 *bytes_written = bytes; in WriteBack()
|
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()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | byte_array.cc | 92 int32_t bytes_written = InternalPut(index, b, offset, actual_length); in Put() local 93 filled_length_ = std::max<int32_t>(filled_length_, index + bytes_written); in Put() 94 return bytes_written; in Put() 119 int bytes_written = array->Put(index + dst_offset, &(b[0]), 0, bytes_read); in CopyTo() local 120 UNREFERENCED_PARAMETER(bytes_written); in CopyTo()
|
/external/libcxx/src/ |
D | random.cpp | 113 size_t bytes_written; 114 int error = nacl_secure_random(&r, n, &bytes_written); 117 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/bsdiff/ |
D | sink_file.cc | 16 bool SinkFile::Write(const void* buf, size_t count, size_t* bytes_written) { in Write() argument 17 *bytes_written = sink_(static_cast<const uint8_t*>(buf), count); in Write()
|
D | buffer_file.cc | 24 bool BufferFile::Write(const void* buf, size_t count, size_t* bytes_written) { in Write() argument 27 *bytes_written = count; in Write()
|
/external/libmojo/mojo/edk/test/ |
D | multiprocess_test_helper_unittest.cc | 38 size_t bytes_written = 0; in WriteByte() local 39 BlockingWrite(handle, &c, 1, &bytes_written); in WriteByte() 40 return bytes_written == 1; in WriteByte()
|
/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()
|