Home
last modified time | relevance | path

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

12345678910>>...185

/external/llvm-project/clang/test/Analysis/
Dtrack-control-dependency-conditions.cpp30 int flag; variable
34flag = coin(); // tracking-note-re{{{{^}}Value assigned to 'flag', which participates in a conditi… in foo()
39 flag = 1; in test()
42 if (flag) // expected-note-re {{{{^}}Assuming 'flag' is 0{{$}}}} in test()
49 if (flag) // expected-note-re {{{{^}}Assuming 'flag' is not equal to 0{{$}}}} in test()
59 int flag; variable
63flag = coin(); // tracking-note-re{{{{^}}Value assigned to 'flag', which participates in a conditi… in foo()
68 flag = 1; in test()
71 if (flag) // expected-note-re {{{{^}}Assuming 'flag' is 0{{$}}}} in test()
80 if (flag) // expected-note-re {{{{^}}Assuming 'flag' is not equal to 0{{$}}}} in test()
[all …]
Dcall_once.cpp160 static std::once_flag flag; in test_func_pointers() local
161 std::call_once(flag, &funcPointer); in test_func_pointers()
182 std::once_flag flag; in test_function_objects_warning() local
188 std::call_once(flag, func); in test_function_objects_warning()
195 std::once_flag flag; in test_param_passing_lambda() local
199 std::call_once(flag, [&](int p) { in test_param_passing_lambda()
210 std::once_flag flag; in test_param_passing_lambda_false() local
213 std::call_once(flag, [&](int p) { in test_param_passing_lambda_false()
224 std::once_flag flag; in test_param_passing_stored_lambda() local
232 std::call_once(flag, lambda, x); in test_param_passing_stored_lambda()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DAccessFlags.java80 private void setFlag(final int flag, final boolean set) { in setFlag() argument
81 if ((access_flags & flag) != 0) { // Flag is set already in setFlag()
83 access_flags ^= flag; in setFlag()
87 access_flags |= flag; in setFlag()
92 public final void isPublic(final boolean flag) { in isPublic() argument
93 setFlag(Const.ACC_PUBLIC, flag); in isPublic()
100 public final void isPrivate(final boolean flag) { in isPrivate() argument
101 setFlag(Const.ACC_PRIVATE, flag); in isPrivate()
108 public final void isProtected(final boolean flag) { in isProtected() argument
109 setFlag(Const.ACC_PROTECTED, flag); in isProtected()
[all …]
/external/pigweed/pw_trace/public/pw_trace/internal/
Dtrace_internal.h67 #define _PW_TRACE_INSTANT_ARGS2(flag, label) \ argument
69 flag, \
83 #define _PW_TRACE_INSTANT_ARGS3(flag, label, group) \ argument
85 flag, \
99 #define _PW_TRACE_INSTANT_ARGS4(flag, label, group, trace_id) \ argument
100 PW_TRACE(PW_TRACE_TYPE_ASYNC_INSTANT, flag, label, group, trace_id)
111 #define _PW_TRACE_START_ARGS2(flag, label) \ argument
113 flag, \
128 #define _PW_TRACE_START_ARGS3(flag, label, group) \ argument
130 flag, \
[all …]
/external/llvm-project/flang/module/
Dieee_exceptions.f9014 integer(kind=1) :: flag = 0 component
50 elemental subroutine ieee_get_flag(flag, flag_value) argument
51 type(ieee_flag_type), intent(in) :: flag local
55 elemental subroutine ieee_get_halting_mode(flag, halting) argument
56 type(ieee_flag_type), intent(in) :: flag local
68 pure subroutine ieee_set_flag(flag, flag_value) argument
69 type(ieee_flag_type), intent(in) :: flag local
73 pure subroutine ieee_set_halting_mode(flag, halting) argument
74 type(ieee_flag_type), intent(in) :: flag local
86 pure logical function ieee_support_flag(flag)
[all …]
/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/llvm-project/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.cpp120 SkString flag(string, equalIndex); in match() local
121 if (flag.equals(*compareName)) { in match()
189 static void print_help_for_flag(const SkFlagInfo* flag) { in print_help_for_flag() argument
190 SkDebugf(" --%s", flag->name().c_str()); in print_help_for_flag()
191 const SkString& shortName = flag->shortName(); in print_help_for_flag()
195 SkDebugf(":\ttype: %s", flag->typeAsString().c_str()); in print_help_for_flag()
196 if (flag->defaultValue().size() > 0) { in print_help_for_flag()
197 SkDebugf("\tdefault: %s", flag->defaultValue().c_str()); in print_help_for_flag()
200 const SkString& help = flag->help(); in print_help_for_flag()
204 static void print_extended_help_for_flag(const SkFlagInfo* flag) { in print_extended_help_for_flag() argument
[all …]
/external/skia/tools/flags/
DCommandLineFlags.cpp122 SkString flag(string, equalIndex); in match() local
123 if (flag.equals(*compareName)) { in match()
187 static void print_help_for_flag(const SkFlagInfo* flag) { in print_help_for_flag() argument
188 SkDebugf(" --%s", flag->name().c_str()); in print_help_for_flag()
189 const SkString& shortName = flag->shortName(); in print_help_for_flag()
193 SkDebugf(":\ttype: %s", flag->typeAsString().c_str()); in print_help_for_flag()
194 if (flag->defaultValue().size() > 0) { in print_help_for_flag()
195 SkDebugf("\tdefault: %s", flag->defaultValue().c_str()); in print_help_for_flag()
198 const SkString& help = flag->help(); in print_help_for_flag()
202 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/cldr/common/properties/
Dlabels.txt152 [����������{��️‍��}{��‍☠️}] ; Flags ; flag
153 [{����}{����}{����}{����}{����}{����}] ; Flags ; country-flag
154 [{����}{����}{����}{����}{����}{����}] ; Flags ; country-flag
155 [{����}{����}{����}{����}{����}{����}] ; Flags ; country-flag
156 [{����}{����}{����}{����}{����}{����}] ; Flags ; country-flag
157 [{����}{����}{����}{����}{����}{����}] ; Flags ; country-flag
158 [{����}{����}{����}{����}{����}{����}] ; Flags ; country-flag
159 [{����}{����}{����}{����}{����}{����}] ; Flags ; country-flag
160 [{����}{����}{����}{����}{����}{����}] ; Flags ; country-flag
161 [{����}{����}{����}{����}{����}{����}] ; Flags ; country-flag
[all …]
/external/llvm-project/libcxx/test/libcxx/thread/
Datomic.availability.verify.cpp57 std::atomic_flag flag; in main() local
60 flag.wait(b); // expected-error {{is unavailable}} in main()
61 flag.wait(b, m); // expected-error {{is unavailable}} in main()
62 flag.notify_one(); // expected-error {{is unavailable}} in main()
63 flag.notify_all(); // expected-error {{is unavailable}} in main()
65 std::atomic_flag_wait(&flag, b); // expected-error {{is unavailable}} in main()
66 std::atomic_flag_wait_explicit(&flag, b, m); // expected-error {{is unavailable}} in main()
67 std::atomic_flag_notify_one(&flag); // expected-error {{is unavailable}} in main()
68 std::atomic_flag_notify_all(&flag); // expected-error {{is unavailable}} in main()
72 std::atomic_flag volatile flag; in main() local
[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 …]
/external/google-benchmark/src/
Dcommandlineflags.cc84 static std::string FlagToEnvVar(const char* flag) { in FlagToEnvVar() argument
85 const std::string flag_str(flag); in FlagToEnvVar()
96 bool BoolFromEnv(const char* flag, bool default_val) { in BoolFromEnv() argument
97 const std::string env_var = FlagToEnvVar(flag); in BoolFromEnv()
102 int32_t Int32FromEnv(const char* flag, int32_t default_val) { in Int32FromEnv() argument
103 const std::string env_var = FlagToEnvVar(flag); in Int32FromEnv()
114 double DoubleFromEnv(const char* flag, double default_val) { in DoubleFromEnv() argument
115 const std::string env_var = FlagToEnvVar(flag); in DoubleFromEnv()
126 const char* StringFromEnv(const char* flag, const char* default_val) { in StringFromEnv() argument
127 const std::string env_var = FlagToEnvVar(flag); in StringFromEnv()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/flags/internal/
Dtype_erased.cc37 CommandLineFlag* flag = flags_internal::FindCommandLineFlag(name); in GetCommandLineOption() local
38 if (flag == nullptr || flag->IsRetired()) { in GetCommandLineOption()
42 *value = flag->CurrentValue(); in GetCommandLineOption()
54 CommandLineFlag* flag = flags_internal::FindCommandLineFlag(name); in SetCommandLineOptionWithMode() local
56 if (!flag || flag->IsRetired()) return false; in SetCommandLineOptionWithMode()
59 if (!flag->SetFromString(value, set_mode, kProgrammaticChange, &error)) { in SetCommandLineOptionWithMode()
72 CommandLineFlag* flag = flags_internal::FindCommandLineFlag(name); in IsValidFlagValue() local
74 return flag != nullptr && in IsValidFlagValue()
75 (flag->IsRetired() || flag->ValidateInputValue(value)); in IsValidFlagValue()
81 CommandLineFlag* flag = flags_internal::FindCommandLineFlag(name); in SpecifiedOnCommandLine() local
[all …]
Dregistry.cc63 void RegisterFlag(CommandLineFlag* flag);
112 void DestroyRetiredFlag(CommandLineFlag* flag);
115 void FlagRegistry::RegisterFlag(CommandLineFlag* flag) { in RegisterFlag() argument
118 flags_.insert(FlagMap::value_type(flag->Name(), flag)); in RegisterFlag()
121 if (flag->IsRetired() != old_flag->IsRetired()) { in RegisterFlag()
125 "Retired flag '", flag->Name(), in RegisterFlag()
127 (flag->IsRetired() ? old_flag->Filename() : flag->Filename()), in RegisterFlag()
130 } else if (flag->TypeId() != old_flag->TypeId()) { in RegisterFlag()
132 absl::StrCat("Flag '", flag->Name(), in RegisterFlag()
135 old_flag->Filename(), "' and '", flag->Filename(), in RegisterFlag()
[all …]
/external/abseil-cpp/absl/flags/internal/
Dtype_erased.cc37 CommandLineFlag* flag = flags_internal::FindCommandLineFlag(name); in GetCommandLineOption() local
38 if (flag == nullptr || flag->IsRetired()) { in GetCommandLineOption()
42 *value = flag->CurrentValue(); in GetCommandLineOption()
54 CommandLineFlag* flag = flags_internal::FindCommandLineFlag(name); in SetCommandLineOptionWithMode() local
56 if (!flag || flag->IsRetired()) return false; in SetCommandLineOptionWithMode()
59 if (!flag->SetFromString(value, set_mode, kProgrammaticChange, &error)) { in SetCommandLineOptionWithMode()
72 CommandLineFlag* flag = flags_internal::FindCommandLineFlag(name); in IsValidFlagValue() local
74 return flag != nullptr && in IsValidFlagValue()
75 (flag->IsRetired() || flag->ValidateInputValue(value)); in IsValidFlagValue()
81 CommandLineFlag* flag = flags_internal::FindCommandLineFlag(name); in SpecifiedOnCommandLine() local
[all …]
Dregistry.cc63 void RegisterFlag(CommandLineFlag* flag);
112 void DestroyRetiredFlag(CommandLineFlag* flag);
115 void FlagRegistry::RegisterFlag(CommandLineFlag* flag) { in RegisterFlag() argument
118 flags_.insert(FlagMap::value_type(flag->Name(), flag)); in RegisterFlag()
121 if (flag->IsRetired() != old_flag->IsRetired()) { in RegisterFlag()
125 "Retired flag '", flag->Name(), in RegisterFlag()
127 (flag->IsRetired() ? old_flag->Filename() : flag->Filename()), in RegisterFlag()
130 } else if (flag->TypeId() != old_flag->TypeId()) { in RegisterFlag()
132 absl::StrCat("Flag '", flag->Name(), in RegisterFlag()
135 old_flag->Filename(), "' and '", flag->Filename(), in RegisterFlag()
[all …]
/external/llvm-project/llvm/utils/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/llvm-project/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/mksh/src/
Dvar.c106 if ((vp = *vpp++) != NULL && (vp->flag&SPECIAL)) { in popblock()
107 if ((vq = global(vp->name))->flag & ISSET) in popblock()
146 tp->flag = DEFINED|ISSET; in initvar()
196 if (vp && (vp->flag & (DEFINED | ASSOC | ARRAY)) == in array_index_calc()
263 vp->flag = DEFINED; in isglobal()
277 vp->flag |= RDONLY; in isglobal()
282 vp->flag |= RDONLY; in isglobal()
285 vp->flag |= ISSET|INTEGER; in isglobal()
293 vp->flag &= ~(ISSET|INTEGER); in isglobal()
302 vp->flag &= ~INTEGER; in isglobal()
[all …]
/external/googletest/googletest/test/
Dgoogletest-env-var-test_.cc49 void PrintFlag(const char* flag) { in PrintFlag() argument
50 if (strcmp(flag, "break_on_failure") == 0) { in PrintFlag()
55 if (strcmp(flag, "catch_exceptions") == 0) { in PrintFlag()
60 if (strcmp(flag, "color") == 0) { in PrintFlag()
65 if (strcmp(flag, "death_test_style") == 0) { in PrintFlag()
70 if (strcmp(flag, "death_test_use_fork") == 0) { in PrintFlag()
75 if (strcmp(flag, "fail_fast") == 0) { in PrintFlag()
80 if (strcmp(flag, "filter") == 0) { in PrintFlag()
85 if (strcmp(flag, "output") == 0) { in PrintFlag()
90 if (strcmp(flag, "brief") == 0) { in PrintFlag()
[all …]
/external/libaom/libaom/build/cmake/
Dcompiler_flags.cmake27 # Sets variable named by $out_is_present to YES in the caller's scope when $flag
30 function(is_flag_present flag_cache flag out_is_present)
31 string(FIND "${${flag_cache}}" "${flag}" flag_pos)
39 # Appends $flag to $flags. Ignores scope via use of FORCE with set() call.
40 function(append_flag flags flag)
41 string(FIND "${${flags}}" "${flag}" found)
43 set(${flags} "${${flags}} ${flag}" CACHE STRING "" FORCE)
63 message("Checking C compiler flag support for: " ${c_flag})
93 message("Checking C++ compiler flag support for: " ${cxx_flag})
107 # Convenience method for adding a flag to both the C and C++ compiler command
[all …]

12345678910>>...185