Searched refs:flag (Results 1 - 25 of 584) sorted by relevance

1234567891011>>

/external/qemu/
H A Dhxtool5 flag=1
10 STEXI*|ETEXI*) flag=$(($flag^1))
13 test $flag -eq 1 && printf "%s\n" "$str"
21 flag=0
26 STEXI*|ETEXI*) flag=$(($flag^1))
32 test $flag -eq 1 && echo "$str"
/external/chromium/base/
H A Dcancellation_flag_unittest.cc28 explicit CancelTask(CancellationFlag* flag) : flag_(flag) {} argument
37 CancellationFlag flag; local
38 ASSERT_FALSE(flag.IsSet());
39 flag.Set();
40 ASSERT_TRUE(flag.IsSet());
44 CancellationFlag flag; local
45 ASSERT_FALSE(flag.IsSet());
46 flag.Set();
47 ASSERT_TRUE(flag
62 CancellationFlag flag; local
[all...]
/external/kernel-headers/original/linux/
H A Dthread_info.h26 * flag set/clear/test wrappers
30 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) argument
32 set_bit(flag,&ti->flags);
35 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) argument
37 clear_bit(flag,&ti->flags);
40 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) argument
42 return test_and_set_bit(flag,&ti->flags);
45 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) argument
47 return test_and_clear_bit(flag,&ti->flags);
50 static inline int test_ti_thread_flag(struct thread_info *ti, int flag) argument
[all...]
/external/gtest/test/
H A Dgtest_env_var_test_.cc53 void PrintFlag(const char* flag) { argument
54 if (strcmp(flag, "break_on_failure") == 0) {
59 if (strcmp(flag, "catch_exceptions") == 0) {
64 if (strcmp(flag, "color") == 0) {
69 if (strcmp(flag, "death_test_style") == 0) {
74 if (strcmp(flag, "death_test_use_fork") == 0) {
79 if (strcmp(flag, "filter") == 0) {
84 if (strcmp(flag, "output") == 0) {
89 if (strcmp(flag, "print_time") == 0) {
94 if (strcmp(flag, "repea
109 cout << "Invalid flag name " << flag local
[all...]
H A Dgtest_env_var_test.py74 def GetFlag(command, flag):
78 if flag is not None:
79 cmd += ' %s' % (flag,)
87 def TestFlag(command, flag, test_val, default_val):
88 """Verifies that the given flag is affected by the corresponding env var."""
90 env_var = 'GTEST_' + flag.upper()
92 AssertEq(test_val, GetFlag(command, flag))
94 AssertEq(default_val, GetFlag(command, flag))
98 """An environment variable should affect the corresponding flag."""
H A Dgtest_help_test.py32 """Tests the --help flag of Google C++ Testing Framework.
73 def RunWithFlag(flag):
74 """Runs gtest_help_test_ with the given flag.
79 flag: the command-line flag to pass to gtest_help_test_, or None.
82 if flag is None:
85 command = [PROGRAM_PATH, flag]
91 """Tests the --help flag and its equivalent forms."""
93 def TestHelpFlag(self, flag):
95 skipped when the given flag i
[all...]
H A Dgtest_test_utils.py48 # Initially maps a flag to its default value. After
49 # _ParseAndStripGTestFlags() is called, maps a flag to its actual
64 for flag in _flag_map:
66 if flag.upper() in os.environ:
67 _flag_map[flag] = os.environ[flag.upper()]
69 # The command line flag overrides the environment variable.
72 prefix = '--' + flag + '='
74 _flag_map[flag] = argv[i][len(prefix):]
78 # We don't increment i in case we just found a --gtest_* flag
[all...]
/external/protobuf/gtest/test/
H A Dgtest_env_var_test_.cc53 void PrintFlag(const char* flag) { argument
54 if (strcmp(flag, "break_on_failure") == 0) {
59 if (strcmp(flag, "catch_exceptions") == 0) {
64 if (strcmp(flag, "color") == 0) {
69 if (strcmp(flag, "death_test_style") == 0) {
74 if (strcmp(flag, "death_test_use_fork") == 0) {
79 if (strcmp(flag, "filter") == 0) {
84 if (strcmp(flag, "output") == 0) {
89 if (strcmp(flag, "print_time") == 0) {
94 if (strcmp(flag, "repea
109 cout << "Invalid flag name " << flag local
[all...]
H A Dgtest_env_var_test.py62 def GetFlag(flag):
66 if flag is not None:
67 args += [flag]
71 def TestFlag(flag, test_val, default_val):
72 """Verifies that the given flag is affected by the corresponding env var."""
74 env_var = 'GTEST_' + flag.upper()
76 AssertEq(test_val, GetFlag(flag))
78 AssertEq(default_val, GetFlag(flag))
83 """Tests that environment variable should affect the corresponding flag."""
/external/webkit/WebKit/mac/WebView/
H A DWebPreferences.h236 @param flag
238 - (void)setUserStyleSheetEnabled:(BOOL)flag;
259 @param flag
261 - (void)setJavaEnabled:(BOOL)flag;
270 @param flag
272 - (void)setJavaScriptEnabled:(BOOL)flag;
281 @param flag
283 - (void)setJavaScriptCanOpenWindowsAutomatically:(BOOL)flag;
292 @param flag
294 - (void)setPlugInsEnabled:(BOOL)flag;
[all...]
H A DWebPreferencesPrivate.h54 - (void)setDeveloperExtrasEnabled:(BOOL)flag;
57 - (void)setAuthorAndUserStylesEnabled:(BOOL)flag;
60 - (void)setApplicationChromeModeEnabled:(BOOL)flag;
63 - (void)setUsesEncodingDetector:(BOOL)flag;
66 - (void)setRespectStandardStyleKeyEquivalents:(BOOL)flag;
69 - (void)setShowsURLsInToolTips:(BOOL)flag;
72 - (void)setTextAreasAreResizable:(BOOL)flag;
78 - (void)setShrinksStandaloneImagesToFit:(BOOL)flag;
99 - (void)setWebSecurityEnabled:(BOOL)flag;
102 - (void)setAllowUniversalAccessFromFileURLs:(BOOL)flag;
[all...]
/external/webkit/WebKitTools/DumpRenderTree/
H A DDumpRenderTreeFileDraggingSource.h37 - (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)flag;
/external/blktrace/btt/
H A 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
[all...]
/external/kernel-headers/original/linux/nfsd/
H A Ddebug.h42 # define ifdebug(flag) if (nfsd_debug & NFSDDBG_##flag)
44 # define ifdebug(flag) if (0)
/external/tcpdump/
H A Dsend-ack.awk22 # detect and add a flag character for 'anomalies':
36 flag = "*"
39 flag = "-"
41 flag = "#"
43 flag = " "
47 flag, $5, strtSeq
57 flag, $5, id
/external/chromium/sdch/open-vcdiff/src/
H A Dgflags_reporting.cc48 // called after all flag-values have been assigned, that is, after
74 "show help on the modules named by this flag value");
91 // Routines that pretty-print info about a flag. These use
93 // API exposes static info about a flag.
112 // Create a descriptive string for a flag.
114 string DescribeOneFlag(const CommandLineFlagInfo& flag) { argument
115 string main_part = (string(" -") + flag.name +
116 " (" + flag.description + ')');
161 AddString(string("type: ") + flag.type, &final_string, &chars_in_line);
162 // Append the effective default value (i.e., the value that the flag
205 DescribeOneFlagInXML(const CommandLineFlagInfo& flag) argument
[all...]
H A Dgflags.cc47 // -- The main classes that hold flag data:
49 // FlagValue holds the current value of a flag. It's
51 // also deals with storage-lifetime issues (so flag values don't go
56 // flag. It has a FlagValue for the flag's current value, but also
57 // the flag's name, type, etc.
61 // live. But it's possible to define your own flag, manually, in a
81 // and instantiates flag values based on that. It needs to poke into
87 // retrieve a flag based on its name. SetCommandLineOption, on the
152 // Special flags, type 1: the 'recursive' flags. They set another flag'
682 RegisterFlag(CommandLineFlag* flag) argument
741 CommandLineFlag* flag = FindFlagLocked(flag_name); local
782 TryParseLocked(const CommandLineFlag* flag, FlagValue* flag_value, const char* value, string* msg) argument
813 SetFlagLocked(CommandLineFlag* flag, const char* value, FlagSettingMode set_mode, string* msg) argument
1017 CommandLineFlag* flag = registry_->SplitArgumentLocked(arg, &key, &value, local
1106 CommandLineFlag* flag = registry_->FindFlagLocked(flagname); local
1138 ProcessSingleOptionLocked( CommandLineFlag* flag, const char* value, FlagSettingMode set_mode) argument
1255 CommandLineFlag* flag = registry_->SplitArgumentLocked(name_and_val, local
1332 CommandLineFlag* flag = registry->FindFlagViaPtrLocked(flag_ptr); local
1386 CommandLineFlag* flag = new CommandLineFlag(name, help, filename, local
1526 CommandLineFlag* flag = registry->FindFlagLocked(name); local
1539 CommandLineFlag* flag = registry->FindFlagLocked(name); local
1563 CommandLineFlag* flag = registry->FindFlagLocked(name); local
1803 RegisterFlagValidator(const bool* flag, bool (*validate_fn)(const char*, bool)) argument
1807 RegisterFlagValidator(const int32* flag, bool (*validate_fn)(const char*, int32)) argument
1811 RegisterFlagValidator(const int64* flag, bool (*validate_fn)(const char*, int64)) argument
1815 RegisterFlagValidator(const uint64* flag, bool (*validate_fn)(const char*, uint64)) argument
1819 RegisterFlagValidator(const double* flag, bool (*validate_fn)(const char*, double)) argument
1823 RegisterFlagValidator(const string* flag, bool (*validate_fn)(const char*, const string&)) argument
[all...]
/external/chromium/third_party/icu/source/tools/gennorm/
H A Dgennorm.h48 * per flag.
61 #define DO_STORE(flag) (0!=(gStoreFlags&U_MASK(flag)))
62 #define DO_NOT_STORE(flag) (0==(gStoreFlags&U_MASK(flag)))
/external/webkit/WebKit/win/Interfaces/
H A DIWebFrameView.idl66 @param flag YES to allow the document to be scrolled, NO to disallow scrolling
67 - (void)setAllowsScrolling:(BOOL)flag;
69 HRESULT setAllowsScrolling([in] BOOL flag);
77 HRESULT allowsScrolling([out, retval] BOOL* flag);
/external/iptables/include/linux/netfilter_ipv4/
H A Dipt_sctp.h15 u_int8_t flag; member in struct:ipt_sctp_flag_info
83 int flag = 1; \
86 flag = 0; \
90 flag; \
96 int flag = 1; \
99 flag = 0; \
103 flag; \
/external/kernel-headers/original/linux/netfilter/
H A Dxt_sctp.h15 u_int8_t flag; member in struct:xt_sctp_flag_info
83 int flag = 1; \
86 flag = 0; \
90 flag; \
96 int flag = 1; \
99 flag = 0; \
103 flag; \
/external/kernel-headers/original/linux/netfilter_ipv4/
H A Dipt_sctp.h13 u_int8_t flag; member in struct:ipt_sctp_flag_info
81 int flag = 1; \
84 flag = 0; \
88 flag; \
94 int flag = 1; \
97 flag = 0; \
101 flag; \
/external/chromium/third_party/icu/source/tools/toolutil/
H A Dflagparser.c12 static void extractFlag(char* buffer, int32_t bufferSize, char* flag);
42 * Extract the setting after the '=' and store it in flag excluding the newline character.
44 static void extractFlag(char* buffer, int32_t bufferSize, char* flag) { argument
57 flag[i] = 0;
61 flag[i] = pBuffer[i];
69 flag[0] = 0;
/external/icu4c/tools/toolutil/
H A Dflagparser.c12 static void extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, UErrorCode *status);
46 * Extract the setting after the '=' and store it in flag excluding the newline character.
48 static void extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, UErrorCode *status) { argument
65 flag[i] = 0;
69 flag[i] = pBuffer[i];
77 flag[0] = 0;
/external/e2fsprogs/lib/e2p/
H A Dpf.c22 unsigned long flag; member in struct:flags_name
57 for (fp = flags_array; fp->flag != 0; fp++) {
58 if (flags & fp->flag) {

Completed in 403 milliseconds

1234567891011>>