Home
last modified time | relevance | path

Searched refs:sort_func (Results 1 - 8 of 8) sorted by relevance

/third_party/libwebsockets/lib/misc/lwsac/
H A Dlwsac.c30 lws_list_ptr_sort_func_t sort_func) in lws_list_ptr_insert()
32 while (sort_func && *head) { in lws_list_ptr_insert()
33 if (sort_func(add, *head) <= 0) in lws_list_ptr_insert()
29 lws_list_ptr_insert(lws_list_ptr *head, lws_list_ptr *add, lws_list_ptr_sort_func_t sort_func) lws_list_ptr_insert() argument
/third_party/protobuf/python/google/protobuf/pyext/
H A Drepeated_composite_container.cc422 PyObject* sort_func = PyDict_GetItemString(kwds, "sort_function"); in Subscript() local
423 if (sort_func != NULL) { in Subscript()
424 // Must set before deleting as sort_func is a borrowed reference in Subscript()
426 PyDict_SetItemString(kwds, "cmp", sort_func); in Subscript()
H A Drepeated_scalar_container.cc602 PyObject* sort_func = PyDict_GetItemString(kwds, "sort_function"); in Subscript() local
603 if (sort_func != NULL) { in Subscript()
604 // Must set before deleting as sort_func is a borrowed reference in Subscript()
606 if (PyDict_SetItemString(kwds, "cmp", sort_func) == -1) in Subscript()
/third_party/node/deps/v8/third_party/jinja2/
H A Dfilters.py290 def sort_func(item): function
298 return sorted(value.items(), key=sort_func, reverse=reverse)
/third_party/node/tools/inspector_protocol/jinja2/
H A Dfilters.py234 def sort_func(item): function
242 return sorted(value.items(), key=sort_func, reverse=reverse)
/third_party/skia/third_party/externals/jinja2/
H A Dfilters.py290 def sort_func(item): function
298 return sorted(value.items(), key=sort_func, reverse=reverse)
/third_party/node/deps/v8/tools/
H A Dcallstats.py451 sort_func = sort_asc_func if args.sort == "asc" else sort_desc_func
453 L = [item for item in sorted(S.items(), key=sort_func)
/third_party/jinja2/
H A Dfilters.py359 def sort_func(item: t.Tuple[t.Any, t.Any]) -> t.Any: function
367 return sorted(value.items(), key=sort_func, reverse=reverse)

Completed in 10 milliseconds