Home
last modified time | relevance | path

Searched refs:allocSize (Results 1 – 19 of 19) sorted by relevance

/external/eigen/Eigen/src/SparseCore/
DAmbiVector.h76 Index allocSize = (size * sizeof(ListEl) + sizeof(Scalar) - 1)/sizeof(Scalar); in reallocate() local
77 m_allocatedElements = convert_index((allocSize*sizeof(Scalar))/sizeof(ListEl)); in reallocate()
78 m_buffer = new Scalar[allocSize]; in reallocate()
94 Index allocSize = m_allocatedElements * sizeof(ListEl); in reallocateSparse() local
95 allocSize = (allocSize + sizeof(Scalar) - 1)/sizeof(Scalar); in reallocateSparse()
96 Scalar* newBuffer = new Scalar[allocSize]; in reallocateSparse()
/external/oj-libjdwp/src/share/back/
DSDE.c323 size_t allocSize; in assureLineTableSize() local
330 allocSize = new_lineTableSize * (int)sizeof(LineTableRecord); in assureLineTableSize()
331 new_lineTable = jvmtiAllocate((jint)allocSize); in assureLineTableSize()
347 size_t allocSize; in assureFileTableSize() local
354 allocSize = new_fileTableSize * (int)sizeof(FileTableRecord); in assureFileTableSize()
355 new_fileTable = jvmtiAllocate((jint)allocSize); in assureFileTableSize()
371 size_t allocSize; in assureStratumTableSize() local
378 allocSize = new_stratumTableSize * (int)sizeof(StratumTableRecord); in assureStratumTableSize()
379 new_stratumTable = jvmtiAllocate((jint)allocSize); in assureStratumTableSize()
/external/skqp/src/gpu/ops/
DGrDrawAtlasOp.cpp53 int allocSize = static_cast<int>(4 * vertexStride * spriteCount); in GrDrawAtlasOp() local
54 installedGeo.fVerts.reset(allocSize); in GrDrawAtlasOp()
147 size_t allocSize = args.fVerts.count(); in onPrepareDraws() local
148 memcpy(vertPtr, args.fVerts.begin(), allocSize); in onPrepareDraws()
149 vertPtr += allocSize; in onPrepareDraws()
/external/skia/src/gpu/ops/
DGrDrawAtlasOp.cpp113 int allocSize = static_cast<int>(4 * vertexStride * spriteCount); in DrawAtlasOp() local
114 installedGeo.fVerts.reset(allocSize); in DrawAtlasOp()
207 size_t allocSize = args.fVerts.count(); in onPrepareDraws() local
208 memcpy(vertPtr, args.fVerts.begin(), allocSize); in onPrepareDraws()
209 vertPtr += allocSize; in onPrepareDraws()
/external/icu/icu4c/source/common/
Dunisetspan.cpp268 int32_t allocSize; in UnicodeSetStringSpan() local
271 allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan()
273 allocSize=stringsLength; // One set of span lengths. in UnicodeSetStringSpan()
276 allocSize+=stringsLength*4+utf8Length; in UnicodeSetStringSpan()
279 if(allocSize<=(int32_t)sizeof(staticLengths)) { in UnicodeSetStringSpan()
282 utf8Lengths=(int32_t *)uprv_malloc(allocSize); in UnicodeSetStringSpan()
409 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan() local
410 if(allocSize<=(int32_t)sizeof(staticLengths)) { in UnicodeSetStringSpan()
413 utf8Lengths=(int32_t *)uprv_malloc(allocSize); in UnicodeSetStringSpan()
422 uprv_memcpy(utf8Lengths, otherStringSpan.utf8Lengths, allocSize); in UnicodeSetStringSpan()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiGetMemoryCommitment.cpp373 VkDeviceSize allocSize[arrayLength]; in iterate() local
378 allocSize[i] = rand() % 1000 + 1; in iterate()
391 allocSize[i], // VkDeviceSize allocationSize in iterate()
403 if(pCommittedMemoryInBytes > allocSize[i]) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustBufferAccessWithVariablePointersTests.cpp97 VkDeviceSize allocSize; member
135 data.allocSize = bufferMemoryReqs.size; in createTestBuffer()
137 data.maxAccessRange = deMinu64(data.allocSize, deMinu64(bufferParams.size, accessRange)); in createTestBuffer()
1349 …log << tcu::TestLog::Message << "input buffer - alloc size: " << m_inBufferAccess.allocSize << tc… in AccessInstance()
1351 …log << tcu::TestLog::Message << "output buffer - alloc size: " << m_outBufferAccess.allocSize << t… in AccessInstance()
1466 DE_ASSERT(offsetInBytes < m_inBufferAccess.allocSize); in isExpectedValueFromInBuffer()
1533 m_outBufferAccess.allocSize, // VkDeviceSize size; in iterate()
1556 …for (VkDeviceSize offsetInBytes = 0; offsetInBytes < m_outBufferAccess.allocSize; offsetInBytes +=… in verifyResult()
1559 …const size_t outValueSize = static_cast<size_t>(deMinu64(4, (m_outBufferAccess.allocSize - offset… in verifyResult()
1566 …&& (isReadAccess || !isValueWithinBufferOrZero(inDataPtr, m_inBufferAccess.allocSize, outValuePtr,… in verifyResult()
[all …]
/external/skqp/src/gpu/
DGrResourceProvider.cpp381 size_t allocSize = SkTMax(MIN_SIZE, GrNextSizePow2(size)); in createBuffer() local
384 GrBuffer::ComputeScratchKeyForDynamicVBO(allocSize, intendedType, &key); in createBuffer()
392 this->cache()->findAndRefScratchResource(key, allocSize, scratchFlags))); in createBuffer()
394 buffer = this->gpu()->createBuffer(allocSize, intendedType, kDynamic_GrAccessPattern); in createBuffer()
/external/skia/src/gpu/
DGrResourceProvider.cpp357 size_t allocSize = SkTMax(MIN_SIZE, GrNextSizePow2(size)); in createBuffer() local
360 GrGpuBuffer::ComputeScratchKeyForDynamicVBO(allocSize, intendedType, &key); in createBuffer()
363 key, allocSize, GrResourceCache::ScratchFlags::kNone))); in createBuffer()
365 buffer = this->gpu()->createBuffer(allocSize, intendedType, kDynamic_GrAccessPattern); in createBuffer()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUnicodeSetStringSpan.java142 int allocSize; in UnicodeSetStringSpan() local
145 allocSize = stringsLength * (2); in UnicodeSetStringSpan()
147 allocSize = stringsLength; // One set of span lengths. in UnicodeSetStringSpan()
149 spanLengths = new short[allocSize]; in UnicodeSetStringSpan()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java138 int allocSize; in UnicodeSetStringSpan() local
141 allocSize = stringsLength * (2); in UnicodeSetStringSpan()
143 allocSize = stringsLength; // One set of span lengths. in UnicodeSetStringSpan()
145 spanLengths = new short[allocSize]; in UnicodeSetStringSpan()
/external/skqp/src/core/
DSkStrike.cpp150 size_t allocSize = glyph->allocImage(&fAlloc); in initializeImage() local
153 SkASSERT(size == allocSize); in initializeImage()
154 memcpy(glyph->fImage, const_cast<const void*>(data), allocSize); in initializeImage()
/external/skia/src/core/
DSkStrike.cpp150 size_t allocSize = glyph->allocImage(&fAlloc); in initializeImage() local
153 SkASSERT(size == allocSize); in initializeImage()
154 memcpy(glyph->fImage, const_cast<const void*>(data), allocSize); in initializeImage()
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4006 VkDeviceSize allocSize,
4023 VkDeviceSize allocSize,
4047 VkDeviceSize allocSize,
5558 VkDeviceSize allocSize, in CreateAllocationRequest() argument
5564 VMA_ASSERT(allocSize > 0); in CreateAllocationRequest()
5570 if(canMakeOtherLost == false && m_SumFreeSize < allocSize) in CreateAllocationRequest()
5585 allocSize, in CreateAllocationRequest()
5594 allocSize, in CreateAllocationRequest()
5618 allocSize, in CreateAllocationRequest()
5654 allocSize, in CreateAllocationRequest()
[all …]
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4006 VkDeviceSize allocSize,
4023 VkDeviceSize allocSize,
4047 VkDeviceSize allocSize,
5558 VkDeviceSize allocSize, in CreateAllocationRequest() argument
5564 VMA_ASSERT(allocSize > 0); in CreateAllocationRequest()
5570 if(canMakeOtherLost == false && m_SumFreeSize < allocSize) in CreateAllocationRequest()
5585 allocSize, in CreateAllocationRequest()
5594 allocSize, in CreateAllocationRequest()
5618 allocSize, in CreateAllocationRequest()
5654 allocSize, in CreateAllocationRequest()
[all …]
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket2_win.cc1034 int allocSize = sizeof(TC_GEN_FLOW) + sizeof(QOS_DS_CLASS) + in SetTrafficControl() local
1036 _flow = (PTC_GEN_FLOW)malloc(allocSize); in SetTrafficControl()
1075 int allocSize = sizeof(TC_GEN_FLOW) + sizeof(QOS_DS_CLASS) + in SetTrafficControl() local
1077 _flow = (PTC_GEN_FLOW)malloc(allocSize); in SetTrafficControl()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp1332 llvm::Value *allocSize = in EmitCXXNewExpr() local
1359 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); in EmitCXXNewExpr()
1369 allocatorArgs.add(RValue::get(allocSize), sizeType); in EmitCXXNewExpr()
1385 if (allocSize != allocSizeWithoutCookie) { in EmitCXXNewExpr()
1426 EnterNewDeleteCleanup(*this, E, allocation, allocSize, allocatorArgs); in EmitCXXNewExpr()
1431 assert((allocSize == allocSizeWithoutCookie) == in EmitCXXNewExpr()
1433 if (allocSize != allocSizeWithoutCookie) { in EmitCXXNewExpr()
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp442 void Alloc(size_t allocSize) in Alloc()
444 buf = (Byte *)MyAlloc(allocSize); in Alloc()
446 this->bufSize = allocSize; in Alloc()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...