Lines Matching defs:skp
40 static void send_picture(int socket, const PictureHeader& header, const SkData& skp) {
41 // Vectored IO lets us send header and skp contiguously without first
45 create_iov(skp.data(), skp.size()),
63 // msg is first a fixed-size header, then an .skp.
75 // Read the .skp.
76 SkAutoTUnref<const SkData> skp(SkData::NewFromFileName(skpPath));
77 if (!skp) {
81 SkMemoryStream stream(skp->data(), skp->size());
102 SkDebugf("Sending %s (%d bytes)...", skpPath, skp->size());
103 send_picture(socket, header, *skp);
144 // We should have an .skp waiting for us on data socket.
175 DEFINE_string2(skp, r, "", ".skp to send (as client)");