• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/

Lines Matching refs:dataptr

352     const byte *dataptr = databuf;
355 if (dataptr + 12 > dataend) {
361 if (strncmp((char *)dataptr, "FORM", 4) != 0) {
366 dataptr = dataptr + 8; // skip ID and length of FORM
369 if (strncmp((char *) dataptr, "ILBM", 4) != 0) {
376 dataptr = dataptr + 4; // skip ID
380 // terminates when BODY chunk was found or dataptr ran over end of file
387 while (dataptr + 8 <= dataend) {
389 size_t chunkLen = (iff_getlong(dataptr + 4) + 1) & 0xfffffffe;
400 bool truncated = (dataptr + 8 + chunkLen > dataend);
402 if (strncmp((char *)dataptr, "BMHD", 4) == 0) { // BMHD chunk?
406 bmhd_width = iff_getword(dataptr + 8); // width of picture
407 bmhd_height= iff_getword(dataptr + 8 + 2); // height of picture
408 bmhd_bitplanes = *(dataptr + 8 + 8); // # of bitplanes
409 bmhd_masking = *(dataptr + 8 + 9);
410 bmhd_compression = *(dataptr + 8 + 10); // get compression
411 bmhd_transcol = iff_getword(dataptr + 8 + 12);
413 dataptr += 8 + chunkLen; // to next chunk
415 else if (strncmp((char *)dataptr, "CMAP", 4) == 0) { // CMAP ?
419 const byte *cmapptr = dataptr + 8;
444 dataptr += 8 + chunkLen; // to next chunk
445 } else if (strncmp((char *)dataptr, "CAMG", 4) == 0) { // CAMG ?
449 camg_viewmode = iff_getlong(dataptr + 8); // get viewmodes
451 dataptr += 8 + chunkLen; // to next chunk
453 else if (strncmp((char *)dataptr, "BODY", 4) == 0) { // BODY ?
457 const byte *bodyptr = dataptr + 8; // -> BODY data
460 chunkLen = dataend - dataptr;
713 *dataptr, *(dataptr+1), *(dataptr+2), *(dataptr+3));
715 dataptr = dataptr + 8 + chunkLen; // skip unknown chunk