Searched refs:yasm_xmalloc (Results 1 - 25 of 62) sorted by relevance

123

/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dxstrdup.c51 copy = yasm_xmalloc(len);
64 copy = yasm_xmalloc(len+1);
H A Dxmalloc.c34 #undef yasm_xmalloc macro
50 /*@only@*/ /*@out@*/ void * (*yasm_xmalloc) (size_t size) = def_xmalloc; variable
H A Dassocdat.c48 yasm__assoc_data *assoc_data = yasm_xmalloc(sizeof(yasm__assoc_data));
52 assoc_data->vector = yasm_xmalloc(assoc_data->alloc *
H A Dhamt.c120 /*@out@*/ HAMT *hamt = yasm_xmalloc(sizeof(HAMT));
124 hamt->root = yasm_xmalloc(32*sizeof(HAMTNode));
234 entry = yasm_xmalloc(sizeof(HAMTEntry));
282 newnodes = yasm_xmalloc(sizeof(HAMTNode));
291 newnodes = yasm_xmalloc(2*sizeof(HAMTNode));
293 entry = yasm_xmalloc(sizeof(HAMTEntry));
341 newnodes = yasm_xmalloc(Size*sizeof(HAMTNode));
354 entry = yasm_xmalloc(sizeof(HAMTEntry));
H A Dinsn.c57 yasm_insn_operand *retval = yasm_xmalloc(sizeof(yasm_insn_operand));
73 yasm_insn_operand *retval = yasm_xmalloc(sizeof(yasm_insn_operand));
89 yasm_insn_operand *retval = yasm_xmalloc(sizeof(yasm_insn_operand));
114 retval = yasm_xmalloc(sizeof(yasm_insn_operand));
H A Dbc-data.c266 bytecode_data *data = yasm_xmalloc(sizeof(bytecode_data));
282 dvo = yasm_dv_create_raw(yasm_xmalloc(len), len);
302 dvo = yasm_dv_create_raw(yasm_xmalloc(len), len);
308 dvo = yasm_xmalloc(sizeof(yasm_dataval));
326 dvo = yasm_dv_create_raw(yasm_xmalloc(len), len);
338 dvo = yasm_dv_create_raw(yasm_xmalloc(len), len);
450 yasm_dataval *retval = yasm_xmalloc(sizeof(yasm_dataval));
462 yasm_dataval *retval = yasm_xmalloc(sizeof(yasm_dataval));
475 yasm_dataval *retval = yasm_xmalloc(sizeof(yasm_dataval));
H A Derrwarn.c224 we = yasm_xmalloc(sizeof(errwarn_data));
277 yasm_estr = yasm_xmalloc(MSG_MAXSIZE+1);
302 yasm_exrefstr = yasm_xmalloc(MSG_MAXSIZE+1);
363 w = yasm_xmalloc(sizeof(warn));
365 w->wstr = yasm_xmalloc(MSG_MAXSIZE+1);
422 yasm_errwarns *errwarns = yasm_xmalloc(sizeof(yasm_errwarns));
H A Dfile.c99 unsigned char *buf = yasm_xmalloc((size_t)(s->lim - s->bot) + BSIZE);
246 buf = yasm_xmalloc(size);
293 out = yasm_xmalloc(strlen(to)+1);
307 out = yasm_xmalloc(pathlen+strlen(to)+2); /* worst case maximum len */
378 out = yasm_xmalloc(strlen(to)+1);
396 out = yasm_xmalloc(pathlen+strlen(to)+2); /* worst case maximum len */
612 incpath *np = yasm_xmalloc(sizeof(incpath));
615 np->path = yasm_xmalloc(len+2);
H A Dvalparam.c70 yasm_valparam *r = yasm_xmalloc(sizeof(yasm_valparam));
81 yasm_valparam *r = yasm_xmalloc(sizeof(yasm_valparam));
92 yasm_valparam *r = yasm_xmalloc(sizeof(yasm_valparam));
207 yasm_valparamhead *headp = yasm_xmalloc(sizeof(yasm_valparamhead));
H A Dintnum.c134 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum));
155 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum));
175 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum));
195 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum));
216 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum));
261 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum));
310 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum));
328 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum));
340 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum));
369 yasm_intnum *intn = yasm_xmalloc(sizeo
[all...]
H A Dlinemap.c167 yasm_linemap *linemap = yasm_xmalloc(sizeof(yasm_linemap));
174 linemap->map_vector = yasm_xmalloc(8*sizeof(line_mapping));
180 linemap->source_info = yasm_xmalloc(linemap->source_info_size *
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/null/
H A Dnull-dbgfmt.c38 yasm_dbgfmt_base *dbgfmt = yasm_xmalloc(sizeof(yasm_dbgfmt_base));
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/
H A Dnasmlib.h19 #define nasm_malloc yasm_xmalloc
H A Dnasm-preproc.c138 yasm_preproc_nasm *preproc_nasm = yasm_xmalloc(sizeof(yasm_preproc_nasm));
208 line = yasm_xmalloc(40+strlen(preproc_nasm->file_name));
227 dep = yasm_xmalloc(sizeof(preproc_dep));
237 preproc_deps = yasm_xmalloc(sizeof(struct preproc_dep_head));
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/cpp/
H A Dcpp-preproc.c103 cmdline = p = yasm_xmalloc(strlen(CPP_PROG)+CMDLINE_SIZE);
190 yasm_preproc_cpp *pp = yasm_xmalloc(sizeof(yasm_preproc_cpp));
206 cpp_arg_entry *arg = yasm_xmalloc(sizeof(cpp_arg_entry));
253 buf = yasm_xmalloc((size_t)bufsize);
342 cpp_arg_entry *arg = yasm_xmalloc(sizeof(cpp_arg_entry));
354 cpp_arg_entry *arg = yasm_xmalloc(sizeof(cpp_arg_entry));
366 cpp_arg_entry *arg = yasm_xmalloc(sizeof(cpp_arg_entry));
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/
H A Dcv-dbgfmt.c39 yasm_dbgfmt_cv *dbgfmt_cv = yasm_xmalloc(sizeof(yasm_dbgfmt_cv));
47 yasm_xmalloc(sizeof(cv_filename)*dbgfmt_cv->filenames_allocated);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/
H A Dgas-parse-intel.c71 line = yasm_xmalloc(length + parser_gas->lineleft + 1);
77 line = yasm_xmalloc(length + 1);
H A Dgas-token.re112 YYCTYPE *buf = yasm_xmalloc((size_t)(s->lim - s->bot) + BSIZE);
361 lvalp->str.contents = yasm_xmalloc(30);
371 lvalp->str.contents = yasm_xmalloc(30);
381 lvalp->str.contents = yasm_xmalloc(30);
480 strbuf = yasm_xmalloc(STRBUF_ALLOC_SIZE);
517 strbuf = yasm_xmalloc(STRBUF_ALLOC_SIZE);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/raw/
H A Draw-preproc.c49 yasm_preproc_raw *preproc_raw = yasm_xmalloc(sizeof(yasm_preproc_raw));
78 char *buf = yasm_xmalloc((size_t)bufsize);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/
H A Dlc3barch.c55 arch = yasm_xmalloc(sizeof(yasm_arch_base));
153 yasm_effaddr *ea = yasm_xmalloc(sizeof(yasm_effaddr));
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
H A Dgenperf.c187 key *k = yasm_xmalloc(sizeof(key));
334 sv = yasm_xmalloc(sizeof(sval));
350 sv = yasm_xmalloc(sizeof(sval));
379 sv = yasm_xmalloc(sizeof(sval));
388 sv = yasm_xmalloc(sizeof(sval));
487 kw = yasm_xmalloc(sizeof(keyword));
500 sv = yasm_xmalloc(sizeof(sval));
506 sv = yasm_xmalloc(sizeof(sval));
H A Dperfect.c619 *tabb = (bstuff *)yasm_xmalloc((size_t)(sizeof(bstuff)*(*blen)));
620 tabq = (qstuff *)yasm_xmalloc(sizeof(qstuff)*(*blen+1));
621 tabh = (hstuff *)yasm_xmalloc(sizeof(hstuff)*(form->perfect == MINIMAL_HP ?
641 tabh = (hstuff *)yasm_xmalloc(sizeof(hstuff)*(form->perfect == MINIMAL_HP ?
849 *tabb = (bstuff *)yasm_xmalloc((size_t)(sizeof(bstuff)*(*blen)));
850 tabq = (qstuff *)yasm_xmalloc(sizeof(qstuff)*(*blen+1));
851 *tabh = (hstuff *)yasm_xmalloc(sizeof(hstuff)*(form->perfect == MINIMAL_HP ?
887 *tabb = (bstuff *)yasm_xmalloc((size_t)(sizeof(bstuff)*(*blen)));
888 tabq = (qstuff *)yasm_xmalloc((size_t)(sizeof(qstuff)*(*blen+1)));
913 *tabb = (bstuff *)yasm_xmalloc((size_
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/listfmts/nasm/
H A Dnasm-listfmt.c69 yasm_listfmt_base *listfmt = yasm_xmalloc(sizeof(yasm_listfmt_base));
104 bcreloc *reloc = yasm_xmalloc(sizeof(bcreloc));
161 buf = yasm_xmalloc(REGULAR_BUF_SIZE);
182 last_hist = yasm_xmalloc(sizeof(sectreloc));
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/
H A Ddwarf2-dbgfmt.c81 yasm_xmalloc(sizeof(yasm_dbgfmt_dwarf2));
89 yasm_xmalloc(sizeof(char *)*dbgfmt_dwarf2->dirs_allocated);
94 yasm_xmalloc(sizeof(dwarf2_filename)*dbgfmt_dwarf2->filenames_allocated);
196 head = yasm_xmalloc(sizeof(dwarf2_head));
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/
H A Delf.c93 yasm_xmalloc(elf_march->num_ssyms * sizeof(yasm_symrec *));
169 entry = yasm_xmalloc(sizeof(elf_reloc_entry));
193 elf_strtab_entry *entry = yasm_xmalloc(sizeof(elf_strtab_entry));
220 elf_strtab_head *strtab = yasm_xmalloc(sizeof(elf_strtab_head));
221 elf_strtab_entry *entry = yasm_xmalloc(sizeof(elf_strtab_entry));
295 elf_symtab_entry *entry = yasm_xmalloc(sizeof(elf_symtab_entry));
371 elf_symtab_head *symtab = yasm_xmalloc(sizeof(elf_symtab_head));
372 elf_symtab_entry *entry = yasm_xmalloc(sizeof(elf_symtab_entry));
594 elf_secthead *esd = yasm_xmalloc(sizeof(elf_secthead));
712 char *sectname = yasm_xmalloc(prepend_lengt
[all...]

Completed in 414 milliseconds

123