/system/memory/lmkd/ |
D | liblmkd_utils.cpp | 83 int written; in create_memcg() local 102 written = snprintf(buf, sizeof(buf), "%u", pid); in create_memcg() 103 if (__predict_false(written >= (int)sizeof(buf))) { in create_memcg() 104 written = sizeof(buf) - 1; in create_memcg() 106 written = TEMP_FAILURE_RETRY(write(tasks_file, buf, written)); in create_memcg() 109 return (written < 0) ? -3 : 0; in create_memcg()
|
/system/update_engine/ |
D | test_http_server.cc | 169 ssize_t written = write(fd, data, remaining_size); in WriteString() local 170 if (written < 0) { in WriteString() 175 data += written; in WriteString() 176 remaining_size -= written; in WriteString() 187 ssize_t written = 0, ret; in WriteHeaders() local 196 written += ret; in WriteHeaders() 211 written += ret; in WriteHeaders() 218 written += ret; in WriteHeaders() 220 return written; in WriteHeaders() 303 size_t written = 0; in HandleGet() local [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_channel_transport.cc | 151 int written = write(fd, size_buf, 4); in SendResponse() local 152 if (written == -1 && errno == EBADFD) { in SendResponse() 156 ASSERT_LOG(written == 4, "What happened? written = %d errno = %d", written, errno); in SendResponse() 157 written = write(fd, response.c_str(), size); in SendResponse() 158 …ASSERT_LOG(written == static_cast<int>(size), "What happened? written = %d errno = %d", written, e… in SendResponse()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | server_port_factory.cc | 135 int written = write(fd, size_buf, 4); in SendResponse() local 136 ASSERT_LOG(written == 4, "What happened? written = %d errno = %d", written, errno); in SendResponse() 137 written = write(fd, response.c_str(), size); in SendResponse() 138 …ASSERT_LOG(written == static_cast<int>(size), "What happened? written = %d errno = %d", written, e… in SendResponse()
|
/system/libvintf/analyze_matrix/ |
D | analyze_matrix.cpp | 122 bool written = false; in main() local 130 written = true; in main() 139 written = true; in main() 153 written = true; in main() 166 written = true; in main() 169 if (!written) { in main()
|
/system/tools/aidl/ |
D | ast_java_unittest.cpp | 59 std::string written; in TEST() local 60 ce.Write(CodeWriter::ForString(&written).get()); in TEST() 61 EXPECT_EQ(literal, written); in TEST()
|
D | ast_cpp_unittest.cpp | 332 std::string written; in TEST_F() local 333 decl.Write(CodeWriter::ForString(&written).get()); in TEST_F() 334 EXPECT_EQ(literal, written); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | file_descriptor.cc | 58 ssize_t written = 0; in Write() local 64 return (written ? written : ret); in Write() 65 written += ret; in Write() 69 return written; in Write()
|
/system/core/libsysutils/src/ |
D | SocketClient.cpp | 218 size_t written = rc; in sendDataLockedv() local 219 while (current < iovcnt && written >= iov[current].iov_len) { in sendDataLockedv() 220 written -= iov[current].iov_len; in sendDataLockedv() 226 iov[current].iov_base = (char*)iov[current].iov_base + written; in sendDataLockedv() 227 iov[current].iov_len -= written; in sendDataLockedv()
|
/system/core/trusty/utils/acvp/ |
D | trusty_modulewrapper.cpp | 187 size_t written = r; in ForwardResponse() local 188 for (size_t i = iov_done; i < 2 && written > 0; i++) { in ForwardResponse() 191 size_t done = written; in ForwardResponse() 198 written -= done; in ForwardResponse() 205 assert(written == 0); in ForwardResponse()
|
/system/core/fastboot/ |
D | usb_windows.cpp | 158 unsigned long written = 0; in Write() local 168 &written, time_out); in Write() 178 count += written; in Write() 179 len -= written; in Write() 180 data = (const char *)data + written; in Write()
|
/system/core/fs_mgr/libsnapshot/ |
D | power_test.cpp | 190 uint64_t written = 0; in Create() local 191 while (written < s.st_size) { in Create() 192 uint64_t remaining = s.st_size - written; in Create() 202 written += bytes; in Create() 291 uint64_t written = 0; in SetupImages() local 292 while (written < s1.st_size) { in SetupImages() 293 uint64_t remaining = s1.st_size - written; in SetupImages() 303 written += bytes; in SetupImages()
|
/system/vold/ |
D | secdiscard.cpp | 224 auto written = write(fd, buf, wlen); in overwrite_with_zeros() local 225 if (written < 1) { in overwrite_with_zeros() 229 length -= written; in overwrite_with_zeros()
|
/system/logging/logd/ |
D | logd_test.cpp | 505 bool content_wrap = false, content_timeout = false, written = false; in timeout_negative() local 526 written = write(fd, ask.c_str(), len) == (ssize_t)len; in timeout_negative() 527 if (!written) { in timeout_negative() 572 EXPECT_TRUE(written); in timeout_negative() 610 bool content_wrap = false, content_timeout = false, written = false; in TEST() local 641 written = write(fd, ask.c_str(), len) == (ssize_t)len; in TEST() 642 if (!written) { in TEST() 715 EXPECT_TRUE(written); in TEST() 721 _exit(!written + content_wrap + alarm_wrap + !content_timeout + in TEST()
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | vdc.te | 17 # vdc information is written to shell owned bugreport files
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | vdc.te | 17 # vdc information is written to shell owned bugreport files
|
/system/chre/external/ |
D | .clang-format | 18 # written in.
|
/system/chre/chre_api/ |
D | .clang-format | 18 # previously written in.
|
/system/bt/stack/a2dp/ |
D | a2dp_aac_encoder.cc | 627 int written = 0; in a2dp_aac_encode_frames() local 661 written = aac_out_args.numOutBytes; in a2dp_aac_encode_frames() 662 count += written; in a2dp_aac_encode_frames() 663 p_buf->len += written; in a2dp_aac_encode_frames() 677 } while ((written == 0) && nb_frame); in a2dp_aac_encode_frames()
|
D | a2dp_vendor_ldac_encoder.cc | 632 int written = 0; in a2dp_ldac_encode_frames() local 659 packet + count, (int*)&written, (int*)&out_frames); in a2dp_ldac_encode_frames() 673 count += written; in a2dp_ldac_encode_frames() 674 p_buf->len += written; in a2dp_ldac_encode_frames() 687 } while ((written == 0) && nb_frame); in a2dp_ldac_encode_frames()
|
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 156 int written = write(sock, lmk_procprio_cmd, sizeof(lmk_procprio_cmd)); in write_oomadj_to_lmkd() local 157 cout << "Wrote " << written << " bytes to lmkd control socket." << endl; in write_oomadj_to_lmkd()
|
/system/sepolicy/public/ |
D | property.te | 54 # Properties which can't be written outside system 115 # Properties which can be written only by vendor_init 307 # control rules written.
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | property.te | 54 # Properties which can't be written outside system 115 # Properties which can be written only by vendor_init 307 # control rules written.
|
/system/core/fs_mgr/libfiemap/ |
D | split_fiemap_writer.cpp | 79 auto on_progress = [&](uint64_t written, uint64_t) -> bool { in Create() argument 80 uint64_t actual_written = total_bytes_written + written; in Create()
|
/system/chre/external/kiss_fft/ |
D | LICENSE | 9 …o endorse or promote products derived from this software without specific prior written permission.
|