Searched refs:elementCount (Results 1 - 25 of 27) sorted by relevance

12

/haiku/src/tests/system/kernel/swap/
H A Dswap_test_heap.cpp34 size_t elementCount = allocationSize / 4; local
35 size_t pageCount = elementCount / PAGE_ELEMENT_COUNT;
48 for (size_t i = 0; i < elementCount; i++) {
66 for (size_t i = 0; i < elementCount; i++) {
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DAllocationInfo.h16 size_t elementSize, size_t elementCount);
19 size_t elementCount);
H A DAllocationInfo.cpp54 size_t elementSize, size_t elementCount)
58 fNodeTableElementCount += elementCount;
66 size_t elementCount)
70 fDirectoryEntryTableElementCount += elementCount;
53 AddNodeTableAllocation(size_t arraySize, size_t vectorSize, size_t elementSize, size_t elementCount) argument
63 AddDirectoryEntryTableAllocation(size_t arraySize, size_t vectorSize, size_t elementSize, size_t elementCount) argument
/haiku/src/kits/interface/layouter/
H A DCollapsingLayouter.h23 CollapsingLayouter(int32 elementCount,
H A DCollapsingLayouter.cpp18 ProxyLayoutInfo(LayoutInfo* target, int32 elementCount) argument
21 fElementCount(elementCount)
23 fElements = new int32[elementCount];
114 CollapsingLayouter::CollapsingLayouter(int32 elementCount, float spacing) argument
116 fElementCount(elementCount),
117 fElements(new ElementInfo[elementCount]),
H A DSimpleLayouter.cpp81 MyLayoutInfo(int32 elementCount) argument
83 fElementCount(elementCount)
85 fElements = new ElementLayoutInfo[elementCount];
116 SimpleLayouter::SimpleLayouter(int32 elementCount, float spacing) argument
117 : fElementCount(elementCount),
125 fElements = new ElementInfo[elementCount];
126 for (int i = 0; i < elementCount; i++)
H A DComplexLayouter.h22 ComplexLayouter(int32 elementCount,
H A DSimpleLayouter.h21 SimpleLayouter(int32 elementCount,
H A DComplexLayouter.cpp38 MyLayoutInfo(int32 elementCount, int32 spacing) argument
39 : fCount(elementCount),
45 fLocations = new(nothrow) int32[elementCount + 1];
163 ComplexLayouter::ComplexLayouter(int32 elementCount, float spacing) argument
164 : fElementCount(elementCount),
166 fConstraints(new(nothrow) Constraint*[elementCount]),
167 fWeights(new(nothrow) float[elementCount]),
168 fSums(new(nothrow) SumItem[elementCount + 1]),
169 fSumBackups(new(nothrow) SumItemBackup[elementCount + 1]),
170 fOptimizer(new(nothrow) LayoutOptimizer(elementCount)),
[all...]
/haiku/headers/posix/
H A Dsearch.h34 extern int hcreate(size_t elementCount);
/haiku/src/system/kernel/messaging/
H A DKMessage.cpp100 int32 elementCount; member in struct:KMessage::FieldHeader
117 if (index < 0 || index >= elementCount)
376 int32 elementSize, int32 elementCount)
379 || elementCount < 0) {
393 return _AddFieldData(&field, data, elementSize, elementCount);
764 fieldHeader->elementCount = 0;
777 int32 elementSize, int32 elementCount)
784 || elementSize < 0 || elementCount < 0) {
787 if (elementCount == 0)
795 status_t error = _AllocateSpace(elementSize * elementCount,
375 AddArray(const char* name, type_code type, const void* data, int32 elementSize, int32 elementCount) argument
776 _AddFieldData(KMessageField* field, const void* data, int32 elementSize, int32 elementCount) argument
[all...]
/haiku/src/system/runtime_loader/
H A Delf_symbol_lookup.h70 size_t elementCount = (fTableSize + 31) / 32; local
71 fValuesResolved = (uint32*)malloc(4 * elementCount);
72 memset(fValuesResolved, 0, 4 * elementCount);
/haiku/src/tools/get_package_dependencies/
H A Dget_package_dependencies.cpp130 int32 elementCount = solution->CountElements(); local
131 for (int32 l = 0; l < elementCount; l++) {
/haiku/headers/private/shared/
H A DArray.h36 inline bool AddUninitialized(int32 elementCount);
107 Array<Element>::AddUninitialized(int32 elementCount) argument
109 return InsertUninitialized(fSize, elementCount);
/haiku/src/kits/package/hpkg/
H A DPackageFileHeapAccessorBase.cpp142 size_t elementCount = other.fOffsets[0] == 0
146 fOffsets = new(std::nothrow) uint32[elementCount];
150 memcpy(fOffsets, other.fOffsets, elementCount * sizeof(fOffsets[0]));
/haiku/src/kits/debugger/model/
H A DType.cpp108 Type::CreateDerivedArrayType(int64 lowerBound, int64 elementCount, argument
/haiku/src/kits/interface/
H A DTwoDimensionalLayout.cpp747 int elementCount = _CountElements(); local
749 fLayouter = new CollapsingLayouter(elementCount, _Spacing());
798 int32 elementCount = 0; local
803 elementCount = max_c(elementCount, layouterCount);
806 return elementCount;
1284 int elementCount = CountElements(compoundLayouter); local
1285 for (int element = 0; element < elementCount; element++) {
/haiku/src/servers/package/
H A DProblemWindow.cpp260 int32 elementCount = solution->CountElements(); local
261 for (int32 l = 0; l < elementCount; l++) {
/haiku/src/bin/pkgman/
H A DPackageManager.cpp88 int32 elementCount = solution->CountElements(); local
89 for (int32 l = 0; l < elementCount; l++) {
/haiku/headers/private/debugger/model/
H A DType.h145 int64 elementCount,
/haiku/headers/private/kernel/util/
H A DKMessage.h74 int32 elementCount);
215 int32 elementCount);
/haiku/src/kits/app/
H A DMessageAdapter.cpp303 int32 elementCount = field.CountElements(); local
304 if (elementCount > 0) {
305 for (int32 i = 0; i < elementCount; i++) {
/haiku/src/system/kernel/
H A Dheap.cpp469 uint32 elementCount = page->empty_index; local
472 for (uint32 j = 0; j < elementCount;
577 uint32 elementCount = page->empty_index; local
580 for (uint32 j = 0; j < elementCount;
714 uint32 elementCount = page->empty_index; local
716 for (uint32 j = 0; j < elementCount; j++, base += elementSize) {
/haiku/src/system/libroot/posix/malloc_debug/
H A Dheap.cpp298 uint32 elementCount = page->empty_index; local
301 for (uint32 j = 0; j < elementCount;
393 uint32 elementCount = page->empty_index; local
396 for (uint32 j = 0; j < elementCount;
/haiku/src/kits/debugger/debug_info/
H A DDwarfTypes.cpp262 DwarfType::CreateDerivedArrayType(int64 lowerBound, int64 elementCount, argument
283 BVariant(lowerBound + elementCount - 1));

Completed in 389 milliseconds

12