Searched refs:tmpbuf (Results 1 - 25 of 71) sorted by relevance

123

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/ppc/boot/utils/
H A Dmktree.c39 char tmpbuf[IMGBLK]; variable
100 if (read(in_fd, tmpbuf, IMGBLK) != IMGBLK) {
106 if ((*(uint *)tmpbuf) != htonl(0x7f454c46)) {
126 if (read(in_fd, tmpbuf, IMGBLK) < 0) {
130 cp = (uint *)tmpbuf;
131 for (i=0; i<sizeof(tmpbuf)/sizeof(uint); i++)
133 if (write(out_fd, tmpbuf, sizeof(tmpbuf)) != sizeof(tmpbuf)) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/boot/
H A Dmktree.c39 char tmpbuf[IMGBLK]; variable
98 if (read(in_fd, tmpbuf, IMGBLK) != IMGBLK) {
104 if ((*(uint *)tmpbuf) != htonl(0x7f454c46)) {
124 if (read(in_fd, tmpbuf, IMGBLK) < 0) {
128 cp = (uint *)tmpbuf;
129 for (i=0; i<sizeof(tmpbuf)/sizeof(uint); i++)
131 if (write(out_fd, tmpbuf, sizeof(tmpbuf)) != sizeof(tmpbuf)) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/crypto/ocsp/
H A Docsp_ht.c80 char tmpbuf[1024]; local
100 while ((len = BIO_read(b, tmpbuf, sizeof tmpbuf))) {
105 BIO_write(mem, tmpbuf, len);
107 if(BIO_gets(mem, tmpbuf, 512) <= 0) {
117 for(p = tmpbuf; *p && !isspace((unsigned char)*p); p++) continue;
157 while(BIO_gets(mem, tmpbuf, 512) > 0)
159 for(p = tmpbuf; *p && isspace((unsigned char)*p); p++) continue;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/crypto/ocsp/
H A Docsp_ht.c80 char tmpbuf[1024]; local
100 while ((len = BIO_read(b, tmpbuf, sizeof tmpbuf))) {
105 BIO_write(mem, tmpbuf, len);
107 if(BIO_gets(mem, tmpbuf, 512) <= 0) {
117 for(p = tmpbuf; *p && !isspace((unsigned char)*p); p++) continue;
157 while(BIO_gets(mem, tmpbuf, 512) > 0)
159 for(p = tmpbuf; *p && isspace((unsigned char)*p); p++) continue;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/crypto/des/
H A Denc_read.c99 static unsigned char *tmpbuf=NULL; local
104 if (tmpbuf == NULL)
106 tmpbuf=OPENSSL_malloc(BSIZE);
107 if (tmpbuf == NULL) return(-1);
206 DES_pcbc_encrypt(net,tmpbuf,num,sched,iv,
209 DES_cbc_encrypt(net,tmpbuf,num,sched,iv,
214 memcpy(buf,tmpbuf,num);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/crypto/des/
H A Denc_read.c99 static unsigned char *tmpbuf=NULL; local
104 if (tmpbuf == NULL)
106 tmpbuf=OPENSSL_malloc(BSIZE);
107 if (tmpbuf == NULL) return(-1);
206 DES_pcbc_encrypt(net,tmpbuf,num,sched,iv,
209 DES_cbc_encrypt(net,tmpbuf,num,sched,iv,
214 memcpy(buf,tmpbuf,num);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/sunrpc/
H A Dsysctl.c55 char tmpbuf[20], c, *s; local
76 if (left > sizeof(tmpbuf) - 1)
78 if (copy_from_user(tmpbuf, p, left))
80 tmpbuf[left] = '\0';
82 for (s = tmpbuf, value = 0; '0' <= *s && *s <= '9'; s++, left--)
96 len = sprintf(tmpbuf, "%d", *(unsigned int *) table->data);
99 if (__copy_to_user(buffer, tmpbuf, len))
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/crypto/rand/
H A Drand_unix.c151 unsigned char tmpbuf[ENTROPY_NEEDED]; local
212 r=read(fd,(unsigned char *)tmpbuf+n,
242 r = RAND_query_egd_bytes(*egdsocket, (unsigned char *)tmpbuf+n,
252 RAND_add(tmpbuf,sizeof tmpbuf,n);
253 OPENSSL_cleanse(tmpbuf,n);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/crypto/rand/
H A Drand_unix.c159 unsigned char tmpbuf[ENTROPY_NEEDED]; local
258 r = read(fd,(unsigned char *)tmpbuf+n, ENTROPY_NEEDED-n);
290 r = RAND_query_egd_bytes(*egdsocket, (unsigned char *)tmpbuf+n,
300 RAND_add(tmpbuf,sizeof tmpbuf,(double)n);
301 OPENSSL_cleanse(tmpbuf,n);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/pnp/pnpbios/
H A Dproc.c78 char *tmpbuf; local
90 tmpbuf = kzalloc(escd.escd_size, GFP_KERNEL);
91 if (!tmpbuf) return -ENOMEM;
93 if (pnp_bios_read_escd(tmpbuf, escd.nv_storage_base)) {
94 kfree(tmpbuf);
98 escd_size = (unsigned char)(tmpbuf[0]) + (unsigned char)(tmpbuf[1])*256;
110 memcpy(buf, tmpbuf + pos, n);
111 kfree(tmpbuf);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/media/video/
H A Dc-qcam.c363 char tmpbuf[BUFSZ]; local
412 t = qcam_read_bytes(q, tmpbuf, s);
417 if (__copy_to_user(buf+outptr, tmpbuf, sz))
442 l = qcam_read_bytes(q, tmpbuf, 3);
444 } while (l && (tmpbuf[0] == 0x7e || tmpbuf[1] == 0x7e || tmpbuf[2] == 0x7e));
446 if (tmpbuf[0] != 0xe || tmpbuf[1] != 0x0 || tmpbuf[
[all...]
H A Dsaa6588.c263 unsigned char tmpbuf[6]; local
269 if (6 != i2c_master_recv(&s->client, &tmpbuf[0], 6)) {
275 blocknum = tmpbuf[0] >> 5;
301 tmp = tmpbuf[2];
302 tmpbuf[2] = tmpbuf[0];
303 tmpbuf[0] = tmp;
307 if ((tmpbuf[2] & 0x03) == 0x03)
309 else if ((tmpbuf[2] & 0x03) != 0x00)
311 tmpbuf[
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/rxrpc/
H A Drxkad.c119 } tmpbuf __attribute__((aligned(16))); /* must all be in same page */ local
133 tmpbuf.x[0] = conn->epoch;
134 tmpbuf.x[1] = conn->cid;
135 tmpbuf.x[2] = 0;
136 tmpbuf.x[3] = htonl(conn->security_ix);
139 sg_set_buf(&sg[0], &tmpbuf, sizeof(tmpbuf));
140 sg_set_buf(&sg[1], &tmpbuf, sizeof(tmpbuf));
141 crypto_blkcipher_encrypt_iv(&desc, &sg[0], &sg[1], sizeof(tmpbuf));
164 } tmpbuf __attribute__((aligned(8))); /* must all be in same page */ local
264 } tmpbuf __attribute__((aligned(8))); /* must all be in same page */ local
492 } tmpbuf __attribute__((aligned(8))); /* must all be in same page */ local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dadxenc.c168 short tmpbuf[32*2]; local
172 tmpbuf[i] = samples[i*2];
173 tmpbuf[i+32] = samples[i*2+1];
176 adx_encode(dst,tmpbuf,c->prev);
177 adx_encode(dst+18,tmpbuf+32,c->prev+1);
H A Dfraps.c48 uint8_t *tmpbuf; member in struct:FrapsContext
67 s->tmpbuf = NULL;
104 s->dsp.bswap_buf((uint32_t *)s->tmpbuf, (const uint32_t *)src, size >> 2);
106 init_get_bits(&gb, s->tmpbuf, size * 8);
283 s->tmpbuf = av_realloc(s->tmpbuf, offs[i + 1] - offs[i] - 1024 + FF_INPUT_BUFFER_PADDING_SIZE);
325 s->tmpbuf = av_realloc(s->tmpbuf, offs[i + 1] - offs[i] - 1024 + FF_INPUT_BUFFER_PADDING_SIZE);
361 av_freep(&s->tmpbuf);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libiconv-1.11/extras/
H A Diconv_string.c71 char tmpbuf[tmpbufsize]; local
75 char* outptr = tmpbuf;
88 count += outptr-tmpbuf;
91 char* outptr = tmpbuf;
100 count += outptr-tmpbuf;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/engines/
H A De_cswift.c549 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
551 sprintf(tmpbuf, "%ld", sw_status);
552 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
566 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
568 sprintf(tmpbuf, "%ld", sw_status);
569 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
694 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
696 sprintf(tmpbuf, "%ld", sw_status);
697 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
711 char tmpbuf[DECIMAL_SIZ local
877 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
895 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
989 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
1011 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
1076 char tmpbuf[20]; local
1092 char tmpbuf[20]; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/oprofile/
H A Doprofilefs.c57 char tmpbuf[TMPBUFSIZE]; local
58 size_t maxlen = snprintf(tmpbuf, TMPBUFSIZE, "%lu\n", val);
61 return simple_read_from_buffer(buf, count, offset, tmpbuf, maxlen);
67 char tmpbuf[TMPBUFSIZE]; local
76 memset(tmpbuf, 0x0, TMPBUFSIZE);
78 if (copy_from_user(tmpbuf, buf, count))
82 *val = simple_strtoul(tmpbuf, NULL, 0);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/crypto/engine/
H A Dhw_cswift.c523 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
525 sprintf(tmpbuf, "%ld", sw_status);
526 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
540 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
542 sprintf(tmpbuf, "%ld", sw_status);
543 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
630 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
632 sprintf(tmpbuf, "%ld", sw_status);
633 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
647 char tmpbuf[DECIMAL_SIZ local
762 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
780 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
874 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
896 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
958 char tmpbuf[20]; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/etc/atalkd/
H A Dconfig.c99 char *buffer, *tmpbuf; local
117 tmpbuf = buffer;
131 if ( *tmpbuf == '"' ) {
132 argv[ argc++ ] = ++tmpbuf;
133 while ( *tmpbuf != '\0' && *tmpbuf != '"' ) {
134 tmpbuf++;
136 if ( *tmpbuf == '"' ) {
140 argv[ argc++ ] = tmpbuf;
141 while ( *tmpbuf !
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dstriconv.c64 # define tmpbuf tmp.buf macro
70 char *outptr = tmpbuf;
96 count += outptr - tmpbuf;
102 char *outptr = tmpbuf;
108 count += outptr - tmpbuf;
112 # undef tmpbuf macro
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/
H A Dstriconv.c64 # define tmpbuf tmp.buf macro
70 char *outptr = tmpbuf;
96 count += outptr - tmpbuf;
102 char *outptr = tmpbuf;
108 count += outptr - tmpbuf;
112 # undef tmpbuf macro
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/apps/
H A Dasn1pars.c93 unsigned char *tmpbuf; local
277 tmpbuf=(unsigned char *)str;
289 tmpbuf+=j;
292 at = d2i_ASN1_TYPE(NULL,&tmpbuf,tmplen);
310 tmpbuf=at->value.asn1_string->data;
313 str=(char *)tmpbuf;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dstriconv.c64 # define tmpbuf tmp.buf macro
70 char *outptr = tmpbuf;
96 count += outptr - tmpbuf;
102 char *outptr = tmpbuf;
108 count += outptr - tmpbuf;
112 # undef tmpbuf macro
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/isdn/hardware/eicon/
H A Ddivasproc.c61 char tmpbuf[80]; local
67 divas_get_version(tmpbuf);
68 if (copy_to_user(buf + len, &tmpbuf, strlen(tmpbuf)))
70 len += strlen(tmpbuf);
76 sprintf(tmpbuf,
82 if ((strlen(tmpbuf) + len) > count)
85 (buf + len, &tmpbuf,
86 strlen(tmpbuf))) return -EFAULT;
87 len += strlen(tmpbuf);
[all...]

Completed in 261 milliseconds

123