Home
last modified time | relevance | path

Searched refs:member_ptr (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_struct.c52 LLVMValueRef member_ptr; in lp_build_struct_get_ptr() local
57 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, ARRAY_SIZE(indices), ""); in lp_build_struct_get_ptr()
58 lp_build_name(member_ptr, "%s.%s_ptr", LLVMGetValueName(ptr), name); in lp_build_struct_get_ptr()
59 return member_ptr; in lp_build_struct_get_ptr()
69 LLVMValueRef member_ptr; in lp_build_struct_get() local
73 member_ptr = lp_build_struct_get_ptr(gallivm, ptr, member, name); in lp_build_struct_get()
74 res = LLVMBuildLoad(gallivm->builder, member_ptr, ""); in lp_build_struct_get()
Dlp_bld_format_cached.c62 LLVMValueRef member_ptr, cache_access; in update_cache_access() local
67 member_ptr = lp_build_struct_get_ptr(gallivm, ptr, index, ""); in update_cache_access()
68 cache_access = LLVMBuildLoad(builder, member_ptr, "cache_access"); in update_cache_access()
72 LLVMBuildStore(builder, cache_access, member_ptr); in update_cache_access()
116 LLVMValueRef member_ptr, indices[3]; in lookup_cached_pixel() local
121 member_ptr = LLVMBuildGEP(builder, ptr, indices, ARRAY_SIZE(indices), ""); in lookup_cached_pixel()
122 return LLVMBuildLoad(builder, member_ptr, "cache_data"); in lookup_cached_pixel()
132 LLVMValueRef member_ptr, indices[3]; in lookup_tag_data() local
137 member_ptr = LLVMBuildGEP(builder, ptr, indices, ARRAY_SIZE(indices), ""); in lookup_tag_data()
138 return LLVMBuildLoad(builder, member_ptr, "tag_data"); in lookup_tag_data()
/external/kmod/shared/
Dmacro.h34 #define container_of(member_ptr, containing_type, member) \ argument
36 ((char *)(member_ptr) - offsetof(containing_type, member)) \
37 - check_types_match(*(member_ptr), ((containing_type *)0)->member))
/external/clang/test/SemaCXX/
Dvararg-non-pod.cpp213 typedef void(C::*member_ptr)(int, ...); typedef
217 member_ptr get_m_ptr();
221 member_ptr arr_m_ptr[5];
Duninitialized.cpp138 namespace member_ptr { namespace
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h178 #define get_container(member_ptr, container_type, container_member) \ argument
179 (container_type *)((char *)(member_ptr) - offsetof(container_type, container_member))