Home
last modified time | relevance | path

Searched refs:newSize (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/
H A Dallocators.h71 void* Realloc(void* originalPtr, size_t originalSize, size_t newSize) { in Realloc() argument
73 if (newSize == 0) { in Realloc()
77 return std::realloc(originalPtr, newSize); in Realloc()
191 void* Realloc(void* originalPtr, size_t originalSize, size_t newSize) { in Realloc() argument
193 return Malloc(newSize); in Realloc()
195 if (newSize == 0) in Realloc()
199 newSize = RAPIDJSON_ALIGN(newSize); in Realloc()
202 if (originalSize >= newSize) in Realloc()
207 size_t increment = static_cast<size_t>(newSize - originalSize); in Realloc()
215 if (void* newBuffer = Malloc(newSize)) { in Realloc()
/OK3568_Linux_fs/external/xserver/glx/
H A Dvndservermapping.c114 unsigned int newSize = cl->contextTagCount * 2; in GlxAllocContextTag() local
115 if (newSize == 0) { in GlxAllocContextTag()
117 newSize = 16; in GlxAllocContextTag()
121 realloc(cl->contextTags, newSize * sizeof(GlxContextTagInfo)); in GlxAllocContextTag()
127 (newSize - cl->contextTagCount) * sizeof(GlxContextTagInfo)); in GlxAllocContextTag()
131 cl->contextTagCount = newSize; in GlxAllocContextTag()
/OK3568_Linux_fs/external/recovery/minzip/
H A DHash.c138 static bool resizeHash(HashTable* pHashTable, int newSize) in resizeHash() argument
146 pNewEntries = (HashEntry*) calloc(newSize, sizeof(HashTable)); in resizeHash()
157 newIdx = hashValue & (newSize - 1); in resizeHash()
159 newIdx = (newIdx + 1) & (newSize - 1); in resizeHash()
168 pHashTable->tableSize = newSize; in resizeHash()
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minzip/
H A DHash.c137 static bool resizeHash(HashTable* pHashTable, int newSize) in resizeHash() argument
145 pNewEntries = (HashEntry*) calloc(newSize, sizeof(HashTable)); in resizeHash()
156 newIdx = hashValue & (newSize-1); in resizeHash()
158 newIdx = (newIdx + 1) & (newSize-1); in resizeHash()
167 pHashTable->tableSize = newSize; in resizeHash()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/internal/
H A Dstack.h192 size_t newSize = GetSize() + sizeof(T) * count; in Expand() local
193 if (newCapacity < newSize) in Expand()
194 newCapacity = newSize; in Expand()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/
H A Dippasync.hpp125 size_t newSize = (size_t)(height*(hpp32u)(dst.step)); in copyHppToMat() local
127 sts = hppiGetMatrixData(accel,src,(hpp32u)(dst.step),dst.data,&newSize); in copyHppToMat()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/
H A Dippasync.hpp125 size_t newSize = (size_t)(height*(hpp32u)(dst.step)); in copyHppToMat() local
127 sts = hppiGetMatrixData(accel,src,(hpp32u)(dst.step),dst.data,&newSize); in copyHppToMat()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/
H A Dippasync.hpp125 size_t newSize = (size_t)(height*(hpp32u)(dst.step)); in copyHppToMat() local
127 sts = hppiGetMatrixData(accel,src,(hpp32u)(dst.step),dst.data,&newSize); in copyHppToMat()
/OK3568_Linux_fs/external/xserver/dix/
H A Dregion.c599 int newSize; in RegionOp() local
617 newSize = RegionNumRects(reg1); in RegionOp()
618 r1End = r1 + newSize; in RegionOp()
626 if (((newReg == reg1) && (newSize > 1)) || in RegionOp()
632 if (numRects > newSize) in RegionOp()
633 newSize = numRects; in RegionOp()
634 newSize <<= 1; in RegionOp()
639 if (newSize > newReg->data->size) in RegionOp()
640 if (!RegionRectAlloc(newReg, newSize)) in RegionOp()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeotiledmap.cpp426 int newSize = qMax(m_cache->minTextureUsage(), texCacheSize); in changeViewportSize() local
427 m_cache->setMinTextureUsage(newSize); in changeViewportSize()
/OK3568_Linux_fs/kernel/lib/zstd/
H A Dhuf_compress.c728 size_t const newSize = HUF_estimateCompressedSize(CTable, count, maxSymbolValue); in HUF_compress_internal() local
729 if (oldSize <= hSize + newSize || hSize + 12 >= srcSize) { in HUF_compress_internal()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/
H A Dtee_api.h121 void *TEE_Realloc(void *buffer, uint32_t newSize);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dtee_api.h92 void *TEE_Realloc(void *buffer, uint32_t newSize);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/
H A Dtee_api.h92 void *TEE_Realloc(void *buffer, uint32_t newSize);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/
H A Dtee_api.h92 void *TEE_Realloc(void *buffer, uint32_t newSize);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dtee_api.h92 void *TEE_Realloc(void *buffer, uint32_t newSize);
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/
H A Dtee_api.h121 void *TEE_Realloc(void *buffer, uint32_t newSize);
/OK3568_Linux_fs/external/xserver/mi/
H A Dmiarc.c3126 int newSize, newMiny, newMaxy; in realFindSpan() local
3143 newSize = finalSize + change; in realFindSpan()
3144 newSpans = xallocarray(newSize, sizeof(struct finalSpan *)); in realFindSpan()
3163 memset((char *) (newSpans + newSize - i), 0, in realFindSpan()
3168 finalSize = newSize; in realFindSpan()