Lines Matching refs:bp
244 char *bp; local
290 if ((bp = (char *)malloc(string_length))) {
291 (void) strcpy(bp, "{ ");
294 (void) strcat(bp, numstr);
296 (void) strcat(bp, numstr);
303 (void) strcat(bp, numstr);
307 (void) strcat(bp, "}");
308 oid_str->length = strlen(bp)+1;
309 oid_str->value = (void *) bp;
329 char *cp, *bp, *startp; local
350 bp = (char *)oid_str->value;
351 cp = bp;
353 while ((bp < &cp[oid_str->length]) && isspace(*bp))
354 bp++;
355 if (*bp == '{') {
357 bp++;
359 while ((bp < &cp[oid_str->length]) && isspace(*bp))
360 bp++;
361 startp = bp;
367 if (sscanf(bp, "%d", &numbuf) != 1) {
370 while ((bp < &cp[oid_str->length]) && isdigit(*bp))
371 bp++;
372 while ((bp < &cp[oid_str->length]) &&
373 (isspace(*bp) || *bp == '.'))
374 bp++;
375 if (sscanf(bp, "%d", &numbuf) != 1) {
378 while ((bp < &cp[oid_str->length]) && isdigit(*bp))
379 bp++;
380 while ((bp < &cp[oid_str->length]) &&
381 (isspace(*bp) || *bp == '.'))
382 bp++;
384 while (isdigit(*bp)) {
385 if (sscanf(bp, "%d", &numbuf) != 1) {
392 while ((bp < &cp[oid_str->length]) && isdigit(*bp))
393 bp++;
394 while ((bp < &cp[oid_str->length]) &&
395 (isspace(*bp) || *bp == '.'))
396 bp++;
398 if (brace && (*bp != '}')) {
409 bp = startp;
410 (void) sscanf(bp, "%d", &numbuf);
411 while (isdigit(*bp))
412 bp++;
413 while (isspace(*bp) || *bp == '.')
414 bp++;
416 (void) sscanf(bp, "%d", &numbuf);
420 while (isdigit(*bp))
421 bp++;
422 while (isspace(*bp) || *bp == '.')
423 bp++;
424 while (isdigit(*bp)) {
425 (void) sscanf(bp, "%d", &numbuf);
444 while (isdigit(*bp))
445 bp++;
446 while (isspace(*bp) || *bp == '.')
447 bp++;