Searched refs:bufpos (Results 1 – 3 of 3) sorted by relevance
/busybox-1.35.0/shell/ |
D | shell_common.c | 48 int bufpos; /* need to be able to hold -1 */ in shell_builtin_read() local 171 bufpos = 0; in shell_builtin_read() 177 if ((bufpos & 0xff) == 0) in shell_builtin_read() 178 buffer = xrealloc(buffer, bufpos + 0x101); in shell_builtin_read() 205 if (read(fd, &buffer[bufpos], 1) != 1) { in shell_builtin_read() 211 c = buffer[bufpos]; in shell_builtin_read() 246 buffer[bufpos] = '\0'; in shell_builtin_read() 247 bufpos = 0; in shell_builtin_read() 256 bufpos++; in shell_builtin_read() 261 while (--bufpos >= 0 in shell_builtin_read() [all …]
|
/busybox-1.35.0/networking/ |
D | whois.c | 47 unsigned bufpos = 0; in query() local 56 while (bufpos < 32*1024 /* paranoia */ in query() 65 buf = xrealloc(buf, bufpos + len + 1); in query() 66 memcpy(buf + bufpos, linebuf, len); in query() 67 bufpos += len; in query() 68 buf[bufpos] = '\0'; in query() 97 bufpos = 0; in query()
|
/busybox-1.35.0/libbb/ |
D | hash_md5_sha.c | 44 unsigned bufpos = ctx->total64 & 63; in common64_end() local 46 ctx->wbuffer[bufpos++] = 0x80; in common64_end() 50 unsigned remaining = 64 - bufpos; in common64_end() 51 memset(ctx->wbuffer + bufpos, 0, remaining); in common64_end() 64 bufpos = 0; in common64_end() 423 unsigned bufpos = ctx->total64 & 63; in md5_hash() local 428 unsigned remaining = 64 - bufpos; in md5_hash() 432 memcpy(ctx->wbuffer + bufpos, buffer, remaining); in md5_hash() 435 bufpos += remaining; in md5_hash() 438 bufpos -= 64; in md5_hash() [all …]
|