Home
last modified time | relevance | path

Searched refs:aNbBytes (Results 1 – 6 of 6) sorted by relevance

/dports/cad/opencascade/opencascade-7.6.0/inc/
H A DOpenGl_BufferCompatT.hxx194 const size_t aNbBytes = size_t(BaseBufferT::myElemsNb) * theStride; in init() local
195 if (!myData->Allocate (aNbBytes)) in init()
204 memcpy (myData->ChangeData(), theData, aNbBytes); in init()
232 const size_t aNbBytes = size_t(theElemsNb) * size_t(BaseBufferT::myComponentsNb) * aDataSize; in subData() local
233 memcpy (myData->ChangeData() + anOffset, theData, aNbBytes); in subData()
257 const size_t aNbBytes = size_t(theElemsNb) * size_t(BaseBufferT::myComponentsNb) * aDataSize; in getSubData() local
258 memcpy (theData, myData->Data() + anOffset, aNbBytes); in getSubData()
/dports/cad/opencascade/opencascade-7.6.0/src/OpenGl/
H A DOpenGl_BufferCompatT.hxx194 const size_t aNbBytes = size_t(BaseBufferT::myElemsNb) * theStride; in init() local
195 if (!myData->Allocate (aNbBytes)) in init()
204 memcpy (myData->ChangeData(), theData, aNbBytes); in init()
232 const size_t aNbBytes = size_t(theElemsNb) * size_t(BaseBufferT::myComponentsNb) * aDataSize; in subData() local
233 memcpy (myData->ChangeData() + anOffset, theData, aNbBytes); in subData()
257 const size_t aNbBytes = size_t(theElemsNb) * size_t(BaseBufferT::myComponentsNb) * aDataSize; in getSubData() local
258 memcpy (theData, myData->Data() + anOffset, aNbBytes); in getSubData()
/dports/cad/opencascade/opencascade-7.6.0/src/OSD/
H A DOSD_Process.cxx409 uint32_t aNbBytes = 0; in ExecutablePath()
410 _NSGetExecutablePath (NULL, &aNbBytes); in ExecutablePath()
411 if (aNbBytes == 0) in ExecutablePath()
417 NCollection_Array1<char> aBuff (0, aNbBytes); in ExecutablePath()
418 _NSGetExecutablePath (&aBuff.ChangeFirst(), &aNbBytes); in ExecutablePath()
419 aBuff[aNbBytes] = '\0'; in ExecutablePath()
/dports/cad/opencascade/opencascade-7.6.0/src/Graphic3d/
H A DGraphic3d_MarkerImage.cxx145 const Standard_Integer aNbBytes = (theSize / 8 + (theSize % 8 ? 1 : 0)) * theSize; in fillPointBitmap() local
146 Handle(TColStd_HArray1OfByte) aBitMap = new TColStd_HArray1OfByte (0, aNbBytes - 1); in fillPointBitmap()
158 Standard_Integer aWidth = 0, aHeight = 0, anOffset = 0, aNbBytes = 0; in getTextureImage() local
159 getMarkerBitMapParam (theMarkerType, theScale, aWidth, aHeight, anOffset, aNbBytes); in getTextureImage()
161 Handle(TColStd_HArray1OfByte) aBitMap = new TColStd_HArray1OfByte (0, aNbBytes - 1); in getTextureImage()
162 for (Standard_Integer anIter = 0; anIter < aNbBytes; ++anIter) in getTextureImage()
500 Standard_Integer aWidth = 0, aHeight = 0, anOffset = 0, aNbBytes = 0; in Handle() local
502 getMarkerBitMapParam (Aspect_TOM_O, aScale, aWidth, aHeight, anOffset, aNbBytes); in Handle()
/dports/cad/opencascade/opencascade-7.6.0/src/FSD/
H A DFSD_BinaryFile.cxx1645 const std::streamsize aNbBytes = std::streamsize(sizeof(Standard_ExtCharacter) * size); in ReadExtendedString() local
1646 theIStream.read ((char *)c, aNbBytes); in ReadExtendedString()
1647 if (theIStream.gcount() != aNbBytes) in ReadExtendedString()
/dports/cad/opencascade/opencascade-7.6.0/src/ViewerTest/
H A DViewerTest_ViewerCommands.cxx151 const aNbBytes = lengthBytesUTF8 (aCanvasId) + 1;
152 const aStrPtr = Module._malloc (aNbBytes);
153 stringToUTF8 (aCanvasId, aStrPtr, aNbBytes);