Home
last modified time | relevance | path

Searched refs:sort_func (Results 1 – 5 of 5) sorted by relevance

/external/toolchain-utils/bestflags/
Dgenetic_algorithm.py257 sort_func = lambda task: task.GetTestResult() function
258 retained_tasks = sorted(gen_tasks, key=sort_func)[:target_len]
/external/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc381 PyObject* sort_func = PyDict_GetItemString(kwds, "sort_function"); in Sort() local
382 if (sort_func != NULL) { in Sort()
385 PyDict_SetItemString(kwds, "cmp", sort_func); in Sort()
Drepeated_scalar_container.cc606 PyObject* sort_func = PyDict_GetItemString(kwds, "sort_function"); in Sort() local
607 if (sort_func != NULL) { in Sort()
610 if (PyDict_SetItemString(kwds, "cmp", sort_func) == -1) in Sort()
/external/libchrome/third_party/jinja2/
Dfilters.py234 def sort_func(item): function
242 return sorted(value.items(), key=sort_func, reverse=reverse)
/external/v8/tools/
Dcallstats.py441 sort_func = sort_asc_func if args.sort == "asc" else sort_desc_func
443 L = [item for item in sorted(S.items(), key=sort_func)