Lines Matching defs:__counted_by

4 #define __counted_by(f)  __attribute__((counted_by(f)))
14 // __counted_by on struct member pointer in decl attribute position
19 struct size_known * buf __counted_by(count);
25 struct size_unknown * buf __counted_by(count);
31 const struct size_unknown * buf __counted_by(count);
37 void* buf __counted_by(count);
43 void (**fn_ptr)(void) __counted_by(count);
49 fn_ptr_ty* fn_ptr __counted_by(count);
56 void (*fn_ptr)(void) __counted_by(count);
63 fn_ptr_ty fn_ptr __counted_by(count);
74 struct has_unannotated_vla* objects __counted_by(count);
79 int buffer[] __counted_by(count);
88 struct has_annotated_vla* objects __counted_by(count);
94 struct size_known *buf __counted_by(count);
102 struct size_known *buf __counted_by(count);
106 // __counted_by on struct member pointer in type attribute position
113 struct size_known *__counted_by(count) buf;
119 struct size_unknown * __counted_by(count) buf;
125 const struct size_unknown * __counted_by(count) buf;
131 void *__counted_by(count) buf;
139 void (** __counted_by(count) fn_ptr)(void);
145 fn_ptr_ty* __counted_by(count) fn_ptr;
152 void (* __counted_by(count) fn_ptr)(void);
159 fn_ptr_ty __counted_by(count) fn_ptr;
166 void (* __counted_by(count) * fn_ptr)(void);
172 struct has_unannotated_vla *__counted_by(count) objects;
181 struct has_annotated_vla* __counted_by(count) objects;
186 // `__counted_by` can only be nested when used in function parameters.
188 struct size_known *__counted_by(count) *buf;
193 struct size_known **__counted_by(count) buf;
199 struct size_known * __counted_by(count) buf;
207 struct size_known *__counted_by(count) buf;
211 // __counted_by on struct non-pointer members
217 int wrong_ty __counted_by(count);
224 void wrong_ty __counted_by(count);