Lines Matching defs:npoint
1257 int result, npoint, j;
1278 npoint = bytes_to_int32((client->req_len << 2) - sizeof(xPolyPointReq));
1279 if (npoint > 0) {
1280 origPts = malloc(npoint * sizeof(xPoint));
1281 memcpy((char *) origPts, (char *) &stuff[1], npoint * sizeof(xPoint));
1284 if(j) memcpy(&stuff[1], origPts, npoint * sizeof(xPoint));
1292 int i = (stuff->coordMode==CoordModePrevious) ? 1 : npoint;
1317 int result, npoint, j;
1338 npoint = bytes_to_int32((client->req_len << 2) - sizeof(xPolyLineReq));
1339 if (npoint > 0){
1340 origPts = malloc(npoint * sizeof(xPoint));
1341 memcpy((char *) origPts, (char *) &stuff[1], npoint * sizeof(xPoint));
1344 if(j) memcpy(&stuff[1], origPts, npoint * sizeof(xPoint));
1352 int i = (stuff->coordMode==CoordModePrevious) ? 1 : npoint;