Lines Matching refs:xRefTable
116 if (xRefTable) { in Cleanup()
117 free(xRefTable); in Cleanup()
118 xRefTable = NULL; in Cleanup()
153 *(tmpArray + i) = xRefTable[xRefI + 1] - xRefTable[xRefI]; in fixXRef()
165 xRefTable[i] = (xRefTable[i - 1] + *(tmpArray + j)); in fixXRef()
169 xRefTable[i] += 2; in fixXRef()
176 sint32 t = xRefTable[i]; in fixXRef()
177 xRefTable[i] = xRefTable[k]; in fixXRef()
178 xRefTable[k] = t; in fixXRef()
188 if (!xRefTable) { in addXRef()
189 xRefTable = (sint32 *) malloc(XREF_ARRAY_SIZE * sizeof(sint32)); in addXRef()
190 assert(xRefTable); in addXRef()
191 xRefTable[0] = 0; in addXRef()
195 xRefTable[xRefIndex] = xRefObj; in addXRef()
199 xRefTable = (sint32 *) realloc(xRefTable, (((xRefIndex + XREF_ARRAY_SIZE) * in addXRef()
323 sprintf(pOutStr, "%010ld %05d n \n", xRefTable[i], 0); in writePDFGrammarTrailer()
332 sprintf(pOutStr, "%010ld %05d n \n", xRefTable[xRefIndex - 3], 0); in writePDFGrammarTrailer()
334 sprintf(pOutStr, "%010ld %05d n \n", xRefTable[xRefIndex - 2], 0); in writePDFGrammarTrailer()
352 sprintf(pOutStr, "%ld\n", xRefTable[xRefStart]); in writePDFGrammarTrailer()
1381 xRefTable = NULL; in PCLmGenerator()
1445 if (xRefTable) { in EndJob()
1446 free(xRefTable); in EndJob()
1447 xRefTable = NULL; in EndJob()