Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 7 of 7) sorted by relevance

/packages/modules/adb/client/
Dincremental.cpp232 int buf_size = 0; in wait_for_installation() local
234 while ((bytes_read = adb_read(read_fd, child_stdout.data() + buf_size, in wait_for_installation()
235 child_stdout.size() - buf_size)) > 0) { in wait_for_installation()
237 fprintf(stdout, "%.*s", bytes_read, child_stdout.data() + buf_size); in wait_for_installation()
239 buf_size += bytes_read; in wait_for_installation()
240 const std::string_view stdout_str(child_stdout.data(), buf_size); in wait_for_installation()
249 if (buf_size >= maxMessageSize) { in wait_for_installation()
257 child_stdout.resize(buf_size + CHUNK_SIZE); in wait_for_installation()
Dline_printer.cpp97 COORD buf_size = { csbi.dwSize.X, 1 }; in Print() local
109 WriteConsoleOutputW(console_, &char_data[0], buf_size, zero_zero, &target); in Print()
/packages/modules/adb/
Dsysdeps_win32_test.cpp115 void TestParseCompleteUTF8(const char* buf, const size_t buf_size, in TestParseCompleteUTF8() argument
119 const size_t complete_bytes = internal::ParseCompleteUTF8(buf, buf + buf_size, in TestParseCompleteUTF8()
Dsysdeps_win32.cpp2652 static int _console_write_utf8(const char* const buf, const size_t buf_size, FILE* stream, in _console_write_utf8() argument
2670 utf8_size = internal::ParseCompleteUTF8(buf, buf + buf_size, &console_output_buffer); in _console_write_utf8()
2676 combined_buffer.insert(combined_buffer.end(), buf, buf + buf_size); in _console_write_utf8()
2712 return buf_size; in _console_write_utf8()
/packages/modules/adb/client/openscreen/platform/
Dudp_socket.cpp282 unsigned int buf_size = sizeof(default_addr); in SetMulticastOutboundInterface() local
283 if (getsockopt(fd_.get(), IPPROTO_IP, IP_MULTICAST_IF, &default_addr, &buf_size) != in SetMulticastOutboundInterface()
299 buf_size = sizeof(default_addr); in SetMulticastOutboundInterface()
300 if (getsockopt(fd_.get(), IPPROTO_IP, IP_MULTICAST_IF, &default_addr, &buf_size) != in SetMulticastOutboundInterface()
/packages/modules/adb/tls/tests/
Dtls_connection_test.cpp547 const size_t buf_size = 256; in TEST_F() local
548 uint8_t buf[buf_size]; in TEST_F()
554 reinterpret_cast<char*>(buf), buf_size), in TEST_F()
/packages/modules/Virtualization/authfs/fd_server/src/
Dmain.rs231 let buf_size = min(remaining, max_size as u64) as usize; in read_into_buf() localVariable
232 let mut buf = vec![0; buf_size]; in read_into_buf()