Searched refs:PTR (Results 26 - 50 of 163) sorted by relevance

1234567

/freebsd-9.3-release/contrib/ngatm/libngatm/
H A Dsscfucust.h50 #define MEMZALLOC(PTR,CAST,SIZE) do { \
54 (PTR) = (CAST)_m; \
57 #define MEMFREE(PTR) \
58 free(PTR)
60 #define SIG_ALLOC(PTR) \
61 MEMZALLOC(PTR, struct sscfu_sig *, sizeof(struct sscfu_sig))
62 #define SIG_FREE(PTR) \
63 MEMFREE(PTR)
/freebsd-9.3-release/contrib/gdb/include/
H A Dhashtab.h74 typedef PTR (*htab_alloc) PARAMS ((size_t, size_t));
77 typedef void (*htab_free) PARAMS ((PTR));
81 typedef PTR (*htab_alloc_with_arg) PARAMS ((void *, size_t, size_t));
102 PTR * GTY ((use_param (""), length ("%h.size"))) entries;
126 PTR GTY((skip (""))) alloc_arg;
144 PTR, htab_alloc_with_arg,
153 PTR, htab_alloc_with_arg,
159 extern PTR htab_find PARAMS ((htab_t, const void *));
160 extern PTR *htab_find_slot PARAMS ((htab_t, const void *,
162 extern PTR htab_find_with_has
[all...]
H A Dobjalloc.h48 PTR chunks;
72 extern PTR _objalloc_alloc PARAMS ((struct objalloc *, unsigned long));
97 (PTR) (__o->current_ptr - __len)) \
113 extern void objalloc_free_block PARAMS ((struct objalloc *, PTR));
H A Dlibiberty.h228 extern PTR xmalloc PARAMS ((size_t)) ATTRIBUTE_MALLOC;
234 extern PTR xrealloc PARAMS ((PTR, size_t));
239 extern PTR xcalloc PARAMS ((size_t, size_t)) ATTRIBUTE_MALLOC;
247 extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC;
304 extern PTR C_alloca PARAMS ((size_t)) ATTRIBUTE_MALLOC;
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dspaces.c43 extern PTR malloc (size_t);
44 extern void free (PTR);
H A Dternary.c36 PTR
37 ternary_insert (ternary_tree *root, const char *s, PTR data, int replace)
57 return (PTR) curr->eqkid;
110 PTR
126 return (PTR) curr->eqkid;
142 static PTR
154 return (PTR) p->eqkid;
H A Dxmalloc.c140 PTR
143 PTR newmem;
154 PTR
157 PTR newmem;
169 PTR
170 xrealloc (PTR oldmem, size_t size)
172 PTR newmem;
H A Dobjalloc.c40 extern PTR malloc (size_t);
41 extern void free (PTR);
95 ret->chunks = (PTR) malloc (CHUNK_SIZE);
114 PTR
128 return (PTR) (o->current_ptr - len);
144 o->chunks = (PTR) chunk;
146 return (PTR) (ret + CHUNK_HEADER_SIZE);
161 o->chunks = (PTR) chunk;
191 objalloc_free_block (struct objalloc *o, PTR block)
253 o->chunks = (PTR) firs
[all...]
H A Drandom.c70 # define PTR void * macro
75 # define PTR char * macro
258 PTR
259 initstate (unsigned int seed, PTR arg_state, unsigned long n)
261 PTR ostate = (PTR) &state[-1];
325 PTR
326 setstate (PTR arg_state)
331 PTR ostate = (PTR)
[all...]
H A Dhashtab.c74 static PTR *find_empty_slot_for_expand (htab_t, hashval_t);
197 hash_pointer (const PTR p)
205 eq_pointer (const PTR p1, const PTR p2)
300 result->entries = (PTR *) (*alloc_f) (size, sizeof (PTR));
335 result->entries = (PTR *) (*alloc_f) (alloc_arg, size, sizeof (PTR));
357 htab_del del_f, PTR alloc_arg,
390 PTR *entrie
[all...]
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dspaces.c43 extern PTR malloc (size_t);
44 extern void free (PTR);
H A Dternary.c36 PTR
37 ternary_insert (ternary_tree *root, const char *s, PTR data, int replace)
57 return (PTR) curr->eqkid;
110 PTR
126 return (PTR) curr->eqkid;
142 static PTR
154 return (PTR) p->eqkid;
H A Dxmalloc.c140 PTR
143 PTR newmem;
154 PTR
157 PTR newmem;
169 PTR
170 xrealloc (PTR oldmem, size_t size)
172 PTR newmem;
H A Dobjalloc.c40 extern PTR malloc (size_t);
41 extern void free (PTR);
95 ret->chunks = (PTR) malloc (CHUNK_SIZE);
114 PTR
128 return (PTR) (o->current_ptr - len);
144 o->chunks = (PTR) chunk;
146 return (PTR) (ret + CHUNK_HEADER_SIZE);
161 o->chunks = (PTR) chunk;
191 objalloc_free_block (struct objalloc *o, PTR block)
253 o->chunks = (PTR) firs
[all...]
H A Drandom.c70 # define PTR void * macro
75 # define PTR char * macro
258 PTR
259 initstate (unsigned int seed, PTR arg_state, unsigned long n)
261 PTR ostate = (PTR) &state[-1];
325 PTR
326 setstate (PTR arg_state)
331 PTR ostate = (PTR)
[all...]
H A Dhashtab.c74 static PTR *find_empty_slot_for_expand (htab_t, hashval_t);
197 hash_pointer (const PTR p)
205 eq_pointer (const PTR p1, const PTR p2)
300 result->entries = (PTR *) (*alloc_f) (size, sizeof (PTR));
335 result->entries = (PTR *) (*alloc_f) (alloc_arg, size, sizeof (PTR));
357 htab_del del_f, PTR alloc_arg,
390 PTR *entrie
[all...]
/freebsd-9.3-release/contrib/groff/src/libs/libgroff/
H A Dputenv.c29 typedef void *PTR; typedef
32 typedef char *PTR; typedef
39 PTR malloc();
87 (void) memcpy((PTR) new_environ, (PTR) environ, size * sizeof(char *));
91 free((PTR) last_environ);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DCommentVisitor.h25 #define PTR(CLASS) typename Ptr<CLASS>::type macro
27 return static_cast<ImplClass*>(this)->visit ## NAME(static_cast<PTR(CLASS)>(C))
29 RetTy visit(PTR(Comment) C) {
48 RetTy visit ## CLASS(PTR(CLASS) C) { DISPATCH(PARENT, PARENT); }
53 RetTy visitComment(PTR(Comment) C) { return RetTy(); }
55 #undef PTR macro
H A DDeclVisitor.h34 #define PTR(CLASS) typename Ptr<CLASS>::type macro
36 return static_cast<ImplClass*>(this)->Visit##NAME(static_cast<PTR(CLASS)>(D))
38 RetTy Visit(PTR(Decl) D) {
51 RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); }
54 RetTy VisitDecl(PTR(Decl) D) { return RetTy(); }
56 #undef PTR macro
H A DStmtVisitor.h35 #define PTR(CLASS) typename Ptr<CLASS>::type macro
37 return static_cast<ImplClass*>(this)->Visit ## NAME(static_cast<PTR(CLASS)>(S))
39 RetTy Visit(PTR(Stmt) S) {
44 if (PTR(BinaryOperator) BinOp = dyn_cast<BinaryOperator>(S)) {
81 } else if (PTR(UnaryOperator) UnOp = dyn_cast<UnaryOperator>(S)) {
112 RetTy Visit ## CLASS(PTR(CLASS) S) { DISPATCH(PARENT, PARENT); }
118 RetTy VisitBin ## NAME(PTR(BinaryOperator) S) { \
138 RetTy VisitBin ## NAME(PTR(CompoundAssignOperator) S) { \
150 RetTy VisitUnary ## NAME(PTR(UnaryOperator) S) { \
164 RetTy VisitStmt(PTR(Stm
166 #undef PTR macro
193 #define PTR macro
212 #undef PTR macro
[all...]
/freebsd-9.3-release/contrib/binutils/opcodes/
H A Dmep-desc.c549 { "h-gpr", HW_H_GPR, CGEN_ASM_KEYWORD, (PTR) & mep_cgen_opval_h_gpr, { 0|A(PROFILE)|A(CACHE_ADDR), { { { (1<<MACH_BASE), 0 } }, { { 1, "\xfe" } } } } },
550 { "h-csr", HW_H_CSR, CGEN_ASM_KEYWORD, (PTR) & mep_cgen_opval_h_csr, { 0|A(PROFILE), { { { (1<<MACH_BASE), 0 } }, { { 1, "\xfe" } } } } },
551 { "h-cr64", HW_H_CR64, CGEN_ASM_KEYWORD, (PTR) & mep_cgen_opval_h_cr64, { 0, { { { (1<<MACH_BASE), 0 } }, { { 1, "\xfe" } } } } },
552 { "h-cr", HW_H_CR, CGEN_ASM_KEYWORD, (PTR) & mep_cgen_opval_h_cr, { 0|A(VIRTUAL), { { { (1<<MACH_BASE), 0 } }, { { 1, "\xfe" } } } } },
553 { "h-ccr", HW_H_CCR, CGEN_ASM_KEYWORD, (PTR) & mep_cgen_opval_h_ccr, { 0, { { { (1<<MACH_BASE), 0 } }, { { 1, "\xfe" } } } } },
554 { "h-cr-fmax", HW_H_CR_FMAX, CGEN_ASM_KEYWORD, (PTR) & mep_cgen_opval_h_cr_fmax, { 0|A(IS_FLOAT)|A(VIRTUAL), { { { (1<<MACH_BASE), 0 } }, { { 1, "\x20" } } } } },
555 { "h-ccr-fmax", HW_H_CCR_FMAX, CGEN_ASM_KEYWORD, (PTR) & mep_cgen_opval_h_ccr_fmax, { 0|A(VIRTUAL), { { { (1<<MACH_BASE), 0 } }, { { 1, "\x20" } } } } },
706 { 0, { (const PTR) &mep_cgen_ifld_table[MEP_F_CSRN_HI] } },
707 { 0, { (const PTR) &mep_cgen_ifld_table[MEP_F_CSRN_LO] } },
708 { 0, { (const PTR)
[all...]
/freebsd-9.3-release/sys/netgraph/atm/sscop/
H A Dng_sscop_cust.h61 #define MEMZALLOC(PTR, CAST, SIZE) \
62 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCOP, M_NOWAIT | M_ZERO))
63 #define MEMFREE(PTR) \
64 free((PTR), M_NG_SSCOP)
66 #define MSG_ALLOC(PTR) \
67 MEMZALLOC(PTR, struct sscop_msg *, sizeof(struct sscop_msg))
68 #define MSG_FREE(PTR) \
69 MEMFREE(PTR)
71 #define SIG_ALLOC(PTR) \
72 MEMZALLOC(PTR, struc
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dipa-utils.h36 PTR aux;
/freebsd-9.3-release/usr.bin/make/
H A Dlst.h144 #define LST_FOREACH(PTR, LST) \
145 for ((PTR) = (LST)->firstPtr; (PTR) != NULL; (PTR) = (PTR)->nextPtr)
/freebsd-9.3-release/contrib/gcc/config/i386/
H A Datt.h37 #define ASM_OUTPUT_ASCII(FILE, PTR, SIZE) \
44 fprintf ((FILE), "0x%x", ((PTR)[i++] & 0377)) ;} \

Completed in 166 milliseconds

1234567