Go to the source code of this file.
Defines | |
#define | SET_LOW_MEMORY_TRAP_VOID() |
#define | SET_LOW_MEMORY_TRAP(failure_value) |
#define | SET_LOW_MEMORY_TRAP_ACTION(action) |
#define | REMOVE_LOW_MEMORY_TRAP() |
#define | TRAP_OOM(_err_act, _do_act) { _do_act; } |
#define | HAVE_TRAP_OOM 0 |
#define | WHEN_TRAP_OOM(_do_act) |
#define | TRAP_OOM_VALUE(_err_val, _do_act) TRAP_OOM(return _err_val, _do_act) |
#define | TRAP_OOM_NULL(_do_act) TRAP_OOM_VALUE(NULL, _do_act) |
#define | TRAP_OOM_VOID(_do_act) TRAP_OOM(return, _do_act) |
#define | TRAP_OOM_FAIL(_do_act) TRAP_OOM(goto fail, _do_act) |
#define | SET_TRAP_OOM_VOID() SET_LOW_MEMORY_TRAP_VOID() |
#define | SET_TRAP_OOM_VALUE(_val) SET_LOW_MEMORY_TRAP(_val) |
#define | SET_TRAP_OOM(_act) SET_LOW_MEMORY_TRAP_ACTION(_act) |
#define | UNSET_TRAP_OOM() REMOVE_LOW_MEMORY_TRAP() |
#define | SET_TRAP_OOM_FAIL() SET_TRAP_OOM(goto fail) |
#define HAVE_TRAP_OOM 0 |
Definition at line 35 of file gxlowmem.h.
#define REMOVE_LOW_MEMORY_TRAP | ( | ) |
Definition at line 31 of file gxlowmem.h.
#define SET_LOW_MEMORY_TRAP | ( | failure_value | ) |
Definition at line 29 of file gxlowmem.h.
#define SET_LOW_MEMORY_TRAP_ACTION | ( | action | ) |
Definition at line 30 of file gxlowmem.h.
#define SET_LOW_MEMORY_TRAP_VOID | ( | ) |
Definition at line 28 of file gxlowmem.h.
#define SET_TRAP_OOM | ( | _act | ) | SET_LOW_MEMORY_TRAP_ACTION(_act) |
Definition at line 55 of file gxlowmem.h.
Referenced by bb_Blackboard_register(), CSensor_keypress::ConstructL(), CSensor_btprox::ConstructL(), er_log_base(), GMaybeString_assign(), CSensor_btprox::HandleScanEventL(), log_db_log_status(), CSensor_keypress::LogAndClear(), and LogSatelliteInfoL().
#define SET_TRAP_OOM_FAIL | ( | ) | SET_TRAP_OOM(goto fail) |
Definition at line 58 of file gxlowmem.h.
Referenced by er_log_status_fmt(), and gx_error_new_valist().
#define SET_TRAP_OOM_VALUE | ( | _val | ) | SET_LOW_MEMORY_TRAP(_val) |
Definition at line 54 of file gxlowmem.h.
Referenced by cl2GlobalInit(), and gx_error_new_literal().
#define SET_TRAP_OOM_VOID | ( | ) | SET_LOW_MEMORY_TRAP_VOID() |
Definition at line 53 of file gxlowmem.h.
#define TRAP_OOM | ( | _err_act, | |||
_do_act | ) | { _do_act; } |
Definition at line 33 of file gxlowmem.h.
Referenced by ac_AppContext_configure().
#define TRAP_OOM_FAIL | ( | _do_act | ) | TRAP_OOM(goto fail, _do_act) |
Definition at line 49 of file gxlowmem.h.
Referenced by getNextOldLogFile(), gx_error_to_string(), mkdir_p(), and CCliapiSession::ServiceL().
#define TRAP_OOM_NULL | ( | _do_act | ) | TRAP_OOM_VALUE(NULL, _do_act) |
Definition at line 43 of file gxlowmem.h.
#define TRAP_OOM_VALUE | ( | _err_val, | |||
_do_act | ) | TRAP_OOM(return _err_val, _do_act) |
Definition at line 40 of file gxlowmem.h.
Referenced by gx_strdup().
#define TRAP_OOM_VOID | ( | _do_act | ) | TRAP_OOM(return, _do_act) |
Definition at line 46 of file gxlowmem.h.
#define UNSET_TRAP_OOM | ( | ) | REMOVE_LOW_MEMORY_TRAP() |
Definition at line 56 of file gxlowmem.h.
Referenced by bb_Blackboard_register(), cl2GlobalInit(), CSensor_keypress::ConstructL(), CSensor_btprox::ConstructL(), er_log_base(), er_log_status_fmt(), GMaybeString_assign(), gx_error_new_literal(), gx_error_new_valist(), CSensor_btprox::HandleScanEventL(), log_db_log_status(), CSensor_keypress::LogAndClear(), and LogSatelliteInfoL().
#define WHEN_TRAP_OOM | ( | _do_act | ) |
Definition at line 36 of file gxlowmem.h.
Referenced by er_log_status_fmt().
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:59 2011 by Doxygen 1.6.1