/seL4-refos-master/libs/libutils/include/utils/ |
H A D | zf_log.h | 171 void zf_log_set_output_level(const int lvl); 175 int lvl; member in struct:zf_log_output_ctx 212 #define ZF_LOG_ALLOW(lvl) ((lvl) >= _ZF_LOG_LEVEL) 230 #define ZF_LOG_OUTPUT(lvl) \ 231 (ZF_LOG_ALLOW((lvl)) && (lvl) >= _zf_log_output_lvl) 249 const int lvl, const char *const tag, 251 void _zf_log_write(const int lvl, const char *const tag, 256 const int lvl, cons [all...] |
/seL4-refos-master/projects/util_libs/libutils/include/utils/ |
H A D | zf_log.h | 171 void zf_log_set_output_level(const int lvl); 175 int lvl; member in struct:zf_log_output_ctx 212 #define ZF_LOG_ALLOW(lvl) ((lvl) >= _ZF_LOG_LEVEL) 230 #define ZF_LOG_OUTPUT(lvl) \ 231 (ZF_LOG_ALLOW((lvl)) && (lvl) >= _zf_log_output_lvl) 249 const int lvl, const char *const tag, 251 void _zf_log_write(const int lvl, const char *const tag, 256 const int lvl, cons [all...] |
/seL4-refos-master/libs/libutils/src/ |
H A D | zf_log.c | 136 static int android_lvl(const int lvl) argument 138 switch (lvl) 160 static int apple_lvl(const int lvl) argument 162 switch (lvl) 184 static char lvl_char(const int lvl) argument 186 switch (lvl) 245 __android_log_print(android_lvl(ctx->lvl), tag, "%s", ctx->msg_b); 248 CFLog(apple_lvl(ctx->lvl), CFSTR("%s"), ctx->tag_b); 253 if (ZF_LOG_FATAL == ctx->lvl) 307 pid, tid, (char)lvl_char(ctx->lvl)); 408 zf_log_set_output_level(const int lvl) argument 427 _zf_log_write_d(const char *const func, const char *const file, const unsigned line, const int lvl, const char *const tag, const char *const fmt, ...) argument 443 _zf_log_write(const int lvl, const char *const tag, const char *const fmt, ...) argument 456 _zf_log_write_mem_d(const char *const func, const char *const file, const unsigned line, const int lvl, const char *const tag, const void *const d, const unsigned d_sz, const char *const fmt, ...) argument 474 _zf_log_write_mem(const int lvl, const char *const tag, const void *const d, const unsigned d_sz, const char *const fmt, ...) argument [all...] |
/seL4-refos-master/projects/util_libs/libutils/src/ |
H A D | zf_log.c | 136 static int android_lvl(const int lvl) argument 138 switch (lvl) 160 static int apple_lvl(const int lvl) argument 162 switch (lvl) 184 static char lvl_char(const int lvl) argument 186 switch (lvl) 245 __android_log_print(android_lvl(ctx->lvl), tag, "%s", ctx->msg_b); 248 CFLog(apple_lvl(ctx->lvl), CFSTR("%s"), ctx->tag_b); 253 if (ZF_LOG_FATAL == ctx->lvl) 307 pid, tid, (char)lvl_char(ctx->lvl)); 408 zf_log_set_output_level(const int lvl) argument 427 _zf_log_write_d(const char *const func, const char *const file, const unsigned line, const int lvl, const char *const tag, const char *const fmt, ...) argument 443 _zf_log_write(const int lvl, const char *const tag, const char *const fmt, ...) argument 456 _zf_log_write_mem_d(const char *const func, const char *const file, const unsigned line, const int lvl, const char *const tag, const void *const d, const unsigned d_sz, const char *const fmt, ...) argument 474 _zf_log_write_mem(const int lvl, const char *const tag, const void *const d, const unsigned d_sz, const char *const fmt, ...) argument [all...] |
/seL4-refos-master/libs/libplatsupport/src/plat/pc99/acpi/ |
H A D | regions.c | 26 # define DPRINTF(lvl, ...) do{ if(lvl < DEBUG){printf(__VA_ARGS__);fflush(stdout);}}while(0)
|
/seL4-refos-master/projects/util_libs/libplatsupport/src/plat/pc99/acpi/ |
H A D | regions.c | 26 # define DPRINTF(lvl, ...) do{ if(lvl < DEBUG){printf(__VA_ARGS__);fflush(stdout);}}while(0)
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | mklev.c | 1210 unsigned lvl = level_difficulty(); local 1220 if (lvl < 2) kind = NO_TRAP; break; 1222 if (lvl < 5 || level.flags.noteleport) 1225 if (lvl < 5) kind = NO_TRAP; break; 1227 if (lvl < 6) kind = NO_TRAP; break; 1229 if (lvl < 7) kind = NO_TRAP; break; 1232 if (lvl < 8) kind = NO_TRAP; break;
|
H A D | priest.c | 187 priestini(lvl, sroom, sx, sy, sanctum) 188 d_level *lvl; 207 assign_level(&(EPRI(priest)->shrlevel), lvl);
|
H A D | trap.c | 3849 register int lvl = level_difficulty(); local 3850 int dmg = rnd(5 + (lvl < 5 ? lvl : 2+lvl/2));
|
H A D | monst.c | 44 #define MON(nam,sym,lvl,gen,atk,siz,mr1,mr2,flg1,flg2,flg3,col) \ 45 {nam,sym,lvl,gen,atk,siz,mr1,mr2,flg1,flg2,flg3,C(col)} 47 #define LVL(lvl,mov,ac,mr,aln) lvl,mov,ac,mr,aln
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | mklev.c | 1210 unsigned lvl = level_difficulty(); local 1220 if (lvl < 2) kind = NO_TRAP; break; 1222 if (lvl < 5 || level.flags.noteleport) 1225 if (lvl < 5) kind = NO_TRAP; break; 1227 if (lvl < 6) kind = NO_TRAP; break; 1229 if (lvl < 7) kind = NO_TRAP; break; 1232 if (lvl < 8) kind = NO_TRAP; break;
|
H A D | priest.c | 187 priestini(lvl, sroom, sx, sy, sanctum) 188 d_level *lvl; 207 assign_level(&(EPRI(priest)->shrlevel), lvl);
|
H A D | trap.c | 3849 register int lvl = level_difficulty(); local 3850 int dmg = rnd(5 + (lvl < 5 ? lvl : 2+lvl/2));
|
H A D | monst.c | 44 #define MON(nam,sym,lvl,gen,atk,siz,mr1,mr2,flg1,flg2,flg3,col) \ 45 {nam,sym,lvl,gen,atk,siz,mr1,mr2,flg1,flg2,flg3,C(col)} 47 #define LVL(lvl,mov,ac,mr,aln) lvl,mov,ac,mr,aln
|