Home
last modified time | relevance | path

Searched refs:tvar (Results 1 – 4 of 4) sorted by relevance

/external/linux-tools-perf/util/
Dprobe-finder.c811 struct probe_trace_arg *tvar) in convert_variable_location() argument
835 if (!tvar) in convert_variable_location()
839 tvar->value = zalloc(ret + 2); in convert_variable_location()
840 if (tvar->value == NULL) in convert_variable_location()
842 snprintf(tvar->value, ret + 2, "@%s", dwarf_diename(vr_die)); in convert_variable_location()
843 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
844 if (tvar->ref == NULL) in convert_variable_location()
875 if (!tvar) in convert_variable_location()
886 tvar->value = strdup(regs); in convert_variable_location()
887 if (tvar->value == NULL) in convert_variable_location()
[all …]
Dprobe-finder.h71 struct probe_trace_arg *tvar; /* Current result variable */ member
/external/mksh/src/
Dexpr.c482 char *tvar; in exprtoken() local
519 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken()
520 es->val = global(tvar); in exprtoken()
521 afree(tvar, ATEMP); in exprtoken()
527 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken()
538 tvar = alloc(c + /* NUL */ 1, ATEMP); in exprtoken()
539 tvar[0] = '1'; in exprtoken()
540 tvar[1] = '#'; in exprtoken()
541 memcpy(tvar + 2, es->tokp + 1, c - 2); in exprtoken()
542 tvar[c] = '\0'; in exprtoken()
[all …]
Dvar.c694 char *tvar; in typeset() local
729 strndupx(tvar, var, val - var, ATEMP); in typeset()
738 strdupx(tvar, var, ATEMP); in typeset()
741 len = strlen(tvar); in typeset()
742 if (len > 3 && tvar[len - 3] == '[' && tvar[len - 2] == '*' && in typeset()
743 tvar[len - 1] == ']') in typeset()
744 tvar[len - 3] = '\0'; in typeset()
755 varsearch(e->loc, &vp, tvar, hash(tvar)); in typeset()
760 if (qval != NULL && !strcmp(qval, tvar)) { in typeset()
761 afree(tvar, ATEMP); in typeset()
[all …]