Lines Matching defs:ip

130 decode(Sfio_t* ip)
136 if ((c = sfgetc(ip)) == EOF)
142 while ((c = sfgetc(ip)) != EOF && c != ';')
185 sfungetc(ip, name[i]);
207 sfnext(Sfio_t* ip)
211 while (isspace(c = sfgetc(ip)));
216 html2msg(register Sfio_t* ip, register Sfio_t* op, int flags)
222 while ((c = sfgetc(ip)) != EOF)
225 if ((c = sfnext(ip)) == 'O' &&
226 (c = sfnext(ip)) == 'L' &&
227 isspace(c = sfgetc(ip)) &&
228 (c = sfnext(ip)) == 'S' &&
229 (c = sfnext(ip)) == 'T' &&
230 (c = sfnext(ip)) == 'A' &&
231 (c = sfnext(ip)) == 'R' &&
232 (c = sfnext(ip)) == 'T' &&
233 (c = sfnext(ip)) == '=' &&
234 (c = sfnext(ip)) == '"' &&
235 (c = sfnext(ip)) == '5' &&
236 (c = sfnext(ip)) == '5' &&
237 (c = sfnext(ip)) == '0' &&
238 (c = sfnext(ip)) == '7' &&
239 (c = sfnext(ip)) == '1' &&
240 (c = sfnext(ip)) == '7' &&
241 (c = sfnext(ip)) == '"' &&
242 (c = sfnext(ip)) == '>')
245 c = sfgetc(ip);
247 if ((c = sfnext(ip)) != EOF)
248 sfungetc(ip, c);
252 switch (c = sfgetc(ip))
257 c = decode(ip);
261 while (isspace(c = sfgetc(ip)));
264 sfungetc(ip, c);
268 switch (c = sfnext(ip))
271 if ((c = sfnext(ip)) == 'O' &&
272 (c = sfgetc(ip)) == 'L' &&
273 (c = sfnext(ip)) == '>')
284 if ((c = sfgetc(ip)) == 'R' &&
285 (c = sfnext(ip)) == '>')
289 if ((c = sfgetc(ip)) == 'I' &&
290 (c = sfnext(ip)) == '>' &&
291 isdigit(c = sfnext(ip)))
301 } while (isdigit(c = sfgetc(ip)));
307 c = sfnext(ip);
309 (c = sfnext(ip)) == 'L' &&
310 (c = sfgetc(ip)) == 'I' &&
311 (c = sfnext(ip)) == '>')
317 if ((c = sfnext(ip)) == '>')
320 (c = sfgetc(ip)) == 'L' &&
321 (c = sfgetc(ip)) == 'A' &&
322 (c = sfgetc(ip)) == 'S' &&
323 (c = sfgetc(ip)) == 'S' &&
324 (c = sfnext(ip)) == '=' &&
325 (c = sfnext(ip)) == '"')
328 switch (c = sfgetc(ip))
334 c = decode(ip);
346 c = sfgetc(ip);
347 if (c == EOF || (c = sfgetc(ip)) == EOF)
349 sfungetc(ip, c);
365 while ((c = sfgetc(ip)) != EOF)
368 c = decode(ip);
378 c = sfgetc(ip);
381 sfungetc(ip, c);
382 sfungetc(ip, '<');
389 sfungetc(ip, c);
430 msg2html(register Sfio_t* ip, register Sfio_t* op, register int flags)
440 while (s = sfgetr(ip, '\n', 1))