Home
last modified time | relevance | path

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

12345678910>>...154

/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/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/swiftshader/third_party/llvm-7.0/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/
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/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/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/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 …]
/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/syzkaller/tools/syz-prog2c/
Dprog2c.go19 flagOS = flag.String("os", runtime.GOOS, "target os")
20 flagArch = flag.String("arch", runtime.GOARCH, "target arch")
21 flagBuild = flag.Bool("build", false, "also build the generated program")
22 flagThreaded = flag.Bool("threaded", false, "create threaded program")
23 flagCollide = flag.Bool("collide", false, "create collide program")
24 flagRepeat = flag.Int("repeat", 1, "repeat program that many times (<=0 - infinitely)")
25 flagProcs = flag.Int("procs", 1, "number of parallel processes")
26 flagSandbox = flag.String("sandbox", "", "sandbox to use (none, setuid, namespace)")
27 flagProg = flag.String("prog", "", "file with program to convert (required)")
28 flagFaultCall = flag.Int("fault_call", -1, "inject fault into this call (0-based)")
[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/tensorflow/tensorflow/core/util/
Dcommand_line_flags.cc30 bool ParseStringFlag(tensorflow::StringPiece arg, tensorflow::StringPiece flag, in ParseStringFlag() argument
35 str_util::ConsumePrefix(&arg, flag) && in ParseStringFlag()
44 bool ParseInt32Flag(tensorflow::StringPiece arg, tensorflow::StringPiece flag, in ParseInt32Flag() argument
49 str_util::ConsumePrefix(&arg, flag) && in ParseInt32Flag()
54 LOG(ERROR) << "Couldn't interpret value " << arg << " for flag " << flag in ParseInt32Flag()
66 bool ParseInt64Flag(tensorflow::StringPiece arg, tensorflow::StringPiece flag, in ParseInt64Flag() argument
71 str_util::ConsumePrefix(&arg, flag) && in ParseInt64Flag()
76 LOG(ERROR) << "Couldn't interpret value " << arg << " for flag " << flag in ParseInt64Flag()
88 bool ParseBoolFlag(tensorflow::StringPiece arg, tensorflow::StringPiece flag, in ParseBoolFlag() argument
93 str_util::ConsumePrefix(&arg, flag)) { in ParseBoolFlag()
[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/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, "filter") == 0) { in PrintFlag()
80 if (strcmp(flag, "output") == 0) { in PrintFlag()
85 if (strcmp(flag, "print_time") == 0) { in PrintFlag()
90 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/libchrome/base/task/
Dcancelable_task_tracker.cc24 void RunIfNotCanceled(const CancellationFlag* flag, OnceClosure task) { in RunIfNotCanceled() argument
25 if (!flag->IsSet()) in RunIfNotCanceled()
29 void RunIfNotCanceledThenUntrack(const CancellationFlag* flag, in RunIfNotCanceledThenUntrack() argument
32 RunIfNotCanceled(flag, std::move(task)); in RunIfNotCanceledThenUntrack()
36 bool IsCanceled(const CancellationFlag* flag, in IsCanceled() argument
38 return flag->IsSet(); in IsCanceled()
41 void RunAndDeleteFlag(OnceClosure closure, const CancellationFlag* flag) { in RunAndDeleteFlag() argument
43 delete flag; in RunAndDeleteFlag()
87 CancellationFlag* flag = new CancellationFlag(); in PostTaskAndReply() local
95 from_here, BindOnce(&RunIfNotCanceled, flag, std::move(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/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/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 …]

12345678910>>...154