Home
last modified time | relevance | path

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

12345678910>>...125

/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/skqp/tools/flags/
DSkCommandLineFlags.cpp122 SkString flag(string, equalIndex); in match() local
123 if (flag.equals(*compareName)) { in match()
191 static void print_help_for_flag(const SkFlagInfo* flag) { in print_help_for_flag() argument
192 SkDebugf(" --%s", flag->name().c_str()); in print_help_for_flag()
193 const SkString& shortName = flag->shortName(); in print_help_for_flag()
197 SkDebugf(":\ttype: %s", flag->typeAsString().c_str()); in print_help_for_flag()
198 if (flag->defaultValue().size() > 0) { in print_help_for_flag()
199 SkDebugf("\tdefault: %s", flag->defaultValue().c_str()); in print_help_for_flag()
202 const SkString& help = flag->help(); in print_help_for_flag()
206 static void print_extended_help_for_flag(const SkFlagInfo* flag) { in print_extended_help_for_flag() argument
[all …]
/external/skia/tools/flags/
DSkCommandLineFlags.cpp122 SkString flag(string, equalIndex); in match() local
123 if (flag.equals(*compareName)) { in match()
191 static void print_help_for_flag(const SkFlagInfo* flag) { in print_help_for_flag() argument
192 SkDebugf(" --%s", flag->name().c_str()); in print_help_for_flag()
193 const SkString& shortName = flag->shortName(); in print_help_for_flag()
197 SkDebugf(":\ttype: %s", flag->typeAsString().c_str()); in print_help_for_flag()
198 if (flag->defaultValue().size() > 0) { in print_help_for_flag()
199 SkDebugf("\tdefault: %s", flag->defaultValue().c_str()); in print_help_for_flag()
202 const SkString& help = flag->help(); in print_help_for_flag()
206 static void print_extended_help_for_flag(const SkFlagInfo* flag) { in print_extended_help_for_flag() argument
[all …]
/external/mksh/src/
Dvar.c104 if ((vp = *vpp++) != NULL && (vp->flag&SPECIAL)) { in popblock()
105 if ((vq = global(vp->name))->flag & ISSET) in popblock()
144 tp->flag = DEFINED|ISSET; in initvar()
194 if (vp && (vp->flag & (DEFINED | ASSOC | ARRAY)) == in array_index_calc()
256 vp->flag = DEFINED; in isglobal()
270 vp->flag |= RDONLY; in isglobal()
275 vp->flag |= RDONLY; in isglobal()
278 vp->flag |= ISSET|INTEGER; in isglobal()
286 vp->flag &= ~(ISSET|INTEGER); in isglobal()
295 vp->flag &= ~INTEGER; in isglobal()
[all …]
/external/gflags/src/
Dgflags_reporting.cc106 static string PrintStringFlagsWithQuotes(const CommandLineFlagInfo& flag, in PrintStringFlagsWithQuotes() argument
108 const char* c_string = (current ? flag.current_value.c_str() : in PrintStringFlagsWithQuotes()
109 flag.default_value.c_str()); in PrintStringFlagsWithQuotes()
110 if (strcmp(flag.type.c_str(), "string") == 0) { // add quotes for strings in PrintStringFlagsWithQuotes()
119 string DescribeOneFlag(const CommandLineFlagInfo& flag) { in DescribeOneFlag() argument
122 flag.name.c_str(), in DescribeOneFlag()
123 flag.description.c_str()); in DescribeOneFlag()
169 AddString(string("type: ") + flag.type, &final_string, &chars_in_line); in DescribeOneFlag()
174 AddString(PrintStringFlagsWithQuotes(flag, "default", false), &final_string, in DescribeOneFlag()
176 if (!flag.is_default) { in DescribeOneFlag()
[all …]
Dgflags.cc640 CommandLineFlag* flag = p->second; in ~FlagRegistry() local
641 delete flag; in ~FlagRegistry()
651 void RegisterFlag(CommandLineFlag* flag);
676 bool SetFlagLocked(CommandLineFlag* flag, const char* value,
716 void FlagRegistry::RegisterFlag(CommandLineFlag* flag) { in RegisterFlag() argument
719 flags_.insert(pair<const char*, CommandLineFlag*>(flag->name(), flag)); in RegisterFlag()
721 if (strcmp(ins.first->second->filename(), flag->filename()) != 0) { in RegisterFlag()
724 flag->name(), in RegisterFlag()
726 flag->filename()); in RegisterFlag()
731 flag->name(), in RegisterFlag()
[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/libcxx/utils/google-benchmark/src/
Dcommandlineflags.cc81 static std::string FlagToEnvVar(const char* flag) { in FlagToEnvVar() argument
82 const std::string flag_str(flag); in FlagToEnvVar()
95 bool BoolFromEnv(const char* flag, bool default_value) { in BoolFromEnv() argument
96 const std::string env_var = FlagToEnvVar(flag); in BoolFromEnv()
105 int32_t Int32FromEnv(const char* flag, int32_t default_value) { in Int32FromEnv() argument
106 const std::string env_var = FlagToEnvVar(flag); in Int32FromEnv()
125 const char* StringFromEnv(const char* flag, const char* default_value) { in StringFromEnv() argument
126 const std::string env_var = FlagToEnvVar(flag); in StringFromEnv()
136 const char* ParseFlagValue(const char* str, const char* flag, in ParseFlagValue() argument
139 if (str == nullptr || flag == nullptr) return nullptr; in ParseFlagValue()
[all …]
/external/google-benchmark/src/
Dcommandlineflags.cc81 static std::string FlagToEnvVar(const char* flag) { in FlagToEnvVar() argument
82 const std::string flag_str(flag); in FlagToEnvVar()
95 bool BoolFromEnv(const char* flag, bool default_value) { in BoolFromEnv() argument
96 const std::string env_var = FlagToEnvVar(flag); in BoolFromEnv()
105 int32_t Int32FromEnv(const char* flag, int32_t default_value) { in Int32FromEnv() argument
106 const std::string env_var = FlagToEnvVar(flag); in Int32FromEnv()
125 const char* StringFromEnv(const char* flag, const char* default_value) { in StringFromEnv() argument
126 const std::string env_var = FlagToEnvVar(flag); in StringFromEnv()
136 const char* ParseFlagValue(const char* str, const char* flag, in ParseFlagValue() argument
139 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/tensorflow/tensorflow/core/util/
Dcommand_line_flags.cc27 bool ParseStringFlag(tensorflow::StringPiece arg, tensorflow::StringPiece flag, in ParseStringFlag() argument
31 if (arg.Consume("--") && arg.Consume(flag) && arg.Consume("=")) { in ParseStringFlag()
39 bool ParseInt32Flag(tensorflow::StringPiece arg, tensorflow::StringPiece flag, in ParseInt32Flag() argument
43 if (arg.Consume("--") && arg.Consume(flag) && arg.Consume("=")) { in ParseInt32Flag()
47 LOG(ERROR) << "Couldn't interpret value " << arg << " for flag " << flag in ParseInt32Flag()
59 bool ParseInt64Flag(tensorflow::StringPiece arg, tensorflow::StringPiece flag, in ParseInt64Flag() argument
63 if (arg.Consume("--") && arg.Consume(flag) && arg.Consume("=")) { in ParseInt64Flag()
67 LOG(ERROR) << "Couldn't interpret value " << arg << " for flag " << flag in ParseInt64Flag()
79 bool ParseBoolFlag(tensorflow::StringPiece arg, tensorflow::StringPiece flag, in ParseBoolFlag() argument
83 if (arg.Consume("--") && arg.Consume(flag)) { in ParseBoolFlag()
[all …]
/external/libchrome/base/synchronization/
Datomic_flag_unittest.cc21 void ExpectSetFlagDeath(AtomicFlag* flag) { in ExpectSetFlagDeath() argument
22 ASSERT_TRUE(flag); in ExpectSetFlagDeath()
23 EXPECT_DCHECK_DEATH(flag->Set()); in ExpectSetFlagDeath()
43 AtomicFlag flag; in TEST() local
44 ASSERT_FALSE(flag.IsSet()); in TEST()
45 flag.Set(); in TEST()
46 ASSERT_TRUE(flag.IsSet()); in TEST()
50 AtomicFlag flag; in TEST() local
51 ASSERT_FALSE(flag.IsSet()); in TEST()
52 flag.Set(); in TEST()
[all …]
/external/ltp/testcases/realtime/func/gtod_latency/
Dgtod_latency.c104 char *flag; in stats_cmdline() local
115 flag = ++argv[i]; in stats_cmdline()
117 if (!strcmp(flag, "help") || !strcmp(flag, "h")) { in stats_cmdline()
122 if (!strcmp(flag, "so") || !strcmp(flag, "scatter-output")) { in stats_cmdline()
131 if (!strcmp(flag, "ho") || !strcmp(flag, "hist-output")) { in stats_cmdline()
140 if (!strcmp(flag, "st") || !strcmp(flag, "scatter-title")) { in stats_cmdline()
149 if (!strcmp(flag, "ht") || !strcmp(flag, "hist-title")) { in stats_cmdline()
158 if (!strcmp(flag, "sxl") || !strcmp(flag, "scatter-xlabel")) { in stats_cmdline()
167 if (!strcmp(flag, "syl") || !strcmp(flag, "scatter-ylabel")) { in stats_cmdline()
176 if (!strcmp(flag, "hxl") || !strcmp(flag, "hist-xlabel")) { in stats_cmdline()
[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/v8/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/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/googletest/googletest/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/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/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/libchrome/base/task/
Dcancelable_task_tracker.cc22 void RunIfNotCanceled(const CancellationFlag* flag, const Closure& task) { in RunIfNotCanceled() argument
23 if (!flag->IsSet()) in RunIfNotCanceled()
27 void RunIfNotCanceledThenUntrack(const CancellationFlag* flag, in RunIfNotCanceledThenUntrack() argument
30 RunIfNotCanceled(flag, task); in RunIfNotCanceledThenUntrack()
34 bool IsCanceled(const CancellationFlag* flag, in IsCanceled() argument
36 return flag->IsSet(); in IsCanceled()
39 void RunAndDeleteFlag(const Closure& closure, const CancellationFlag* flag) { in RunAndDeleteFlag() argument
41 delete flag; in RunAndDeleteFlag()
85 CancellationFlag* flag = new CancellationFlag(); in PostTaskAndReply() local
93 from_here, Bind(&RunIfNotCanceled, flag, std::move(task)), in PostTaskAndReply()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DThreading.h65 #define LLVM_DEFINE_ONCE_FLAG(flag) static once_flag flag argument
74 #define LLVM_DEFINE_ONCE_FLAG(flag) static once_flag flag = Uninitialized argument
91 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { in call_once() argument
93 std::call_once(flag, std::forward<Function>(F), in call_once()
98 sys::cas_flag old_val = sys::CompareAndSwap(&flag, Wait, Uninitialized); in call_once()
103 TsanHappensBefore(&flag); in call_once()
104 flag = Done; in call_once()
108 sys::cas_flag tmp = flag; in call_once()
111 tmp = flag; in call_once()
115 TsanHappensAfter(&flag); in call_once()
/external/llvm/include/llvm/Support/
DThreading.h65 #define LLVM_DEFINE_ONCE_FLAG(flag) static once_flag flag argument
74 #define LLVM_DEFINE_ONCE_FLAG(flag) static once_flag flag = Uninitialized argument
91 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { in call_once() argument
93 std::call_once(flag, std::forward<Function>(F), in call_once()
98 sys::cas_flag old_val = sys::CompareAndSwap(&flag, Wait, Uninitialized); in call_once()
103 TsanHappensBefore(&flag); in call_once()
104 flag = Done; in call_once()
108 sys::cas_flag tmp = flag; in call_once()
111 tmp = flag; in call_once()
115 TsanHappensAfter(&flag); in call_once()
/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/libcxxabi/cmake/Modules/
DHandleLibcxxabiFlags.cmake11 # Mangle the name of a compiler flag into a valid CMake identifier.
42 macro(check_flag_supported flag)
43 mangle_name("${flag}" flagname)
44 check_cxx_compiler_flag("${flag}" "LIBCXXABI_SUPPORTS_${flagname}_FLAG")
120 # Add each flag in the list to LIBCXXABI_COMPILE_FLAGS and LIBCXXABI_LINK_FLAGS
121 # if that flag is supported by the current compiler.
123 foreach(flag ${ARGN})
124 mangle_name("${flag}" flagname)
125 check_cxx_compiler_flag("${flag}" "LIBCXXABI_SUPPORTS_${flagname}_FLAG")
126 add_flags_if(LIBCXXABI_SUPPORTS_${flagname}_FLAG ${flag})
[all …]

12345678910>>...125