Home
last modified time | relevance | path

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

/freebsd/contrib/bmake/
H A Dhash.c225 unsigned int newSize = 2 * oldSize; in HashTable_Enlarge() local
226 unsigned int newMask = newSize - 1; in HashTable_Enlarge()
227 HashEntry **newBuckets = bmake_malloc(sizeof *newBuckets * newSize); in HashTable_Enlarge()
230 for (i = 0; i < newSize; i++) in HashTable_Enlarge()
245 t->bucketsSize = newSize; in HashTable_Enlarge()
/freebsd/contrib/llvm-project/lld/COFF/
H A DDebugTypes.cpp645 size_t newSize = alignTo(ty.length(), 4); in mergeTypeRecord() local
646 merged.recs.resize(offset + newSize); in mergeTypeRecord()
647 auto newRec = MutableArrayRef(&merged.recs[offset], newSize); in mergeTypeRecord()
648 memcpy(newRec.data(), ty.data().data(), newSize); in mergeTypeRecord()
651 if (newSize != ty.length()) { in mergeTypeRecord()
652 reinterpret_cast<RecordPrefix *>(newRec.data())->RecordLen = newSize - 2; in mergeTypeRecord()
653 for (size_t i = ty.length(); i < newSize; ++i) in mergeTypeRecord()
654 newRec[i] = LF_PAD0 + (newSize - i); in mergeTypeRecord()
660 merged.recSizes.push_back(static_cast<uint16_t>(newSize)); in mergeTypeRecord()
704 size_t newSize = alignTo(ty.length(), 4); in mergeUniqueTypeRecords() local
[all …]
/freebsd/contrib/byacc/test/
H A Dexpr.oxout.y187 long oldSize = 0, newSize; in yyyHandleOverflow() local
204 newSize = (3*oldSize)/2; in yyyHandleOverflow()
205 if (newSize < 100) newSize = 100; in yyyHandleOverflow()
209 fprintf(stderr,msg2,which,newSize); in yyyHandleOverflow()
/freebsd/contrib/libxo/xohtml/external/
H A Djquery.qtip.js2186 coords, translate, newSize, border;
2233 newSize = this.size = this._calculateSize(corner);
2235 width: newSize[0],
2236 height: newSize[1],
2237 lineHeight: newSize[1]+'px'
2243 …round(mimic.x === LEFT ? border : mimic.x === RIGHT ? newSize[0] - size[0] - border : (newSize[0] …
2244 round(mimic.y === TOP ? newSize[1] - size[1] : 0)
2249 round(mimic.x === LEFT ? newSize[0] - size[0] : 0),
2250 …round(mimic.y === TOP ? border : mimic.y === BOTTOM ? newSize[1] - size[1] - border : (newSize[1] …
2257 inner.attr(WIDTH, newSize[0]).attr(HEIGHT, newSize[1]);
/freebsd/contrib/byacc/test/yacc/
H A Dexpr.oxout.tab.c386 long oldSize = 0, newSize; in yyyHandleOverflow() local
403 newSize = (3*oldSize)/2; in yyyHandleOverflow()
404 if (newSize < 100) newSize = 100; in yyyHandleOverflow()
408 fprintf(stderr,msg2,which,newSize); in yyyHandleOverflow()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DLoongArch.cpp853 size_t newSize = old.size() - aux.relocDeltas[rels.size() - 1]; in finalizeRelax() local
854 uint8_t *p = context().bAlloc.Allocate<uint8_t>(newSize); in finalizeRelax()
858 sec->size = newSize; in finalizeRelax()
H A DRISCV.cpp948 size_t newSize = old.size() - aux.relocDeltas[rels.size() - 1]; in finalizeRelax() local
950 uint8_t *p = context().bAlloc.Allocate<uint8_t>(newSize); in finalizeRelax()
954 sec->size = newSize; in finalizeRelax()
/freebsd/sys/contrib/ncsw/etc/
H A Dmm.c599 uint64_t newBase, newSize; in MM_Init() local
638 newSize = size - (newBase - base); in MM_Init()
640 if ((p_MM->freeBlocks[i] = CreateFreeBlock(newBase, newSize)) == NULL) in MM_Init()
/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_input.c473 const uint32_t newSize = queue->idx; in vtinput_eventqueue_add_event() local
482 queue->size = newSize; in vtinput_eventqueue_add_event()
/freebsd/contrib/byacc/test/btyacc/
H A Dexpr.oxout.tab.c536 long oldSize = 0, newSize; in yyyHandleOverflow() local
553 newSize = (3*oldSize)/2; in yyyHandleOverflow()
554 if (newSize < 100) newSize = 100; in yyyHandleOverflow()
558 fprintf(stderr,msg2,which,newSize); in yyyHandleOverflow()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dhuf_compress.c707 … size_t const newSize = HUF_estimateCompressedSize(table->CTable, table->count, maxSymbolValue); in HUF_compress_internal() local
708 if (oldSize <= hSize + newSize || hSize + 12 >= srcSize) { in HUF_compress_internal()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dhuf_compress.c1265 … size_t const newSize = HUF_estimateCompressedSize(table->CTable, table->count, maxSymbolValue); in HUF_compress_internal() local
1266 if (oldSize <= hSize + newSize || hSize + 12 >= srcSize) { in HUF_compress_internal()
/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.cpp1654 size_t newSize = relocs.size(); in mergeRels() local
1656 newSize += v.size(); in mergeRels()
1657 relocs.reserve(newSize); in mergeRels()
1752 size_t newSize = relocs.size(); in mergeRels() local
1754 newSize += v.size(); in mergeRels()
1755 relocs.reserve(newSize); in mergeRels()
/freebsd/contrib/llvm-project/libunwind/src/
H A DUnwindCursor.hpp175 size_t newSize = oldSize * 4; in add() local
177 entry *newBuffer = (entry *)malloc(newSize * sizeof(entry)); in add()
183 _bufferEnd = &newBuffer[newSize]; in add()
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_cc.c5890 uint32_t newSize = 0, newAlign = 0; in FmPcdUpdateCcShadow() local
5901 newSize = p_FmPcd->ccShadowSize; in FmPcdUpdateCcShadow()
5906 newSize = size; in FmPcdUpdateCcShadow()
5914 if ((newSize != p_FmPcd->ccShadowSize) in FmPcdUpdateCcShadow()
5927 newSize, newAlign); in FmPcdUpdateCcShadow()
5945 p_FmPcd->ccShadowSize = newSize; in FmPcdUpdateCcShadow()
H A Dfm_manip.c1250 uint16_t newSize; in CreateManipActionShadow() local
1255 err = CalculateTableSize(p_FmPcdManipParams, &newSize, &newDataSize); in CreateManipActionShadow()
1260 if (newSize > p_Manip->tableSize) in CreateManipActionShadow()
1274 if (MANIP_IS_UNIFIED(p_Manip) && (newSize != p_Manip->tableSize)) in CreateManipActionShadow()
1286 p_Manip->tableSize = newSize; in CreateManipActionShadow()
/freebsd/contrib/expat/lib/
H A Dxmlparse.c7225 size_t newSize = (size_t)1 << newPower; in lookup() local
7226 unsigned long newMask = (unsigned long)newSize - 1; in lookup()
7229 if (newSize > (size_t)(-1) / sizeof(NAMED *)) { in lookup()
7233 size_t tsize = newSize * sizeof(NAMED *); in lookup()
7246 j < step ? (j += newSize - step) : (j -= step); in lookup()
7253 table->size = newSize; in lookup()
7259 i < step ? (i += newSize - step) : (i -= step); in lookup()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c28411 int newSize; in memsys5MallocUnsafe() local
28414 newSize = 1 << iBin; in memsys5MallocUnsafe()
28415 mem5.aCtrl[i+newSize] = CTRL_FREE | iBin; in memsys5MallocUnsafe()
28416 memsys5Link(i+newSize, iBin); in memsys5MallocUnsafe()
59762 i64 currentSize, newSize;
59767 newSize = szPage*(i64)nPage;
59768 if( rc==SQLITE_OK && currentSize!=newSize ){
59769 if( currentSize>newSize ){
59770 rc = sqlite3OsTruncate(pPager->fd, newSize);
59771 }else if( (currentSize+szPage)<=newSize ){
[all …]