/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/char/ |
H A D | ctrlchar.c | 34 * @param len Length of valid data in buffer. 42 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty) argument 44 if ((len < 2) || (len > 3)) 54 if (len == 3 && buf[1] == '-') { 61 if (len != 2)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/sys-i386/shared/sysdep/ |
H A D | checksum.h | 12 * computes the checksum of a memory block at buff, length len, 23 __wsum csum_partial(const void *buff, int len, __wsum sum); 35 int len, __wsum sum) 37 memcpy(dst, src, len); 38 return csum_partial(dst, len, sum); 51 int len, __wsum sum, int *err_ptr) 53 if (copy_from_user(dst, src, len)) { 58 return csum_partial(dst, len, sum); 116 unsigned short len, 126 : "g" (daddr), "g"(saddr), "g"((len 34 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) argument 50 csum_partial_copy_from_user(const void __user *src, void *dst, int len, __wsum sum, int *err_ptr) argument 115 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, unsigned short len, unsigned short proto, __wsum sum) argument 134 csum_tcpudp_magic(__be32 saddr, __be32 daddr, unsigned short len, unsigned short proto, __wsum sum) argument 147 ip_compute_csum(const void *buff, int len) argument 153 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __u32 len, unsigned short proto, __wsum sum) argument 181 csum_and_copy_to_user(const void *src, void __user *dst, int len, __wsum sum, int *err_ptr) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/pseries/ |
H A D | nvram.c | 34 unsigned long len; local 52 for (; count != 0; count -= len) { 53 len = count; 54 if (len > NVRW_CNT) 55 len = NVRW_CNT; 58 len) != 0) || len != done) { 63 memcpy(p, nvram_buf, len); 65 p += len; 66 i += len; 78 unsigned long len; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | fmtconvert.h | 35 * @param len number of elements to convert. 38 void (*int32_to_float_fmul_scalar)(float *dst, const int *src, float mul, int len); 50 * @param len number of elements to convert. 53 void (*float_to_int16)(int16_t *dst, const float *src, long len); 65 * @param len number of elements to convert. 70 long len, int channels); 79 * @param len number of elements to convert. 83 void (*float_interleave)(float *dst, const float **src, unsigned int len, 87 void ff_float_interleave_c(float *dst, const float **src, unsigned int len,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/ath5k/ |
H A D | debug.c | 205 unsigned int len = 0; local 210 len += snprintf(buf+len, sizeof(buf)-len, 215 len += snprintf(buf+len, sizeof(buf)-len, "%-24s0x%08x\n", 218 len += snprintf(buf+len, sizeof(buf)-len, " 323 unsigned int len = 0; local 382 unsigned int len = 0; local 494 unsigned int len = 0; local 607 unsigned int len = 0; local 761 unsigned int len = 0; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/lib/ |
H A D | ipx_ntop.c | 7 static __inline__ int do_digit(char *str, u_int32_t addr, u_int32_t scale, size_t *pos, size_t len) argument 11 if (*pos == len) 24 static const char *ipx_ntop1(const struct ipx_addr *addr, char *str, size_t len) argument 29 if (len == 0) 33 if (do_digit(str + pos, ntohl(addr->ipx_net), i, &pos, len)) 36 if (pos == len) 43 if (do_digit(str + pos, addr->ipx_node[i], 1, &pos, len)) 45 if (do_digit(str + pos, addr->ipx_node[i], 0, &pos, len)) 49 if (pos == len) 58 const char *ipx_ntop(int af, const void *addr, char *str, size_t len) argument [all...] |
H A D | dnet_ntop.c | 18 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len, int *started) argument 22 if (*pos == len) 36 static const char *dnet_ntop1(const struct dn_naddr *dna, char *str, size_t len) argument 48 if (len == 0) 51 if (do_digit(str + pos, &area, 10, &pos, len, &started)) 54 if (do_digit(str + pos, &area, 1, &pos, len, &started)) 57 if (pos == len) 64 if (do_digit(str + pos, &addr, 1000, &pos, len, &started)) 67 if (do_digit(str + pos, &addr, 100, &pos, len, &started)) 70 if (do_digit(str + pos, &addr, 10, &pos, len, 85 dnet_ntop(int af, const void *addr, char *str, size_t len) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mn10300/include/asm/ |
H A D | checksum.h | 14 extern __wsum csum_partial(const void *buff, int len, __wsum sum); 16 int len, __wsum sum); 18 int len, __wsum sum, 21 extern __wsum csum_partial(const void *buff, int len, __wsum sum); 22 extern __sum16 ip_compute_csum(const void *buff, int len); 25 extern __wsum csum_partial_copy(const void *src, void *dst, int len, 42 unsigned short len, 48 tmp = (__wsum) ntohs(len) << 16; 69 unsigned short len, 73 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, prot 40 csum_tcpudp_nofold(unsigned long saddr, unsigned long daddr, unsigned short len, unsigned short proto, __wsum sum) argument 67 csum_tcpudp_magic(unsigned long saddr, unsigned long daddr, unsigned short len, unsigned short proto, __wsum sum) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ceph/ |
H A D | buffer.c | 9 struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp) argument 17 b->vec.iov_base = kmalloc(len, gfp | __GFP_NOWARN); 21 b->vec.iov_base = __vmalloc(len, gfp, PAGE_KERNEL); 30 b->alloc_len = len; 31 b->vec.iov_len = len; 52 size_t len; local 55 len = ceph_decode_32(p); 56 dout("decode_buffer len %d\n", (int)len); 57 ceph_decode_need(p, end, len, ba [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | rtpenc_latm.c | 34 int len = 0; local 51 len = FFMIN(size, s->max_payload_size - (!offset ? header_size : 0)); 52 size -= len; 54 memcpy(s->buf + header_size, buff, len); 55 ff_rtp_send_data(s1, s->buf, header_size + len, !size); 57 ff_rtp_send_data(s1, buff + offset, len, !size); 59 offset += len;
|
H A D | rtpenc_vp8.c | 29 int len, max_packet_size, header_size; local 44 len = FFMIN(size, max_packet_size); 46 memcpy(s->buf_ptr, buf, len); 48 ff_rtp_send_data(s1, s->buf, len + header_size, size == len); 50 size -= len; 51 buf += len;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hpfs/ |
H A D | name.c | 20 void hpfs_decide_conv(struct inode *inode, const unsigned char *name, unsigned len) argument 27 if (l <= len) 28 if (!hpfs_compare_names(inode->i_sb, text_postfix[i], l, name + len - l, l, 0)) 33 if (l <= len) 74 int hpfs_chk_name(const unsigned char *name, unsigned *len) argument 77 if (*len > 254) return -ENAMETOOLONG; 78 hpfs_adjust_length(name, len); 79 if (!*len) return -EINVAL; 80 for (i = 0; i < *len; i++) if (not_allowed_char(name[i])) return -EINVAL; 81 if (*len 86 hpfs_translate_name(struct super_block *s, unsigned char *from, unsigned len, int lc, int lng) argument 124 hpfs_is_name_long(const unsigned char *name, unsigned len) argument 138 hpfs_adjust_length(const unsigned char *name, unsigned *len) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/demos/eay/ |
H A D | loadrsa.c | 25 int len; local 35 len=i2d_RSAPublicKey(rsa,&p); 36 len+=i2d_RSAPrivateKey(rsa,&p); 39 printf("and are taking up %d bytes\n",len); 44 pub_rsa=d2i_RSAPublicKey(NULL,&p,(long)len); 45 len-=(p-buf); 46 priv_rsa=d2i_RSAPrivateKey(NULL,&p,(long)len);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/zlib-1.2.3/contrib/infback9/ |
H A D | inftree9.c | 40 unsigned len; /* a code's length in bits */ local 109 for (len = 0; len <= MAXBITS; len++) 110 count[len] = 0; 126 for (len = 1; len <= MAXBITS; len++) { 128 left -= count[len]; 136 for (len [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/buffer/ |
H A D | buffer.c | 92 int BUF_MEM_grow(BUF_MEM *str, int len) argument 97 if (str->length >= len) 99 str->length=len; 100 return(len); 102 if (str->max >= len) 104 memset(&str->data[str->length],0,len-str->length); 105 str->length=len; 106 return(len); 108 n=(len+3)/3*4; 116 len 128 BUF_MEM_grow_clean(BUF_MEM *str, int len) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/lib/ |
H A D | iomap.c | 25 resource_size_t len = pci_resource_len(dev, bar); local 28 if (!len || !start) 30 if (maxlen && len > maxlen) 31 len = maxlen; 33 return ioport_map(start, len); 36 return ioremap(start, len); 37 return ioremap_nocache(start, len);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/zlib-1.2.3/contrib/infback9/ |
H A D | inftree9.c | 40 unsigned len; /* a code's length in bits */ local 109 for (len = 0; len <= MAXBITS; len++) 110 count[len] = 0; 126 for (len = 1; len <= MAXBITS; len++) { 128 left -= count[len]; 136 for (len [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/zlib_inflate/ |
H A D | inftrees.c | 26 unsigned len; /* a code's length in bits */ local 93 for (len = 0; len <= MAXBITS; len++) 94 count[len] = 0; 118 for (len = 1; len <= MAXBITS; len++) { 120 left -= count[len]; 128 for (len [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/ |
H A D | rtpenc_latm.c | 34 int len = 0; local 51 len = FFMIN(size, s->max_payload_size - (!offset ? header_size : 0)); 52 size -= len; 54 memcpy(s->buf + header_size, buff, len); 55 ff_rtp_send_data(s1, s->buf, header_size + len, !size); 57 ff_rtp_send_data(s1, buff + offset, len, !size); 59 offset += len;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/include/asm/ |
H A D | checksum.h | 9 * computes the checksum of a memory block at buff, length len, 20 __wsum csum_partial(const void *buff, int len, __wsum sum); 31 int len, __wsum sum); 46 int len, __wsum sum, 66 unsigned short len, 70 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); 78 static inline __sum16 ip_compute_csum(const void *buff, int len) argument 80 return csum_fold (csum_partial(buff, len, 0)); 65 csum_tcpudp_magic(__be32 saddr, __be32 daddr, unsigned short len, unsigned short proto, __wsum sum) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/lib/ |
H A D | clear_user.S | 20 #define len r33 define 58 cmp.eq p6,p0=r0,len // check for zero length 63 adds tmp=-1,len // br.ctop is repeat/until 64 mov ret0=len // return value is length at this point 67 cmp.lt p6,p0=16,len // if len > 16 then long memset 81 adds len=-1,len // countdown length using len 86 // len contain [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m32r/lib/ |
H A D | csum_partial_copy.c | 31 csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum) argument 33 sum = csum_partial(src, len, sum); 34 memcpy(dst, src, len); 46 int len, __wsum sum, int *err_ptr) 50 missing = copy_from_user(dst, src, len); 52 memset(dst + len - missing, 0, missing); 56 return csum_partial(dst, len-missing, sum); 45 csum_partial_copy_from_user(const void __user *src, void *dst, int len, __wsum sum, int *err_ptr) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/e2p/ |
H A D | iod.c | 29 int max_len, len; local 41 len = sizeof(struct dirent); 42 if (len < dep->d_reclen) 43 len = dep->d_reclen; 44 if (len > max_len) 45 len = max_len; 46 memcpy(de, dep, len);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/forked-daapd-0.19/src/ |
H A D | scan-flac.c | 52 #define GET_VORBIS_COMMENT(comment, name, len) (char*) \ 55 ((*(len) = (comment).length - (strlen(name) + 1)), \ 74 size_t len; local 121 "ARTIST", &len))) { 122 if ((pmp3->artist = calloc(len + 1, 1)) != NULL) 123 strncpy(pmp3->artist, val, len); 125 "TITLE", &len))) { 126 if ((pmp3->title = calloc(len + 1, 1)) != NULL) 127 strncpy(pmp3->title, val, len); 129 "ALBUMARTIST", &len))) { [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/parisc/ |
H A D | eisa_enumerator.c | 84 int len; local 89 len=0; 92 c = get_8(buf+len); 98 res->start = mem_parent->start + get_24(buf+len+2); 99 res->end = res->start + get_16(buf+len+5)*1024; 109 len+=7; 116 return len; 122 int len; local 126 len=0; 129 c = get_8(buf+len); 153 int len; local 174 int len; local 215 int len=0; local 280 int len; local 294 int len; local [all...] |