Home | History | Annotate | Download | only in src

Lines Matching refs:FLAG

6 // for Debug, Release, Logging and Profiling, etc.  To add a new flag, find the
23 // this will just be an extern declaration, but for a readonly flag we let the
30 // We want to supply the actual storage and value for the flag variable in the
35 // We need to define all of our default values so that the Flag structure can
43 // printing / etc in the flag parser code. We only do this for writable flags.
46 { Flag::TYPE_##ftype, #nam, &FLAG_##nam, &FLAGDEFAULT_##nam, cmt, false } \
50 Flag::TYPE_##ftype, #alias, &FLAG_##nam, &FLAGDEFAULT_##nam, \
55 // We produce the code to set flags when it is implied by another flag.
107 MaybeBoolFlag flag;
108 flag.has_value = has_value;
109 flag.value = value;
110 return flag;
148 #define DEFINE_BOOL(nam, def, cmt) FLAG(BOOL, bool, nam, def, cmt)
152 FLAG(MAYBE_BOOL, MaybeBoolFlag, nam, {false COMMA false}, cmt)
153 #define DEFINE_INT(nam, def, cmt) FLAG(INT, int, nam, def, cmt)
154 #define DEFINE_FLOAT(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt)
155 #define DEFINE_STRING(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt)
156 #define DEFINE_ARGS(nam, cmt) FLAG(ARGS, JSArguments, nam, {0 COMMA NULL}, cmt)
168 #define FLAG FLAG_FULL
211 // Features that are complete (but still behind --harmony/es-staging flag).
215 // Features that are shipping (turned on by default, but internal flag remains).
821 DEFINE_FLOAT(testing_float_flag, 2.5, "float-flag")
822 DEFINE_STRING(testing_string_flag, "Hello, world!", "string-flag")
859 "Test mode only flag. It allows an unit test to select evacuation "
881 #undef FLAG
883 #define FLAG FLAG_FULL
885 #define FLAG FLAG_READONLY
903 #undef FLAG
905 #define FLAG FLAG_FULL
907 #define FLAG FLAG_READONLY
970 #undef FLAG
971 #define FLAG FLAG_FULL
1027 #undef FLAG
1029 #define FLAG FLAG_FULL
1031 #define FLAG FLAG_READONLY
1086 #undef FLAG
1089 #define FLAG FLAG_FULL
1091 #define FLAG FLAG_READONLY
1103 #undef FLAG
1104 #define FLAG FLAG_READONLY
1120 #undef FLAG