/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
Model.java | 209 * @param sortKey Data is sorted in ascending alphabetical order. 214 private static void binarySort(String[] sortKey, boolean[] isDirs, int[] positions, String[] ids) { 218 final String pivotValue = sortKey[start]; 237 final String rhs = sortKey[mid]; 252 sortKey[left + 2] = sortKey[left + 1]; 257 sortKey[left + 1] = sortKey[left]; 263 System.arraycopy(sortKey, left, sortKey, left + 1, n) [all...] |
/external/webrtc/webrtc/system_wrappers/source/ |
sort.cc | 55 *static_cast<TYPE*>(static_cast<const SortKey*>(SORT_KEY_X)->key_)); \ 57 *static_cast<TYPE*>(static_cast<const SortKey*>(SORT_KEY_Y)->key_)); \ 68 qsort((SORT_KEY), (NUM_OF_ELEMENTS), sizeof(SortKey), (COMPARE_FUNC)); \ 75 struct SortKey { 81 struct SortKey { 172 bool operator()(const SortKey<KeyType>& sort_key_x, 173 const SortKey<KeyType>& sort_key_y) const { 180 KeyType operator()(const SortKey<KeyType>& sort_key, 207 SortKey<KeyType>*& ptr_sort_key, 209 ptr_sort_key = new(std::nothrow) SortKey<KeyType>[num_of_elements] [all...] |
/external/icu/icu4c/source/test/cintltst/ |
capitst.h | 86 * Test getting bounds for a sortkey 96 * Test buffer overrun while having smaller buffer for sortkey (j1865)
|
ccolltst.c | 119 log_err("difference between sortkey and compare result for (%s , %s) Keys: %s compare %s\n", aescstrdup(source,-1), aescstrdup(target,-1),
|
callcoll.c | 145 /* this function makes a string with representation of a sortkey */ 146 static char* U_EXPORT2 sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t *len) { 153 const uint8_t *currentSk = sortkey; 238 log_err("Partial sortkey size buffer too small. Please consider increasing the buffer!\n"); 370 /*log_verbose("partial sortkey test piecesize=");*/ 377 log_err("Partial sortkey comparison returned wrong result (%i exp. %i): %s, %s (size %i)\n", 388 log_err("Partial sortkey comparison gets different result when normalization is on: %s, %s (size %i)\n", 425 log_err("SortKey length does not match Expected: %i Got: %i\n",sortklen1, gSortklen1); 426 log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey1, buffer, &len)); 429 log_err("SortKey length does not match Expected: %i Got: %i\n", sortklen2, gSortklen2) [all...] |
/external/icu/icu4c/source/samples/legacy/ |
newcol.cpp | 25 // Very simple example code - sticks a sortkey in the buffer 78 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize);
|
oldcol.cpp | 26 // Very simple example code - sticks a sortkey in the buffer 95 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize);
|
/external/icu/icu4c/source/test/intltest/ |
lcukocol.cpp | 24 #include "unicode/sortkey.h"
|
ficoll.cpp | 23 #include "unicode/sortkey.h"
|
escoll.cpp | 25 #include "unicode/sortkey.h"
|
trcoll.cpp | 14 #include "unicode/sortkey.h"
|
tscoll.cpp | 23 #include "unicode/sortkey.h" 206 log("partial sortkey test piecesize="); 213 errln("Partial sortkey comparison returned wrong result: "+source+", "+target+" (size "+partialSizes[i]+")"); 222 errln("Partial sortkey comparison gets different result when normalization is on: "+source+", "+target+" (size "+partialSizes[i]+")");
|
ucaconf.cpp | 18 #include "unicode/sortkey.h" 241 errln("Difference between coll->compare (%d) and sortkey compare (%d) on line %i",
|
/frameworks/support/compat/kitkat/android/support/v4/app/ |
NotificationCompatKitKat.java | 46 String sortKey, RemoteViews contentView, RemoteViews bigContentView) { 92 if (sortKey != null) { 93 mExtras.putString(NotificationCompatJellybean.EXTRA_SORT_KEY, sortKey);
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
ContactSectionIndexer.java | 143 final String sortKey = cursor.getString(ContactUtil.INDEX_SORT_KEY); 144 final String section = TextUtils.isEmpty(sortKey) ? BLANK_HEADER_STRING : 145 sortKey.substring(0, 1).toUpperCase();
|
/external/icu/icu4c/source/test/hdrtst/ |
cxxfiles.txt | 83 sortkey.h
|
/frameworks/support/compat/jellybean/android/support/v4/app/ |
NotificationCompatJellybean.java | 42 static final String EXTRA_SORT_KEY = "android.support.sortKey"; 80 Bundle extras, String groupKey, boolean groupSummary, String sortKey, 122 if (sortKey != null) { 123 mExtras.putString(EXTRA_SORT_KEY, sortKey);
|
/prebuilts/go/darwin-x86/src/runtime/ |
select.go | 259 for j > 0 && lockorder[(j-1)/2].sortkey() < c.sortkey() { 275 if k+1 < i && lockorder[k].sortkey() < lockorder[k+1].sortkey() { 278 if c.sortkey() < lockorder[k].sortkey() { 289 if lockorder[i].sortkey() > lockorder[i+1].sortkey() { 600 func (c *hchan) sortkey() uintptr { func
|
/prebuilts/go/linux-x86/src/runtime/ |
select.go | 259 for j > 0 && lockorder[(j-1)/2].sortkey() < c.sortkey() { 275 if k+1 < i && lockorder[k].sortkey() < lockorder[k+1].sortkey() { 278 if c.sortkey() < lockorder[k].sortkey() { 289 if lockorder[i].sortkey() > lockorder[i+1].sortkey() { 600 func (c *hchan) sortkey() uintptr { func
|
/frameworks/support/compat/api20/android/support/v4/app/ |
NotificationCompatApi20.java | 45 String sortKey, RemoteViews contentView, RemoteViews bigContentView) { 75 .setSortKey(sortKey);
|
/frameworks/support/compat/api24/android/support/v4/app/ |
NotificationCompatApi24.java | 60 String sortKey, CharSequence[] remoteInputHistory, RemoteViews contentView, 92 .setSortKey(sortKey)
|
/external/opencv3/modules/cudabgsegm/src/cuda/ |
mog.cu | 321 void mog_withLearning_caller(PtrStepSzb frame, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzf sortKey, PtrStepSzb mean, PtrStepSzb var, 331 weight, sortKey, (PtrStepSz<WorkT>) mean, (PtrStepSz<WorkT>) var, 343 void mog_gpu(PtrStepSzb frame, int cn, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzf sortKey, PtrStepSzb mean, PtrStepSzb var, int nmixtures, float varThreshold, float learningRate, float backgroundRatio, float noiseSigma, cudaStream_t stream) 346 typedef void (*withLearning_t)(PtrStepSzb frame, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzf sortKey, PtrStepSzb mean, PtrStepSzb var, int nmixtures, float varThreshold, float backgroundRatio, float learningRate, float minVar, cudaStream_t stream); 360 withLearning[cn](frame, fgmask, weight, sortKey, mean, var, nmixtures, varThreshold, backgroundRatio, learningRate, minVar, stream);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/ |
DreamBackend.java | 294 return sortKey(lhs).compareTo(sortKey(rhs)); 297 private String sortKey(DreamInfo di) {
|
/external/icu/icu4c/source/i18n/ |
sortkey.cpp | 9 // File sortkey.cpp 34 #include "unicode/sortkey.h"
|
/frameworks/support/compat/api21/android/support/v4/app/ |
NotificationCompatApi21.java | 71 String sortKey, RemoteViews contentView, RemoteViews bigContentView, 102 .setSortKey(sortKey)
|