/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/icu/icu4c/source/common/ |
D | uarrsort.cpp | 75 uprv_stableBinarySearch(char *array, int32_t limit, void *item, int32_t itemSize, in uprv_stableBinarySearch() argument 83 int32_t diff=cmp(context, item, array+i*itemSize); in uprv_stableBinarySearch() 107 int32_t diff=cmp(context, item, array+start*itemSize); in uprv_stableBinarySearch() 119 doInsertionSort(char *array, int32_t length, int32_t itemSize, in doInsertionSort() argument 124 char *item=array+j*itemSize; in doInsertionSort() 125 int32_t insertionPoint=uprv_stableBinarySearch(array, j, item, itemSize, cmp, context); in doInsertionSort() 132 char *dest=array+insertionPoint*itemSize; in doInsertionSort() 133 uprv_memcpy(pv, item, itemSize); /* v=array[j] */ in doInsertionSort() 134 uprv_memmove(dest+itemSize, dest, (j-insertionPoint)*(size_t)itemSize); in doInsertionSort() 135 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/icu/libicu/cts_headers/ |
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/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | StringMap.cpp | 33 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument 34 ItemSize = itemSize; in StringMapImpl()
|
/external/llvm-project/llvm/lib/Support/ |
D | StringMap.cpp | 31 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument 32 ItemSize = itemSize; in StringMapImpl()
|
/external/libxkbcommon/src/ |
D | darray.h | 180 darray_next_alloc(unsigned alloc, unsigned need, unsigned itemSize) in darray_next_alloc() argument 182 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/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-project/llvm/include/llvm/ADT/ |
D | StringMap.h | 42 explicit StringMapImpl(unsigned itemSize) : ItemSize(itemSize) {} in StringMapImpl() argument
|
/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/fonttools/Lib/fontTools/ttLib/ |
D | ttFont.py | 1059 def getSearchRange(n, itemSize=16): argument 1065 searchRange = (2 ** exponent) * itemSize 1067 rangeShift = max(0, n * itemSize - searchRange)
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | StringMap.h | 61 explicit StringMapImpl(unsigned itemSize) in StringMapImpl() argument 62 : ItemSize(itemSize) {} in StringMapImpl()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otConverters.py | 716 getSearchRange(n=numUnits, itemSize=unitSize)
|