Searched refs:ptr (Results 251 - 275 of 1967) sorted by relevance

<<11121314151617181920>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/include/share/
H A Dalloc.h159 static FLaC__INLINE void *safe_realloc_add_2op_(void *ptr, size_t size1, size_t size2) argument
164 return realloc(ptr, size2);
167 static FLaC__INLINE void *safe_realloc_add_3op_(void *ptr, size_t size1, size_t size2, size_t size3) argument
175 return realloc(ptr, size3);
178 static FLaC__INLINE void *safe_realloc_add_4op_(void *ptr, size_t size1, size_t size2, size_t size3, size_t size4) argument
189 return realloc(ptr, size4);
192 static FLaC__INLINE void *safe_realloc_mul_2op_(void *ptr, size_t size1, size_t size2) argument
195 return realloc(ptr, 0); /* preserve POSIX realloc(ptr, 0) semantics */
198 return realloc(ptr, size
202 safe_realloc_muladd2_(void *ptr, size_t size1, size_t size2, size_t size3) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dsunrast.c51 uint8_t *ptr; local
125 ptr = p->data[1];
126 for (x=0; x<len; x++, ptr+=4)
127 *(uint32_t *)ptr = (buf[x]<<16) + (buf[len+x]<<8) + buf[len+len+x];
132 ptr = p->data[0];
141 uint8_t *end = ptr + h*stride;
144 while (ptr != end) {
153 ptr[x] = value;
156 ptr += stride;
157 if (ptr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/lib/
H A Dmemory.h193 #define XREALLOC(mtype, ptr, size) \
194 mtype_zrealloc (__FILE__, __LINE__, (mtype), (ptr), (size))
195 #define XFREE(mtype, ptr) \
196 mtype_zfree (__FILE__, __LINE__, (mtype), (ptr))
202 #define XREALLOC(mtype, ptr, size) zrealloc ((mtype), (ptr), (size))
203 #define XFREE(mtype, ptr) zfree ((mtype), (ptr))
210 void *zrealloc (int type, void *ptr, size_t size);
211 void zfree (int type, void *ptr);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dprocess_escape_sequence.c19 char bb_process_escape_sequence(const char **ptr) argument
35 q = *ptr;
83 *ptr = q;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68knommu/
H A Dsystem.h9 * switch_to(n) should switch tasks to task ptr, first checking that
10 * ptr isn't the current task, in which case it does nothing. This
122 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
128 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) argument
139 : "=&d" (tmp) : "d" (x), "m" (*__xg(ptr)) : "memory");
145 : "=&d" (tmp) : "d" (x), "m" (*__xg(ptr)) : "memory");
151 : "=&d" (tmp) : "d" (x), "m" (*__xg(ptr))
158 __xchg(unsigned long x, volatile void * ptr, int size) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dcompiler-gcc.h20 #define RELOC_HIDE(ptr, off) \
22 __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
23 (typeof(ptr)) (__ptr + (off)); })
H A Dcoda_linux.h65 #define CODA_ALLOC(ptr, cast, size) do { \
67 ptr = kmalloc((unsigned long) size, GFP_KERNEL); \
69 ptr = (cast)vmalloc((unsigned long) size); \
70 if (!ptr) \
72 else memset( ptr, 0, size ); \
76 #define CODA_FREE(ptr,size) \
77 do { if (size < PAGE_SIZE) kfree((ptr)); else vfree((ptr)); } while (0)
H A Dhash.h54 static inline unsigned long hash_ptr(void *ptr, unsigned int bits) argument
56 return hash_long((unsigned long)ptr, bits);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/cio/
H A Dqdio.h236 #define QDIO_HEXDUMP16(importance,header,ptr) \
239 "%02x %02x %02x %02x\n",*(((char*)ptr)), \
240 *(((char*)ptr)+1),*(((char*)ptr)+2), \
241 *(((char*)ptr)+3),*(((char*)ptr)+4), \
242 *(((char*)ptr)+5),*(((char*)ptr)+6), \
243 *(((char*)ptr)+7),*(((char*)ptr)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/libtest/
H A Dlib576.c33 long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains);
35 long chunk_end(void *ptr);
38 long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains) argument
40 chunk_data_t *ch_d = ptr;
87 long chunk_end(void *ptr) argument
89 chunk_data_t *ch_d = ptr;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dgcc_intrin.h266 #define ia64_xchg1(ptr,x) \
270 : "=r" (ia64_intri_res) : "r" (ptr), "r" (x) : "memory"); \
274 #define ia64_xchg2(ptr,x) \
278 : "r" (ptr), "r" (x) : "memory"); \
282 #define ia64_xchg4(ptr,x) \
286 : "r" (ptr), "r" (x) : "memory"); \
290 #define ia64_xchg8(ptr,x) \
294 : "r" (ptr), "r" (x) : "memory"); \
298 #define ia64_cmpxchg1_acq(ptr, new, old) \
303 "=r"(ia64_intri_res) : "r"(ptr), "
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-s3c2410/
H A Duncompress.h40 volatile unsigned int *ptr; local
42 ptr = (volatile unsigned int *)(reg + uart_base);
43 *ptr = val;
49 volatile unsigned int *ptr; local
51 ptr = (volatile unsigned int *)(reg + uart_base);
52 return *ptr;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/auth_gss/
H A Dgss_krb5_seal.c82 unsigned char *ptr, *krb5_hdr, *msg_start; local
92 ptr = token->data;
93 g_make_token_header(&ctx->mech_used, 22, &ptr);
95 *ptr++ = (unsigned char) ((KG_TOK_MIC_MSG>>8)&0xff);
96 *ptr++ = (unsigned char) (KG_TOK_MIC_MSG&0xff);
98 /* ptr now at byte 2 of header described in rfc 1964, section 1.2.1: */
99 krb5_hdr = ptr - 2;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/server/
H A Dgetpart.c244 char *ptr; local
274 ptr = buffer;
275 EAT_SPACE(ptr);
277 if('<' != *ptr) {
287 ptr++;
289 if('/' == *ptr) {
294 ptr++;
295 end = ptr;
297 if((len.sig = end - ptr) > MAX_TAG_LEN) {
301 memcpy(ptag, ptr, le
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/include/FLAC/
H A Dcallback.h94 * \param ptr The address of the read buffer.
101 typedef size_t (*FLAC__IOCallback_Read) (void *ptr, size_t size, size_t nmemb, FLAC__IOHandle handle);
107 * \param ptr The address of the write buffer.
114 typedef size_t (*FLAC__IOCallback_Write) (const void *ptr, size_t size, size_t nmemb, FLAC__IOHandle handle);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/tunala/
H A Dip.c87 const char *ptr = strstr(address, ":"); local
90 if(!ptr) {
95 ptr = address;
98 if((ptr - address) > 255)
101 memcpy(buf, address, ptr - address);
102 ptr++;
111 if(strlen(ptr) < 1)
113 if(!int_strtoul(ptr, &port) || (port > 65535))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/tunala/
H A Dip.c87 const char *ptr = strstr(address, ":"); local
90 if(!ptr) {
95 ptr = address;
98 if((ptr - address) > 255)
101 memcpy(buf, address, ptr - address);
102 ptr++;
111 if(strlen(ptr) < 1)
113 if(!int_strtoul(ptr, &port) || (port > 65535))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/sys-x86_64/
H A Dstub_segv.c25 #define container_of(ptr, type, member) ({ \
26 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pnp/
H A Dresource.c84 struct pnp_irq *ptr; local
90 ptr = option->irq;
91 while (ptr && ptr->next)
92 ptr = ptr->next;
93 if (ptr)
94 ptr->next = data;
112 struct pnp_dma *ptr; local
118 ptr
131 struct pnp_port *ptr; local
150 struct pnp_mem *ptr; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/uuid/
H A Dpack.c39 void uuid_pack(const struct uuid *uu, uuid_t ptr) argument
42 unsigned char *out = ptr;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/miscutils/
H A Dcrontab.c66 char *ptr = av[i]; local
68 if (*ptr != '-')
70 ptr += 2;
72 switch (ptr[-1]) {
74 if (ptr[-1] == 'l')
78 if (ptr[-1] == 'e')
82 if (ptr[-1] == 'd')
102 CDir = (*ptr) ? ptr : av[++i];
293 const char *ptr; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Datomic.h67 __xchg(unsigned long x, __volatile__ void * ptr, int size) argument
71 case 8: return __xchg64(x,(unsigned long *) ptr);
73 case 4: return __xchg32((int) x, (int *) ptr);
74 case 1: return __xchg8((char) x, (char *) ptr);
83 ** o need to test sizeof(*ptr) to avoid clearing adjacent bytes
90 #define xchg(ptr,x) \
91 ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
101 extern unsigned long __cmpxchg_u64(volatile unsigned long *ptr, unsigne
105 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-s390/
H A Datomic.h35 #define __CS_LOOP(ptr, op_val, op_string) ({ \
36 typeof(ptr->counter) old_val, new_val; \
44 "=Q" (((atomic_t *)(ptr))->counter) \
45 : "d" (op_val), "Q" (((atomic_t *)(ptr))->counter) \
52 #define __CS_LOOP(ptr, op_val, op_string) ({ \
53 typeof(ptr->counter) old_val, new_val; \
61 "=m" (((atomic_t *)(ptr))->counter) \
62 : "a" (ptr), "d" (op_val), \
63 "m" (((atomic_t *)(ptr))->counter) \
150 #define __CSG_LOOP(ptr, op_va
[all...]
H A Dbitops.h148 static inline void set_bit_cs(unsigned long nr, volatile unsigned long *ptr) argument
152 addr = (unsigned long) ptr;
164 static inline void clear_bit_cs(unsigned long nr, volatile unsigned long *ptr) argument
168 addr = (unsigned long) ptr;
180 static inline void change_bit_cs(unsigned long nr, volatile unsigned long *ptr) argument
184 addr = (unsigned long) ptr;
197 test_and_set_bit_cs(unsigned long nr, volatile unsigned long *ptr) argument
201 addr = (unsigned long) ptr;
216 test_and_clear_bit_cs(unsigned long nr, volatile unsigned long *ptr) argument
220 addr = (unsigned long) ptr;
235 test_and_change_bit_cs(unsigned long nr, volatile unsigned long *ptr) argument
254 __set_bit(unsigned long nr, volatile unsigned long *ptr) argument
266 __constant_set_bit(const unsigned long nr, volatile unsigned long *ptr) argument
283 __clear_bit(unsigned long nr, volatile unsigned long *ptr) argument
295 __constant_clear_bit(const unsigned long nr, volatile unsigned long *ptr) argument
311 __change_bit(unsigned long nr, volatile unsigned long *ptr) argument
323 __constant_change_bit(const unsigned long nr, volatile unsigned long *ptr) argument
340 test_and_set_bit_simple(unsigned long nr, volatile unsigned long *ptr) argument
360 test_and_clear_bit_simple(unsigned long nr, volatile unsigned long *ptr) argument
380 test_and_change_bit_simple(unsigned long nr, volatile unsigned long *ptr) argument
417 __test_bit(unsigned long nr, const volatile unsigned long *ptr) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/plat-s3c24xx/
H A Dpm.h64 extern void s3c2410_pm_do_save(struct sleep_save *ptr, int count);
65 extern void s3c2410_pm_do_restore(struct sleep_save *ptr, int count);

Completed in 344 milliseconds

<<11121314151617181920>>