Home | History | Annotate | Download | only in utils

Lines Matching defs:pbeg

275 	char *pbeg, *pend;
295 pbeg = buffer;
296 pend = xt_osf_strchr(pbeg, OSFPDEL);
299 if (pbeg[0] == 'S') {
301 if (pbeg[1] == '%')
302 f.wss.val = strtoul(&pbeg[2], NULL, 10);
303 else if (pbeg[1] == '*')
306 f.wss.val = strtoul(&pbeg[1], NULL, 10);
307 } else if (pbeg[0] == 'T') {
309 if (pbeg[1] == '%')
310 f.wss.val = strtoul(&pbeg[2], NULL, 10);
311 else if (pbeg[1] == '*')
314 f.wss.val = strtoul(&pbeg[1], NULL, 10);
315 } else if (pbeg[0] == '%') {
317 f.wss.val = strtoul(&pbeg[1], NULL, 10);
318 } else if (isdigit(pbeg[0])) {
320 f.wss.val = strtoul(&pbeg[0], NULL, 10);
323 pbeg = pend + 1;
325 pend = xt_osf_strchr(pbeg, OSFPDEL);
328 f.ttl = strtoul(pbeg, NULL, 10);
329 pbeg = pend + 1;
331 pend = xt_osf_strchr(pbeg, OSFPDEL);
334 f.df = strtoul(pbeg, NULL, 10);
335 pbeg = pend + 1;
337 pend = xt_osf_strchr(pbeg, OSFPDEL);
340 f.ss = strtoul(pbeg, NULL, 10);
341 pbeg = pend + 1;
344 pend = xt_osf_strchr(pbeg, OSFPDEL);
347 cnt = snprintf(obuf, sizeof(obuf), "%s,", pbeg);
348 pbeg = pend + 1;
351 pend = xt_osf_strchr(pbeg, OSFPDEL);
354 if (pbeg[0] == '@' || pbeg[0] == '*')
355 cnt = snprintf(f.genre, sizeof(f.genre), "%s", pbeg + 1);
357 cnt = snprintf(f.genre, sizeof(f.genre), "%s", pbeg);
358 pbeg = pend + 1;
361 pend = xt_osf_strchr(pbeg, OSFPDEL);
364 cnt = snprintf(f.version, sizeof(f.version), "%s", pbeg);
365 pbeg = pend + 1;
368 pend = xt_osf_strchr(pbeg, OSFPDEL);
372 snprintf(f.subtype, sizeof(f.subtype), "%s", pbeg);
373 pbeg = pend + 1;