Lines Matching refs:ppt
1146 jpc_ppt_t *ppt = &ms->parms.ppt; in jpc_ppt_destroyparms() local
1147 if (ppt->data) { in jpc_ppt_destroyparms()
1148 jas_free(ppt->data); in jpc_ppt_destroyparms()
1154 jpc_ppt_t *ppt = &ms->parms.ppt; in jpc_ppt_getparms() local
1159 ppt->data = 0; in jpc_ppt_getparms()
1164 if (jpc_getuint8(in, &ppt->ind)) { in jpc_ppt_getparms()
1167 ppt->len = ms->len - 1; in jpc_ppt_getparms()
1168 if (ppt->len > 0) { in jpc_ppt_getparms()
1169 if (!(ppt->data = jas_malloc(ppt->len))) { in jpc_ppt_getparms()
1172 if (jas_stream_read(in, (char *) ppt->data, ppt->len) != JAS_CAST(int, ppt->len)) { in jpc_ppt_getparms()
1176 ppt->data = 0; in jpc_ppt_getparms()
1187 jpc_ppt_t *ppt = &ms->parms.ppt; in jpc_ppt_putparms() local
1192 if (jpc_putuint8(out, ppt->ind)) { in jpc_ppt_putparms()
1195 if (jas_stream_write(out, (char *) ppt->data, ppt->len) != JAS_CAST(int, ppt->len)) { in jpc_ppt_putparms()
1203 jpc_ppt_t *ppt = &ms->parms.ppt; in jpc_ppt_dumpparms() local
1204 fprintf(out, "ind=%d; len = %d;\n", ppt->ind, (int)ppt->len); in jpc_ppt_dumpparms()
1205 if (ppt->len > 0) { in jpc_ppt_dumpparms()
1207 jas_memdump(out, ppt->data, ppt->len); in jpc_ppt_dumpparms()