Searched refs:size (Results 1 - 25 of 5716) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dsafe_strncpy.c13 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-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/
H A Dmisc.h4 void *ntfs_calloc(size_t size);
5 void *ntfs_malloc(size_t size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/
H A Dpage.h10 static __inline__ __attribute_const__ int get_order(unsigned long size) argument
14 size = (size - 1) >> (PAGE_SHIFT - 1);
17 size >>= 1;
19 } while (size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/include/
H A Dum_malloc.h9 extern void *um_kmalloc(int size);
10 extern void *um_kmalloc_atomic(int size);
13 extern void *um_vmalloc(int size);
H A Dinitrd.h9 extern int load_initrd(char *filename, void *buf, int size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dslub_def.h28 int size; /* The size of an object including meta data */ member in struct:kmem_cache
29 int objsize; /* The size of an object without meta data */
77 static inline int kmalloc_index(size_t size) argument
79 if (!size)
82 if (size > KMALLOC_MAX_SIZE)
85 if (size <= KMALLOC_MIN_SIZE)
88 if (size > 64 && size <= 96)
90 if (size > 12
132 kmalloc_slab(size_t size) argument
174 kmalloc(size_t size, gfp_t flags) argument
187 kzalloc(size_t size, gfp_t flags) argument
203 kmalloc_node(size_t size, gfp_t flags, int node) argument
[all...]
H A Dcirc_buf.h11 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1))
13 /* Return space available, 0..size-1. We always leave one free char
16 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size))
21 #define CIRC_CNT_TO_END(head,tail,size) \
22 ({int end = (size) - (tail); \
23 int n = ((head) + end) & ((size)-1); \
27 #define CIRC_SPACE_TO_END(head,tail,size) \
28 ({int end = (size)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/libunarchive/
H A Ddata_extract_to_buffer.c13 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 Darchive_xread_all_eof.c12 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-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-tests/
H A Dtest-snprintf.c41 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 Dtest-vasnprintf.c55 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...]
H A Dtest-vsnprintf.c39 my_snprintf (char *buf, int size, const char *format, ...) argument
45 ret = vsnprintf (buf, size, format, args);
54 int size; local
57 for (size = 0; size <= 8; size++)
60 retval = my_snprintf (buf, size, "%d", 12345);
61 if (size < 6)
64 ASSERT (retval < 0 || retval >= size);
66 if (size >
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/flex/MISC/Macintosh/
H A Dalloca.h9 pointer alloca(unsigned size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dmisc.c17 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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/bitops/
H A Dfind.h5 size, unsigned long offset);
8 long size, unsigned long offset);
10 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0)
11 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/tools/misc/lzma_src/C/
H A DAlloc.h11 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-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/os_brew/
H A Dfwrite.c21 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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/sys-x86_64/
H A Dum_module.c5 void *module_alloc(unsigned long size) argument
7 if (size == 0)
9 return vmalloc_exec(size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/
H A Dsort.c12 static void u32_swap(void *a, void *b, int size) argument
19 static void generic_swap(void *a, void *b, int size) argument
27 } while (--size > 0);
34 * @size: size of each element
47 void sort(void *base, size_t num, size_t size, argument
49 void (*swap)(void *, void *, int size))
52 int i = (num/2 - 1) * size, n = num * size, c, r;
55 swap = (size
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dbcache.h19 void (*bc_wback_inv)(unsigned long page, unsigned long size);
20 void (*bc_inv)(unsigned long page, unsigned long size);
40 static inline void bc_wback_inv(unsigned long page, unsigned long size) argument
42 bcops->bc_wback_inv(page, size);
45 static inline void bc_inv(unsigned long page, unsigned long size) argument
47 bcops->bc_inv(page, size);
56 #define bc_wback_inv(page, size) do { } while (0)
57 #define bc_inv(page, size) do { } while (0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Dbcache.h19 void (*bc_wback_inv)(unsigned long page, unsigned long size);
20 void (*bc_inv)(unsigned long page, unsigned long size);
40 static inline void bc_wback_inv(unsigned long page, unsigned long size) argument
42 bcops->bc_wback_inv(page, size);
45 static inline void bc_inv(unsigned long page, unsigned long size) argument
47 bcops->bc_inv(page, size);
56 #define bc_wback_inv(page, size) do { } while (0)
57 #define bc_inv(page, size) do { } while (0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/of1275/
H A Drelease.c14 release(void *virt, unsigned int size) argument
21 unsigned int size; member in struct:prom_args
28 args.size = size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/lib/
H A Duser_fixup.c19 static unsigned long compute_size(unsigned long start, unsigned long size, unsigned long *offset) argument
22 unsigned long end = start + size;
28 size = end - fault_addr;
30 return size;
33 unsigned long copy_from_user_fixup(void *to, const void __user *from, unsigned long size) argument
37 size = compute_size((unsigned long) from, size, &offset);
38 if (likely(size))
39 memset(to + offset, 0, size);
41 return size;
44 copy_to_user_fixup(void __user *to, const void *from, unsigned long size) argument
51 copy_in_user_fixup(void __user *to, void __user *from, unsigned long size) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/v850/lib/
H A Dmemcpy.c39 void *memcpy (void *dst, const void *src, __kernel_size_t size) argument
44 if (size >= CHUNK_SIZE && CHUNK_ALIGNED(_src) && CHUNK_ALIGNED(_dst)) {
47 for (count = size / CHUNK_SIZE; count; count--) {
52 size %= CHUNK_SIZE;
55 if (size > 0)
58 while (--size);
63 void *memmove (void *dst, const void *src, __kernel_size_t size) argument
66 || (unsigned long)src + size < (unsigned long)dst)
67 return memcpy (dst, src, size);
69 char *_dst = dst + size;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/hotplug2/
H A Dmem_utils.c12 inline void *xmalloc(size_t size) { argument
14 ptr = malloc(size);
22 inline void *xrealloc(void *inptr, size_t size) { argument
24 ptr = realloc(inptr, size);

Completed in 135 milliseconds

1234567891011>>