/external/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/ |
D | rt_tgsigqueueinfo01.c | 38 static void sigusr1_handler(int signum, siginfo_t *uinfo, in sigusr1_handler() argument 42 sigval_rcv = uinfo->_sifields._rt.SI_SIGVAL.sival_ptr; in sigusr1_handler() 47 siginfo_t uinfo; in send_rcv_func() local 52 uinfo.si_errno = 0; in send_rcv_func() 53 uinfo.si_code = SI_QUEUE; in send_rcv_func() 54 uinfo._sifields._rt.SI_SIGVAL.sival_ptr = sigval_send; in send_rcv_func() 57 syscall(__NR_gettid), SIGUSR1, &uinfo)); in send_rcv_func() 108 siginfo_t uinfo; in verify_signal_parent_thread() local 114 uinfo.si_errno = 0; in verify_signal_parent_thread() 115 uinfo.si_code = SI_QUEUE; in verify_signal_parent_thread() [all …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_uniforms.c | 66 const struct etna_shader_uniform_info *uinfo = &sobj->uniforms; in etna_uniforms_write() local 70 unsigned size = MIN2(cb->buffer_size, uinfo->const_count * 4); in etna_uniforms_write() 78 for (uint32_t i = 0; i < uinfo->imm_count; i++) { in etna_uniforms_write() 79 switch (uinfo->imm_contents[i]) { in etna_uniforms_write() 81 uniforms[i + uinfo->const_count] = uinfo->imm_data[i]; in etna_uniforms_write() 86 uniforms[i + uinfo->const_count] = in etna_uniforms_write() 87 get_texrect_scale(ctx, frag, uinfo->imm_contents[i], uinfo->imm_data[i]); in etna_uniforms_write() 96 *size = uinfo->const_count + uinfo->imm_count; in etna_uniforms_write()
|
D | etnaviv_compiler.c | 2272 struct etna_shader_uniform_info *uinfo = &sobj->uniforms; in copy_uniform_state_to_shader() local 2274 uinfo->const_count = c->imm_base; in copy_uniform_state_to_shader() 2275 uinfo->imm_count = count; in copy_uniform_state_to_shader() 2276 uinfo->imm_data = mem_dup(c->imm_data, count * sizeof(*c->imm_data)); in copy_uniform_state_to_shader() 2277 uinfo->imm_contents = mem_dup(c->imm_contents, count * sizeof(*c->imm_contents)); in copy_uniform_state_to_shader()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_uniforms.c | 214 struct vc4_shader_uniform_info *uinfo = &shader->uniforms; in vc4_write_uniforms() local 219 cl_ensure_space(&job->uniforms, (uinfo->count + in vc4_write_uniforms() 220 uinfo->num_texture_samples) * 4); in vc4_write_uniforms() 224 uinfo->num_texture_samples); in vc4_write_uniforms() 226 for (int i = 0; i < uinfo->count; i++) { in vc4_write_uniforms() 228 switch (uinfo->contents[i]) { in vc4_write_uniforms() 230 cl_aligned_u32(&uniforms, uinfo->data[i]); in vc4_write_uniforms() 234 gallium_uniforms[uinfo->data[i]]); in vc4_write_uniforms() 252 vc4->clip.ucp[uinfo->data[i] / 4][uinfo->data[i] % 4]); in vc4_write_uniforms() 257 uinfo->data[i]); in vc4_write_uniforms() [all …]
|
D | vc4_program.c | 2484 struct vc4_shader_uniform_info *uinfo = &shader->uniforms; in copy_uniform_state_to_shader() local 2486 uinfo->count = count; in copy_uniform_state_to_shader() 2487 uinfo->data = ralloc_array(shader, uint32_t, count); in copy_uniform_state_to_shader() 2488 memcpy(uinfo->data, c->uniform_data, in copy_uniform_state_to_shader() 2489 count * sizeof(*uinfo->data)); in copy_uniform_state_to_shader() 2490 uinfo->contents = ralloc_array(shader, enum quniform_contents, count); in copy_uniform_state_to_shader() 2491 memcpy(uinfo->contents, c->uniform_contents, in copy_uniform_state_to_shader() 2492 count * sizeof(*uinfo->contents)); in copy_uniform_state_to_shader() 2493 uinfo->num_texture_samples = c->num_texture_samples; in copy_uniform_state_to_shader()
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_uniforms.c | 265 struct v3d_uniform_list *uinfo = &shader->prog_data.base->uniforms; in vc5_write_uniforms() local 273 vc5_cl_ensure_space(&job->indirect, MAX2(uinfo->count, 1) * 4, 4); in vc5_write_uniforms() 281 for (int i = 0; i < uinfo->count; i++) { in vc5_write_uniforms() 283 switch (uinfo->contents[i]) { in vc5_write_uniforms() 285 cl_aligned_u32(&uniforms, uinfo->data[i]); in vc5_write_uniforms() 289 gallium_uniforms[uinfo->data[i]]); in vc5_write_uniforms() 307 vc5->clip.ucp[uinfo->data[i] / 4][uinfo->data[i] % 4]); in vc5_write_uniforms() 312 uinfo->data[i]); in vc5_write_uniforms() 317 uinfo->data[i]); in vc5_write_uniforms() 322 uinfo->data[i]); in vc5_write_uniforms() [all …]
|
/external/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/ |
D | rt_sigqueueinfo01.c | 76 siginfo_t uinfo; in main() local 85 uinfo.si_errno = 0; in main() 86 uinfo.si_code = SI_QUEUE; in main() 88 SIGCHLD, &uinfo)); in main()
|
/external/openssh/openbsd-compat/ |
D | port-uw.c | 137 uinfo_t uinfo; in get_iaf_password() local 138 if (!ia_openinfo(pw->pw_name,&uinfo)) { in get_iaf_password() 139 ia_get_logpwd(uinfo, &pw_password); in get_iaf_password() 142 ia_closeinfo(uinfo); in get_iaf_password()
|
/external/linux-kselftest/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 15 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() argument 17 return syscall(SYS_rt_sigqueueinfo, tgid, sig, uinfo); in sys_rt_sigqueueinfo() 21 int sig, siginfo_t *uinfo) in sys_rt_tgsigqueueinfo() argument 23 return syscall(SYS_rt_tgsigqueueinfo, tgid, tid, sig, uinfo); in sys_rt_tgsigqueueinfo()
|
/external/skia/gm/ |
D | imagefromyuvtextures.cpp | 65 SkImageInfo uinfo = SkImageInfo::MakeA8(kBmpSize / 2, kBmpSize / 2); in onOnceBeforeDraw() local 66 fYUVBmps[1].allocPixels(uinfo); in onOnceBeforeDraw()
|
D | yuvtorgbeffect.cpp | 52 SkImageInfo uinfo = SkImageInfo::MakeA8(USIZE, USIZE); in onOnceBeforeDraw() local 53 bmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
|
/external/skqp/gm/ |
D | imagefromyuvtextures.cpp | 54 SkImageInfo uinfo = SkImageInfo::MakeA8(kBmpSize / 2, kBmpSize / 2); in onOnceBeforeDraw() local 55 fYUVBmps[1].allocPixels(uinfo); in onOnceBeforeDraw()
|
D | yuvtorgbeffect.cpp | 51 SkImageInfo uinfo = SkImageInfo::MakeA8(USIZE, USIZE); in onOnceBeforeDraw() local 52 bmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 390 #define __sanitizer_syscall_pre_rt_sigtimedwait(uthese, uinfo, uts, \ argument 393 (long)(uthese), (long)(uinfo), (long)(uts), (long)(sigsetsize)) 394 #define __sanitizer_syscall_post_rt_sigtimedwait(res, uthese, uinfo, uts, \ argument 397 res, (long)(uthese), (long)(uinfo), (long)(uts), (long)(sigsetsize)) 398 #define __sanitizer_syscall_pre_rt_tgsigqueueinfo(tgid, pid, sig, uinfo) \ argument 400 (long)(sig), (long)(uinfo)) 401 #define __sanitizer_syscall_post_rt_tgsigqueueinfo(res, tgid, pid, sig, uinfo) \ argument 403 res, (long)(tgid), (long)(pid), (long)(sig), (long)(uinfo)) 417 #define __sanitizer_syscall_pre_rt_sigqueueinfo(pid, sig, uinfo) \ argument 419 (long)(uinfo)) [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 702 PRE_SYSCALL(rt_sigtimedwait)(const kernel_sigset_t *uthese, void *uinfo, 708 POST_SYSCALL(rt_sigtimedwait)(long res, const void *uthese, void *uinfo, 711 if (uinfo) POST_WRITE(uinfo, siginfo_t_sz); 715 PRE_SYSCALL(rt_tgsigqueueinfo)(long tgid, long pid, long sig, void *uinfo) {} 718 void *uinfo) { 720 if (uinfo) POST_WRITE(uinfo, siginfo_t_sz); 736 PRE_SYSCALL(rt_sigqueueinfo)(long pid, long sig, void *uinfo) {} 738 POST_SYSCALL(rt_sigqueueinfo)(long res, long pid, long sig, void *uinfo) { 740 if (uinfo) POST_WRITE(uinfo, siginfo_t_sz);
|