Lines Matching refs:b
164 [](const EncodedField* a, const EncodedField* b) { in SortEncodedFields() argument
165 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedFields()
166 return a->decl->index < b->decl->index; in SortEncodedFields()
173 [](const EncodedMethod* a, const EncodedMethod* b) { in SortEncodedMethods() argument
174 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedMethods()
175 return a->decl->index < b->decl->index; in SortEncodedMethods()
198 IndexItems(strings, [](const own<String>& a, const own<String>& b) { in Normalize() argument
201 return dex::Utf8Cmp(a->c_str(), b->c_str()) < 0; in Normalize()
204 IndexItems(types, [](const own<Type>& a, const own<Type>& b) { in Normalize() argument
206 return a->descriptor->index < b->descriptor->index; in Normalize()
209 IndexItems(protos, [](const own<Proto>& a, const own<Proto>& b) { in Normalize() argument
213 if (a->return_type->index != b->return_type->index) { in Normalize()
214 return a->return_type->index < b->return_type->index; in Normalize()
218 const auto& bParamTypes = b->param_types ? b->param_types->types : empty; in Normalize()
226 IndexItems(fields, [](const own<FieldDecl>& a, const own<FieldDecl>& b) { in Normalize() argument
230 return (a->parent->index != b->parent->index) in Normalize()
231 ? a->parent->index < b->parent->index in Normalize()
232 : (a->name->index != b->name->index) in Normalize()
233 ? a->name->index < b->name->index in Normalize()
234 : a->type->index < b->type->index; in Normalize()
237 IndexItems(methods, [](const own<MethodDecl>& a, const own<MethodDecl>& b) { in Normalize() argument
241 return (a->parent->index != b->parent->index) in Normalize()
242 ? a->parent->index < b->parent->index in Normalize()
243 : (a->name->index != b->name->index) in Normalize()
244 ? a->name->index < b->name->index in Normalize()
245 : a->prototype->index < b->prototype->index; in Normalize()
258 IndexItems(classes, [&](const own<Class>& a, const own<Class>& b) { in Normalize() argument
260 SLICER_CHECK(b->index < classes.size()); in Normalize()
261 SLICER_CHECK(a->index != b->index || a == b); in Normalize()
262 return a->index < b->index; in Normalize()
275 [](const AnnotationElement* a, const AnnotationElement* b) { in Normalize() argument
276 return a->name->index < b->name->index; in Normalize()
285 [](const Annotation* a, const Annotation* b) { in Normalize() argument
286 return a->type->index < b->type->index; in Normalize()
296 [](const FieldAnnotation* a, const FieldAnnotation* b) { in Normalize() argument
297 return a->field_decl->index < b->field_decl->index; in Normalize()
304 [](const MethodAnnotation* a, const MethodAnnotation* b) { in Normalize() argument
305 return a->method_decl->index < b->method_decl->index; in Normalize()
312 [](const ParamAnnotation* a, const ParamAnnotation* b) { in Normalize() argument
313 return a->method_decl->index < b->method_decl->index; in Normalize()