Searched refs:bufpos (Results 1 - 24 of 24) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/
H A Dx-rst.c74 int bufpos; local
103 bufpos = 0;
113 if (bufpos >= bufmax)
120 buffer[bufpos++] = c;
125 buffer[bufpos] = '\0';
129 bufpos = 0;
149 if (bufpos >= bufmax)
154 buffer[bufpos++] = c;
185 if (bufpos >= bufmax)
190 buffer[bufpos
[all...]
H A Dx-perl.c278 size_t bufpos = 0; local
363 if (bufpos + read_bytes >= bufmax)
367 while (bufpos + read_bytes >= bufmax);
371 strcpy (buffer + bufpos, my_linebuf);
372 bufpos += read_bytes;
640 int bufpos = 0; local
644 buffer[bufpos++] = delim;
672 if (bufpos + 2 > bufmax)
680 buffer[bufpos++] = counter_delim; /* will be stripped off later */
681 buffer[bufpos
895 int bufpos = 0; local
1286 int bufpos = 0; local
1654 int bufpos = 0; local
2010 int bufpos; local
[all...]
H A Dx-c.c1007 int bufpos; local
1060 bufpos = 0;
1063 if (bufpos >= bufmax)
1068 buffer[bufpos++] = c;
1093 if (bufpos >= bufmax)
1098 buffer[bufpos] = 0;
1124 bufpos = 0;
1127 if (bufpos >= bufmax)
1132 buffer[bufpos++] = c;
1138 if (bufpos >
1354 int bufpos; local
[all...]
H A Dx-ycp.c429 int bufpos; local
477 bufpos = 0;
480 if (bufpos >= bufmax)
485 buffer[bufpos++] = c;
504 if (bufpos == 1 && buffer[0] == '_' && c == '(')
514 if (bufpos >= bufmax)
519 buffer[bufpos] = '\0';
525 bufpos = 0;
531 if (bufpos >= bufmax)
536 buffer[bufpos
[all...]
H A Dpo-lex.c868 size_t bufpos; local
931 bufpos = 0;
934 while (bufpos + mb_len (mbc) >= bufmax)
942 memcpy_small (&buf[bufpos], mb_ptr (mbc), mb_len (mbc));
943 bufpos += mb_len (mbc);
947 buf[bufpos] = '\0';
970 bufpos = 0;
974 while (bufpos + mb_len (mbc) >= bufmax)
995 buf[bufpos++] = control_sequence ();
1000 memcpy_small (&buf[bufpos], mb_pt
[all...]
H A Dx-awk.c384 int bufpos; local
448 bufpos = 0;
451 if (bufpos >= bufmax)
456 buffer[bufpos++] = c;
475 if (bufpos == 1 && buffer[0] == '_' && c == '"')
485 if (bufpos >= bufmax)
490 buffer[bufpos] = '\0';
518 bufpos = 0;
524 if (bufpos >= bufmax)
529 buffer[bufpos
[all...]
H A Dx-php.c784 int bufpos; local
847 bufpos = 0;
850 if (bufpos >= bufmax)
855 buffer[bufpos++] = c;
902 if (bufpos >= bufmax)
907 buffer[bufpos] = 0;
914 bufpos = 0;
929 if (bufpos >= bufmax)
934 buffer[bufpos++] = c;
936 if (bufpos >
[all...]
H A Dx-smalltalk.c194 int bufpos; local
261 bufpos = 0;
276 if (bufpos >= bufmax)
281 buffer[bufpos++] = c;
283 if (bufpos >= bufmax)
288 buffer[bufpos] = 0;
357 bufpos = 0;
360 if (bufpos >= bufmax)
365 buffer[bufpos++] = c;
383 if (bufpos >
[all...]
H A Dx-java.c1012 int bufpos = 0; local
1015 if (bufpos >= bufmax)
1020 buffer[bufpos++] = RED (c);
1029 if (bufpos >= bufmax)
1034 buffer[bufpos] = '\0';
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/
H A Dudev_utils_run.c42 size_t bufpos = 0; local
55 bufpos = snprintf(buf, sizeof(buf)-1, "%s@%s", action, devpath);
56 bufpos++;
57 for (i = 0; environ[i] != NULL && bufpos < sizeof(buf); i++) {
58 bufpos += strlcpy(&buf[bufpos], environ[i], sizeof(buf) - bufpos-1);
59 bufpos++;
62 count = sendto(sock, &buf, bufpos, 0, (struct sockaddr *)&saddr, addrlen);
H A Dudevmonitor.c112 size_t bufpos = 0; local
115 while (bufpos < buflen) {
119 key = &buf[bufpos];
125 bufpos += keylen + 1;
210 ssize_t bufpos; local
267 bufpos = keys;
269 while (bufpos < buflen) {
273 key = &buf[bufpos];
278 bufpos += keylen + 1;
H A Dudevd.c571 int bufpos; local
585 bufpos = 0;
586 for (i = 0; (bufpos < buf_size) && (i < UEVENT_NUM_ENVP-2); i++) {
590 key = &msg->envbuf[bufpos];
593 bufpos += keylen + 1;
739 int bufpos; local
757 bufpos = strlen(buffer)+1;
758 msg = get_msg_from_envbuf(&buffer[bufpos], size-bufpos);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/
H A Dser_a2232.c505 unsigned char bufpos; /* Must be unsigned char. We need the modulo-256 arithmetics */ local
520 bufpos = status->InTail;
523 if (newhead != bufpos) {
531 while (bufpos != newhead) {
533 switch (cbuf[bufpos]) {
536 switch (ibuf[bufpos++]) {
546 printk("A2232: 65EC02 software broken, unknown event type %d occurred.\n",ibuf[bufpos-1]);
551 a2232_receive_char(port, ibuf[bufpos], err);
552 bufpos++;
555 printk("A2232: 65EC02 software broken, unknown data type %d occurred.\n",cbuf[bufpos]);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Doggdec.c74 memcpy (os->buf, ost->streams[i].buf, os->bufpos);
126 os->bufpos = 0;
194 int size = os->bufpos - os->pstart;
200 os->bufpos = size;
303 if (os->bufsize - os->bufpos < size){
307 memcpy (nb, os->buf, os->bufpos);
312 ret = avio_read(bc, os->buf + os->bufpos, size);
316 os->bufpos += size;
320 memset(os->buf + os->bufpos, 0, FF_INPUT_BUFFER_PADDING_SIZE);
354 os->codec = ogg_find_codec (os->buf, os->bufpos);
[all...]
H A Doggdec.h64 unsigned int bufpos; member in struct:ogg_stream
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Doggdec.c80 memcpy(os->buf, ost->streams[i].buf, os->bufpos);
133 os->bufpos = 0;
277 int size = os->bufpos - os->pstart;
285 os->bufpos = size;
408 if (os->bufsize - os->bufpos < size) {
412 memcpy(nb, os->buf, os->bufpos);
417 ret = avio_read(bc, os->buf + os->bufpos, size);
421 os->bufpos += size;
425 memset(os->buf + os->bufpos, 0, FF_INPUT_BUFFER_PADDING_SIZE);
468 os->codec = ogg_find_codec(os->buf, os->bufpos);
[all...]
H A Doggdec.h64 unsigned int bufpos; member in struct:ogg_stream
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/cipher/
H A Dmd.c471 hd->bufpos = 0;
639 if (ahd->bufpos)
657 bhd->bufpos = 0;
658 gcry_assert (! ahd->bufpos);
739 a->bufpos = a->ctx->finalized = 0;
793 if (a->bufpos && fwrite (a->buf, a->bufpos, 1, a->ctx->debug) != 1)
801 if (a->bufpos)
802 (*r->digest->write) (&r->context.c, a->buf, a->bufpos);
805 a->bufpos
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/
H A Dmd.c471 hd->bufpos = 0;
639 if (ahd->bufpos)
657 bhd->bufpos = 0;
658 gcry_assert (! ahd->bufpos);
739 a->bufpos = a->ctx->finalized = 0;
793 if (a->bufpos && fwrite (a->buf, a->bufpos, 1, a->ctx->debug) != 1)
801 if (a->bufpos)
802 (*r->digest->write) (&r->context.c, a->buf, a->bufpos);
805 a->bufpos
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/asn1/
H A Dbio_asn1.c96 int bufpos; member in struct:BIO_ASN1_BUF_CTX_t
168 ctx->bufpos = 0;
241 ret = BIO_write(b->next_bio, ctx->buf + ctx->bufpos, ctx->buflen);
247 ctx->bufpos += ret;
249 ctx->bufpos = 0;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/asn1/
H A Dbio_asn1.c96 int bufpos; member in struct:BIO_ASN1_BUF_CTX_t
168 ctx->bufpos = 0;
241 ret = BIO_write(b->next_bio, ctx->buf + ctx->bufpos, ctx->buflen);
247 ctx->bufpos += ret;
249 ctx->bufpos = 0;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/papd/
H A Dlp.c661 static size_t bufpos = 0; local
711 if ((bufpos+len) > BUFSIZE) {
717 memcpy(tempbuf + bufpos, tbuf, len);
718 bufpos += len;
719 if (bufpos > BUFSIZE/2)
724 else if ( bufpos) {
725 if ( fwrite( tempbuf, 1, bufpos, lp.lp_stream ) != bufpos ) {
729 bufpos=0;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/src/
H A Dgcrypt.h1119 int bufpos;
1216 if( (h__)->bufpos == (h__)->bufsize ) \
1218 (h__)->buf[(h__)->bufpos++] = (c) & 0xff; \
1111 int bufpos; member in struct:gcry_md_handle
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/src/
H A Dgcrypt.h1119 int bufpos;
1216 if( (h__)->bufpos == (h__)->bufsize ) \
1218 (h__)->buf[(h__)->bufpos++] = (c) & 0xff; \
1111 int bufpos; member in struct:gcry_md_handle

Completed in 310 milliseconds