Lines Matching refs:ptr

136 	char	*ptr;			/* temp pointer			*/  in main()  local
287 for (ptr = optarg; *ptr; ++ptr) { in main()
288 if ((*ptr == ':') && !sawsep) { in main()
298 if (!isdigit(*ptr)) in main()
301 ptr = strchr(optarg, ':'); in main()
302 if (ptr) in main()
304 *ptr = ','; in main()
353 ptr = strchr(buf, ':'); in main()
354 ptr++; in main()
355 ptr2 = strchr(ptr, ':'); in main()
357 if (strcmp(ptr, LISTENTYPE) != 0) { in main()
1242 char *ptr; /* temporary pointer into buffer */ in svc_format() local
1246 if ((ptr = strchr(buf, ':')) == NULL) in svc_format()
1248 *ptr++ = '\0'; in svc_format()
1249 entry->pmtype = ptr; in svc_format()
1250 if ((ptr = strchr(entry->pmtype, ':')) == NULL) in svc_format()
1252 *ptr++ = '\0'; in svc_format()
1253 entry->svc_code = ptr; in svc_format()
1258 if ((ptr = strchr(entry->svc_code, ':')) == NULL) in svc_format()
1260 *ptr++ = '\0'; in svc_format()
1261 entry->flags = ptr; in svc_format()
1262 if ((ptr = strchr(entry->flags, ':')) == NULL) in svc_format()
1264 *ptr++ = '\0'; in svc_format()
1265 entry->id = ptr; in svc_format()
1266 if ((ptr = strchr(entry->id, ':')) == NULL) in svc_format()
1268 *ptr++ = '\0'; in svc_format()
1269 entry->res1 = ptr; in svc_format()
1270 if ((ptr = strchr(entry->res1, ':')) == NULL) in svc_format()
1272 *ptr++ = '\0'; in svc_format()
1273 entry->res2 = ptr; in svc_format()
1274 if ((ptr = strchr(entry->res2, ':')) == NULL) in svc_format()
1276 *ptr++ = '\0'; in svc_format()
1277 entry->res3 = ptr; in svc_format()
1278 if ((ptr = strchr(entry->res3, ':')) == NULL) in svc_format()
1280 *ptr++ = '\0'; in svc_format()
1281 entry->addr = ptr; in svc_format()
1282 if ((ptr = strchr(entry->addr, ':')) == NULL) in svc_format()
1284 *ptr++ = '\0'; in svc_format()
1285 entry->rpc = ptr; in svc_format()
1286 if ((ptr = strchr(entry->rpc, ':')) == NULL) in svc_format()
1288 *ptr++ = '\0'; in svc_format()
1294 entry->lflags = ptr; in svc_format()
1295 if ((ptr = strchr(entry->lflags, ':')) == NULL) in svc_format()
1297 *ptr++ = '\0'; in svc_format()
1298 entry->modules = ptr; in svc_format()
1299 if ((ptr = strchr(entry->modules, ':')) == NULL) in svc_format()
1301 *ptr++ = '\0'; in svc_format()
1302 entry->command = ptr; in svc_format()
1303 if ((ptr = strchr(entry->command, '#')) == NULL) in svc_format()
1305 *ptr++ = '\0'; in svc_format()
1306 entry->comment = ptr; in svc_format()