Lines Matching +defs:old +defs:buf
446 dos_direct_output (y, x, buf, len)
448 char *buf;
457 dosmemput (buf++, 1, t);
462 for (_farsetsel (_dos_ds); --len >= 0; t += 2, buf++)
463 _farnspokeb (t, *buf);
1012 unsigned char workbuf[MAX_MULTIBYTE_LENGTH], *buf;
1074 buf = workbuf;
1080 buf = GLYPH_STRING (tbase, g);
1093 encode_coding (coding, buf, conversion_buffer, chlen,
1145 buf += coding->consumed;
1149 fputc (*buf, termscript);
1150 *screen_bp++ = (unsigned char)*buf++;
1623 /* Clear the display of the old active region, if any. */
1851 display (probably a legacy of old terminals where you cannot
3178 char buf[11];
3179 sprintf (buf, "%02x:%02x*%04x",
3181 dos_direct_output (screen_size_Y - 2, screen_size_X - 12, buf, 10);
4119 crlf_to_lf (n, buf)
4121 register unsigned char *buf;
4123 unsigned char *np = buf, *startp = buf, *endp = buf + n;
4127 while (buf < endp - 1)
4129 if (*buf == 0x0d)
4131 if (*(++buf) != 0x0a)
4135 *np++ = *buf++;
4137 if (buf < endp)
4138 *np++ = *buf++;
4219 int _rename(const char *old, const char *new)
4222 int olen = strlen(old) + 1;
4226 const char *orig = old;
4247 strcpy(tempfile, old);
4266 _put_path(old);
4278 lfn_fd = _creat(old, 0);
4281 old = tempfile;
4292 _put_path(old);
4423 char buf[FILENAME_MAX];
4439 strcpy(buf, tmp);
4440 buf[tmp_len++] = '/', buf[tmp_len] = 0;
4441 tmp = buf;