Home
last modified time | relevance | path

Searched refs:itemSize (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/common/
Duarrsort.c64 uprv_stableBinarySearch(char *array, int32_t limit, void *item, int32_t itemSize, in uprv_stableBinarySearch() argument
72 int32_t diff=cmp(context, item, array+i*itemSize); in uprv_stableBinarySearch()
96 int32_t diff=cmp(context, item, array+start*itemSize); in uprv_stableBinarySearch()
108 doInsertionSort(char *array, int32_t length, int32_t itemSize, in doInsertionSort() argument
113 char *item=array+j*itemSize; in doInsertionSort()
114 int32_t insertionPoint=uprv_stableBinarySearch(array, j, item, itemSize, cmp, context); in doInsertionSort()
121 char *dest=array+insertionPoint*itemSize; in doInsertionSort()
122 uprv_memcpy(pv, item, itemSize); /* v=array[j] */ in doInsertionSort()
123 uprv_memmove(dest+itemSize, dest, (j-insertionPoint)*itemSize); in doInsertionSort()
124 uprv_memcpy(dest, pv, itemSize); /* array[insertionPoint]=v */ in doInsertionSort()
[all …]
Duarrsort.h59 uprv_sortArray(void *array, int32_t length, int32_t itemSize,
98 uprv_stableBinarySearch(char *array, int32_t length, void *item, int32_t itemSize,
/external/v8/test/mjsunit/regress/
Dregress-2646.js31 itemSize = 5, variable
32 heap = new ArrayBuffer(expectedItemsCount * itemSize * 8),
36 storage.push(new Float64Array(heap, 0, itemSize));
/external/glide/library/src/main/java/com/bumptech/glide/util/
DLruCache.java110 final int itemSize = getSize(item); in put() local
111 if (itemSize >= maxSize) { in put()
/external/llvm/lib/Support/
DStringMap.cpp20 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument
21 ItemSize = itemSize; in StringMapImpl()
/external/skia/src/gpu/
DGrAllocator.h29 GrAllocator(size_t itemSize, int itemsPerBlock, void* initialBlock) in GrAllocator() argument
30 : fItemSize(itemSize) in GrAllocator()
/external/llvm/include/llvm/ADT/
DStringMap.h54 explicit StringMapImpl(unsigned itemSize) in StringMapImpl() argument
57 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()
/external/fonttools/Lib/fontTools/ttLib/
D__init__.py982 def getSearchRange(n, itemSize): argument
987 searchRange = (2 ** exponent) * itemSize
989 rangeShift = max(0, n * itemSize - searchRange)
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.cpp472 …ve::WriteAlignedBoolHeader(const CBoolVector &v, unsigned numDefined, Byte type, unsigned itemSize) in WriteAlignedBoolHeader() argument
475 const UInt64 dataSize = (UInt64)numDefined * itemSize + bvSize + 2; in WriteAlignedBoolHeader()
476 SkipAlign(3 + (unsigned)bvSize + (unsigned)GetBigNumberSize(dataSize), itemSize); in WriteAlignedBoolHeader()
D7zOut.h263 …id WriteAlignedBoolHeader(const CBoolVector &v, unsigned numDefined, Byte type, unsigned itemSize);