Home
last modified time | relevance | path

Searched refs:DestSize (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/sys/external/bsd/acpica/dist/utilities/
H A Dutnonansi.c190 ACPI_SIZE DestSize, in AcpiUtSafeStrcpy() argument
194 if (strlen (Source) >= DestSize) in AcpiUtSafeStrcpy()
206 ACPI_SIZE DestSize, in AcpiUtSafeStrcat() argument
210 if ((strlen (Dest) + strlen (Source)) >= DestSize) in AcpiUtSafeStrcat()
222 ACPI_SIZE DestSize, in AcpiUtSafeStrncat() argument
231 if ((strlen (Dest) + ActualTransferLength) >= DestSize) in AcpiUtSafeStrncat()
244 ACPI_SIZE DestSize) in AcpiUtSafeStrncpy() argument
248 strncpy (Dest, Source, DestSize); in AcpiUtSafeStrncpy()
249 Dest[DestSize - 1] = 0; in AcpiUtSafeStrncpy()
/netbsd-src/sys/external/bsd/gnu-efi/dist/lib/runtime/
H A Drtstr.c141 UINTN DestSize, Size; in RtStrnCat() local
143 DestSize = RtStrLen(Dest); in RtStrnCat()
145 RtCopyMem(Dest + DestSize, Src, Size * sizeof(CHAR16)); in RtStrnCat()
146 Dest[DestSize + Size] = '\0'; in RtStrnCat()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp569 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act() local
572 if ((getRandom() & 1) && VSize == DestSize) { in Act()
579 if (VSize > DestSize) { in Act()
583 assert(VSize < DestSize && "Different int types with the same size?"); in Act()
609 if (VSize > DestSize) { in Act()
612 } else if (VSize < DestSize) { in Act()
/netbsd-src/sys/external/bsd/acpica/dist/include/
H A Dacutils.h984 ACPI_SIZE DestSize,
991 ACPI_SIZE DestSize);
996 ACPI_SIZE DestSize,
1002 ACPI_SIZE DestSize,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1179 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence() local
1187 if (DestSize == SrcSize) { in processMemSetMemCpyDependence()
1205 if (DestSize->getType() != SrcSize->getType()) { in processMemSetMemCpyDependence()
1206 if (DestSize->getType()->getIntegerBitWidth() > in processMemSetMemCpyDependence()
1208 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType()); in processMemSetMemCpyDependence()
1210 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType()); in processMemSetMemCpyDependence()
1213 Value *Ule = Builder.CreateICmpULE(DestSize, SrcSize); in processMemSetMemCpyDependence()
1214 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize); in processMemSetMemCpyDependence()
1216 Ule, ConstantInt::getNullValue(DestSize->getType()), SizeDiff); in processMemSetMemCpyDependence()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Linker/
H A DLinkModules.cpp295 uint64_t DestSize = DL.getTypeAllocSize(Dest.getValueType()); in shouldLinkFromSource() local
297 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h372 const unsigned DestSize = DestTy.getSizeInBits(); in tryFoldUnmergeCast() local
414 if (CastSrcSize % DestSize != 0) in tryFoldUnmergeCast()
424 const unsigned NewNumDefs = CastSrcSize / DestSize; in tryFoldUnmergeCast()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp876 unsigned DestSize = Dest.getSizeInBits(); in isTruncateFree() local
878 return DestSize < SrcSize && DestSize % 32 == 0 ; in isTruncateFree()
885 unsigned DestSize = Dest->getScalarSizeInBits(); in isTruncateFree() local
887 if (DestSize== 16 && Subtarget->has16BitInsts()) in isTruncateFree()
890 return DestSize < SrcSize && DestSize % 32 == 0; in isTruncateFree()
895 unsigned DestSize = Dest->getScalarSizeInBits(); in isZExtFree() local
898 return DestSize >= 32; in isZExtFree()
900 return SrcSize == 32 && DestSize == 64; in isZExtFree()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCast.cpp3116 CharUnits DestSize = Self.Context.getTypeSizeInChars(DestType); in CheckBuiltinBitCast() local
3118 if (DestSize != SourceSize) { in CheckBuiltinBitCast()
3120 << (int)SourceSize.getQuantity() << (int)DestSize.getQuantity(); in CheckBuiltinBitCast()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp355 uint64_t DestSize = DL.getTypeSizeInBits(DestTy); in ConstantFoldLoadThroughBitcast() local
357 if (SrcSize < DestSize) in ConstantFoldLoadThroughBitcast()
376 if (SrcSize == DestSize && in ConstantFoldLoadThroughBitcast()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp1698 unsigned DestSize = DestVT.getSizeInBits(); in EmitStackConvert() local
1705 (SlotSize < DestSize && in EmitStackConvert()
1733 if (SlotSize == DestSize) in EmitStackConvert()
1736 assert(SlotSize < DestSize && "Unknown extension!"); in EmitStackConvert()
H A DDAGCombiner.cpp19166 unsigned DestSize = Zext.getValueSizeInBits(); in reduceBuildVecToShuffleWithZero() local
19168 if (DestSize % SrcSize != 0 || in reduceBuildVecToShuffleWithZero()
19174 int ZextRatio = DestSize / SrcSize; in reduceBuildVecToShuffleWithZero()