ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
Functions
abtd_env.c File Reference
#include "abti.h"
#include <unistd.h>
#include <strings.h>
Include dependency graph for abtd_env.c:

Go to the source code of this file.

Functions

static uint32_t roundup_pow2_uint32 (uint32_t val)
 
static size_t roundup_pow2_size (size_t val)
 
static const char * get_abt_env (const char *env_suffix)
 
static ABT_bool is_false (const char *str, ABT_bool include0)
 
static ABT_bool is_true (const char *str, ABT_bool include1)
 
static ABT_bool load_env_bool (const char *env_suffix, ABT_bool default_val)
 
static int load_env_int (const char *env_suffix, int default_val, int min_val, int max_val)
 
static uint32_t load_env_uint32 (const char *env_suffix, uint32_t default_val, uint32_t min_val, uint32_t max_val)
 
static uint64_t load_env_uint64 (const char *env_suffix, uint64_t default_val, uint64_t min_val, uint64_t max_val)
 
static size_t load_env_size (const char *env_suffix, size_t default_val, size_t min_val, size_t max_val)
 

Function Documentation

◆ get_abt_env()

static const char * get_abt_env ( const char *  env_suffix)
static

◆ is_false()

static ABT_bool is_false ( const char *  str,
ABT_bool  include0 
)
static

Definition at line 421 of file abtd_env.c.

Referenced by load_env_bool().

◆ is_true()

static ABT_bool is_true ( const char *  str,
ABT_bool  include1 
)
static

Definition at line 432 of file abtd_env.c.

Referenced by load_env_bool().

◆ load_env_bool()

static ABT_bool load_env_bool ( const char *  env_suffix,
ABT_bool  default_val 
)
static

Definition at line 443 of file abtd_env.c.

◆ load_env_int()

static int load_env_int ( const char *  env_suffix,
int  default_val,
int  min_val,
int  max_val 
)
static

Definition at line 459 of file abtd_env.c.

◆ load_env_size()

static size_t load_env_size ( const char *  env_suffix,
size_t  default_val,
size_t  min_val,
size_t  max_val 
)
static

Definition at line 512 of file abtd_env.c.

◆ load_env_uint32()

static uint32_t load_env_uint32 ( const char *  env_suffix,
uint32_t  default_val,
uint32_t  min_val,
uint32_t  max_val 
)
static

Definition at line 476 of file abtd_env.c.

◆ load_env_uint64()

static uint64_t load_env_uint64 ( const char *  env_suffix,
uint64_t  default_val,
uint64_t  min_val,
uint64_t  max_val 
)
static

Definition at line 494 of file abtd_env.c.

◆ roundup_pow2_size()

static size_t roundup_pow2_size ( size_t  val)
static

Definition at line 388 of file abtd_env.c.

◆ roundup_pow2_uint32()

static uint32_t roundup_pow2_uint32 ( uint32_t  val)
static

Definition at line 373 of file abtd_env.c.