/system/core/lmkd/ |
D | liblmkd_utils.c | 48 int written; in create_memcg() local 67 written = snprintf(buf, sizeof(buf), "%u", pid); in create_memcg() 68 if (__predict_false(written >= (int)sizeof(buf))) { in create_memcg() 69 written = sizeof(buf) - 1; in create_memcg() 71 written = TEMP_FAILURE_RETRY(write(tasks_file, buf, written)); in create_memcg() 74 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 195 written += ret; in WriteHeaders() 210 written += ret; in WriteHeaders() 217 written += ret; in WriteHeaders() 219 return written; in WriteHeaders() 302 size_t written = 0; in HandleGet() local [all …]
|
/system/update_engine/payload_consumer/ |
D | file_descriptor.cc | 51 ssize_t written = 0; in Write() local 57 return (written ? written : ret); in Write() 58 written += ret; in Write() 62 return written; in Write()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | server_port_factory.cc | 139 int written = write(fd, size_buf, 4); in SendResponse() local 140 CHECK(written == 4) << "What happened? written = " << written << "errno =" << errno; in SendResponse() 141 written = write(fd, response.c_str(), size); in SendResponse() 142 …CHECK(written == static_cast<int>(size)) << "What happened? written = " << written << "errno =" <<… in SendResponse()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_channel_transport.cc | 146 int written = write(fd, size_buf, 4); in SendResponse() local 147 CHECK(written == 4) << "What happened? written = " << written << "errno =" << errno; in SendResponse() 148 written = write(fd, response.c_str(), size); in SendResponse() 149 …CHECK(written == static_cast<int>(size)) << "What happened? written = " << written << "errno =" <<… in SendResponse()
|
/system/tools/aidl/ |
D | ast_java_unittest.cpp | 64 std::string written; in TEST() local 65 ce.Write(CodeWriter::ForString(&written).get()); in TEST() 66 EXPECT_EQ(literal, written); in TEST()
|
D | ast_cpp_unittest.cpp | 250 std::string written; in TEST_F() local 251 decl.Write(CodeWriter::ForString(&written).get()); in TEST_F() 252 EXPECT_EQ(literal, written); in TEST_F()
|
/system/libvintf/analyze_matrix/ |
D | analyze_matrix.cpp | 95 bool written = false; in main() local 103 written = true; in main() 119 written = true; in main() 122 if (!written) { in main()
|
/system/core/adb/client/ |
D | main.cpp | 176 DWORD written = 0; in adb_server_main() local 177 if (!WriteFile(ack_reply_handle, ack, bytes_to_write, &written, NULL)) { in adb_server_main() 181 if (written != bytes_to_write) { in adb_server_main() 183 << written << " bytes"; in adb_server_main()
|
D | usb_windows.cpp | 329 unsigned long written = 0; in usb_write() local 340 if (!AdbWriteEndpointSync(handle->adb_write_pipe, (void*)data, (unsigned long)len, &written, in usb_write() 349 D("usb_write got: %ld, expected: %d", written, len); in usb_write() 350 if (written != (unsigned long)len) { in usb_write() 353 D("AdbWriteEndpointSync was supposed to write %d, but only wrote %ld", len, written); in usb_write() 369 return written; in usb_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/tools/aidl/docs/ |
D | making-changes.md | 5 This project was originally written in C, in the Android platform style. 6 It has been substantially re-written in C++, in the Google C++ style.
|
/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/vold/ |
D | secdiscard.cpp | 179 auto written = write(fd, buf, wlen); in overwrite_with_zeros() local 180 if (written < 1) { in overwrite_with_zeros() 184 length -= written; in overwrite_with_zeros()
|
/system/core/logd/tests/ |
D | logd_test.cpp | 607 bool content_wrap = false, content_timeout = false, written = false; in timeout_negative() local 628 written = write(fd, ask.c_str(), len) == (ssize_t)len; in timeout_negative() 629 if (!written) { in timeout_negative() 674 EXPECT_TRUE(written); in timeout_negative() 711 bool content_wrap = false, content_timeout = false, written = false; in TEST() local 742 written = write(fd, ask.c_str(), len) == (ssize_t)len; in TEST() 743 if (!written) { in TEST() 816 EXPECT_TRUE(written); in TEST() 822 _exit(!written + content_wrap + alarm_wrap + !content_timeout + in TEST()
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | vdc.te | 17 # vdc information is written to shell owned bugreport files
|
D | property.te | 62 # control rules written.
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | vdc.te | 17 # vdc information is written to shell owned bugreport files
|
/system/bt/stack/a2dp/ |
D | a2dp_aac_encoder.cc | 588 int written = 0; in a2dp_aac_encode_frames() local 623 written = aac_out_args.numOutBytes; in a2dp_aac_encode_frames() 624 count += written; in a2dp_aac_encode_frames() 625 p_buf->len += written; in a2dp_aac_encode_frames() 639 } while ((written == 0) && nb_frame); in a2dp_aac_encode_frames()
|
D | a2dp_vendor_ldac_encoder.cc | 637 int written = 0; in a2dp_ldac_encode_frames() local 664 packet + count, (int*)&written, (int*)&out_frames); in a2dp_ldac_encode_frames() 678 count += written; in a2dp_ldac_encode_frames() 679 p_buf->len += written; in a2dp_ldac_encode_frames() 692 } while ((written == 0) && nb_frame); in a2dp_ldac_encode_frames()
|
/system/core/fs_mgr/libfiemap_writer/ |
D | split_fiemap_writer.cpp | 64 auto on_progress = [&](uint64_t written, uint64_t) -> bool { in Create() argument 65 uint64_t actual_written = total_bytes_written + written; in Create()
|
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 165 int written = write(sock, lmk_procprio_cmd, sizeof(lmk_procprio_cmd)); in write_oomadj_to_lmkd() local 166 cout << "Wrote " << written << " bytes to lmkd control socket." << endl; in write_oomadj_to_lmkd()
|
/system/netd/resolv/ |
D | NOTICE | 14 without specific prior written permission. 115 without specific prior written permission. 148 without specific prior written permission. 177 without specific prior written permission. 198 specific, written prior permission. 228 without specific prior written permission. 261 without specific prior written permission. 290 without specific prior written permission. 381 specific, written prior permission. 401 the Software or modifications thereof, without specific, written prior
|
/system/chre/external/kiss_fft/ |
D | LICENSE | 9 …o endorse or promote products derived from this software without specific prior written permission.
|
/system/media/audio_route/ |
D | NOTICE | 12 from this software without specific prior written permission.
|