Home
last modified time | relevance | path

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

/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/icu/icu4c/source/common/
Duarrsort.cpp75 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 …]
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/icu/libicu/cts_headers/
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/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStringMap.cpp33 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument
34 ItemSize = itemSize; in StringMapImpl()
/external/llvm-project/llvm/lib/Support/
DStringMap.cpp31 StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { in StringMapImpl() argument
32 ItemSize = itemSize; in StringMapImpl()
/external/libxkbcommon/src/
Ddarray.h180 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/
DGrAllocator.h31 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/
DStringMap.h62 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/
DStringMap.h42 explicit StringMapImpl(unsigned itemSize) : ItemSize(itemSize) {} in StringMapImpl() argument
/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/fonttools/Lib/fontTools/ttLib/
DttFont.py1059 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/
DStringMap.h61 explicit StringMapImpl(unsigned itemSize) in StringMapImpl() argument
62 : ItemSize(itemSize) {} in StringMapImpl()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py716 getSearchRange(n=numUnits, itemSize=unitSize)