Lines Matching refs:u
84 } u; member
355 mpz_init_set_ui (v->u.i, i); in int_value()
366 v->u.s = xstrdup (s); in str_value()
376 free (v->u.s); in freev()
378 mpz_clear (v->u.i); in freev()
390 mpz_out_str (stdout, 10, v->u.i); in printv()
394 puts (v->u.s); in printv()
410 return mpz_sgn (v->u.i) == 0; in null()
413 char const *cp = v->u.s; in null()
458 char *s = mpz_get_str (nullptr, 10, v->u.i); in tostring()
459 mpz_clear (v->u.i); in tostring()
460 v->u.s = s; in tostring()
482 char *s = v->u.s; in toarith()
486 if (mpz_init_set_str (v->u.i, s, 10) != 0) in toarith()
593 errmsg = re_compile_pattern (pv->u.s, strlen (pv->u.s), &re_buffer); in docolon()
598 matchlen = re_match (&re_buffer, sv->u.s, strlen (sv->u.s), 0, &re_regs); in docolon()
608 sv->u.s[re_regs.end[1]] = '\0'; in docolon()
609 v = str_value (sv->u.s + re_regs.start[1]); in docolon()
618 : mbs_offset_to_chars (sv->u.s, matchlen)); in docolon()
698 v = int_value (mbslen (r->u.s)); in eval6()
724 pos = mbs_logical_cspn (l->u.s, r->u.s); in eval6()
741 size_t pos = getsize (i1->u.i); in eval6()
742 size_t len = getsize (i2->u.i); in eval6()
744 char *s = mbs_logical_substr (l->u.s, pos, len); in eval6()
817 if (fxn != multiply && mpz_sgn (r->u.i) == 0) in eval4()
822 (l->u.i, l->u.i, r->u.i)); in eval4()
854 (fxn == plus ? mpz_add : mpz_sub) (l->u.i, l->u.i, r->u.i); in eval3()
902 if (looks_like_integer (l->u.s) && looks_like_integer (r->u.s)) in eval2()
903 cmp = strintcmp (l->u.s, r->u.s); in eval2()
907 cmp = strcoll (l->u.s, r->u.s); in eval2()
915 quotearg_n_style (0, locale_quoting_style, l->u.s), in eval2()
916 quotearg_n_style (1, locale_quoting_style, r->u.s)); in eval2()