ARGOBOTS  7496202f85916e93d6d143320764c2aba5026d93
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions
abtd_affinity_parser.c File Reference
#include "abti.h"
Include dependency graph for abtd_affinity_parser.c:

Go to the source code of this file.

Functions

static ABTD_affinity_id_list * id_list_create (void)
 
static void id_list_free (ABTD_affinity_id_list *p_id_list)
 
static void id_list_add (ABTD_affinity_id_list *p_id_list, int id, int num, int stride)
 
static ABTD_affinity_list * list_create (void)
 
static void list_free (ABTD_affinity_list *p_list)
 
static void list_add (ABTD_affinity_list *p_list, ABTD_affinity_id_list *p_base, int num, int stride)
 
static int is_whitespace (char c)
 
static int consume_int (const char *str, int *p_index, int *p_val)
 
static int consume_pint (const char *str, int *p_index, int *p_val)
 
static int consume_symbol (const char *str, int *p_index, char symbol)
 
static ABTD_affinity_id_list * parse_es_id_list (const char *affinity_str, int *p_index)
 
static ABTD_affinity_list * parse_list (const char *affinity_str)
 

Function Documentation

static int consume_int ( const char *  str,
int *  p_index,
int *  p_val 
)
static

Definition at line 89 of file abtd_affinity_parser.c.

Referenced by consume_pint(), parse_es_id_list(), and parse_list().

static int consume_pint ( const char *  str,
int *  p_index,
int *  p_val 
)
static

Definition at line 125 of file abtd_affinity_parser.c.

Referenced by parse_es_id_list(), and parse_list().

static int consume_symbol ( const char *  str,
int *  p_index,
char  symbol 
)
static

Definition at line 138 of file abtd_affinity_parser.c.

Referenced by parse_es_id_list(), and parse_list().

static void id_list_add ( ABTD_affinity_id_list *  p_id_list,
int  id,
int  num,
int  stride 
)
static

Definition at line 24 of file abtd_affinity_parser.c.

Referenced by parse_es_id_list().

static ABTD_affinity_id_list* id_list_create ( void  )
static

Definition at line 8 of file abtd_affinity_parser.c.

Referenced by list_add(), and parse_es_id_list().

static void id_list_free ( ABTD_affinity_id_list *  p_id_list)
static

Definition at line 17 of file abtd_affinity_parser.c.

Referenced by list_free(), parse_es_id_list(), and parse_list().

static int is_whitespace ( char  c)
inlinestatic

Definition at line 83 of file abtd_affinity_parser.c.

Referenced by consume_int(), and consume_symbol().

static void list_add ( ABTD_affinity_list *  p_list,
ABTD_affinity_id_list *  p_base,
int  num,
int  stride 
)
static

Definition at line 59 of file abtd_affinity_parser.c.

Referenced by parse_list().

static ABTD_affinity_list* list_create ( void  )
static

Definition at line 39 of file abtd_affinity_parser.c.

Referenced by parse_list().

static void list_free ( ABTD_affinity_list *  p_list)
static

Definition at line 48 of file abtd_affinity_parser.c.

Referenced by parse_list().

static ABTD_affinity_id_list* parse_es_id_list ( const char *  affinity_str,
int *  p_index 
)
static

Definition at line 156 of file abtd_affinity_parser.c.

Referenced by parse_list().

static ABTD_affinity_list* parse_list ( const char *  affinity_str)
static

Definition at line 205 of file abtd_affinity_parser.c.