Searched refs:size (Results 51 - 75 of 11939) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os/
H A Dos_alloc.c17 size_t size; member in union:__anon6348
50 __os_umalloc(env, size, storep)
52 size_t size;
61 if (size == 0)
62 ++size;
66 *(void **)storep = DB_GLOBAL(j_malloc)(size);
68 *(void **)storep = malloc(size);
77 __db_err(env, ret, "malloc: %lu", (u_long)size);
83 if ((*(void **)storep = dbenv->db_malloc(size)) == NULL) {
101 __os_urealloc(env, size, store
185 size_t size; local
375 size_t size; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Drtpenc_latm.c25 void ff_rtp_send_latm(AVFormatContext *s1, const uint8_t *buff, int size) argument
38 size -= 7;
43 header_size = size/0xFF + 1;
45 s->buf[header_size - 1] = size % 0xFF;
50 while (size > 0) {
51 len = FFMIN(size, s->max_payload_size - (!offset ? header_size : 0));
52 size -= len;
55 ff_rtp_send_data(s1, s->buf, header_size + len, !size);
57 ff_rtp_send_data(s1, buff + offset, len, !size);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/utils/cas/
H A Dlines.c30 int n, size = 100; local
33 if ((p = malloc(size)) == NULL) {
40 n = vsnprintf(p, size, format, ap);
43 if (n > -1 && n < size) {
49 size = n+1; /* precisely what is needed */
51 size *= 2; /* twice the old size */
52 if ((p = realloc(p, size)) == NULL) {
65 /* Calculate the new required size... */
66 int size local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/include/asm/
H A Dio_trapped.h25 unsigned long size);
31 __ioremap_trapped(unsigned long offset, unsigned long size) argument
33 return match_trapped_io_handler(&trapped_mem, offset, size);
36 #define __ioremap_trapped(offset, size) NULL
43 __ioport_map_trapped(unsigned long offset, unsigned long size) argument
45 return match_trapped_io_handler(&trapped_io, offset, size);
48 #define __ioport_map_trapped(offset, size) NULL
54 #define __ioremap_trapped(offset, size) NULL
55 #define __ioport_map_trapped(offset, size) NULL
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/lzo-2.06/src/
H A Dlzo_ptr.c74 __lzo_align_gap(const lzo_voidp ptr, lzo_uint size) argument
78 n = (((n + size - 1) / size) * size) - n;
82 n = (((p + size - 1) / size) * size) - p;
85 assert(size > 0);
87 assert(n <= size);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/tre-0.8.0/lib/
H A Dtre-mem.h33 int zero, size_t size);
38 /* Allocates a block of `size' bytes from `mem'. Returns a pointer to the
40 #define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
42 /* Allocates a block of `size' bytes from `mem'. Returns a pointer to the
45 #define tre_mem_calloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 1, size)
54 #define tre_mem_alloca(mem, size) \
55 ((mem)->n >= (size) \
56 ? tre_mem_alloc_impl((mem), 1, NULL, 0, (size)) \
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Drtpenc_latm.c25 void ff_rtp_send_latm(AVFormatContext *s1, const uint8_t *buff, int size) argument
38 size -= 7;
43 header_size = size/0xFF + 1;
45 s->buf[header_size - 1] = size % 0xFF;
50 while (size > 0) {
51 len = FFMIN(size, s->max_payload_size - (!offset ? header_size : 0));
52 size -= len;
55 ff_rtp_send_data(s1, s->buf, header_size + len, !size);
57 ff_rtp_send_data(s1, buff + offset, len, !size);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Dread.c55 ssize_t size = full_read(fd, buf, count); local
56 if (size != count)
70 char *reads(int fd, char *buffer, size_t size) argument
74 if (size < 2)
76 size = full_read(fd, buffer, size-1);
77 if ((ssize_t)size <= 0)
80 buffer[size] = '\0';
86 offset = (off_t)(p-buffer) - (off_t)size;
125 ssize_t read_close(int fd, void *buf, size_t size) argument
135 open_read_close(const char *filename, void *buf, size_t size) argument
148 size_t size = sizep ? *sizep : INT_MAX; local
[all...]
H A Dcopyfd.c19 static off_t bb_full_fd_action(int src_fd, int dst_fd, off_t size) argument
28 if (!size) {
29 size = BUFSIZ;
36 rd = safe_read(src_fd, buffer, size > BUFSIZ ? BUFSIZ : size);
56 size -= rd;
57 if (!size) {
58 /* 'size' bytes copied - all done */
70 off_t bb_copyfd_size(int fd1, int fd2, off_t size) argument
72 if (size) {
78 bb_copyfd_exact_size(int fd1, int fd2, off_t size) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Dfind_next_bit.c23 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, argument
30 if (offset >= size)
31 return size;
32 size -= result;
37 if (size < BITS_PER_LONG)
41 size -= BITS_PER_LONG;
44 while (size & ~(BITS_PER_LONG-1)) {
48 size -= BITS_PER_LONG;
50 if (!size)
55 tmp &= (~0UL >> (BITS_PER_LONG - size));
67 find_next_zero_bit(const unsigned long *addr, unsigned long size, unsigned long offset) argument
112 find_first_bit(const unsigned long *addr, unsigned long size) argument
138 find_first_zero_bit(const unsigned long *addr, unsigned long size) argument
188 generic_find_next_zero_le_bit(const unsigned long *addr, unsigned long size, unsigned long offset) argument
232 generic_find_next_le_bit(const unsigned long *addr, unsigned long size, unsigned long offset) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavutil/
H A Dmem.c52 void *malloc(size_t size);
53 void *memalign(size_t align, size_t size);
54 int posix_memalign(void **ptr, size_t align, size_t size);
55 void *realloc(void *ptr, size_t size);
64 void *av_malloc(size_t size) argument
72 if(size > (INT_MAX-32) )
76 ptr = malloc(size+32);
83 if (posix_memalign(&ptr,32,size))
86 ptr = memalign(32,size);
112 ptr = malloc(size);
117 av_realloc(void *ptr, size_t size) argument
154 av_mallocz(size_t size) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dvp9_parser.c26 int size[8]; member in struct:VP9ParseContext
29 static void parse_frame(AVCodecParserContext *ctx, const uint8_t *buf, int size) argument
43 const uint8_t *data, int size)
48 if (size <= 0) {
57 *out_size = s->size[--s->n_frames];
60 return s->n_frames > 0 ? *out_size : size /* i.e. include idx tail */;
63 marker = data[size - 1];
68 if (size >= idx_sz && data[size - idx_sz] == marker) {
69 const uint8_t *idx = data + size
40 parse(AVCodecParserContext *ctx, AVCodecContext *avctx, const uint8_t **out_data, int *out_size, const uint8_t *data, int size) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libxml2-2.7.2/source/
H A Ddbgen.pl3 $size = shift;
5 if ($size eq "")
7 die "usage: dbgen.pl [size]\n";
24 for ($i=0; $i<$size; $i++)
H A Ddbgenattr.pl3 $size = shift;
5 if ($size eq "")
7 die "usage: dbgen.pl [size]\n";
24 for ($i=0; $i<$size; $i++)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfs/
H A Dtrans.c39 int srclen, dstlen, size; local
50 size = nls_disk->char2uni(src, srclen, &ch);
51 if (size <= 0) {
53 size = 1;
55 src += size;
56 srclen -= size;
63 size = nls_io->uni2char(ch, dst, dstlen);
64 if (size < 0) {
65 if (size == -ENAMETOOLONG)
68 size
101 int srclen, dstlen, size; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/bitops/
H A Dext2-non-atomic.h13 #define ext2_find_first_zero_bit(addr, size) \
14 generic_find_first_zero_le_bit((unsigned long *)(addr), (size))
15 #define ext2_find_next_zero_bit(addr, size, off) \
16 generic_find_next_zero_le_bit((unsigned long *)(addr), (size), (off))
17 #define ext2_find_next_bit(addr, size, off) \
18 generic_find_next_le_bit((unsigned long *)(addr), (size), (off))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libxml2-2.7.2/
H A Ddbgen.pl3 $size = shift;
5 if ($size eq "")
7 die "usage: dbgen.pl [size]\n";
24 for ($i=0; $i<$size; $i++)
H A Ddbgenattr.pl3 $size = shift;
5 if ($size eq "")
7 die "usage: dbgen.pl [size]\n";
24 for ($i=0; $i<$size; $i++)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/lib/unistdio/
H A Du-vsnprintf.h18 VSNPRINTF (DCHAR_T *buf, size_t size, const FCHAR_T *format, va_list args) argument
23 if (size == 0)
26 length = size;
33 if (size != 0)
37 size_t n = (length < size ? length : size - 1);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/aic7xxx_old/
H A Daic7xxx_proc.c33 #define BLS (&aic7xxx_buffer[size])
88 int size = 0; local
97 size += sprintf(buffer, "Can't find adapter for host number %d\n", HBAptr->host_no);
98 if (size > length)
100 return (size);
117 * counting any proc stats, so we start out with a 1.5k buffer size and
127 size = 4096;
129 size += 512;
130 if (aic7xxx_buffer_size != size)
137 aic7xxx_buffer = kmalloc(size, GFP_KERNE
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/avahi-0.6.25/avahi-common/
H A Dmalloc.c64 static void* xmalloc(size_t size) { argument
67 if (size == 0)
70 if (!(p = malloc(size)))
77 static void *xrealloc(void *p, size_t size) { argument
79 if (size == 0) {
84 if (!(p = realloc(p, size)))
91 static void *xcalloc(size_t nmemb, size_t size) { argument
94 if (size == 0 || nmemb == 0)
97 if (!(p = calloc(nmemb, size)))
103 void *avahi_malloc(size_t size) { argument
115 avahi_malloc0(size_t size) argument
148 avahi_realloc(void *p, size_t size) argument
164 size_t size; local
179 size_t size; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/avahi-0.6.25/avahi-common/
H A Dmalloc.c64 static void* xmalloc(size_t size) { argument
67 if (size == 0)
70 if (!(p = malloc(size)))
77 static void *xrealloc(void *p, size_t size) { argument
79 if (size == 0) {
84 if (!(p = realloc(p, size)))
91 static void *xcalloc(size_t nmemb, size_t size) { argument
94 if (size == 0 || nmemb == 0)
97 if (!(p = calloc(nmemb, size)))
103 void *avahi_malloc(size_t size) { argument
115 avahi_malloc0(size_t size) argument
148 avahi_realloc(void *p, size_t size) argument
164 size_t size; local
179 size_t size; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/libncftp/
H A Du_gethome.c15 extern void GetSpecialDir(char *dst, size_t size, int whichDir);
19 GetHomeDir(char *const dst, const size_t size) argument
26 (void) Strncpy(dst, homepath, size);
33 (void) Strncpy(dst, homedrive, size);
34 (void) Strncat(dst, homepath, size);
38 GetSpecialDir(dst, size, CSIDL_PERSONAL /* "My Documents" */);
43 if (GetWindowsDirectory(dst, size - 1) < 1)
44 (void) Strncpy(dst, ".", size);
54 (void) Strncpy(dst, pw.pw_dir, size);
56 (void) Strncpy(dst, ".", size);
65 GetTmpDir(char *const dst, const size_t size) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/
H A Dmst.h29 extern int ntfs_mst_post_read_fixup(NTFS_RECORD *b, const u32 size);
30 extern int ntfs_mst_pre_write_fixup(NTFS_RECORD *b, const u32 size);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/jpeg/
H A Djinclude.h54 * NOTE: we assume the size parameters to these functions are of type size_t.
61 #define MEMZERO(target,size) bzero((void *)(target), (size_t)(size))
62 #define MEMCOPY(dest,src,size) bcopy((const void *)(src), (void *)(dest), (size_t)(size))
67 #define MEMZERO(target,size) memset((void *)(target), 0, (size_t)(size))
68 #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size))

Completed in 242 milliseconds

1234567891011>>