Home
last modified time | relevance | path

Searched refs:member (Results 1 – 25 of 907) sorted by relevance

12345678910>>...37

/external/mesa3d/src/util/
Dlist.h174 #define container_of(ptr, sample, member) \ argument
176 - ((char *)&(sample)->member - (char *)(sample)))
179 #define list_first_entry(ptr, type, member) \ argument
180 LIST_ENTRY(type, (ptr)->next, member)
182 #define list_last_entry(ptr, type, member) \ argument
183 LIST_ENTRY(type, (ptr)->prev, member)
186 #define LIST_FOR_EACH_ENTRY(pos, head, member) \ argument
187 for (pos = NULL, pos = container_of((head)->next, pos, member); \
188 &pos->member != (head); \
189 pos = container_of(pos->member.next, pos, member))
[all …]
/external/syslinux/com32/include/linux/
Dlist.h251 #define list_entry(ptr, type, member) \ argument
252 container_of(ptr, type, member)
262 #define list_first_entry(ptr, type, member) \ argument
263 list_entry((ptr)->next, type, member)
323 #define list_for_each_entry(pos, head, member) \ argument
324 for (pos = list_entry((head)->next, typeof(*pos), member); \
325 &pos->member != (head); \
326 pos = list_entry(pos->member.next, typeof(*pos), member))
335 #define list_for_each_entry_safe(pos, n, head, member) \ argument
336 for (pos = list_entry((head)->next, typeof(*pos), member), \
[all …]
/external/ltp/testcases/realtime/include/
Dlist.h252 #define container_of(ptr, type, member) ({ \ argument
253 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
254 (type *)( (char *)__mptr - offsetof(type,member) );})
263 #define list_entry(ptr, type, member) \ argument
264 container_of(ptr, type, member)
300 #define list_for_each_entry(pos, head, member) \ argument
301 for (pos = list_entry((head)->next, typeof(*pos), member); \
302 &pos->member != (head); \
303 pos = list_entry(pos->member.next, typeof(*pos), member))
311 #define list_for_each_entry_reverse(pos, head, member) \ argument
[all …]
/external/junit/src/main/java/org/junit/internal/runners/rules/
DRuleMemberValidator.java97 private void validateMember(FrameworkMember<?> member, List<Throwable> errors) { in validateMember() argument
99 strategy.validate(member, annotation, errors); in validateMember()
137 private static boolean isRuleType(FrameworkMember<?> member) { in isRuleType() argument
138 return isMethodRule(member) || isTestRule(member); in isRuleType()
141 private static boolean isTestRule(FrameworkMember<?> member) { in isTestRule() argument
142 return TestRule.class.isAssignableFrom(member.getType()); in isTestRule()
145 private static boolean isMethodRule(FrameworkMember<?> member) { in isMethodRule() argument
146 return MethodRule.class.isAssignableFrom(member.getType()); in isMethodRule()
160 …void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throwable> e… in validate() argument
167 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate() argument
[all …]
/external/libdrm/
Dutil_double_list.h111 #define container_of(ptr, sample, member) \ argument
113 - ((char *)&((typeof(sample))0)->member))
116 #define LIST_FOR_EACH_ENTRY(pos, head, member) \ argument
117 for (pos = container_of((head)->next, pos, member); \
118 &pos->member != (head); \
119 pos = container_of(pos->member.next, pos, member))
121 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ argument
122 for (pos = container_of((head)->next, pos, member), \
123 storage = container_of(pos->member.next, pos, member); \
124 &pos->member != (head); \
[all …]
/external/wpa_supplicant_8/src/utils/
Dlist.h64 #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/
Dlist.h60 #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/ltp/utils/ffsb-6.0-rc2/
Dlist.h29 #define offsetof(type, member) ((int) &((type *)0)->member) argument
31 #define container_of(ptr, type, member) ({ \ argument
32 const typeof(((type *)0)->member) *__mptr = (ptr); \
33 (type *)((char *)__mptr - offsetof(type, member)); })
35 #define list_entry(ptr, type, member) \ argument
36 container_of(ptr, type, member)
38 #define list_for_each_entry(pos, head, member) \ argument
39 for (pos = list_entry((head)->next, typeof(*pos), member); \
40 pos->member.next, &pos->member != (head); \
41 pos = list_entry(pos->member.next, typeof(*pos), member))
[all …]
/external/iptables/libiptc/
Dlinux_list.h15 #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/libnetfilter_conntrack/include/internal/
Dlinux_list.h18 #define container_of(ptr, type, member) ({ \ argument
19 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
20 (type *)( (char *)__mptr - offsetof(type,member) );})
335 #define list_entry(ptr, type, member) \ argument
336 container_of(ptr, type, member)
385 #define list_for_each_entry(pos, head, member) \ argument
386 for (pos = list_entry((head)->next, typeof(*pos), member), \
387 prefetch(pos->member.next); \
388 &pos->member != (head); \
389 pos = list_entry(pos->member.next, typeof(*pos), member), \
[all …]
/external/libnfnetlink/include/
Dlinux_list.h17 #define container_of(ptr, type, member) ({ \ argument
18 typeof( ((type *)0)->member ) *__mptr = (ptr); \
19 (type *)( (char *)__mptr - offsetof(type,member) );})
334 #define list_entry(ptr, type, member) \ argument
335 container_of(ptr, type, member)
384 #define list_for_each_entry(pos, head, member) \ argument
385 for (pos = list_entry((head)->next, typeof(*pos), member), \
386 prefetch(pos->member.next); \
387 &pos->member != (head); \
388 pos = list_entry(pos->member.next, typeof(*pos), member), \
[all …]
/external/f2fs-tools/include/
Df2fs_fs.h165 #define DISP(fmt, ptr, member) \ argument
167 printf("%-30s" fmt, #member, ((ptr)->member)); \
170 #define DISP_u32(ptr, member) \ argument
172 assert(sizeof((ptr)->member) <= 4); \
174 #member, le32_to_cpu(((ptr)->member)), \
175 le32_to_cpu(((ptr)->member))); \
178 #define DISP_u64(ptr, member) \ argument
180 assert(sizeof((ptr)->member) == 8); \
182 #member, le64_to_cpu(((ptr)->member)), \
183 le64_to_cpu(((ptr)->member))); \
[all …]
Dlist.h9 #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 …]
/external/guice/core/src/com/google/inject/internal/util/
DClasses.java46 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 …]
DLineNumbers.java87 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/guava/guava/src/com/google/common/reflect/
DElement.java40 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/
DInjectionPoint.java65 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/
DMemberObfuscator.java70 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 …]
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_urllib.py100 member = results.get("member")
103 if member:
105 if isinstance(member, list):
106 member = member[0]
109 if member.value in change[1]:
123 for member in members:
125 if member.type == syms.import_as_name:
126 as_name = member.children[2].value
127 member_name = member.children[0].value
129 member_name = member.value
[all …]
/external/syslinux/gpxe/src/include/gpxe/
Dlist.h141 #define list_entry( ptr, type, member ) \ argument
142 container_of ( ptr, type, member )
160 #define list_for_each_entry( pos, head, member ) \ argument
161 for ( pos = list_entry ( (head)->next, typeof ( *pos ), member ); \
162 &pos->member != (head); \
163 pos = list_entry ( pos->member.next, typeof ( *pos ), member ) )
173 #define list_for_each_entry_safe( pos, tmp, head, member ) \ argument
174 for ( pos = list_entry ( (head)->next, typeof ( *pos ), member ), \
175 tmp = list_entry ( pos->member.next, typeof ( *tmp ), member ); \
176 &pos->member != (head); \
[all …]
/external/proguard/src/proguard/shrink/
DShortestUsageMark.java42 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/libevent/include/event2/
Drpc_compat.h48 #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
Drpc.h76 #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/vulkan-validation-layers/
Dunique_objects_generator.py328 for member in members:
329 len = self.getLen(member)
334 for member in members:
336 info = self.getTypeNameTuple(member)
339 cdecl = self.makeCParamDecl(member, 0)
355 ispointer=self.paramIsPointer(member),
358 len=self.getLen(member),
359 … extstructs=member.attrib.get('validextensionstructs') if name == 'pNext' else None,
375 for member in struct_members:
376 if self.isHandleTypeNonDispatchable(member.type):
[all …]
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst38 metatype) initializes :c:member:`~PyTypeObject.tp_itemsize`, which means that its instances (i.e.
42 .. c:member:: PyObject* PyObject._ob_next
57 .. c:member:: Py_ssize_t PyObject.ob_refcnt
72 .. c:member:: PyTypeObject* PyObject.ob_type
95 .. c:member:: Py_ssize_t PyVarObject.ob_size
103 .. c:member:: char* PyTypeObject.tp_name
111 should have the :c:member:`~PyTypeObject.tp_name` initializer ``"P.Q.M.T"``.
122 … If no dot is present, the entire :c:member:`~PyTypeObject.tp_name` field is made accessible as the
131 .. c:member:: Py_ssize_t PyTypeObject.tp_basicsize
137 :c:member:`~PyTypeObject.tp_itemsize` field, types with variable-length instances have a non-zero
[all …]

12345678910>>...37