Searched refs:opCount (Results 1 - 21 of 21) sorted by relevance

/haiku/src/kits/interface/
H A DShape.cpp45 for (int32 i = 0; i < data->opCount; i++) {
165 data->opList[data->opCount++] = *opPtr;
206 if (data->opCount == 0 || data->ptCount == 0)
221 sizeof(int32), true, data->opCount);
224 for (int32 i = 1; i < data->opCount && result == B_OK; i++)
262 if (data->opCount != otherData->opCount)
269 data->opCount * sizeof(uint32)) == 0
287 data->opCount = 0;
332 if (!AllocateOps(otherData->opCount) || !AllocatePt
540 GetData(int32* opCount, int32* ptCount, uint32** opList, BPoint** ptList) argument
553 SetData(int32 opCount, int32 ptCount, const uint32* opList, const BPoint* ptList) argument
[all...]
H A DPictureDataWriter.cpp520 PictureDataWriter::WriteDrawShape(const int32& opCount, const void* opList, argument
525 Write<int32>(opCount);
527 WriteData(opList, opCount * sizeof(uint32));
650 PictureDataWriter::WriteDrawShapeGradient(const int32& opCount, const void* opList, argument
655 Write<int32>(opCount);
657 WriteData(opList, opCount * sizeof(uint32));
913 PictureDataWriter::WriteClipToShape(int32 opCount, const void* opList, argument
919 Write<int32>(opCount);
921 WriteData(opList, opCount * sizeof(uint32));
H A DPicturePlayer.cpp501 clip_to_shape(void* _context, int32 opCount, const uint32 opList[], argument
506 context->function_table[54])(context->user_data, opCount, opList,
1053 const uint32* opCount; local
1057 if (callbacks.draw_shape == NULL || !reader.Get(opCount)
1058 || !reader.Get(pointCount) || !reader.Get(opList, *opCount)
1065 shape.SetData(*opCount, *pointCount, opList, pointList);
1152 const uint32* opCount; local
1157 if (callbacks.draw_shape_gradient == NULL || !reader.Get(opCount)
1158 || !reader.Get(pointCount) || !reader.Get(opList, *opCount)
1166 shape.SetData(*opCount, *pointCoun
1660 const uint32* opCount; local
[all...]
H A DView.cpp4071 if (sd->opCount == 0 || sd->ptCount == 0)
4079 fOwner->fLink->Attach<int32>(sd->opCount);
4081 fOwner->fLink->Attach(sd->opList, sd->opCount * sizeof(uint32));
4095 if (sd->opCount == 0 || sd->ptCount == 0)
4103 fOwner->fLink->Attach<int32>(sd->opCount);
4105 fOwner->fLink->Attach(sd->opList, sd->opCount * sizeof(int32));
4119 if (sd->opCount == 0 || sd->ptCount == 0)
4126 fOwner->fLink->Attach<int32>(sd->opCount);
4128 fOwner->fLink->Attach(sd->opList, sd->opCount * sizeof(int32));
5990 if (sd->opCount
[all...]
/haiku/src/servers/app/drawing/
H A DAlphaMaskCache.h66 if (fShape->opCount != other.fShape->opCount)
67 return fShape->opCount < other.fShape->opCount;
H A DDrawingEngine.cpp1179 DrawingEngine::DrawShape(const BRect& bounds, int32 opCount, argument
1201 transaction.SetDirty(fPainter->DrawShape(opCount, opList, ptCount, ptList,
1207 DrawingEngine::FillShape(const BRect& bounds, int32 opCount, argument
1227 transaction.SetDirty(fPainter->FillShape(opCount, opList, ptCount, ptList,
H A DAlphaMask.cpp566 fShape->opCount, fShape->opList,
/haiku/headers/private/interface/
H A DShapePrivate.h34 int32 opCount; member in class:shape_data
57 opList = new(std::nothrow) uint32[other.opCount];
60 opCount = other.opCount;
H A DPictureDataWriter.h93 status_t WriteDrawShape(const int32& opCount,
111 status_t WriteDrawShapeGradient(const int32& opCount,
128 status_t WriteClipToShape(int32 opCount,
H A DPicturePlayer.h94 void (*clip_to_shape)(void* userData, int32 opCount, const uint32 opList[],
/haiku/src/kits/app/
H A DServerLink.cpp96 int32 opCount, ptCount; local
97 fReceiver->Read(&opCount, sizeof(int32));
100 BStackOrHeapArray<uint32, 64> opList(opCount);
101 if (opCount > 0)
102 fReceiver->Read(opList, opCount * sizeof(uint32));
108 shape->SetData(opCount, ptCount, opList, ptList);
116 int32 opCount, ptCount; local
120 shape.GetData(&opCount, &ptCount, &opList, &ptList);
122 fSender->Attach(&opCount, sizeof(int32));
124 if (opCount >
[all...]
/haiku/headers/os/interface/
H A DShape.h99 void GetData(int32* opCount, int32* ptCount,
101 void SetData(int32 opCount, int32 ptCount,
/haiku/src/servers/app/
H A DServerPicture.cpp188 int32 opCount = fOpStack.size(); local
191 if (opCount > 0 && ptCount > 0) {
193 uint32* opList = new(std::nothrow) uint32[opCount];
203 for (i = opCount - 1; i >= 0; i--) {
224 fCanvas->GetDrawingEngine()->FillShape(frame, opCount, opList,
227 fCanvas->GetDrawingEngine()->DrawShape(frame, opCount, opList,
988 clip_to_shape(void* _canvas, int32 opCount, const uint32 opList[], argument
995 shapeData.opList = (uint32*)malloc(opCount * sizeof(uint32));
996 memcpy(shapeData.opList, opList, opCount * sizeof(uint32));
1000 shapeData.opCount
[all...]
H A DServerWindow.cpp2213 link.Read<int32>(&shape.opCount);
2215 shape.opSize = shape.opCount * sizeof(uint32);
2217 shape.opList = new(nothrow) uint32[shape.opCount];
2925 int32 opCount; local
2929 link.Read<int32>(&opCount);
2932 uint32* opList = new(nothrow) uint32[opCount];
2934 if (link.Read(opList, opCount * sizeof(uint32)) >= B_OK &&
2948 drawingEngine->DrawShape(shapeFrame, opCount, opList, ptCount,
2963 int32 opCount; local
2967 link.Read<int32>(&opCount);
3662 int32 opCount; local
3882 int32 opCount; local
[all...]
H A DDrawState.cpp505 rectShape.opCount = 2;
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteDrawingEngine.h113 int32 opCount, const uint32* opList,
119 int32 opCount, const uint32* opList,
H A DRemoteDrawingEngine.cpp730 RemoteDrawingEngine::DrawShape(const BRect& bounds, int32 opCount, argument
745 message.Add(opCount);
746 message.AddList(opList, opCount);
755 RemoteDrawingEngine::FillShape(const BRect& bounds, int32 opCount, argument
767 message.Add(opCount);
768 message.AddList(opList, opCount);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.h140 BRect DrawShape(const int32& opCount,
145 BRect FillShape(const int32& opCount,
275 void _IterateShapeData(const int32& opCount,
H A DPainter.cpp792 Painter::DrawShape(const int32& opCount, const uint32* opList, argument
798 _IterateShapeData(opCount, opList, ptCount, points, viewToScreenOffset,
810 Painter::FillShape(const int32& opCount, const uint32* opList, argument
816 _IterateShapeData(opCount, opList, ptCount, points, viewToScreenOffset,
1634 Painter::_IterateShapeData(const int32& opCount, const uint32* opList, argument
1642 for (int32 i = 0; i < opCount; i++) {
/haiku/src/apps/remotedesktop/
H A DRemoteView.cpp989 int32 opCount, pointCount; local
992 if (message.Read(opCount) != B_OK)
996 for (int32 i = 0; i < opCount; i++) {
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js882 this.opCount = 0;
893 this.opCount = remoteMessage.dataView.readUint32();
894 this.ops = new Array(this.opCount);
895 for (var i = 0; i < this.opCount; i++)
910 for (var i = 0; i < this.opCount; i++) {

Completed in 178 milliseconds