Home
last modified time | relevance | path

Searched refs:written (Results 1 – 25 of 170) sorted by relevance

1234567

/system/memory/lmkd/
Dliblmkd_utils.cpp83 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/
Dtest_http_server.cc169 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/
Dtest_channel_transport.cc151 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/
Dserver_port_factory.cc135 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/
Danalyze_matrix.cpp122 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/
Dast_java_unittest.cpp59 std::string written; in TEST() local
60 ce.Write(CodeWriter::ForString(&written).get()); in TEST()
61 EXPECT_EQ(literal, written); in TEST()
Dast_cpp_unittest.cpp332 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/
Dfile_descriptor.cc58 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/
DSocketClient.cpp218 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/
Dtrusty_modulewrapper.cpp187 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/
Dusb_windows.cpp158 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/
Dpower_test.cpp190 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/
Dsecdiscard.cpp224 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/
Dlogd_test.cpp505 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/
Dvdc.te17 # vdc information is written to shell owned bugreport files
/system/sepolicy/prebuilts/api/27.0/public/
Dvdc.te17 # vdc information is written to shell owned bugreport files
/system/chre/external/
D.clang-format18 # written in.
/system/chre/chre_api/
D.clang-format18 # previously written in.
/system/bt/stack/a2dp/
Da2dp_aac_encoder.cc627 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()
Da2dp_vendor_ldac_encoder.cc632 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/
Dalloc-stress.cpp156 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/
Dproperty.te54 # 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/
Dproperty.te54 # 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/
Dsplit_fiemap_writer.cpp79 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/
DLICENSE9 …o endorse or promote products derived from this software without specific prior written permission.

1234567