/external/icu/icu4c/source/common/ |
D | uarrsort.cpp | 69 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 …]
|
D | uarrsort.h | 61 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/ |
D | bag.c | 35 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 …]
|
D | bag.h | 42 struct bag *bagCreateBag(int itemSize, int initialAllocation);
|
/external/epid-sdk/ext/ipp/sources/ippcp/ |
D | pcpbnresourceca.c | 97 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/ |
D | SortedVector.java | 15 SortedVector(int itemSize) { in SortedVector() argument 16 mStorage = new ArrayList<>(itemSize); in SortedVector()
|
D | Chunk.java | 128 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/ |
D | LruCache.java | 110 final int itemSize = getSize(item); in put() local 111 if (itemSize >= maxSize) { in put()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | StringMap.cpp | 19 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument 20 ItemSize = itemSize; in StringMapImpl()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | StringMap.cpp | 34 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument 35 ItemSize = itemSize; in StringMapImpl()
|
/external/llvm/lib/Support/ |
D | StringMap.cpp | 31 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument 32 ItemSize = itemSize; in StringMapImpl()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | StringMap.cpp | 33 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument 34 ItemSize = itemSize; in StringMapImpl()
|
/external/libxkbcommon/xkbcommon/src/ |
D | darray.h | 176 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/ |
D | GrAllocator.h | 31 GrAllocator(size_t itemSize, int itemsPerBlock, void* initialBlock) in GrAllocator() argument 32 : fItemSize(itemSize) in GrAllocator()
|
/external/skia/src/gpu/ |
D | GrAllocator.h | 31 GrAllocator(size_t itemSize, int itemsPerBlock, void* initialBlock) in GrAllocator() argument 32 : fItemSize(itemSize) in GrAllocator()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | StringMap.h | 73 explicit StringMapImpl(unsigned itemSize) : ItemSize(itemSize) { in StringMapImpl() argument
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | StringMap.h | 62 explicit StringMapImpl(unsigned itemSize) in StringMapImpl() argument 65 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()
|
/external/llvm/include/llvm/ADT/ |
D | StringMap.h | 55 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/ |
D | StringMap.h | 62 explicit StringMapImpl(unsigned itemSize) in StringMapImpl() argument 63 : ItemSize(itemSize) {} in StringMapImpl()
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | ttFont.py | 1006 def getSearchRange(n, itemSize=16): argument 1012 searchRange = (2 ** exponent) * itemSize 1014 rangeShift = max(0, n * itemSize - searchRange)
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otConverters.py | 645 getSearchRange(n=numUnits, itemSize=unitSize)
|