Lines Matching refs:nOutLen
166 int nOutLen = snprintf(&o_rOutputBuf[3], WRITE_BUFFER_SIZE-10, "%d %d", width, height); in writePbm_() local
167 if( nOutLen < 0 ) in writePbm_()
168 nOutLen = WRITE_BUFFER_SIZE-10; in writePbm_()
169 o_rOutputBuf[3+nOutLen] =0x0A; in writePbm_()
170 o_rOutputBuf[3+nOutLen+1]=0; in writePbm_()
172 const int header_size = 3+nOutLen+1; in writePbm_()
213 int nOutLen = snprintf(&o_rOutputBuf[3], WRITE_BUFFER_SIZE-10, "%d %d", width, height); in writePpm_() local
214 if( nOutLen < 0 ) in writePpm_()
215 nOutLen = WRITE_BUFFER_SIZE-10; in writePpm_()
216 o_rOutputBuf[3+nOutLen] ='\n'; in writePpm_()
217 o_rOutputBuf[3+nOutLen+1]='2'; in writePpm_()
218 o_rOutputBuf[3+nOutLen+2]='5'; in writePpm_()
219 o_rOutputBuf[3+nOutLen+3]='5'; in writePpm_()
220 o_rOutputBuf[3+nOutLen+4]='\n'; in writePpm_()
221 o_rOutputBuf[3+nOutLen+5]=0; in writePpm_()
223 const int header_size = 3+nOutLen+5; in writePpm_()