Searched refs:intn (Results 1 - 25 of 46) sorted by last modified time

12

/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Darch.h158 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)
H A Dbc-data.c111 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
269 yasm_intnum *intn; local
[all...]
H A Dbytecode.c203 yasm_intnum *intn; local
211 intn = yasm_intnum_create_uint(dist1 - dist2);
212 yasm_intnum_calc(intn, YASM_EXPR_NEG, NULL);
213 return intn;
H A Dexpr.c174 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_NE
489 expr_is_constant(yasm_expr_op op, yasm_intnum *intn) argument
500 expr_can_destroy_int_left(yasm_expr_op op, yasm_intnum *intn) argument
513 expr_can_destroy_int_right(yasm_expr_op op, yasm_intnum *intn) argument
[all...]
H A Dexpr.h62 yasm_intnum *intn; /**< Integer value (YASM_EXPR_INT) */ member in union:yasm_expr__item::__anon16302
116 * \param intn intnum
120 /*@only@*/ yasm_expr__item *yasm_expr_int(/*@keep@*/ yasm_intnum *intn);
H A Dintnum.c87 intnum_frombv(/*@out@*/ yasm_intnum *intn, wordptr bv) argument
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) argument
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
395 yasm_intnum_copy(const yasm_intnum *intn) argument
413 yasm_intnum_destroy(yasm_intnum *intn) argument
631 yasm_intnum_zero(yasm_intnum *intn) argument
637 yasm_intnum_set(yasm_intnum *intn, const yasm_intnum *val) argument
663 yasm_intnum_set_uint(yasm_intnum *intn, unsigned long val) argument
681 yasm_intnum_set_int(yasm_intnum *intn, long val) argument
690 yasm_intnum_is_zero(const yasm_intnum *intn) argument
696 yasm_intnum_is_pos1(const yasm_intnum *intn) argument
702 yasm_intnum_is_neg1(const yasm_intnum *intn) argument
708 yasm_intnum_sign(const yasm_intnum *intn) argument
722 yasm_intnum_get_uint(const yasm_intnum *intn) argument
743 yasm_intnum_get_int(const yasm_intnum *intn) argument
775 yasm_intnum_get_sized(const yasm_intnum *intn, unsigned char *ptr, size_t destsize, size_t valsize, int shift, int bigendian, int warn) argument
840 yasm_intnum_check_size(const yasm_intnum *intn, size_t size, size_t rshift, int rangetype) argument
883 yasm_intnum_in_range(const yasm_intnum *intn, long low, long high) argument
962 yasm_intnum_get_leb128(const yasm_intnum *intn, unsigned char *ptr, int sign) argument
979 yasm_intnum_size_leb128(const yasm_intnum *intn, int sign) argument
1063 yasm_intnum_get_str(const yasm_intnum *intn) argument
1082 yasm_intnum_print(const yasm_intnum *intn, FILE *f) argument
[all...]
H A Dintnum.h128 * \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...]
H A Dsection.c929 yasm_intnum *intn; local
942 intn = yasm_calc_bc_dist(precbc, precbc2);
943 if (!intn)
946 span->terms[subst].new_val = yasm_intnum_get_int(intn);
947 yasm_intnum_destroy(intn);
964 span->items[i].data.intn = yasm_intnum_create_int(0);
1019 yasm_intnum_set_int(span->items[i].data.intn,
1102 yasm_intnum_destroy(span->items[i].data.intn);
1410 yasm_intnum *intn; local
1414 intn
[all...]
H A Dvalparam.c328 yasm_intnum **intn = (yasm_intnum **)data; local
330 if (*intn)
331 yasm_intnum_destroy(*intn);
341 *intn = yasm_intnum_copy(local);
H A Dvalue.c173 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...]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/
H A Dleb128_test.c79 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_NE
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/
H A Dlc3barch.h61 (yasm_arch *arch, const yasm_intnum *intn, unsigned char *buf,
H A Dlc3bbc.c242 yasm_lc3b__intnum_tobytes(yasm_arch *arch, const yasm_intnum *intn, argument
247 yasm_intnum_get_sized(intn, buf, destsize, valsize, shift, 0, warn);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/
H A Dx86arch.c178 const yasm_intnum *intn; local
183 (intn = yasm_expr_get_intnum(&e, 0)) != NULL &&
184 (lval = yasm_intnum_get_int(intn)) &&
H A Dx86arch.h317 (yasm_arch *arch, const yasm_intnum *intn, unsigned char *buf,
H A Dx86bc.c239 e->terms[0].data.intn = yasm_intnum_create_uint(0);
1029 yasm_x86__intnum_tobytes(yasm_arch *arch, const yasm_intnum *intn, argument
1034 yasm_intnum_get_sized(intn, buf, destsize, valsize, shift, 0, warn);
H A Dx86expr.c86 ei->data.intn = yasm_intnum_create_uint(0);
126 ei->data.intn = yasm_intnum_create_uint(0);
366 e->terms[i].data.expn->terms[1].data.intn);
395 delta = yasm_intnum_get_int(e->terms[1].data.intn);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/
H A Dcv-symline.c737 yasm_intnum *intn, *cval; local
753 intn = yasm_calc_bc_dist(head->start_prevbc, head->end_prevbc);
754 yasm_intnum_calc(intn, YASM_EXPR_SUB, cval);
755 yasm_arch_intnum_tobytes(object->arch, intn, buf, 4, 32, 0, bc, 0);
757 yasm_intnum_destroy(intn);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/
H A Ddwarf2-dbgfmt.c259 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);
H A Ddwarf2-line.c903 /*@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);
935 intn = yasm_expr_get_intnum(&vp->param.e, 0);
936 if (!intn) {
942 loc->line = yasm_intnum_get_uint(intn);
973 intn = yasm_expr_get_intnum(&vp->param.e, 0);
974 if (!intn) {
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/tests/pass64/
H A Ddwarf64_leb128.asm8973 .string "intn"
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/listfmts/nasm/
H A Dnasm-listfmt.c86 /*@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/objfmts/bin/
H A Dbin-objfmt.c515 e->terms[i].data.intn = dist;
522 e->terms[i].data.intn = yasm_intnum_copy(ssymval);
535 yasm_intnum *intn; member in struct:map_output_info
565 map_print_intnum(const yasm_intnum *intn, map_output_info *info) argument
568 yasm_intnum_get_sized(intn, info->buf, info->bytes, info->bytes*8, 0, 0,
587 yasm_intnum_set(info->intn, bsd->ivstart);
588 yasm_intnum_calc(info->intn, YASM_EXPR_ADD, bsd->length);
589 map_print_intnum(info->intn, info);
595 yasm_intnum_set(info->intn, bsd->istart);
596 yasm_intnum_calc(info->intn, YASM_EXPR_AD
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/
H A Dcoff-objfmt.c456 /*@dependent@*/ /*@null@*/ yasm_intnum *intn; local
685 intn = yasm_intnum_create_uint(intn_val-intn_minus);
687 intn = yasm_intnum_create_uint(intn_minus-intn_val);
688 yasm_intnum_calc(intn, YASM_EXPR_NEG, NULL);
696 yasm_intnum_destroy(intn);
701 yasm_intnum_calc(intn, YASM_EXPR_ADD, intn2);
705 yasm_intnum_calc(intn, YASM_EXPR_ADD, dist);
709 retval = yasm_arch_intnum_tobytes(info->object->arch, intn, buf, destsize,
711 yasm_intnum_destroy(intn);
1000 const yasm_intnum *intn; local
1937 yasm_intnum *intn = NULL; local
1960 yasm_intnum *intn = NULL; local
[all...]
H A Dwin64-except.c226 /*@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...]

Completed in 4410 milliseconds

12