Searched defs:intn (Results 1 - 25 of 33) sorted by relevance

12

/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/libyasm/
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 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 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...]
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 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 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...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/
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/objfmts/elf/
H A Delf-x86-amd64.c139 elf_x86_amd64_handle_reloc_addend(yasm_intnum *intn, argument
144 reloc->addend = yasm_intnum_copy(intn);
145 yasm_intnum_zero(intn);
H A Delf-x86-x86.c138 elf_x86_x86_handle_reloc_addend(yasm_intnum *intn, argument
145 yasm_intnum_calc(intn, YASM_EXPR_ADD, off_intn);
148 return; /* .rel: Leave addend in intn */
H A Delf-objfmt.c479 /*@dependent@*/ /*@null@*/ yasm_intnum *intn; local
562 intn = yasm_intnum_create_uint(intn_val);
569 yasm_intnum_destroy(intn);
572 yasm_intnum_calc(intn, YASM_EXPR_ADD, intn2);
576 elf_handle_reloc_addend(intn, reloc, offset);
577 retval = yasm_arch_intnum_tobytes(info->object->arch, intn, buf, destsize,
579 yasm_intnum_destroy(intn);
H A Delf.c720 elf_handle_reloc_addend(yasm_intnum *intn, argument
726 elf_march->handle_reloc_addend(intn, reloc, offset);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/
H A Dnasm-parser-struct.h33 yasm_intnum *intn; member in union:__anon16363
H A Dnasm-parse.c108 yasm_intnum_destroy(curval.intn);
1445 yasm_intnum *intn; local
1447 intn = yasm_intnum_create_charconst_tasm(STRING_val.contents);
1449 intn = yasm_intnum_create_charconst_nasm(STRING_val.contents);
1450 e = p_expr_new_ident(yasm_expr_int(intn));
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/
H A Dnasmlib.c24 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
[all...]
/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/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/coff/
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...]
/external/chromium_org/third_party/npapi/npspy/extern/nspr/obsolete/
H A Dprotypes.h47 typedef PRIntn intn; typedef
/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 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);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/
H A Dgas-parser.h56 yasm_intnum *intn; member in union:__anon16360
138 #define INTNUM_val (curval.intn)
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/
H A Drdf-objfmt.c187 /*@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
[all...]

Completed in 5261 milliseconds

12