HomeSort by relevance Sort by last modified time
    Searched refs:sort_func (Results 1 - 4 of 4) sorted by null

  /external/toolchain-utils/bestflags/
genetic_algorithm.py 257 sort_func = lambda task: task.GetTestResult()
258 retained_tasks = sorted(gen_tasks, key=sort_func)[:target_len]
  /external/protobuf/python/google/protobuf/pyext/
repeated_composite_container.cc 381 PyObject* sort_func = PyDict_GetItemString(kwds, "sort_function"); local
382 if (sort_func != NULL) {
383 // Must set before deleting as sort_func is a borrowed reference
385 PyDict_SetItemString(kwds, "cmp", sort_func);
repeated_scalar_container.cc 606 PyObject* sort_func = PyDict_GetItemString(kwds, "sort_function");
607 if (sort_func != NULL) {
608 // Must set before deleting as sort_func is a borrowed reference
610 if (PyDict_SetItemString(kwds, "cmp", sort_func) == -1)
  /external/v8/tools/
callstats.py 441 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)

Completed in 428 milliseconds