Lines Matching refs:attributes
134 static bool match_attributes(const char * const *attributes, in match_attributes() argument
143 for (attr = attributes; attr && *attr; attr++) { in match_attributes()
163 const char * const *attributes = NULL; in match_queries_resource() local
170 if (meta && meta->attributes) { in match_queries_resource()
171 attributes = meta->attributes; in match_queries_resource()
174 if (!attributes) { in match_queries_resource()
187 return match_attributes(attributes, query); in match_queries_resource()
323 static int format_attributes(const char * const *attributes, in format_attributes() argument
331 if (!attributes) { in format_attributes()
336 for (attr = attributes; *attr; attr++) { in format_attributes()
374 const char * const *attributes = NULL; in format_resource() local
388 if (meta && meta->attributes) { in format_resource()
389 attributes = meta->attributes; in format_resource()
392 return format_attributes(attributes, response, remaining, offset, in format_resource()
593 static int format_attributes(const char * const *attributes, in format_attributes() argument
599 if (!attributes) { in format_attributes()
603 for (attr = attributes; *attr; attr++) { in format_attributes()
622 const char * const *attributes = NULL; in format_resource() local
630 if (meta && meta->attributes) { in format_resource()
631 attributes = meta->attributes; in format_resource()
634 return format_attributes(attributes, response); in format_resource()