Searched refs:size (Results 101 - 125 of 23208) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/mtd/tests/
H A Dmtd_nandecctest.c12 static void inject_single_bit_error(void *data, size_t size) argument
14 unsigned long offset = random32() % (size * BITS_PER_BYTE);
22 static int nand_ecc_test(const size_t size) argument
28 BUG_ON(sizeof(data) < size);
30 sprintf(testname, "nand-ecc-%zu", size);
32 get_random_bytes(data, size);
34 memcpy(error_data, data, size);
35 inject_single_bit_error(error_data, size);
37 __nand_calculate_ecc(data, size, code);
38 __nand_calculate_ecc(error_data, size, error_cod
60 nand_ecc_test(const size_t size) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pcre-8.31/sljit/
H A DsljitExecAllocator.c41 header contains the size of the previous and the next block. These sizes
43 Block size:
44 0 - The block is a free_block, with a different size member.
46 n - The block is used at the moment, and the value contains its size.
47 Previous block size:
49 n - The size of the previous block.
51 Using these size values we can go forward or backward on the block chain.
74 * the size is always divisible by CHUNK_SIZE
84 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) argument
86 return VirtualAlloc(0, size, MEM_COMMI
89 free_chunk(void* chunk, sljit_uw size) argument
99 alloc_chunk(sljit_uw size) argument
105 free_chunk(void* chunk, sljit_uw size) argument
119 sljit_uw size; member in struct:block_header
127 sljit_uw size; member in struct:free_block
141 sljit_insert_free_block(struct free_block *free_block, sljit_uw size) argument
166 sljit_malloc_exec(sljit_uw size) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pcre-8.31/sljit/
H A DsljitExecAllocator.c41 header contains the size of the previous and the next block. These sizes
43 Block size:
44 0 - The block is a free_block, with a different size member.
46 n - The block is used at the moment, and the value contains its size.
47 Previous block size:
49 n - The size of the previous block.
51 Using these size values we can go forward or backward on the block chain.
74 * the size is always divisible by CHUNK_SIZE
84 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) argument
86 return VirtualAlloc(0, size, MEM_COMMI
89 free_chunk(void* chunk, sljit_uw size) argument
99 alloc_chunk(sljit_uw size) argument
105 free_chunk(void* chunk, sljit_uw size) argument
119 sljit_uw size; member in struct:block_header
127 sljit_uw size; member in struct:free_block
141 sljit_insert_free_block(struct free_block *free_block, sljit_uw size) argument
166 sljit_malloc_exec(sljit_uw size) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/os/
H A Dos_alloc.c17 size_t size; member in union:__anon35959
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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/os/
H A Dos_alloc.c17 size_t size; member in union:__anon1029
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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/os/
H A Dos_alloc.c17 size_t size; member in union:__anon1934
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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/lzo/src/
H A Dlzo_ptr.c71 __lzo_align_gap(const lzo_voidp ptr, lzo_uint size) argument
75 n = (((n + size - 1) / size) * size) - n;
79 n = (((p + size - 1) / size) * size) - p;
82 assert(size > 0);
84 assert(n <= size);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/lzo/src/
H A Dlzo_ptr.c71 __lzo_align_gap(const lzo_voidp ptr, lzo_uint size) argument
75 n = (((n + size - 1) / size) * size) - n;
79 n = (((p + size - 1) / size) * size) - p;
82 assert(size > 0);
84 assert(n <= size);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/lzo/src/
H A Dlzo_ptr.c71 __lzo_align_gap(const lzo_voidp ptr, lzo_uint size) argument
75 n = (((n + size - 1) / size) * size) - n;
79 n = (((p + size - 1) / size) * size) - p;
82 assert(size > 0);
84 assert(n <= size);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/lzma/C/
H A DSort.c5 #define HeapSortDown(p, k, size, temp) \
8 if (s > size) break; \
9 if (s < size && p[s + 1] > p[s]) s++; \
14 void HeapSort(UInt32 *p, UInt32 size) argument
16 if (size <= 1)
20 UInt32 i = size / 2;
25 HeapSortDown(p, k, size, temp)
33 UInt32 temp = p[size];
34 p[size--] = p[1];
35 HeapSortDown(p, k, size, tem
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/lzma/C/
H A DSort.c5 #define HeapSortDown(p, k, size, temp) \
8 if (s > size) break; \
9 if (s < size && p[s + 1] > p[s]) s++; \
14 void HeapSort(UInt32 *p, UInt32 size) argument
16 if (size <= 1)
20 UInt32 i = size / 2;
25 HeapSortDown(p, k, size, temp)
33 UInt32 temp = p[size];
34 p[size--] = p[1];
35 HeapSortDown(p, k, size, tem
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/lzma/C/
H A DSort.c5 #define HeapSortDown(p, k, size, temp) \
8 if (s > size) break; \
9 if (s < size && p[s + 1] > p[s]) s++; \
14 void HeapSort(UInt32 *p, UInt32 size) argument
16 if (size <= 1)
20 UInt32 i = size / 2;
25 HeapSortDown(p, k, size, temp)
33 UInt32 temp = p[size];
34 p[size--] = p[1];
35 HeapSortDown(p, k, size, tem
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/lib/
H A Dmemory.h44 #define XMALLOC(mtype, size) \
45 mtype_zmalloc (__FILE__, __LINE__, (mtype), (size))
46 #define XCALLOC(mtype, size) \
47 mtype_zcalloc (__FILE__, __LINE__, (mtype), (size))
48 #define XREALLOC(mtype, ptr, size) \
49 mtype_zrealloc (__FILE__, __LINE__, (mtype), (ptr), (size))
58 #define XMALLOC(mtype, size) zmalloc ((mtype), (size))
59 #define XCALLOC(mtype, size) zcalloc ((mtype), (size))
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/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(unsigned int size) argument
72 if(size > (INT_MAX-16) )
76 ptr = malloc(size+16);
83 if (posix_memalign(&ptr,16,size))
86 ptr = memalign(16,size);
114 ptr = malloc(size);
119 av_realloc(void *ptr, unsigned int size) argument
157 av_mallocz(unsigned int size) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/lib/
H A Dmemory.h44 #define XMALLOC(mtype, size) \
45 mtype_zmalloc (__FILE__, __LINE__, (mtype), (size))
46 #define XCALLOC(mtype, size) \
47 mtype_zcalloc (__FILE__, __LINE__, (mtype), (size))
48 #define XREALLOC(mtype, ptr, size) \
49 mtype_zrealloc (__FILE__, __LINE__, (mtype), (ptr), (size))
58 #define XMALLOC(mtype, size) zmalloc ((mtype), (size))
59 #define XCALLOC(mtype, size) zcalloc ((mtype), (size))
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/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(unsigned int size) argument
72 if(size > (INT_MAX-16) )
76 ptr = malloc(size+16);
83 if (posix_memalign(&ptr,16,size))
86 ptr = memalign(16,size);
114 ptr = malloc(size);
119 av_realloc(void *ptr, unsigned int size) argument
157 av_mallocz(unsigned int size) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/lib/
H A Dmemory.h44 #define XMALLOC(mtype, size) \
45 mtype_zmalloc (__FILE__, __LINE__, (mtype), (size))
46 #define XCALLOC(mtype, size) \
47 mtype_zcalloc (__FILE__, __LINE__, (mtype), (size))
48 #define XREALLOC(mtype, ptr, size) \
49 mtype_zrealloc (__FILE__, __LINE__, (mtype), (ptr), (size))
58 #define XMALLOC(mtype, size) zmalloc ((mtype), (size))
59 #define XCALLOC(mtype, size) zcalloc ((mtype), (size))
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/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(unsigned int size) argument
72 if(size > (INT_MAX-16) )
76 ptr = malloc(size+16);
83 if (posix_memalign(&ptr,16,size))
86 ptr = memalign(16,size);
114 ptr = malloc(size);
119 av_realloc(void *ptr, unsigned int size) argument
157 av_mallocz(unsigned int size) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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))
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/curl-7.21.7/lib/
H A Dcurl_memory.h39 #define malloc(size) Curl_cmalloc(size)
41 #define calloc(nbelem,size) Curl_ccalloc(nbelem, size)
43 #define realloc(ptr,size) Curl_crealloc(ptr, size)

Completed in 194 milliseconds

1234567891011>>