Lines Matching refs:tmpbuf
730 char tmpbuf[80];
735 snprintf(tmpbuf, sizeof(tmpbuf)-1,
740 tt = add_var(&out->kv_list, sizeof(tmpbuf)-1, RO|DEF);
741 snprintf(tt, sizeof(tmpbuf)-1, "calc_utc=\"%s\"", tmpbuf);
905 char tmpbuf[256];
922 memset(tmpbuf, 0x00, sizeof(tmpbuf));
936 strcpy(tmpbuf, "unknown due to timeout");
942 strcpy(tmpbuf, "unknown due to garbage input");
968 strcpy(tmpbuf, "(c)");
983 ptr = strstr(&tmpbuf[lastsearch], "S/N");
986 tmpbuf[last_crlf_conv_len] = 0;
992 tmpbuf[len++] = ' ';
993 tmpbuf[len++] = '/';
994 tmpbuf[len++] = ' ';
1003 tmpbuf[len++] = (char) c;
1005 tmpbuf[len] = '\0';
1006 if (len > sizeof(tmpbuf)-5)
1013 strcpy(tmpbuf, "unknown error");
1015 strncpy(firmware, tmpbuf, maxlen);