Searched refs:buf_len (Results 1 - 25 of 106) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/ec/
H A Dec_print.c65 size_t buf_len=0; local
68 buf_len = EC_POINT_point2oct(group, point, form,
70 if (buf_len == 0)
73 if ((buf = OPENSSL_malloc(buf_len)) == NULL)
76 if (!EC_POINT_point2oct(group, point, form, buf, buf_len, ctx))
82 ret = BN_bin2bn(buf, buf_len, ret);
94 size_t buf_len=0; local
98 if ((buf_len = BN_num_bytes(bn)) == 0) return NULL;
99 buf = OPENSSL_malloc(buf_len);
120 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ct
141 size_t buf_len=0,i; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/asn1/
H A Dt_pkey.c100 size_t buf_len=0, i; local
103 buf_len = (size_t)BN_num_bytes(x->n);
105 if (buf_len < (i = (size_t)BN_num_bytes(x->e)))
106 buf_len = i;
108 if (buf_len < (i = (size_t)BN_num_bytes(x->d)))
109 buf_len = i;
111 if (buf_len < (i = (size_t)BN_num_bytes(x->p)))
112 buf_len = i;
114 if (buf_len < (i = (size_t)BN_num_bytes(x->q)))
115 buf_len
184 size_t buf_len=0,i; local
298 size_t buf_len=0, i; local
356 size_t buf_len=0,i; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/evp/
H A Dbio_ok.c156 int buf_len; member in struct:ok_struct
193 ctx->buf_len=0;
238 i=ctx->buf_len-ctx->buf_off;
247 if (ctx->buf_len == ctx->buf_off)
254 ctx->buf_len= ctx->buf_len_save- ctx->buf_off_save;
256 ctx->buf_len);
260 ctx->buf_len=0;
270 n=IOBS- ctx->buf_len;
271 i=BIO_read(b->next_bio,&(ctx->buf[ctx->buf_len]),n);
275 ctx->buf_len
[all...]
H A Dbio_b64.c82 int buf_len; member in struct:b64_struct
119 ctx->buf_len=0;
157 ctx->buf_len=0;
164 if (ctx->buf_len > 0)
166 i=ctx->buf_len-ctx->buf_off;
174 if (ctx->buf_len == ctx->buf_off)
176 ctx->buf_len=0;
320 ctx->buf_len=0;
323 ctx->buf_len=z;
332 (unsigned char *)ctx->buf,&ctx->buf_len,
[all...]
H A Dbio_enc.c78 int buf_len; member in struct:enc_struct
116 ctx->buf_len=0;
154 if (ctx->buf_len > 0)
156 i=ctx->buf_len-ctx->buf_off;
163 if (ctx->buf_len == ctx->buf_off)
165 ctx->buf_len=0;
189 &(ctx->buf_len));
202 (unsigned char *)ctx->buf,&ctx->buf_len,
211 if(ctx->buf_len == 0) continue;
214 if (ctx->buf_len <
[all...]
H A Devp_enc.c275 ctx->buf_len=0;
333 if(ctx->buf_len == 0 && (inl&(ctx->block_mask)) == 0)
346 i=ctx->buf_len;
354 ctx->buf_len+=inl;
381 ctx->buf_len=i;
403 bl=ctx->buf_len;
459 if (b > 1 && !ctx->buf_len)
490 if(ctx->buf_len)
500 if (ctx->buf_len || !ctx->final_used)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/evp/
H A Dbio_ok.c147 size_t buf_len; member in struct:ok_struct
184 ctx->buf_len=0;
229 i=ctx->buf_len-ctx->buf_off;
238 if (ctx->buf_len == ctx->buf_off)
245 ctx->buf_len= ctx->buf_len_save- ctx->buf_off_save;
247 ctx->buf_len);
251 ctx->buf_len=0;
261 n=IOBS- ctx->buf_len;
262 i=BIO_read(b->next_bio,&(ctx->buf[ctx->buf_len]),n);
266 ctx->buf_len
[all...]
H A Dbio_b64.c82 int buf_len; member in struct:b64_struct
119 ctx->buf_len=0;
157 ctx->buf_len=0;
164 if (ctx->buf_len > 0)
166 i=ctx->buf_len-ctx->buf_off;
174 if (ctx->buf_len == ctx->buf_off)
176 ctx->buf_len=0;
320 ctx->buf_len=0;
323 ctx->buf_len=z;
332 (unsigned char *)ctx->buf,&ctx->buf_len,
[all...]
H A Dbio_enc.c78 int buf_len; member in struct:enc_struct
116 ctx->buf_len=0;
154 if (ctx->buf_len > 0)
156 i=ctx->buf_len-ctx->buf_off;
163 if (ctx->buf_len == ctx->buf_off)
165 ctx->buf_len=0;
189 &(ctx->buf_len));
202 (unsigned char *)ctx->buf,&ctx->buf_len,
211 if(ctx->buf_len == 0) continue;
214 if (ctx->buf_len <
[all...]
H A Devp_enc.c225 ctx->buf_len=0;
283 if(ctx->buf_len == 0 && (inl&(ctx->block_mask)) == 0)
296 i=ctx->buf_len;
304 ctx->buf_len+=inl;
331 ctx->buf_len=i;
354 bl=ctx->buf_len;
411 if (b > 1 && !ctx->buf_len)
442 if(ctx->buf_len)
452 if (ctx->buf_len || !ctx->final_used)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/
H A Dstat.c120 static void print_statfs(char *pformat, const size_t buf_len, const char m, argument
126 strncat(pformat, "s", buf_len);
129 strncat(pformat, "Lx", buf_len);
132 strncat(pformat, "lu", buf_len);
135 strncat(pformat, "lx", buf_len);
138 strncat(pformat, "s", buf_len);
141 strncat(pformat, "jd", buf_len);
144 strncat(pformat, "jd", buf_len);
147 strncat(pformat, "jd", buf_len);
150 strncat(pformat, "lu", buf_len);
170 print_stat(char *pformat, const size_t buf_len, const char m, const char *const filename, void const *data USE_SELINUX(, security_context_t scontext)) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/asn1/
H A Dt_pkey.c113 size_t buf_len=0, i; local
116 buf_len = (size_t)BN_num_bytes(x->n);
118 if (buf_len < (i = (size_t)BN_num_bytes(x->e)))
119 buf_len = i;
121 if (buf_len < (i = (size_t)BN_num_bytes(x->d)))
122 buf_len = i;
124 if (buf_len < (i = (size_t)BN_num_bytes(x->p)))
125 buf_len = i;
127 if (buf_len < (i = (size_t)BN_num_bytes(x->q)))
128 buf_len
207 size_t buf_len=0,i; local
296 size_t buf_len=0, i; local
497 size_t buf_len=0, i; local
684 size_t buf_len=0, i; local
747 size_t buf_len=0,i; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/pkcs7/
H A Dbio_ber.c104 int buf_len; member in struct:bio_ber_struct
174 n=ctx->buf_len-j;
180 ctx->buf_len-j;
185 i=BER_BUF_SIZE-ctx->buf_len;
188 i=BIO_read(bio->next_bio,&(ctx->buf[ctx->buf_len]),i);
195 ctx->buf_len+=i;
198 max=ctx->buf_len;
204 if ((ctx->buf_len < BER_BUF_SIZE) &&
282 n=ctx->buf_len-ctx->buf_off;
303 (unsigned char *)ctx->buf,&ctx->buf_len,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/pkcs7/
H A Dbio_ber.c104 int buf_len; member in struct:bio_ber_struct
174 n=ctx->buf_len-j;
180 ctx->buf_len-j;
185 i=BER_BUF_SIZE-ctx->buf_len;
188 i=BIO_read(bio->next_bio,&(ctx->buf[ctx->buf_len]),i);
195 ctx->buf_len+=i;
198 max=ctx->buf_len;
204 if ((ctx->buf_len < BER_BUF_SIZE) &&
282 n=ctx->buf_len-ctx->buf_off;
303 (unsigned char *)ctx->buf,&ctx->buf_len,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/extras/volume_id/lib/
H A Dutil.c340 ssize_t buf_len; local
360 buf_len = read(id->fd, id->sbbuf, off + len);
361 if (buf_len < 0) {
365 dbg("got 0x%zx (%zi) bytes", buf_len, buf_len);
366 id->sbbuf_len = buf_len;
367 if ((size_t)buf_len < off + len) {
368 dbg("requested 0x%zx bytes, got only 0x%zx bytes", len, buf_len);
396 buf_len = read(id->fd, id->seekbuf, len);
397 if (buf_len <
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jffs2/
H A Dscan.c436 uint32_t hdr_crc, buf_ofs, buf_len; local
486 buf_len = c->wbuf_pagesize;
488 buf_len = sizeof(*sm);
491 err = jffs2_fill_scan_buf(c, buf + buf_size - buf_len,
492 jeb->offset + c->sector_size - buf_len,
493 buf_len);
508 memcpy(sumptr + sumlen - buf_len, buf + buf_size - buf_len, buf_len);
510 if (buf_len < sumle
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/apps/
H A Decparam.c482 size_t buf_len = 0, tmp_len = 0; local
528 if ((tmp_len = (size_t)BN_num_bytes(ec_p)) > buf_len)
529 buf_len = tmp_len;
530 if ((tmp_len = (size_t)BN_num_bytes(ec_a)) > buf_len)
531 buf_len = tmp_len;
532 if ((tmp_len = (size_t)BN_num_bytes(ec_b)) > buf_len)
533 buf_len = tmp_len;
534 if ((tmp_len = (size_t)BN_num_bytes(ec_gen)) > buf_len)
535 buf_len = tmp_len;
536 if ((tmp_len = (size_t)BN_num_bytes(ec_order)) > buf_len)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/i2c/busses/
H A Di2c-omap.c128 size_t buf_len; member in struct:omap_i2c_dev
301 dev->buf_len = msg->len;
303 omap_i2c_write_reg(dev, OMAP_I2C_CNT_REG, dev->buf_len);
319 dev->buf_len = 0;
424 if (dev->buf_len) {
427 dev->buf_len--;
428 if (dev->buf_len) {
430 dev->buf_len--;
436 if (dev->buf_len) {
438 dev->buf_len
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/touchscreen/
H A Dusbtouchscreen.c81 int buf_len; member in struct:usbtouch_usb
541 int pkt_len, pos, buf_len, tmp; local
544 if (unlikely(usbtouch->buf_len)) {
547 usbtouch->buffer, usbtouch->buf_len);
558 if (usbtouch->buf_len + append >= usbtouch->type->rept_size)
560 memcpy(usbtouch->buffer + usbtouch->buf_len, pkt, append);
561 usbtouch->buf_len += append;
564 usbtouch->buffer, usbtouch->buf_len);
570 tmp = pkt_len - usbtouch->buf_len;
571 if (usbtouch->buf_len
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/zlib-1.2.3/
H A Dminigzip.c139 off_t buf_len; /* length of the input file */ local
144 buf_len = sb.st_size;
145 if (buf_len <= 0) return Z_ERRNO;
148 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
152 len = gzwrite(out, (char *)buf, (unsigned)buf_len);
154 if (len != (int)buf_len) error(gzerror(out, &err));
156 munmap(buf, buf_len);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/zlib-1.2.3/
H A Dminigzip.c139 off_t buf_len; /* length of the input file */ local
144 buf_len = sb.st_size;
145 if (buf_len <= 0) return Z_ERRNO;
148 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
152 len = gzwrite(out, (char *)buf, (unsigned)buf_len);
154 if (len != (int)buf_len) error(gzerror(out, &err));
156 munmap(buf, buf_len);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/objects/
H A Dobj_dat.c438 int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name) argument
459 BUF_strlcpy(buf,s,buf_len);
526 if (buf && (buf_len > 0))
529 buf_len--;
543 if (buf_len > 0)
546 buf_len--;
548 BUF_strlcpy(buf,bndec,buf_len);
549 if (i > buf_len)
551 buf += buf_len;
552 buf_len
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/
H A Dmem_dbg.c641 int buf_len; local
649 buf_len=strlen(buf);
651 if (128 - buf_len - 3 < info_len)
653 memcpy(buf + buf_len, amip->info, 128 - buf_len - 3);
654 buf_len = 128 - 3;
658 BUF_strlcpy(buf + buf_len, amip->info,
659 sizeof buf - buf_len);
660 buf_len = strlen(buf);
662 BIO_snprintf(buf + buf_len, sizeo
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/
H A Dmem_dbg.c649 int buf_len; local
657 buf_len=strlen(buf);
659 if (128 - buf_len - 3 < info_len)
661 memcpy(buf + buf_len, amip->info, 128 - buf_len - 3);
662 buf_len = 128 - 3;
666 BUF_strlcpy(buf + buf_len, amip->info,
667 sizeof buf - buf_len);
668 buf_len = strlen(buf);
670 BIO_snprintf(buf + buf_len, sizeo
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/include/
H A Drpc_misc.h138 uint32 buf_len; member in struct:bufhdr_info
148 uint32 buf_len; member in struct:buffer2_info
158 uint32 buf_len; member in struct:buffer3_info
164 uint32 buf_len; member in struct:buffer5_info
405 uint32 buf_len; member in struct:buffer4_info

Completed in 145 milliseconds

12345