Lines Matching defs:tmpbuf
459 char tmpbuf[10];
463 len = count > sizeof(tmpbuf) - 1 ? sizeof(tmpbuf) - 1 : count;
464 strncpy(tmpbuf, buf, len);
465 tmpbuf[len] = '\0';
466 if (sscanf(tmpbuf, "%d", &status) != 1)
483 char tmpbuf[10];
487 len = count > sizeof(tmpbuf) - 1 ? sizeof(tmpbuf) - 1 : count;
488 strncpy(tmpbuf, buf, len);
489 tmpbuf[len] = '\0';
490 if (sscanf(tmpbuf, "%d", &debug_level) != 1)