Searched refs:msg_size (Results 1 - 7 of 7) sorted by relevance

/fuchsia/zircon/system/utest/syslog/
H A Dsyslog_socket_tests.cpp209 int msg_size = sizeof(packet.data) - 4 - 12; local
210 char expected[msg_size];
211 memset(expected, 'a', msg_size - 4);
212 memset(expected + msg_size - 4, '.', 3);
213 expected[msg_size - 1] = 0;
232 int msg_size = sizeof(packet.data) - 4 - 12; local
233 char expected[msg_size];
234 memset(expected, 'a', msg_size - 4);
237 memset(expected + msg_size - 4, '.', 3);
238 expected[msg_size
[all...]
/fuchsia/zircon/kernel/object/
H A Dchannel_dispatcher.cpp157 zx_status_t ChannelDispatcher::Read(uint32_t* msg_size, argument
163 auto max_size = *msg_size;
171 *msg_size = messages_.front().data_size();
174 if (*msg_size > max_size || *msg_handle_count > max_handle_count) {
/fuchsia/zircon/system/core/netsvc/
H A Dnetboot.c158 static size_t msg_size = 0; local
165 msg_size = sizeof(m.hdr);
171 msg_size = sizeof(m.hdr);
177 msg_size = sizeof(m.hdr) + result;
185 udp6_send(&m, msg_size, saddr, sport, dport, false);
/fuchsia/zircon/system/ulib/launchpad/
H A Dlaunchpad.c858 size_t msg_size = sizeof(zx_proc_args_t); local
861 msg_size += sizeof(uint32_t) * num_handles;
862 msg_size += lp->script_args_len;
863 msg_size += lp->args_len;
864 msg_size += lp->env_len;
865 msg_size += lp->names_len;
866 void* msg = malloc(msg_size);
907 *buf_size = msg_size;
915 size_t msg_size; local
918 zx_status_t status = build_message(lp, num_handles, &msg, &msg_size, fals
[all...]
/fuchsia/zircon/kernel/object/include/object/
H A Dchannel_dispatcher.h35 // |msg_size| and |msg_handle_count| are in-out parameters. As input, they specify the maximum
39 zx_status_t Read(uint32_t* msg_size,
/fuchsia/zircon/system/ulib/tftp/
H A Dtftp-test.cpp28 msg_size = msize;
31 msg_data.reset(new uint8_t[msg_size]);
43 size_t msg_size = 0; member in struct:test_state
306 size_t req_file_size = (dir == SEND_FILE) ? ts.msg_size : 0;
769 MODE_OCTET, ts.msg_size, block_size_ptr, timeout_ptr,
950 MODE_OCTET, ts.msg_size, &kBlockSize, &kTimeout, &kWindowSize, ts.out, &ts.outlen,
1448 MODE_OCTET, ts.msg_size, NULL, NULL, NULL, ts.out, &ts.outlen, &ts.timeout);
1494 MODE_OCTET, ts.msg_size, NULL, NULL, NULL, ts.out, &ts.outlen, &ts.timeout);
1547 MODE_OCTET, ts.msg_size, NULL, NULL, NULL, ts.out, &ts.outlen, &ts.timeout);
1590 MODE_OCTET, ts.msg_size, NUL
[all...]
/fuchsia/zircon/system/utest/core/channel/
H A Dchannel.c319 uint32_t msg_size = sizeof(msg); local
321 msg_size, 0, &msg_size, NULL);
326 if (msg_size != sizeof(msg)) {

Completed in 110 milliseconds