Home
last modified time | relevance | path

Searched refs:msg_buf (Results 1 – 11 of 11) sorted by relevance

/external/libdrm/tests/amdgpu/
Dvcn_tests.c250 struct amdgpu_vcn_bo msg_buf; in amdgpu_cs_vcn_dec_create() local
254 alloc_resource(&msg_buf, 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_create()
255 resources[num_resources++] = msg_buf.handle; in amdgpu_cs_vcn_dec_create()
258 r = amdgpu_bo_cpu_map(msg_buf.handle, (void **)&msg_buf.ptr); in amdgpu_cs_vcn_dec_create()
261 memset(msg_buf.ptr, 0, 4096); in amdgpu_cs_vcn_dec_create()
262 memcpy(msg_buf.ptr, vcn_dec_create_msg, sizeof(vcn_dec_create_msg)); in amdgpu_cs_vcn_dec_create()
266 ib_cpu[len++] = msg_buf.addr; in amdgpu_cs_vcn_dec_create()
268 ib_cpu[len++] = msg_buf.addr >> 32; in amdgpu_cs_vcn_dec_create()
277 free_resource(&msg_buf); in amdgpu_cs_vcn_dec_create()
355 struct amdgpu_vcn_bo msg_buf; in amdgpu_cs_vcn_dec_destroy() local
[all …]
/external/ltp/utils/sctp/func_tests/
Dtest_fragments.c94 void *msg_buf; in main() local
161 msg_buf = test_build_msg(10); in main()
162 outmessage.msg_iov->iov_base = msg_buf; in main()
201 free(msg_buf); in main()
226 msg_buf = test_build_msg(msg_len); in main()
227 outmessage.msg_iov->iov_base = msg_buf; in main()
249 msg_buf = test_build_msg(msg_len); in main()
250 outmessage.msg_iov->iov_base = msg_buf; in main()
279 free(msg_buf); in main()
Dtest_recvmsg.c71 void *msg_buf; in main() local
107 msg_buf = test_build_msg(30000); in main()
108 outmessage.msg_iov->iov_base = msg_buf; in main()
/external/epid-sdk/tools/revokesig/src/
Dmain.c115 char* msg_buf = NULL; // message loaded from msg_file in main() local
207 msg_buf = NewBufferFromFile(msg_file->filename[0], &msg_size); in main()
208 if (!msg_buf) { in main()
212 msg_str = msg_buf; in main()
232 if (msg_buf) { in main()
233 free(msg_buf); in main()
234 msg_buf = NULL; in main()
/external/epid-sdk/example/signmsg/src/
Dmain.c63 char* msg_buf = NULL; // message loaded from msg_file in main() local
204 msg_buf = NewBufferFromFile(msg_file->filename[0], &msg_size); in main()
205 if (!msg_buf) { in main()
209 msg_str = msg_buf; in main()
400 if (msg_buf) free(msg_buf); in main()
/external/iproute2/include/
Dbpf_scm.h31 char msg_buf[BPF_SCM_MSG_SIZE]; member
51 BUILD_BUG_ON(sizeof(msg->msg_buf) < cmsg_ctl_len); in bpf_map_set_init()
52 msg->hdr.msg_control = &msg->msg_buf; in bpf_map_set_init()
/external/ltp/utils/sctp/testlib/
Dsctputil.c314 char *msg_buf, *p; in test_build_msg() local
316 msg_buf = (char *)malloc(len); in test_build_msg()
317 if (!msg_buf) in test_build_msg()
320 p = msg_buf; in test_build_msg()
329 msg_buf[len-1] = '\0'; in test_build_msg()
331 return(msg_buf); in test_build_msg()
/external/epid-sdk/example/verifysig/src/
Dmain.c71 char* msg_buf = NULL; // message loaded from msg_file in main() local
233 msg_buf = NewBufferFromFile(msg_file->filename[0], &msg_size); in main()
234 if (!msg_buf) { in main()
238 msg_str = msg_buf; in main()
503 if (msg_buf) free(msg_buf); in main()
/external/epid-sdk/epid/member/tiny/math/unittests/
Defq-test.cc430 unsigned char const msg_buf[] = {'a', 'b', 'c'}; in TEST() local
431 size_t len = sizeof(msg_buf); in TEST()
433 EXPECT_TRUE(EFqHash(&efq_result, msg_buf, len, hashalg)); in TEST()
443 unsigned char const msg_buf[] = {'a', 'b', 'c'}; in TEST() local
444 size_t len = sizeof(msg_buf); in TEST()
446 EXPECT_TRUE(EFqHash(&efq_result, msg_buf, len, hashalg)); in TEST()
/external/ltp/testcases/kernel/containers/sysvipc/
Dmesgq_nstest.c46 struct msg_buf { struct
/external/oj-libjdwp/src/share/javavm/export/
Djvm.h1006 char * msg_buf,