/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/ |
H A D | aiffdec.c | 51 /* returns the size of the found tag */ 54 int size; local 60 size = avio_rb32(pb); 62 if (size < 0) 63 size = 0x7fffffff; 65 return size; 69 static void get_meta(AVFormatContext *s, const char *key, int size) argument 71 uint8_t *str = av_malloc(size+1); 75 avio_skip(s->pb, size); 79 res = avio_read(s->pb, str, size); 88 get_aiff_header(AVIOContext *pb, AVCodecContext *codec, int size, unsigned version) argument 180 int size, filesize; local 293 int res, size; local [all...] |
H A D | ncdec.c | 31 int size; local 36 size = AV_RL16(probe_packet->buf + 5); 38 if (size + 20 > probe_packet->buf_size) 41 if (AV_RB32(probe_packet->buf+16+size) == NC_VIDEO_FLAG) 65 int size; local 76 size = avio_rl16(s->pb); 79 if (size == 0) { 80 av_log(s, AV_LOG_DEBUG, "Next packet size is zero\n"); 84 ret = av_get_packet(s->pb, pkt, size); 85 if (ret != size) { [all...] |
H A D | rtpenc_aac.c | 25 void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size) argument 35 size -= 7; 42 if ((s->num_frames == max_frames_per_packet) || (len && (len + size) > s->max_payload_size)) { 49 /* Write the AU header size */ 62 if (size <= max_packet_size) { 64 *p++ = size >> 5; 65 *p = (size & 0x1F) << 3; 66 memcpy(s->buf_ptr, buff, size); 67 s->buf_ptr += size; 69 int au_size = size; [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/parisc/include/asm/ |
H A D | floppy.h | 54 #define fd_dma_mem_alloc(size) SW._dma_mem_alloc(size) 55 #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io) 166 static unsigned long dma_mem_alloc(unsigned long size) argument 168 return __get_dma_pages(GFP_KERNEL, get_order(size)); 172 static unsigned long vdma_mem_alloc(unsigned long size) argument 174 return (unsigned long) vmalloc(size); 178 #define nodma_mem_alloc(size) vdma_mem_alloc(size) 180 _fd_dma_mem_free(unsigned long addr, unsigned long size) argument 190 _fd_chose_dma_mode(char *addr, unsigned long size) argument 207 vdma_dma_setup(char *addr, unsigned long size, int mode, int io) argument 218 hard_dma_setup(char *addr, unsigned long size, int mode, int io) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | vmalloc.h | 31 unsigned long size; member in struct:vm_struct 55 extern void *vmalloc(unsigned long size); 56 extern void *vmalloc_user(unsigned long size); 57 extern void *vmalloc_node(unsigned long size, int node); 58 extern void *vmalloc_exec(unsigned long size); 59 extern void *vmalloc_32(unsigned long size); 60 extern void *vmalloc_32_user(unsigned long size); 61 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot); 80 /* return actual size without guard page */ 81 return area->size [all...] |
H A D | kmemleak.h | 27 extern void kmemleak_alloc(const void *ptr, size_t size, int min_count, 30 extern void kmemleak_free_part(const void *ptr, size_t size) __ref; 32 size_t size) __ref; 35 extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref; 38 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, argument 43 kmemleak_alloc(ptr, size, min_count, gfp); 62 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, argument 66 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, argument 74 static inline void kmemleak_free_part(const void *ptr, size_t size) argument 86 static inline void kmemleak_scan_area(const void *ptr, size_t size, gfp_ argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/gperf-3.0.4/src/ |
H A D | hash-table.cc | 36 /* We make the size of the hash table a power of 2. This allows for two 41 Hash_Table::Hash_Table (unsigned int size, bool ignore_length) argument 46 size = size * size_factor; 48 /* Find smallest power of 2 that is >= size. */ 50 if ((size >> 16) > 0) 52 size = size >> 16; 55 if ((size >> 8) > 0) 57 size [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/amiga/ |
H A D | chipram.c | 47 void *amiga_chip_alloc(unsigned long size, const char *name) argument 52 size = PAGE_ALIGN(size); 55 printk("amiga_chip_alloc: allocate %ld bytes\n", size); 62 if (allocate_resource(&chipram_res, res, size, 0, UINT_MAX, PAGE_SIZE, NULL, NULL) < 0) { 66 chipavail -= size; 82 void * __init amiga_chip_alloc_res(unsigned long size, struct resource *res) argument 87 size = PAGE_ALIGN(size); 89 start = CHIP_PHYSADDR + chipavail - size; 110 unsigned long size; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/avahi-0.6.25/avahi-core/ |
H A D | util.c | 35 void avahi_hexdump(const void* p, size_t size) { argument 39 printf("Dumping %lu bytes from %p:\n", (unsigned long) size, p); 41 while (size > 0) { 45 if (i < size) 52 if (i < size) 62 if (size <= 16) 65 size -= 16; 69 char *avahi_format_mac_address(char *r, size_t l, const uint8_t* mac, size_t size) { argument 78 if (size <= 0) { 83 for (i = 0; i < size; [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/avahi-0.6.25/avahi-core/ |
H A D | util.c | 35 void avahi_hexdump(const void* p, size_t size) { argument 39 printf("Dumping %lu bytes from %p:\n", (unsigned long) size, p); 41 while (size > 0) { 45 if (i < size) 52 if (i < size) 62 if (size <= 16) 65 size -= 16; 69 char *avahi_format_mac_address(char *r, size_t l, const uint8_t* mac, size_t size) { argument 78 if (size <= 0) { 83 for (i = 0; i < size; [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | ncdec.c | 31 int size; local 36 size = AV_RL16(probe_packet->buf + 5); 38 if (size + 20 > probe_packet->buf_size) 41 if (AV_RB32(probe_packet->buf+16+size) == NC_VIDEO_FLAG) 65 int size; local 76 size = avio_rl16(s->pb); 79 if (size == 0) { 80 av_log(s, AV_LOG_DEBUG, "Next packet size is zero\n"); 84 ret = av_get_packet(s->pb, pkt, size); 85 if (ret != size) { [all...] |
H A D | rtpenc_aac.c | 25 void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size) argument 35 size -= 7; 42 if ((s->num_frames == max_frames_per_packet) || (len && (len + size) > s->max_payload_size)) { 49 /* Write the AU header size */ 62 if (size <= max_packet_size) { 64 *p++ = size >> 5; 65 *p = (size & 0x1F) << 3; 66 memcpy(s->buf_ptr, buff, size); 67 s->buf_ptr += size; 69 int au_size = size; [all...] |
H A D | aiffdec.c | 56 /* returns the size of the found tag */ 59 int size; local 65 size = avio_rb32(pb); 67 if (size < 0) 68 size = 0x7fffffff; 70 return size; 74 static void get_meta(AVFormatContext *s, const char *key, int size) argument 76 uint8_t *str = av_malloc(size+1); 79 int res = avio_read(s->pb, str, size); 84 size 94 get_aiff_header(AVFormatContext *s, int size, unsigned version) argument 194 int ret, size, filesize; local 339 int res, size; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/gtk/ |
H A D | statline.cpp | 31 const wxPoint &pos, const wxSize &size, 34 Create( parent, id, pos, size, style, name ); 38 const wxPoint &pos, const wxSize &size, 43 if (!PreCreation( parent, pos, size ) || 44 !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name )) 53 if (size.x == -1) 55 wxSize new_size( size ); 63 if (size.y == -1) 65 wxSize new_size( size ); 73 PostCreation(size); 30 wxStaticLine( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long style, const wxString &name ) argument 37 Create( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long style, const wxString &name ) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/gtk1/ |
H A D | statline.cpp | 31 const wxPoint &pos, const wxSize &size, 34 Create( parent, id, pos, size, style, name ); 38 const wxPoint &pos, const wxSize &size, 43 if (!PreCreation( parent, pos, size ) || 44 !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name )) 53 if (size.x == -1) 55 wxSize new_size( size ); 63 if (size.y == -1) 65 wxSize new_size( size ); 73 PostCreation(size); 30 wxStaticLine( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long style, const wxString &name ) argument 37 Create( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long style, const wxString &name ) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/oprofile/ |
H A D | cpu_buffer.h | 72 * entry->event != NULL, otherwise entry->size or entry->event will be 77 *op_cpu_buffer_write_reserve(struct op_entry *entry, unsigned long size); 82 /* returns the remaining free size of data in the entry */ 86 if (!entry->size) 89 entry->size--; 91 return entry->size; 94 /* returns the size of data in the entry */ 98 return entry->size; 101 /* returns 0 if empty or the size of data including the current value */ 105 int size local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mn10300/mm/ |
H A D | dma-alloc.c | 22 void *dma_alloc_coherent(struct device *dev, size_t size, argument 29 dev ? dev_name(dev) : "?", size, gfp); 31 if (0xbe000000 - pci_sram_allocated >= size) { 32 size = (size + 255) & ~255; 34 pci_sram_allocated += size; 45 addr = __get_free_pages(gfp, get_order(size)); 53 memset((void *) addr, 0xfb, size); 65 void dma_free_coherent(struct device *dev, size_t size, void *vaddr, argument 73 free_pages(addr, get_order(size)); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/tre-0.8.0/lib/ |
H A D | xmalloc.h | 12 void *xmalloc_impl(size_t size, const char *file, int line, const char *func); 13 void *xcalloc_impl(size_t nmemb, size_t size, const char *file, int line, 46 #define xmalloc(size) xmalloc_impl(size, __FILE__, __LINE__, \ 48 #define xcalloc(nmemb, size) xcalloc_impl(nmemb, size, __FILE__, __LINE__, \ 67 #define xmalloc(size) malloc(size) 68 #define xcalloc(nmemb, size) calloc(nmemb, size) [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/mm/ |
H A D | ioremap.c | 30 void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot) argument 36 /* Don't allow wraparound or zero size */ 37 last_addr = phys_addr + size - 1; 38 if (!size || last_addr < phys_addr) 46 size = PAGE_ALIGN(last_addr+1) - phys_addr; 51 area = get_vm_area(size, VM_IOREMAP); 55 if (ioremap_page_range((unsigned long)addr, (unsigned long)addr + size, 63 void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags) argument 65 return __ioremap_prot(phys_addr, size, 74 * @size 79 ioremap_nocache(unsigned long phys_addr, unsigned long size) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/kernel/ |
H A D | atags.c | 8 size_t size; member in struct:buffer 18 if (off >= buffer->size) { 23 count = min((int) (buffer->size - off), count); 47 size_t size; local 54 for (; tag->hdr.size; tag = tag_next(tag)) 58 size = (char *)tag - atags_copy + sizeof(struct tag_header); 62 b = kmalloc(sizeof(*b) + size, GFP_KERNEL); 66 b->size = size; 67 memcpy(b->data, atags_copy, size); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/racoon/ |
H A D | vmbuf.c | 47 vmalloc(size) 48 size_t size; 55 var->l = size; 56 var->v = (caddr_t)racoon_calloc(1, size); 66 vrealloc(ptr, size) 68 size_t size; 73 if ((v = (caddr_t)racoon_realloc(ptr->v, size)) == NULL) { 77 memset(v + ptr->l, 0, size - ptr->l); 79 ptr->l = size; 81 if ((ptr = vmalloc(size)) [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavutil/ |
H A D | fifo.c | 27 static AVFifoBuffer *fifo_alloc_common(void *buffer, size_t size) argument 38 f->end = f->buffer + size; 43 AVFifoBuffer *av_fifo_alloc(unsigned int size) argument 45 void *buffer = av_malloc(size); 46 return fifo_alloc_common(buffer, size); 49 AVFifoBuffer *av_fifo_alloc_array(size_t nmemb, size_t size) argument 51 void *buffer = av_malloc_array(nmemb, size); 52 return fifo_alloc_common(buffer, nmemb * size); 107 int av_fifo_grow(AVFifoBuffer *f, unsigned int size) argument 110 if(size 122 av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void *, void *, int)) argument 170 av_fifo_drain(AVFifoBuffer *f, int size) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/blackfin/include/asm/ |
H A D | dma-mapping.h | 13 void *dma_alloc_coherent(struct device *dev, size_t size, 15 void dma_free_coherent(struct device *dev, size_t size, void *vaddr, 43 __dma_sync(dma_addr_t addr, size_t size, enum dma_data_direction dir); 45 __dma_sync_inline(dma_addr_t addr, size_t size, enum dma_data_direction dir) argument 51 flush_dcache_range(addr, addr + size); 56 invalidate_dcache_range(addr, addr + size); 61 _dma_sync(dma_addr_t addr, size_t size, enum dma_data_direction dir) argument 64 __dma_sync_inline(addr, size, dir); 66 __dma_sync(addr, size, dir); 70 dma_map_single(struct device *dev, void *ptr, size_t size, argument 78 dma_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir) argument 86 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, enum dma_data_direction dir) argument 93 dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, enum dma_data_direction dir) argument 110 dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t handle, unsigned long offset, size_t size, enum dma_data_direction dir) argument 118 dma_sync_single_range_for_device(struct device *dev, dma_addr_t handle, unsigned long offset, size_t size, enum dma_data_direction dir) argument 126 dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, size_t size, enum dma_data_direction dir) argument 133 dma_sync_single_for_device(struct device *dev, dma_addr_t handle, size_t size, enum dma_data_direction dir) argument 151 dma_cache_sync(struct device *dev, void *vaddr, size_t size, enum dma_data_direction dir) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf_irq.c | 53 static inline void pdacf_transfer_mono16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port) argument 55 while (size-- > 0) { 61 static inline void pdacf_transfer_mono32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port) argument 65 while (size-- > 0) { 73 static inline void pdacf_transfer_stereo16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port) argument 75 while (size-- > 0) { 81 static inline void pdacf_transfer_stereo32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port) argument 85 while (size-- > 0) { 94 static inline void pdacf_transfer_mono16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port) argument 96 while (size 102 pdacf_transfer_mono32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port) argument 114 pdacf_transfer_stereo16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port) argument 122 pdacf_transfer_stereo32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port) argument 135 pdacf_transfer_mono24le(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_port) argument 151 pdacf_transfer_mono24be(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_port) argument 167 pdacf_transfer_stereo24le(u8 *dst, u32 xor, unsigned int size, unsigned long rdp_port) argument 187 pdacf_transfer_stereo24be(u8 *dst, u32 xor, unsigned int size, unsigned long rdp_port) argument 207 pdacf_transfer(struct snd_pdacf *chip, unsigned int size, unsigned int off) argument 262 int size, off, cont, rdp, wdp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/drm/ |
H A D | drm_mm.h | 52 unsigned long size; member in struct:drm_mm_node 76 unsigned long size, 81 unsigned long size, 87 unsigned long size, 90 return drm_mm_get_block_generic(parent, size, alignment, 0); 93 unsigned long size, 96 return drm_mm_get_block_generic(parent, size, alignment, 1); 100 unsigned long size, 105 return drm_mm_get_block_range_generic(parent, size, alignment, 110 unsigned long size, 86 drm_mm_get_block(struct drm_mm_node *parent, unsigned long size, unsigned alignment) argument 92 drm_mm_get_block_atomic(struct drm_mm_node *parent, unsigned long size, unsigned alignment) argument 98 drm_mm_get_block_range( struct drm_mm_node *parent, unsigned long size, unsigned alignment, unsigned long start, unsigned long end) argument 108 drm_mm_get_block_atomic_range( struct drm_mm_node *parent, unsigned long size, unsigned alignment, unsigned long start, unsigned long end) argument [all...] |