Home
last modified time | relevance | path

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

12345678910>>...109

/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/openssh/openbsd-compat/
Dvis.c46 #define isvisible(c,flag) \ argument
47 (((c) == '\\' || (flag & VIS_ALL) == 0) && \
50 (flag & VIS_GLOB) == 0) && isgraph((u_char)(c))) || \
51 ((flag & VIS_SP) == 0 && (c) == ' ') || \
52 ((flag & VIS_TAB) == 0 && (c) == '\t') || \
53 ((flag & VIS_NL) == 0 && (c) == '\n') || \
54 ((flag & VIS_SAFE) && ((c) == '\b' || \
62 vis(char *dst, int c, int flag, int nextc) in vis() argument
64 if (isvisible(c, flag)) { in vis()
65 if ((c == '"' && (flag & VIS_DQ) != 0) || in vis()
[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/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.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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/ltp/utils/sctp/func_tests/
Dtest_1_to_1_send.c69 int sk,sk1,pf_class,lstn_sk,acpt_sk,acpt1_sk, flag, count; in main() local
113 flag = MSG_NOSIGNAL; in main()
115 count = send(-1, message, len_snd, flag); in main()
128 count = send(fd, message, len_snd, flag); in main()
140 count = send(lstn_sk, message, len_snd, flag); in main()
149 count = send(sk, (char *)0x1, len_snd, flag); in main()
159 count = test_send(sk1, message, len_snd, flag); in main()
166 count = send(acpt1_sk, message, len_snd, flag); in main()
203 count = send(sk, message, msg_count, flag); in main()
210 test_recv(acpt_sk, message_rcv, msg_count, flag); in main()
[all …]

12345678910>>...109