Linux Perf
expr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  parse_id
 
struct  parse_ctx
 

Macros

#define EXPR_MAX_OTHER   15
 
#define MAX_PARSE_ID   EXPR_MAX_OTHER
 

Functions

void expr__ctx_init (struct parse_ctx *ctx)
 
void expr__add_id (struct parse_ctx *ctx, const char *id, double val)
 
int expr__parse (double *final_val, struct parse_ctx *ctx, const char **pp)
 
int expr__find_other (const char *p, const char *one, const char ***other, int *num_other)
 

Macro Definition Documentation

◆ EXPR_MAX_OTHER

#define EXPR_MAX_OTHER   15

Definition at line 5 of file expr.h.

◆ MAX_PARSE_ID

#define MAX_PARSE_ID   EXPR_MAX_OTHER

Definition at line 6 of file expr.h.

Function Documentation

◆ expr__add_id()

void expr__add_id ( struct parse_ctx ctx,
const char *  id,
double  val 
)

Definition at line 1595 of file expr-bison.c.

◆ expr__ctx_init()

void expr__ctx_init ( struct parse_ctx ctx)

Definition at line 1604 of file expr-bison.c.

◆ expr__find_other()

int expr__find_other ( const char *  p,
const char *  one,
const char ***  other,
int *  num_other 
)

Definition at line 1609 of file expr-bison.c.

Here is the call graph for this function:

◆ expr__parse()

int expr__parse ( double *  final_val,
struct parse_ctx ctx,
const char **  pp 
)