/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
intnum.c | 87 intnum_frombv(/*@out@*/ yasm_intnum *intn, wordptr bv) 90 intn->type = INTNUM_L; 91 intn->val.l = (long)BitVector_Chunk_Read(bv, 31, 0); 100 intn->type = INTNUM_BV; 101 intn->val.bv = BitVector_Clone(bv); 103 intn->type = INTNUM_L; 104 intn->val.l = -((long)ul); 107 intn->type = INTNUM_BV; 108 intn->val.bv = BitVector_Clone(bv); 116 intnum_tobv(/*@returned@*/ wordptr bv, const yasm_intnum *intn) 134 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum)); local 155 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum)); local 175 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum)); local 195 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum)); local 216 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum)); local 261 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum)); local 310 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum)); local 328 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum)); local 340 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum)); local 369 yasm_intnum *intn = yasm_xmalloc(sizeof(yasm_intnum)); local [all...] |
intnum.h | 128 * \param intn intnum 129 * \return Newly allocated intnum with the same value as intn. 132 /*@only@*/ yasm_intnum *yasm_intnum_copy(const yasm_intnum *intn); 135 * \param intn intnum 138 void yasm_intnum_destroy(/*@only@*/ yasm_intnum *intn); 160 * \param intn intnum 163 void yasm_intnum_zero(yasm_intnum *intn); 166 * \param intn intnum 170 void yasm_intnum_set(yasm_intnum *intn, const yasm_intnum *val); 173 * \param intn intnu [all...] |
value.c | 173 yasm_intnum *intn; local 193 intn = sube->terms[0].data.intn; 198 intn = sube->terms[1].data.intn; 206 if (!yasm_intnum_is_neg1(intn)) { 226 e->terms[i].data.intn = yasm_intnum_create_uint(0); 228 e->terms[j].data.intn = yasm_intnum_create_uint(0); 292 e->terms[i].data.intn = 295 e->terms[j].data.intn 561 \/*@dependent@*\/ \/*@null@*\/ yasm_intnum *intn = NULL; local 626 \/*@dependent@*\/ \/*@null@*\/ yasm_intnum *intn = NULL; local [all...] |
bc-data.c | 111 yasm_intnum *intn; local 125 intn = yasm_expr_get_intnum(&dv->data.val.abs, 0); 126 if (!intn) { 135 if (yasm_intnum_sign(intn) == -1 && dv->type == DV_ULEB128) 168 yasm_intnum *intn; local 186 intn = yasm_expr_get_intnum(&dv->data.val.abs, 0); 187 if (!intn) 189 len = yasm_intnum_size_leb128(intn, dv->type == DV_SLEB128); 213 yasm_intnum *intn; local 241 intn = yasm_expr_get_intnum(&dv->data.val.abs, 234) 269 yasm_intnum *intn; local [all...] |
expr.c | 174 e->data.intn = i; 223 yasm_intnum *intn; local 238 intn = sube->terms[0].data.intn; 250 intn = sube->terms[1].data.intn; 254 if (!yasm_intnum_is_neg1(intn)) 304 ei->data.intn = dist; 372 sube->terms[0].data.intn = yasm_intnum_create_int(-1); 423 yasm_intnum_calc(e->terms[0].data.intn, YASM_EXPR_NEG, NULL) [all...] |
expr.h | 62 yasm_intnum *intn; /**< Integer value (YASM_EXPR_INT) */ member in union:yasm_expr__item::__anon17205 116 * \param intn intnum 120 /*@only@*/ yasm_expr__item *yasm_expr_int(/*@keep@*/ yasm_intnum *intn);
|
arch.h | 158 int (*intnum_tobytes) (yasm_arch *arch, const yasm_intnum *intn, 357 * \param intn integer value 368 int yasm_arch_intnum_tobytes(yasm_arch *arch, const yasm_intnum *intn, 472 #define yasm_arch_intnum_tobytes(arch, intn, buf, destsize, valsize, shift, \ 475 (arch, intn, buf, destsize, valsize, shift, bc, warn)
|
bytecode.c | 203 yasm_intnum *intn; local 211 intn = yasm_intnum_create_uint(dist1 - dist2); 212 yasm_intnum_calc(intn, YASM_EXPR_NEG, NULL); 213 return intn;
|
valparam.c | 328 yasm_intnum **intn = (yasm_intnum **)data; local 330 if (*intn) 331 yasm_intnum_destroy(*intn); 341 *intn = yasm_intnum_copy(local);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/ |
nasmlib.c | 24 yasm_intnum *intn; local 92 intn = yasm_intnum_create_bin(r); 95 intn = yasm_intnum_create_oct(r); 98 intn = yasm_intnum_create_dec(r); 101 intn = yasm_intnum_create_hex(r); 105 intn = yasm_intnum_create_uint(0); 111 yasm_intnum_calc(intn, YASM_EXPR_NEG, NULL); 112 return intn; 118 yasm_intnum *intn; local 124 intn = yasm_intnum_create_charconst_nasm(str) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/ |
leb128_test.c | 79 yasm_intnum *intn = yasm_intnum_create_hex(valstr); local 87 yasm_intnum_calc(intn, YASM_EXPR_NEG, NULL); 89 size = yasm_intnum_size_leb128(intn, test->sign); 91 yasm_intnum_destroy(intn); 100 size = yasm_intnum_get_leb128(intn, out, test->sign); 102 yasm_intnum_destroy(intn); 115 yasm_intnum_destroy(intn); 121 yasm_intnum_destroy(intn); 129 yasm_intnum *intn = yasm_intnum_create_hex(valstr); local 136 yasm_intnum_calc(intn, YASM_EXPR_NEG, NULL) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/ |
intnum.pxi | 37 yasm_intnum_calc((<IntNum>result).intn, op, NULL) 44 yasm_intnum_calc((<IntNum>result).intn, op, (<IntNum>rhs).intn) 49 yasm_intnum_calc((<IntNum>result).intn, op, (<IntNum>y).intn) 54 cdef object __make_intnum(yasm_intnum *intn): 55 return IntNum(__pass_voidp(intn, IntNum)) 58 cdef yasm_intnum *intn 63 self.intn = NULL 66 self.intn = yasm_intnum_copy((<IntNum>value).intn [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/ |
win64-except.c | 226 /*@only@*/ /*@null@*/ yasm_intnum *intn; local 235 intn = yasm_value_get_intnum(&info->frameoff, bc, 0); 236 if (intn) { 237 intv = yasm_intnum_get_int(intn); 245 yasm_intnum_destroy(intn); 357 /*@only@*/ /*@null@*/ yasm_intnum *intn; local 402 intn = yasm_value_get_intnum(&code->off, bc, 0); 403 if (intn) { 404 intv = yasm_intnum_get_int(intn); 416 yasm_intnum_destroy(intn); 473 yasm_intnum *intn; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/ |
nasm-parser-struct.h | 33 yasm_intnum *intn; member in union:__anon17266
|
nasm-token.re | 163 lvalp->intn = yasm_intnum_create_dec(TOK); 171 lvalp->intn = yasm_intnum_create_bin(TOK); 178 lvalp->intn = yasm_intnum_create_oct(TOK); 185 lvalp->intn = yasm_intnum_create_hex(TOK); 195 lvalp->intn = yasm_intnum_create_hex(TOK+2); 198 lvalp->intn = yasm_intnum_create_hex(TOK+1); 521 lvalp->intn = yasm_intnum_create_dec(TOK); 638 lvalp->intn = yasm_intnum_create_dec(TOK); 646 lvalp->intn = yasm_intnum_create_bin(TOK); 653 lvalp->intn = yasm_intnum_create_oct(TOK) [all...] |
nasm-parser.h | 97 #define INTNUM_val (curval.intn)
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/listfmts/nasm/ |
nasm-listfmt.c | 86 /*@dependent@*/ /*@null@*/ yasm_intnum *intn; local 121 intn = yasm_expr_get_intnum(&value->abs, 0); 122 if (intn) 123 return yasm_arch_intnum_tobytes(info->arch, intn, buf, destsize, 132 intn = yasm_intnum_create_uint(0); 133 retval = yasm_arch_intnum_tobytes(info->arch, intn, buf, destsize, 135 yasm_intnum_destroy(intn);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/ |
lc3barch.h | 61 (yasm_arch *arch, const yasm_intnum *intn, unsigned char *buf,
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/ |
dwarf2-line.c | 903 /*@dependent@*/ /*@null@*/ const yasm_intnum *intn; local 914 intn = yasm_expr_get_intnum(&vp->param.e, 0); 915 if (!intn) { 921 if (yasm_intnum_sign(intn) != 1) { 926 loc->file = yasm_intnum_get_uint(intn); [all...] |
dwarf2-dbgfmt.c | 259 yasm_intnum *intn, *cval; local 270 intn = yasm_calc_bc_dist(head->start_prevbc, head->end_prevbc); 271 yasm_intnum_calc(intn, YASM_EXPR_SUB, cval); 272 yasm_arch_intnum_tobytes(object->arch, intn, buf, 276 yasm_intnum_destroy(intn);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/ |
gas-parser.h | 56 yasm_intnum *intn; member in union:__anon17263 138 #define INTNUM_val (curval.intn)
|
gas-token.re | 232 lvalp->intn = yasm_intnum_create_dec(TOK); 241 lvalp->intn = yasm_intnum_create_bin(TOK+2); 250 lvalp->intn = yasm_intnum_create_oct(TOK); 260 lvalp->intn = yasm_intnum_create_hex(TOK+2);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/ |
elf-machine.h | 58 typedef void(*func_handle_reloc_addend)(yasm_intnum *intn,
|
elf-x86-amd64.c | 139 elf_x86_amd64_handle_reloc_addend(yasm_intnum *intn, 144 reloc->addend = yasm_intnum_copy(intn); 145 yasm_intnum_zero(intn);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/ |
rdf-objfmt.c | 187 /*@dependent@*/ /*@null@*/ yasm_intnum *intn; local 275 intn = yasm_intnum_create_uint(intn_minus); 276 yasm_intnum_calc(intn, YASM_EXPR_NEG, NULL); 278 intn = yasm_intnum_create_uint(intn_plus); 285 yasm_intnum_destroy(intn); 288 yasm_intnum_calc(intn, YASM_EXPR_ADD, intn2); 291 retval = yasm_arch_intnum_tobytes(info->object->arch, intn, buf, destsize, 293 yasm_intnum_destroy(intn); 584 const yasm_intnum *intn; local 596 intn = yasm_expr_get_intnum(csize_expr, 1) [all...] |