Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 2104) sorted by relevance

12345678910>>...85

/external/llvm/test/Verifier/
Dmodule-flags-1.ll5 ; CHECK: incorrect number of operands in module flag
8 ; CHECK: invalid behavior operand in module flag (expected constant integer)
11 ; CHECK: invalid behavior operand in module flag (unexpected constant)
14 ; CHECK: invalid ID operand in module flag (expected metadata string)
17 ; CHECK: invalid value for 'require' module flag (expected metadata pair)
20 ; CHECK: invalid value for 'require' module flag (expected metadata pair)
23 ; CHECK: invalid value for 'require' module flag (first value operand should be a string)
29 ; CHECK: module flag identifiers must be unique (or of 'require' type)
32 ; CHECK-NOT: module flag identifiers must be unique
37 ; CHECK: invalid value for 'append'-type module flag (expected a metadata node)
[all …]
/external/skia/tools/flags/
DSkCommandLineFlags.cpp127 SkString flag(string, equalIndex); in match() local
128 if (flag.equals(*compareName)) { in match()
196 static void print_help_for_flag(const SkFlagInfo* flag) { in print_help_for_flag() argument
197 SkDebugf(" --%s", flag->name().c_str()); in print_help_for_flag()
198 const SkString& shortName = flag->shortName(); in print_help_for_flag()
202 SkDebugf(":\ttype: %s", flag->typeAsString().c_str()); in print_help_for_flag()
203 if (flag->defaultValue().size() > 0) { in print_help_for_flag()
204 SkDebugf("\tdefault: %s", flag->defaultValue().c_str()); in print_help_for_flag()
207 const SkString& help = flag->help(); in print_help_for_flag()
211 static void print_extended_help_for_flag(const SkFlagInfo* flag) { in print_extended_help_for_flag() argument
[all …]
/external/blktrace/btt/
Dargs.c37 .flag = NULL,
43 .flag = NULL,
49 .flag = NULL,
55 .flag = NULL,
61 .flag = NULL,
67 .flag = NULL,
73 .flag = NULL,
79 .flag = NULL,
85 .flag = NULL,
91 .flag = NULL,
[all …]
/external/google-benchmark/src/
Dcommandlineflags.cc91 static std::string FlagToEnvVar(const char* flag) { in FlagToEnvVar() argument
92 const std::string flag_str(flag); in FlagToEnvVar()
105 bool BoolFromEnv(const char* flag, bool default_value) { in BoolFromEnv() argument
106 const std::string env_var = FlagToEnvVar(flag); in BoolFromEnv()
114 int32_t Int32FromEnv(const char* flag, int32_t default_value) { in Int32FromEnv() argument
115 const std::string env_var = FlagToEnvVar(flag); in Int32FromEnv()
134 const char* StringFromEnv(const char* flag, const char* default_value) { in StringFromEnv() argument
135 const std::string env_var = FlagToEnvVar(flag); in StringFromEnv()
145 const char* ParseFlagValue(const char* str, const char* flag, in ParseFlagValue() argument
148 if (str == nullptr || flag == nullptr) return nullptr; in ParseFlagValue()
[all …]
/external/robolectric/v1/src/main/java/android/webkit/
DTestWebSettings.java68 public synchronized void setBlockNetworkImage(boolean flag) { in setBlockNetworkImage() argument
69 blockNetworkImage = flag; in setBlockNetworkImage()
78 public synchronized void setBlockNetworkLoads(boolean flag) { in setBlockNetworkLoads() argument
79 blockNetworkLoads = flag; in setBlockNetworkLoads()
98 public synchronized void setDatabaseEnabled(boolean flag) { in setDatabaseEnabled() argument
99 databaseEnabled = flag; in setDatabaseEnabled()
108 public synchronized void setDomStorageEnabled(boolean flag) { in setDomStorageEnabled() argument
109 domStorageEnabled = flag; in setDomStorageEnabled()
118 public synchronized void setJavaScriptEnabled(boolean flag) { in setJavaScriptEnabled() argument
119 javaScriptEnabled = flag; in setJavaScriptEnabled()
[all …]
/external/chromium-trace/catapult/third_party/python_gflags/
Dgflags2man.py278 flag = None
288 if flag:
289 modlist.append(flag)
293 flag = None
298 if flag:
299 modlist.append(flag)
301 flag = Flag(mobj.group(1), mobj.group(2))
304 if not flag: # continuation of a flag
308 flag.default = mobj.group(1)
313 flag.tips = mobj.group(1)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/python-gflags/
Dgflags2man.py278 flag = None
288 if flag:
289 modlist.append(flag)
293 flag = None
298 if flag:
299 modlist.append(flag)
301 flag = Flag(mobj.group(1), mobj.group(2))
304 if not flag: # continuation of a flag
308 flag.default = mobj.group(1)
313 flag.tips = mobj.group(1)
[all …]
/external/libchrome/base/synchronization/
Dcancellation_flag_unittest.cc27 void CancelHelper(CancellationFlag* flag) { in CancelHelper() argument
29 ASSERT_DEBUG_DEATH(flag->Set(), ""); in CancelHelper()
34 CancellationFlag flag; in TEST() local
35 ASSERT_FALSE(flag.IsSet()); in TEST()
36 flag.Set(); in TEST()
37 ASSERT_TRUE(flag.IsSet()); in TEST()
41 CancellationFlag flag; in TEST() local
42 ASSERT_FALSE(flag.IsSet()); in TEST()
43 flag.Set(); in TEST()
44 ASSERT_TRUE(flag.IsSet()); in TEST()
[all …]
/external/mksh/src/
Dvar.c101 if ((vp = *vpp++) != NULL && (vp->flag&SPECIAL)) { in popblock()
102 if ((vq = global(vp->name))->flag & ISSET) in popblock()
141 tp->flag = DEFINED|ISSET; in initvar()
191 if (vp && (vp->flag & (DEFINED | ASSOC | ARRAY)) == in array_index_calc()
246 vp->flag = DEFINED; in global()
254 vp->flag |= RDONLY; in global()
257 vp->flag |= RDONLY; in global()
260 vp->flag |= ISSET|INTEGER; in global()
268 vp->flag &= ~(ISSET|INTEGER); in global()
277 vp->flag &= ~INTEGER; in global()
[all …]
/external/protobuf/gtest/test/
Dgtest_env_var_test_.cc53 void PrintFlag(const char* flag) { in PrintFlag() argument
54 if (strcmp(flag, "break_on_failure") == 0) { in PrintFlag()
59 if (strcmp(flag, "catch_exceptions") == 0) { in PrintFlag()
64 if (strcmp(flag, "color") == 0) { in PrintFlag()
69 if (strcmp(flag, "death_test_style") == 0) { in PrintFlag()
74 if (strcmp(flag, "death_test_use_fork") == 0) { in PrintFlag()
79 if (strcmp(flag, "filter") == 0) { in PrintFlag()
84 if (strcmp(flag, "output") == 0) { in PrintFlag()
89 if (strcmp(flag, "print_time") == 0) { in PrintFlag()
94 if (strcmp(flag, "repeat") == 0) { in PrintFlag()
[all …]
/external/gtest/test/
Dgtest_env_var_test_.cc53 void PrintFlag(const char* flag) { in PrintFlag() argument
54 if (strcmp(flag, "break_on_failure") == 0) { in PrintFlag()
59 if (strcmp(flag, "catch_exceptions") == 0) { in PrintFlag()
64 if (strcmp(flag, "color") == 0) { in PrintFlag()
69 if (strcmp(flag, "death_test_style") == 0) { in PrintFlag()
74 if (strcmp(flag, "death_test_use_fork") == 0) { in PrintFlag()
79 if (strcmp(flag, "filter") == 0) { in PrintFlag()
84 if (strcmp(flag, "output") == 0) { in PrintFlag()
89 if (strcmp(flag, "print_time") == 0) { in PrintFlag()
94 if (strcmp(flag, "repeat") == 0) { in PrintFlag()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest_env_var_test_.cc53 void PrintFlag(const char* flag) { in PrintFlag() argument
54 if (strcmp(flag, "break_on_failure") == 0) { in PrintFlag()
59 if (strcmp(flag, "catch_exceptions") == 0) { in PrintFlag()
64 if (strcmp(flag, "color") == 0) { in PrintFlag()
69 if (strcmp(flag, "death_test_style") == 0) { in PrintFlag()
74 if (strcmp(flag, "death_test_use_fork") == 0) { in PrintFlag()
79 if (strcmp(flag, "filter") == 0) { in PrintFlag()
84 if (strcmp(flag, "output") == 0) { in PrintFlag()
89 if (strcmp(flag, "print_time") == 0) { in PrintFlag()
94 if (strcmp(flag, "repeat") == 0) { in PrintFlag()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest_env_var_test_.cc53 void PrintFlag(const char* flag) { in PrintFlag() argument
54 if (strcmp(flag, "break_on_failure") == 0) { in PrintFlag()
59 if (strcmp(flag, "catch_exceptions") == 0) { in PrintFlag()
64 if (strcmp(flag, "color") == 0) { in PrintFlag()
69 if (strcmp(flag, "death_test_style") == 0) { in PrintFlag()
74 if (strcmp(flag, "death_test_use_fork") == 0) { in PrintFlag()
79 if (strcmp(flag, "filter") == 0) { in PrintFlag()
84 if (strcmp(flag, "output") == 0) { in PrintFlag()
89 if (strcmp(flag, "print_time") == 0) { in PrintFlag()
94 if (strcmp(flag, "repeat") == 0) { in PrintFlag()
[all …]
/external/icu/icu4c/source/layout/
DMorphTables2.cpp39 FeatureFlags flag = SWAPL(chainHeader->defaultFlags); in process() local
61 flag &= disableFlags; in process()
62 flag |= enableFlags; in process()
68 flag &= disableFlags; in process()
69 flag |= enableFlags; in process()
75 flag &= disableFlags; in process()
76 flag |= enableFlags; in process()
87 flag &= disableFlags; in process()
88 flag |= enableFlags; in process()
98 flag &= disableFlags; in process()
[all …]
/external/valgrind/none/tests/amd64/
Dbmi.c10 ULong tem, flag; in do_andn64() local
16 : "=&r" (tem), "=r" (flag) : "r" (arg1), "r" (arg2) : "cc" in do_andn64()
19 *flags = flag & 0x8d5; in do_andn64()
25 : "=&r" (tem), "=r" (flag) : "m" (arg1), "r" (arg2) : "cc" in do_andn64()
27 if (*res != tem || *flags != (flag & 0x8d5)) in do_andn64()
34 ULong tem, flag; in do_andn32() local
40 : "=&r" (tem), "=r" (flag) : "r" (arg1), "r" (arg2) : "cc" in do_andn32()
43 *flags = flag & 0x8d5; in do_andn32()
49 : "=&r" (tem), "=r" (flag) : "m" (arg1), "r" (arg2) : "cc" in do_andn32()
51 if (*res != tem || *flags != (flag & 0x8d5)) in do_andn32()
[all …]
/external/libchrome/base/task/
Dcancelable_task_tracker.cc29 void RunIfNotCanceled(const CancellationFlag* flag, const Closure& task) { in RunIfNotCanceled() argument
30 if (!flag->IsSet()) in RunIfNotCanceled()
34 void RunIfNotCanceledThenUntrack(const CancellationFlag* flag, in RunIfNotCanceledThenUntrack() argument
37 RunIfNotCanceled(flag, task); in RunIfNotCanceledThenUntrack()
41 bool IsCanceled(const CancellationFlag* flag, in IsCanceled() argument
43 return flag->IsSet(); in IsCanceled()
46 void RunAndDeleteFlag(const Closure& closure, const CancellationFlag* flag) { in RunAndDeleteFlag() argument
48 delete flag; in RunAndDeleteFlag()
94 CancellationFlag* flag = new CancellationFlag(); in PostTaskAndReply() local
103 Bind(&RunIfNotCanceled, flag, task), in PostTaskAndReply()
[all …]
/external/toybox/toys/pending/
Dipcs.c41 #define flag(x) (toys.optflags & FLAG_ ## x) macro
161 if (flag(u)) { in shm_array()
175 if (flag(l)) { in shm_array()
189 if (flag(t)) { in shm_array()
193 } else if (flag(p)) { in shm_array()
197 } else if (flag(c)) { in shm_array()
210 if (flag(t)) { in shm_array()
220 } else if (flag(p)) { in shm_array()
225 } else if (flag(c)) { in shm_array()
265 if (flag(u)) { in sem_array()
[all …]
/external/webrtc/webrtc/tools/
Dsimple_command_line_parser.cc30 bool CommandLineParser::IsStandaloneFlag(std::string flag) { in IsStandaloneFlag() argument
31 return flag.find("=") == string::npos; in IsStandaloneFlag()
34 bool CommandLineParser::IsFlagWellFormed(std::string flag) { in IsFlagWellFormed() argument
35 size_t dash_pos = flag.find("--"); in IsFlagWellFormed()
36 size_t equal_pos = flag.find("="); in IsFlagWellFormed()
38 fprintf(stderr, "Wrong switch format: %s\n", flag.c_str()); in IsFlagWellFormed()
42 size_t flag_length = flag.length() - 1; in IsFlagWellFormed()
48 fprintf(stderr, "Wrong switch format: %s\n", flag.c_str()); in IsFlagWellFormed()
55 std::string CommandLineParser::GetCommandLineFlagName(std::string flag) { in GetCommandLineFlagName() argument
56 size_t dash_pos = flag.find("--"); in GetCommandLineFlagName()
[all …]
/external/v8/src/base/
Dflags.h31 Flags(flag_type flag) // NOLINT(runtime/explicit) in Flags() argument
32 : mask_(static_cast<S>(flag)) {} in Flags()
35 bool operator==(flag_type flag) const {
36 return mask_ == static_cast<S>(flag);
38 bool operator!=(flag_type flag) const {
39 return mask_ != static_cast<S>(flag);
59 Flags& operator&=(flag_type flag) { return operator&=(Flags(flag)); }
60 Flags& operator|=(flag_type flag) { return operator|=(Flags(flag)); }
61 Flags& operator^=(flag_type flag) { return operator^=(Flags(flag)); }
63 Flags operator&(flag_type flag) const { return operator&(Flags(flag)); }
[all …]
/external/clang/unittests/Driver/
DMultilibTest.cpp27 ASSERT_TRUE(Multilib().flag("+foo").isValid()) in TEST()
30 ASSERT_TRUE(Multilib().flag("-foo").isValid()) in TEST()
33 ASSERT_FALSE(Multilib().flag("+foo").flag("-foo").isValid()) in TEST()
36 ASSERT_TRUE(Multilib().flag("+foo").flag("+foo").isValid()) in TEST()
39 ASSERT_TRUE(Multilib().flag("+foo").flag("-foobar").isValid()) in TEST()
55 M1.flag("+foo"); in TEST()
56 M2.flag("+foo"); in TEST()
62 M1.flag("+foo"); in TEST()
63 M2.flag("-foo"); in TEST()
71 M2.flag("+foo"); in TEST()
[all …]
/external/webrtc/webrtc/base/
Dflags.cc193 Flag* flag = Lookup(name); in SetFlagsFromCommandLine() local
194 if (flag == NULL) { in SetFlagsFromCommandLine()
200 if (flag->type() != Flag::BOOL && value == NULL) { in SetFlagsFromCommandLine()
205 arg, Type2String(flag->type())); in SetFlagsFromCommandLine()
213 switch (flag->type()) { in SetFlagsFromCommandLine()
215 *flag->bool_variable() = !is_bool; in SetFlagsFromCommandLine()
218 *flag->int_variable() = strtol(value, &endp, 10); in SetFlagsFromCommandLine()
221 *flag->float_variable() = strtod(value, &endp); in SetFlagsFromCommandLine()
224 *flag->string_variable() = value; in SetFlagsFromCommandLine()
229 if ((flag->type() == Flag::BOOL && value != NULL) || in SetFlagsFromCommandLine()
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/node_modules/chai/
Dchai.js775 , flag = util.flag;
792 flag(this, 'ssfi', stack || arguments.callee);
793 flag(this, 'object', obj);
794 flag(this, 'message', msg);
873 }, (config.includeStack) ? this.assert : flag(this, 'ssfi'));
887 return flag(this, 'object');
890 flag(this, 'object', val);
962 , flag = _.flag;
1015 flag(this, 'negate', true);
1033 flag(this, 'deep', true);
[all …]
/external/libcxx/cmake/Modules/
DHandleLibcxxFlags.cmake11 # Mangle the name of a compiler flag into a valid CMake identifier.
69 # Add each flag in the list to LIBCXX_COMPILE_FLAGS and LIBCXX_LINK_FLAGS
70 # if that flag is supported by the current compiler.
72 foreach(flag ${ARGN})
73 mangle_name("${flag}" flagname)
74 check_cxx_compiler_flag("${flag}" "LIBCXX_SUPPORTS_${flagname}_FLAG")
75 add_flags_if(LIBCXX_SUPPORTS_${flagname}_FLAG ${flag})
94 # For each specified flag, add that flag to 'LIBCXX_COMPILE_FLAGS' if the
95 # flag is supported by the C++ compiler.
97 foreach(flag ${ARGN})
[all …]
/external/deqp/framework/delibs/debase/
DdeMath.c70 unsigned int flag = 0; in deSetRoundingMode() local
76 case DE_ROUNDINGMODE_TO_ZERO: flag = _RC_CHOP; break; in deSetRoundingMode()
77 case DE_ROUNDINGMODE_TO_POSITIVE_INF: flag = _RC_UP; break; in deSetRoundingMode()
78 case DE_ROUNDINGMODE_TO_NEGATIVE_INF: flag = _RC_DOWN; break; in deSetRoundingMode()
79 case DE_ROUNDINGMODE_TO_NEAREST: flag = _RC_NEAR; break; in deSetRoundingMode()
84 ret = _controlfp_s(&oldState, flag, _MCW_RC); in deSetRoundingMode()
87 int flag = 0; in deSetRoundingMode()
92 case DE_ROUNDINGMODE_TO_ZERO: flag = FE_TOWARDZERO; break; in deSetRoundingMode()
93 case DE_ROUNDINGMODE_TO_POSITIVE_INF: flag = FE_UPWARD; break; in deSetRoundingMode()
94 case DE_ROUNDINGMODE_TO_NEGATIVE_INF: flag = FE_DOWNWARD; break; in deSetRoundingMode()
[all …]
/external/v8/test/mjsunit/
Dcyrillic.js113 var flag = ignore_case ? "i" : ""; variable
114 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(greek.first), 19);
115 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(greek.middle), 20);
116 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(greek.last), 21);
118 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(cyrillic.FIRST), 22);
119 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(cyrillic.MIDDLE), 23);
120 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(cyrillic.LAST), 24);
124 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(greek.FIRST), 25);
125 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(greek.MIDDLE), 26);
126 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(greek.LAST), 27);
[all …]

12345678910>>...85