Home
last modified time | relevance | path

Searched refs:to_send (Results 1 – 5 of 5) sorted by relevance

/external/adhd/cras/src/server/
Dcras_hfp_info.c336 unsigned to_send; in hfp_write() local
340 samples = buf_read_pointer_size(info->playback_buf, &to_send); in hfp_write()
341 if (to_send < info->packet_size) in hfp_write()
343 to_send = info->packet_size; in hfp_write()
346 err = send(info->fd, samples, to_send, 0); in hfp_write()
361 buf_increment_read(info->playback_buf, to_send); in hfp_write()
/external/linux-kselftest/tools/testing/selftests/net/
Dtls.c184 int to_send = strlen(test_str) + 1; in TEST_F() local
193 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F()
194 EXPECT_EQ(recv(self->cfd, recv_buf, to_send, MSG_WAITALL), to_send); in TEST_F()
195 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F()
/external/grpc-grpc/src/core/lib/security/transport/
Dsecurity_handshaker.cc257 grpc_slice to_send = grpc_slice_from_copied_buffer( in on_handshake_next_done_locked() local
260 grpc_slice_buffer_add(&h->outgoing, to_send); in on_handshake_next_done_locked()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/
Dsecurity_handshaker.cc316 grpc_slice to_send = grpc_slice_from_copied_buffer( in OnHandshakeNextDoneLocked() local
319 grpc_slice_buffer_add(&outgoing_, to_send); in OnHandshakeNextDoneLocked()
/external/python/cpython3/Lib/test/
Dtest_logging.py3285 to_send = textwrap.dedent(ConfigFileTest.config1)
3290 self.setup_via_listener(to_send, verify_fail)
3305 self.setup_via_listener(to_send) # no verify callable specified
3323 self.setup_via_listener(to_send[::-1], verify_reverse)