Go to the source code of this file.
Data Structures | |
struct | __kmp_env_blk |
struct | __kmp_env_var |
Typedefs | |
typedef struct __kmp_env_blk | kmp_env_blk_t |
typedef struct __kmp_env_var | kmp_env_var_t |
Functions | |
void | __kmp_env_blk_free (kmp_env_blk_t *block) |
void | __kmp_env_blk_init (kmp_env_blk_t *block, char const *bulk) |
void | __kmp_env_blk_sort (kmp_env_blk_t *block) |
char const * | __kmp_env_blk_var (kmp_env_blk_t *block, char const *name) |
int | __kmp_env_exists (char const *name) |
void | __kmp_env_free (char const **value) |
char * | __kmp_env_get (char const *name) |
void | __kmp_env_set (char const *name, char const *value, int overwrite) |
void | __kmp_env_unset (char const *name) |
typedef struct __kmp_env_blk kmp_env_blk_t |
Definition at line 98 of file kmp_environment.h.
typedef struct __kmp_env_var kmp_env_var_t |
Definition at line 91 of file kmp_environment.h.
void __kmp_env_blk_free | ( | kmp_env_blk_t * | block | ) |
Definition at line 596 of file kmp_environment.c.
References __kmp_env_blk::bulk, __kmp_env_blk::count, KMP_INTERNAL_FREE, and __kmp_env_blk::vars.
Referenced by __kmp_env_initialize(), and __kmp_env_print().
void __kmp_env_blk_init | ( | kmp_env_blk_t * | block, | |
char const * | bulk | |||
) |
Definition at line 536 of file kmp_environment.c.
References ___kmp_env_blk_parse_string(), ___kmp_env_blk_parse_unix(), ___kmp_env_blk_parse_windows(), __kmp_msg(), __kmp_msg_null, KMP_ERR, kmp_ms_fatal, and KMP_MSG.
Referenced by __kmp_env_initialize(), and __kmp_env_print().
void __kmp_env_blk_sort | ( | kmp_env_blk_t * | block | ) |
Definition at line 580 of file kmp_environment.c.
References ___kmp_env_var_cmp(), __kmp_env_blk::count, and __kmp_env_blk::vars.
Referenced by __kmp_env_print().
char const* __kmp_env_blk_var | ( | kmp_env_blk_t * | block, | |
char const * | name | |||
) |
Definition at line 612 of file kmp_environment.c.
References __kmp_env_blk::count, i, __kmp_env_var::name, __kmp_env_var::value, and __kmp_env_blk::vars.
Referenced by __kmp_aux_env_initialize(), and __kmp_env_initialize().
int __kmp_env_exists | ( | char const * | name | ) |
Definition at line 212 of file kmp_environment.c.
References __kmp_msg(), __kmp_msg_null, KMP_ERR, kmp_ms_fatal, and KMP_MSG.
void __kmp_env_free | ( | char const ** | value | ) |
Definition at line 201 of file kmp_environment.c.
References KMP_DEBUG_ASSERT, and KMP_INTERNAL_FREE.
Referenced by __kmp_do_serial_initialize().
char* __kmp_env_get | ( | char const * | name | ) |
Definition at line 129 of file kmp_environment.c.
References __kmp_msg(), __kmp_msg_null, KMP_ERR, KMP_FATAL, KMP_INTERNAL_FREE, KMP_INTERNAL_MALLOC, kmp_ms_fatal, and KMP_MSG.
Referenced by __kmp_do_serial_initialize(), __kmp_register_library_startup(), and __kmp_unregister_library().
void __kmp_env_set | ( | char const * | name, | |
char const * | value, | |||
int | overwrite | |||
) |
Definition at line 242 of file kmp_environment.c.
References __kmp_msg(), __kmp_msg_null, KMP_ERR, KMP_HNT, kmp_ms_fatal, and KMP_MSG.
Referenced by __kmp_register_library_startup().
void __kmp_env_unset | ( | char const * | name | ) |
Definition at line 296 of file kmp_environment.c.
References __kmp_msg(), __kmp_msg_null, KMP_ERR, kmp_ms_fatal, and KMP_MSG.
Referenced by __kmp_register_library_startup(), and __kmp_unregister_library().