/external/libdrm/ |
D | util_double_list.h | 105 #define container_of(ptr, sample, member) \ argument 107 - ((char *)&(sample)->member - (char *)(sample))) 110 #define LIST_FOR_EACH_ENTRY(pos, head, member) \ argument 111 for (pos = container_of((head)->next, pos, member); \ 112 &pos->member != (head); \ 113 pos = container_of(pos->member.next, pos, member)) 115 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ argument 116 for (pos = container_of((head)->next, pos, member), \ 117 storage = container_of(pos->member.next, pos, member); \ 118 &pos->member != (head); \ [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_double_list.h | 115 #define container_of(ptr, sample, member) \ argument 117 - ((char *)&(sample)->member - (char *)(sample))) 120 #define LIST_FOR_EACH_ENTRY(pos, head, member) \ argument 121 for (pos = NULL, pos = container_of((head)->next, pos, member); \ 122 &pos->member != (head); \ 123 pos = container_of(pos->member.next, pos, member)) 125 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ argument 126 for (pos = NULL, pos = container_of((head)->next, pos, member), \ 127 storage = container_of(pos->member.next, pos, member); \ 128 &pos->member != (head); \ [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | list.h | 64 #define offsetof(type, member) ((long) &((type *) 0)->member) argument 67 #define dl_list_entry(item, type, member) \ argument 68 ((type *) ((char *) item - offsetof(type, member))) 70 #define dl_list_first(list, type, member) \ argument 72 dl_list_entry((list)->next, type, member)) 74 #define dl_list_last(list, type, member) \ argument 76 dl_list_entry((list)->prev, type, member)) 78 #define dl_list_for_each(item, list, type, member) \ argument 79 for (item = dl_list_entry((list)->next, type, member); \ 80 &item->member != (list); \ [all …]
|
/external/libnl/include/netlink/ |
D | list.h | 60 #define nl_container_of(ptr, type, member) ({ \ argument 61 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 62 (type *)( (char *)__mptr - ((size_t) &((type *)0)->member));}) 64 #define nl_list_entry(ptr, type, member) \ argument 65 nl_container_of(ptr, type, member) 67 #define nl_list_at_tail(pos, head, member) \ argument 68 ((pos)->member.next == (head)) 70 #define nl_list_at_head(pos, head, member) \ argument 71 ((pos)->member.prev == (head)) 76 #define nl_list_first_entry(head, type, member) \ argument [all …]
|
/external/iptables/libiptc/ |
D | linux_list.h | 15 #define container_of(ptr, type, member) ({ \ argument 16 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 17 (type *)( (char *)__mptr - offsetof(type,member) );}) 330 #define list_entry(ptr, type, member) \ argument 331 container_of(ptr, type, member) 380 #define list_for_each_entry(pos, head, member) \ argument 381 for (pos = list_entry((head)->next, typeof(*pos), member), \ 382 prefetch(pos->member.next); \ 383 &pos->member != (head); \ 384 pos = list_entry(pos->member.next, typeof(*pos), member), \ [all …]
|
/external/guice/core/src/com/google/inject/internal/util/ |
D | Classes.java | 46 public static String toString(Member member) { in toString() argument 47 Class<? extends Member> memberType = Classes.memberType(member); in toString() 50 return member.getDeclaringClass().getName() + "." + member.getName() + "()"; in toString() 52 return member.getDeclaringClass().getName() + "." + member.getName(); in toString() 54 return member.getDeclaringClass().getName() + ".<init>()"; in toString() 63 public static Class<? extends Member> memberType(Member member) { in memberType() argument 64 checkNotNull(member, "member"); in memberType() 66 if (member instanceof Field) { in memberType() 69 } else if (member instanceof Method) { in memberType() 72 } else if (member instanceof Constructor) { in memberType() [all …]
|
D | LineNumbers.java | 87 public Integer getLineNumber(Member member) { in getLineNumber() argument 88 Preconditions.checkArgument(type == member.getDeclaringClass(), in getLineNumber() 89 "Member %s belongs to %s, not %s", member, member.getDeclaringClass(), type); in getLineNumber() 90 return lines.get(memberKey(member)); in getLineNumber() 98 private String memberKey(Member member) { in memberKey() argument 99 checkNotNull(member, "member"); in memberKey() 102 if (member instanceof Field) { in memberKey() 103 return member.getName(); in memberKey() 105 } else if (member instanceof Method) { in memberKey() 106 return member.getName() + org.objectweb.asm.Type.getMethodDescriptor((Method) member); in memberKey() [all …]
|
/external/f2fs-tools/include/ |
D | list.h | 9 #define container_of(ptr, type, member) ({ \ argument 10 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 11 (type *)( (char *)__mptr - offsetof(type,member) );}) 71 #define list_entry(ptr, type, member) \ argument 72 container_of(ptr, type, member) 80 #define list_for_each_entry(pos, head, member) \ argument 81 for (pos = list_entry((head)->next, typeof(*pos), member); \ 82 &pos->member != (head); \ 83 pos = list_entry(pos->member.next, typeof(*pos), member)) 84 #define list_for_each_entry_safe(pos, n, head, member) \ argument [all …]
|
D | f2fs_fs.h | 160 #define DISP(fmt, ptr, member) \ argument 162 printf("%-30s" fmt, #member, ((ptr)->member)); \ 165 #define DISP_u32(ptr, member) \ argument 167 assert(sizeof((ptr)->member) <= 4); \ 169 #member, ((ptr)->member), ((ptr)->member)); \ 172 #define DISP_u64(ptr, member) \ argument 174 assert(sizeof((ptr)->member) == 8); \ 176 #member, ((ptr)->member), ((ptr)->member)); \ 179 #define DISP_utf(ptr, member) \ argument 181 printf("%-30s" "\t\t[%s]\n", #member, ((ptr)->member)); \ [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
D | FastMember.java | 23 protected Member member; field in FastMember 26 protected FastMember(FastClass fc, Member member, int index) { in FastMember() argument 28 this.member = member; in FastMember() 40 return member.getName(); in getName() 48 return member.getModifiers(); in getModifiers() 52 return member.toString(); in toString() 56 return member.hashCode(); in hashCode() 63 return member.equals(((FastMember)o).member); in equals()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Element.java | 40 private final Member member; field in Element 42 <M extends AccessibleObject & Member> Element(M member) { in Element() argument 43 checkNotNull(member); in Element() 44 this.accessibleObject = member; in Element() 45 this.member = member; in Element() 77 return member.getDeclaringClass(); in getDeclaringClass() 81 return member.getName(); in getName() 85 return member.getModifiers(); in getModifiers() 89 return member.isSynthetic(); in isSynthetic() 156 return getOwnerType().equals(that.getOwnerType()) && member.equals(that.member); in equals() [all …]
|
/external/guice/core/src/com/google/inject/spi/ |
D | InjectionPoint.java | 65 private final Member member; field in InjectionPoint 70 this.member = method; in InjectionPoint() 77 this.member = constructor; in InjectionPoint() 85 this.member = field; in InjectionPoint() 106 private ImmutableList<Dependency<?>> forMember(Member member, TypeLiteral<?> type, in forMember() argument 108 Errors errors = new Errors(member); in forMember() 114 for (TypeLiteral<?> parameterType : type.getParameterTypes(member)) { in forMember() 117 Key<?> key = Annotations.getKey(parameterType, member, parameterAnnotations, errors); in forMember() 141 return member; in getMember() 171 return ((AnnotatedElement)member).isAnnotationPresent(Toolable.class); in isToolable() [all …]
|
/external/proguard/src/proguard/obfuscate/ |
D | MemberObfuscator.java | 70 public void visitAnyMember(Clazz clazz, Member member) in visitAnyMember() argument 74 String name = member.getName(clazz); in visitAnyMember() 81 String descriptor = member.getDescriptor(clazz); in visitAnyMember() 95 String newName = newMemberName(member); in visitAnyMember() 113 setNewMemberName(member, newName); in visitAnyMember() 148 static void setFixedNewMemberName(Member member, String name) in setFixedNewMemberName() argument 150 VisitorAccepter lastVisitorAccepter = MethodLinker.lastVisitorAccepter(member); in setFixedNewMemberName() 169 static void setNewMemberName(Member member, String name) in setNewMemberName() argument 171 MethodLinker.lastVisitorAccepter(member).setVisitorInfo(name); in setNewMemberName() 180 static boolean hasFixedNewMemberName(Member member) in hasFixedNewMemberName() argument [all …]
|
D | MemberNameConflictFixer.java | 104 Member member, in visitMember() argument 108 String name = member.getName(clazz); in visitMember() 109 String descriptor = member.getDescriptor(clazz); in visitMember() 123 String newName = MemberObfuscator.newMemberName(member); in visitMember() 134 if (MemberObfuscator.hasFixedNewMemberName(member) && in visitMember() 137 descriptor = member.getDescriptor(clazz); in visitMember() 152 MemberObfuscator.setNewMemberName(member, null); in visitMember() 155 member.accept(clazz, memberObfuscator); in visitMember()
|
/external/proguard/src/proguard/shrink/ |
D | ShortestUsageMark.java | 42 private Member member; field in ShortestUsageMark 84 Member member) in ShortestUsageMark() argument 90 this.member = member; in ShortestUsageMark() 106 this.member = otherUsageMark.member; in ShortestUsageMark() 154 member == null) in acceptClassVisitor() 167 member != null) in acceptMemberVisitor() 169 member.accept(clazz, memberVisitor); in acceptMemberVisitor() 181 (member != null ? member.getName(clazz) : "(none)"); in toString()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.h | 101 #define si_pm4_block_idx(member) \ argument 102 (offsetof(union si_state, named.member) / sizeof(struct si_pm4_state *)) 104 #define si_pm4_bind_state(rctx, member, value) \ argument 106 (rctx)->queued.named.member = (value); \ 109 #define si_pm4_delete_state(rctx, member, value) \ argument 111 if ((rctx)->queued.named.member == (value)) { \ 112 (rctx)->queued.named.member = NULL; \ 115 si_pm4_block_idx(member)); \ 118 #define si_pm4_set_state(rctx, member, value) \ argument 120 if ((rctx)->queued.named.member != (value)) { \ [all …]
|
/external/libevent/include/event2/ |
D | rpc_compat.h | 48 #define EVTAG_ASSIGN(msg, member, args...) \ argument 49 (*(msg)->base->member##_assign)(msg, ## args) 50 #define EVTAG_GET(msg, member, args...) \ argument 51 (*(msg)->base->member##_get)(msg, ## args) 52 #define EVTAG_ADD(msg, member, args...) \ argument 53 (*(msg)->base->member##_add)(msg, ## args) 55 #define EVTAG_LEN(msg, member) ((msg)->member##_length) argument
|
D | rpc.h | 76 #define EVTAG_HAS(msg, member) \ argument 77 ((msg)->member##_set == 1) 88 #define EVTAG_ASSIGN(msg, member, value) \ argument 89 (*(msg)->base->member##_assign)((msg), (value)) 98 #define EVTAG_ASSIGN_WITH_LEN(msg, member, value, len) \ argument 99 (*(msg)->base->member##_assign)((msg), (value), (len)) 108 #define EVTAG_GET(msg, member, pvalue) \ argument 109 (*(msg)->base->member##_get)((msg), (pvalue)) 119 #define EVTAG_GET_WITH_LEN(msg, member, pvalue, plen) \ argument 120 (*(msg)->base->member##_get)((msg), (pvalue), (plen)) [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/beanstalk/ |
D | response.py | 67 for member in response['ConfigurationTemplates']: 68 configuration_template = str(member) 75 for member in response['Versions']: 76 version = str(member) 120 for member in response['ValueOptions']: 121 value_option = str(member) 147 for member in response['OptionSettings']: 148 option_setting = ConfigurationOptionSetting(member) 193 for member in response['AutoScalingGroups']: 194 auto_scaling_group = AutoScalingGroup(member) [all …]
|
/external/iproute2/include/ |
D | hlist.h | 7 #define container_of(ptr, type, member) ({ \ argument 8 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 9 (type *)( (char *)__mptr - offsetof(type,member) );}) 46 #define hlist_entry_safe(ptr, type, member) \ argument 48 ____ptr ? hlist_entry(____ptr, type, member) : NULL; \ 51 #define hlist_for_each_entry(pos, head, member) \ argument 52 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\ 54 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 34 #define set_sb_le64(member, val) (sb.member = cpu_to_le64(val)) argument 35 #define set_sb_le32(member, val) (sb.member = cpu_to_le32(val)) argument 36 #define set_sb_le16(member, val) (sb.member = cpu_to_le16(val)) argument 37 #define get_sb_le64(member) le64_to_cpu(sb.member) argument 38 #define get_sb_le32(member) le32_to_cpu(sb.member) argument 39 #define get_sb_le16(member) le16_to_cpu(sb.member) argument 41 #define set_sb(member, val) \ argument 43 typeof(sb.member) t; \ 45 case 8: set_sb_le64(member, val); break; \ 46 case 4: set_sb_le32(member, val); break; \ [all …]
|
/external/clang/test/SemaCXX/ |
D | qual-id-test.cpp | 13 struct member struct 20 member * operator->() { return 0; } in operator ->() 54 a->member::foo(); in fun() 55 a->A::member::foo(); in fun() 75 (*a)->member::foo(); in fun2() 76 (*a)->A::member::foo(); in fun2() 88 typedef A::member base; // expected-note{{current scope}} in fun4a() 108 a->A::member::foo(); in fun5() 122 a->member::foo(); in fun6()
|
/external/libusb/libusb/ |
D | libusbi.h | 48 #define list_entry(ptr, type, member) \ argument 49 ((type *)((char *)(ptr) - (unsigned long)(&((type *)0L)->member))) 56 #define list_for_each_entry(pos, head, member) \ argument 57 for (pos = list_entry((head)->next, typeof(*pos), member); \ 58 &pos->member != (head); \ 59 pos = list_entry(pos->member.next, typeof(*pos), member)) 61 #define list_for_each_entry_safe(pos, n, head, member) \ argument 62 for (pos = list_entry((head)->next, typeof(*pos), member), \ 63 n = list_entry(pos->member.next, typeof(*pos), member); \ 64 &pos->member != (head); \ [all …]
|
/external/proguard/src/proguard/classfile/util/ |
D | MemberFinder.java | 40 private Member member; field in MemberFinder 85 this.member = null; in findMember() 97 return member; in findMember() 125 this.member = null; in isOverriden() 155 this.member = null; in isShadowed() 190 public void visitAnyMember(Clazz clazz, Member member) in visitAnyMember() argument 193 this.member = member; in visitAnyMember()
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
D | p2.cpp | 53 static T member; // expected-note{{here}} member 77 template<typename T> T N0::X0<T>::member; member in N0::X0<T> 115 NonDefaultConstructible X0<NonDefaultConstructible>::member; member in N0::X0<NonDefaultConstructible> 117 template<> long X0<long>::member = 17; member in N0::X0<long> 119 template<> float X0<float>::member; member in N0::X0<float> 121 template<> double X0<double>::member; member in N0::X0<double> 125 return N0::X0<NonDefaultConstructible>::member; in get_static_member() 128 template<> int N0::X0<int>::member; // expected-warning{{C++11 extension}} member in N0::X0<int> 130 template<> float N0::X0<float>::member = 3.14f; member in N0::X0<float> 133 template<> double N0::X0<double>::member = 3.14; // expected-error{{does not enclose namespace}} member in N1::N0::X0<double>
|