Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Duarrsort.cpp69 uprv_stableBinarySearch(char *array, int32_t limit, void *item, int32_t itemSize, in uprv_stableBinarySearch() argument
77 int32_t diff=cmp(context, item, array+i*itemSize); in uprv_stableBinarySearch()
101 int32_t diff=cmp(context, item, array+start*itemSize); in uprv_stableBinarySearch()
113 doInsertionSort(char *array, int32_t length, int32_t itemSize, in doInsertionSort() argument
118 char *item=array+j*itemSize; in doInsertionSort()
119 int32_t insertionPoint=uprv_stableBinarySearch(array, j, item, itemSize, cmp, context); in doInsertionSort()
126 char *dest=array+insertionPoint*itemSize; in doInsertionSort()
127 uprv_memcpy(pv, item, itemSize); /* v=array[j] */ in doInsertionSort()
128 uprv_memmove(dest+itemSize, dest, (j-insertionPoint)*(size_t)itemSize); in doInsertionSort()
129 uprv_memcpy(dest, pv, itemSize); /* array[insertionPoint]=v */ in doInsertionSort()
[all …]
Duarrsort.h61 uprv_sortArray(void *array, int32_t length, int32_t itemSize,
100 uprv_stableBinarySearch(char *array, int32_t length, void *item, int32_t itemSize,
/external/oj-libjdwp/src/share/back/
Dbag.c35 int itemSize; /* size of each item, should init to sizeof item */ member
39 bagCreateBag(int itemSize, int initialAllocation) { in bagCreateBag() argument
44 itemSize = (itemSize + 7) & ~7; /* fit 8 byte boundary */ in bagCreateBag()
45 theBag->items = jvmtiAllocate(initialAllocation * itemSize); in bagCreateBag()
52 theBag->itemSize = itemSize; in bagCreateBag()
59 struct bag *newBag = bagCreateBag(oldBag->itemSize, in bagDup()
63 (void)memcpy(newBag->items, oldBag->items, newBag->used * newBag->itemSize); in bagDup()
81 int itemSize = theBag->itemSize; in bagFind() local
82 char *itemsEnd = items + (itemSize * theBag->used); in bagFind()
84 for (; items < itemsEnd; items += itemSize) { in bagFind()
[all …]
Dbag.h42 struct bag *bagCreateBag(int itemSize, int initialAllocation);
/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpbnresourceca.c97 int itemSize; in cpBigNumListInit() local
101 ippsBigNumGetSize(bnLen, &itemSize); in cpBigNumListInit()
103 itemSize += sizeof(BigNumNode); in cpBigNumListInit()
108 BigNumNode* pNode = (BigNumNode*)( (Ipp8u*)pList + (nodes-1)*itemSize ); in cpBigNumListInit()
116 pNode = (BigNumNode*)( (Ipp8u*)pNode - itemSize); in cpBigNumListInit()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DSortedVector.java15 SortedVector(int itemSize) { in SortedVector() argument
16 mStorage = new ArrayList<>(itemSize); in SortedVector()
DChunk.java128 public Iterator(WithOffset buf, int itemSize) { in Iterator() argument
130 this.len_ = itemSize; in Iterator()
/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/swiftshader/third_party/LLVM/lib/Support/
DStringMap.cpp19 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument
20 ItemSize = itemSize; in StringMapImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DStringMap.cpp34 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument
35 ItemSize = itemSize; in StringMapImpl()
/external/llvm/lib/Support/
DStringMap.cpp31 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument
32 ItemSize = itemSize; in StringMapImpl()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringMap.cpp33 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument
34 ItemSize = itemSize; in StringMapImpl()
/external/libxkbcommon/xkbcommon/src/
Ddarray.h176 darray_next_alloc(unsigned alloc, unsigned need, unsigned itemSize) in darray_next_alloc() argument
178 assert(need < UINT_MAX / itemSize / 2); /* Overflow. */ in darray_next_alloc()
/external/skqp/src/gpu/
DGrAllocator.h31 GrAllocator(size_t itemSize, int itemsPerBlock, void* initialBlock) in GrAllocator() argument
32 : fItemSize(itemSize) in GrAllocator()
/external/skia/src/gpu/
DGrAllocator.h31 GrAllocator(size_t itemSize, int itemsPerBlock, void* initialBlock) in GrAllocator() argument
32 : fItemSize(itemSize) in GrAllocator()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringMap.h73 explicit StringMapImpl(unsigned itemSize) : ItemSize(itemSize) { in StringMapImpl() argument
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h62 explicit StringMapImpl(unsigned itemSize) in StringMapImpl() argument
65 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()
/external/llvm/include/llvm/ADT/
DStringMap.h55 explicit StringMapImpl(unsigned itemSize) in StringMapImpl() argument
58 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringMap.h62 explicit StringMapImpl(unsigned itemSize) in StringMapImpl() argument
63 : ItemSize(itemSize) {} in StringMapImpl()
/external/fonttools/Lib/fontTools/ttLib/
DttFont.py1006 def getSearchRange(n, itemSize=16): argument
1012 searchRange = (2 ** exponent) * itemSize
1014 rangeShift = max(0, n * itemSize - searchRange)
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py645 getSearchRange(n=numUnits, itemSize=unitSize)