Searched defs:sortby (Results 1 - 2 of 2) sorted by relevance

/external/strace/
H A Dcount.c135 set_sortby(const char *sortby) argument
137 if (strcmp(sortby, "time") == 0)
139 else if (strcmp(sortby, "calls") == 0)
141 else if (strcmp(sortby, "name") == 0)
143 else if (strcmp(sortby, "nothing") == 0)
146 error_msg_and_die("invalid sortby: '%s'", sortby);
/external/libmtp/src/
H A Dlibmtp.c116 static int sort_storage_by(LIBMTP_mtpdevice_t *device, int const sortby);
2682 static int sort_storage_by(LIBMTP_mtpdevice_t *device,int const sortby) argument
2688 if (sortby == LIBMTP_STORAGE_SORTBY_NOTSORTED)
2699 if (sortby == LIBMTP_STORAGE_SORTBY_FREESPACE && ptr1->FreeSpaceInBytes > ptr2->FreeSpaceInBytes)
2701 if (sortby == LIBMTP_STORAGE_SORTBY_MAXSPACE && ptr1->FreeSpaceInBytes > ptr2->FreeSpaceInBytes)
3708 * @param sortby an integer that determines the sorting of the storage list.
3715 int LIBMTP_Get_Storage(LIBMTP_mtpdevice_t *device, int const sortby) argument
3795 sort_storage_by(device,sortby);

Completed in 333 milliseconds