/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/ |
H A D | safe_strncpy.c | 13 char * safe_strncpy(char *dst, const char *src, size_t size) argument 15 if (!size) return dst; 16 dst[--size] = '\0'; 17 return strncpy(dst, src, size);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/ |
H A D | misc.h | 4 void *ntfs_calloc(size_t size); 5 void *ntfs_malloc(size_t size);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/ |
H A D | getorder.h | 9 static inline __attribute_const__ int get_order(unsigned long size) argument 13 size = (size - 1) >> (PAGE_SHIFT - 1); 16 size >>= 1; 18 } while (size);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/flex/MISC/Macintosh/ |
H A D | alloca.h | 9 pointer alloca(unsigned size);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/octeon/ |
H A D | ethernet-mem.h | 28 int cvm_oct_mem_fill_fpa(int pool, int size, int elements); 29 void cvm_oct_mem_empty_fpa(int pool, int size, int elements);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-tests/ |
H A D | test-snprintf.c | 41 int size; local 44 for (size = 0; size <= 8; size++) 47 retval = snprintf (buf, size, "%d", 12345); 48 if (size < 6) 51 ASSERT (retval < 0 || retval >= size); 53 if (size > 0) 55 ASSERT (memcmp (buf, "12345", size - 1) == 0); 56 ASSERT (buf[size [all...] |
H A D | test-vasnprintf.c | 55 int size; local 57 for (size = 0; size <= 8; size++) 59 size_t length = size; 67 for (size = 0; size <= 8; size++) 73 length = size; 78 if (size < 90 int size; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/flex/MISC/Macintosh/ |
H A D | alloca.h | 9 pointer alloca(unsigned size);
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/archival/libunarchive/ |
H A D | data_extract_to_buffer.c | 13 unsigned int size = archive_handle->file_header->size; local 15 archive_handle->buffer = xzalloc(size + 1); 16 xread(archive_handle->src_fd, archive_handle->buffer, size);
|
H A D | archive_xread_all_eof.c | 12 ssize_t size; local 14 size = full_read(archive_handle->src_fd, buf, count); 15 if (size != 0 && size != count) { 17 (unsigned)size, (unsigned)count); 19 return size;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/xen/ |
H A D | grant_table.h | 4 #define xen_alloc_vm_area(size) alloc_vm_area(size)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/ |
H A D | misc.c | 17 void *ntfs_calloc(size_t size) argument 21 p = calloc(1, size); 23 ntfs_log_perror("Failed to calloc %lld bytes", (long long)size); 27 void *ntfs_malloc(size_t size) argument 31 p = malloc(size); 33 ntfs_log_perror("Failed to malloc %lld bytes", (long long)size);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/bitops/ |
H A D | find.h | 6 size, unsigned long offset); 9 long size, unsigned long offset); 12 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0) 13 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | circ_buf.h | 15 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) 17 /* Return space available, 0..size-1. We always leave one free char 20 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) 25 #define CIRC_CNT_TO_END(head,tail,size) \ 26 ({int end = (size) - (tail); \ 27 int n = ((head) + end) & ((size)-1); \ 31 #define CIRC_SPACE_TO_END(head,tail,size) \ 32 ({int end = (size) [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | fft_init_table.c | 189 void ff_fft_lut_init(uint16_t *table, int off, int size, int *index) argument 191 if (size < 16) { 196 ff_fft_lut_init(table, off, size>>1, index); 197 ff_fft_lut_init(table, off+(size>>1), size>>2, index); 198 ff_fft_lut_init(table, off+3*(size>>2), size>>2, index);
|
/netgear-R7000-V1.0.7.12_1.2.5/src/tools/misc/lzma_src/C/ |
H A D | Alloc.h | 11 void *MyAlloc(size_t size);
18 void *MidAlloc(size_t size);
20 void *BigAlloc(size_t size);
25 #define MidAlloc(size) MyAlloc(size)
27 #define BigAlloc(size) MyAlloc(size)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/tests/unistdio/ |
H A D | test-u16-asnprintf1.h | 23 int size; local 27 for (size = 0; size <= 8; size++) 29 size_t length = size; 39 for (size = 0; size <= 8; size++) 49 length = size; 54 if (size < [all...] |
H A D | test-u32-asnprintf1.h | 23 int size; local 27 for (size = 0; size <= 8; size++) 29 size_t length = size; 39 for (size = 0; size <= 8; size++) 49 length = size; 54 if (size < [all...] |
H A D | test-u8-asnprintf1.h | 23 int size; local 27 for (size = 0; size <= 8; size++) 29 size_t length = size; 38 for (size = 0; size <= 8; size++) 46 length = size; 51 if (size < [all...] |
H A D | test-ulc-asnprintf1.h | 23 int size; local 27 for (size = 0; size <= 8; size++) 29 size_t length = size; 37 for (size = 0; size <= 8; size++) 43 length = size; 48 if (size < [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/ |
H A D | malloc.h | 31 * @size: number of bytes to allocate 36 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and 42 static inline void *__ntfs_malloc(unsigned long size, gfp_t gfp_mask) argument 44 if (likely(size <= PAGE_SIZE)) { 45 BUG_ON(!size); 50 if (likely((size >> PAGE_SHIFT) < totalram_pages)) 51 return __vmalloc(size, gfp_mask, PAGE_KERNEL); 57 * @size: number of bytes to allocate 59 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and 64 static inline void *ntfs_malloc_nofs(unsigned long size) argument 81 ntfs_malloc_nofs_nofail(unsigned long size) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | diracdec.c | 28 unsigned size; local 32 size = AV_RB32(p->buf+5); 33 if (size < 13) 35 if (size + 13LL > p->buf_size) 37 if (AV_RL32(p->buf + size) != MKTAG('B', 'B', 'C', 'D'))
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_brew/ |
H A D | fwrite.c | 21 fwrite(buf, size, count, fp) 23 size_t size, count; 28 return (size * count); 30 return ((size_t)IFILE_Write(fp, buf, size * count) / size);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/libncftp/ |
H A D | u_getcwd.c | 17 FTPGetLocalCWD(char *buf, size_t size) argument 20 memset(buf, 0, size); 21 if ((getcwd(buf, size - 1) == NULL) || (buf[size - 1] != '\0') || (buf[size - 2] != '\0')) { 22 memset(buf, 0, size); 36 if (size < MAXPATHLEN) { 38 * and then copy the first 'size' bytes of the 57 (void) Strncpy(buf, ".", size); 60 return (Strncpy(buf, dp, size)); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/drm/ |
H A D | drm_mem_util.h | 32 static __inline__ void *drm_calloc_large(size_t nmemb, size_t size) argument 34 if (size != 0 && nmemb > ULONG_MAX / size) 37 if (size * nmemb <= PAGE_SIZE) 38 return kcalloc(nmemb, size, GFP_KERNEL); 40 return __vmalloc(size * nmemb, 45 static __inline__ void *drm_malloc_ab(size_t nmemb, size_t size) argument 47 if (size != 0 && nmemb > ULONG_MAX / size) 50 if (size * nmem [all...] |