Home
last modified time | relevance | path

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

12345678910>>...56

/external/kernel-headers/original/linux/
Dthread_info.h30 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag() argument
32 set_bit(flag,&ti->flags); in set_ti_thread_flag()
35 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag() argument
37 clear_bit(flag,&ti->flags); in clear_ti_thread_flag()
40 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag() argument
42 return test_and_set_bit(flag,&ti->flags); in test_and_set_ti_thread_flag()
45 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) in test_and_clear_ti_thread_flag() argument
47 return test_and_clear_bit(flag,&ti->flags); in test_and_clear_ti_thread_flag()
50 static inline int test_ti_thread_flag(struct thread_info *ti, int flag) in test_ti_thread_flag() argument
52 return test_bit(flag,&ti->flags); in test_ti_thread_flag()
[all …]
/external/qemu/
Dhxtool5 flag=1
10 STEXI*|ETEXI*|SQMP*|EQMP*) flag=$(($flag^1))
13 test $flag -eq 1 && printf "%s\n" "$str"
21 flag=0
28 if test $flag -eq 1 ; then
32 flag=1
35 if test $flag -ne 1 ; then
39 flag=0
42 if test $flag -eq 1 ; then
51 test $flag -eq 1 && echo "$str"
[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/chromium/base/synchronization/
Dcancellation_flag_unittest.cc27 explicit CancelTask(CancellationFlag* flag) : flag_(flag) {} in CancelTask() argument
36 CancellationFlag flag; in TEST() local
37 ASSERT_FALSE(flag.IsSet()); in TEST()
38 flag.Set(); in TEST()
39 ASSERT_TRUE(flag.IsSet()); in TEST()
43 CancellationFlag flag; in TEST() local
44 ASSERT_FALSE(flag.IsSet()); in TEST()
45 flag.Set(); in TEST()
46 ASSERT_TRUE(flag.IsSet()); in TEST()
47 flag.Set(); in TEST()
[all …]
/external/chromium/sdch/open-vcdiff/src/
Dgflags_reporting.cc114 string DescribeOneFlag(const CommandLineFlagInfo& flag) { in DescribeOneFlag() argument
115 string main_part = (string(" -") + flag.name + in DescribeOneFlag()
116 " (" + flag.description + ')'); in DescribeOneFlag()
161 AddString(string("type: ") + flag.type, &final_string, &chars_in_line); in DescribeOneFlag()
173 if (strcmp(flag.type.c_str(), "string") == 0) { // add quotes for strings in DescribeOneFlag()
174 AddString(string("default: \"") + flag.current_value + string("\""), in DescribeOneFlag()
177 AddString(string("default: ") + flag.current_value, in DescribeOneFlag()
205 static string DescribeOneFlagInXML(const CommandLineFlagInfo& flag) { in DescribeOneFlagInXML() argument
210 AddXMLTag(&r, "file", flag.filename); in DescribeOneFlagInXML()
211 AddXMLTag(&r, "name", flag.name); in DescribeOneFlagInXML()
[all …]
Dgflags.cc619 void RegisterFlag(CommandLineFlag* flag);
641 bool SetFlagLocked(CommandLineFlag* flag, const char* value,
682 void FlagRegistry::RegisterFlag(CommandLineFlag* flag) { in RegisterFlag() argument
685 flags_.insert(pair<const char*, CommandLineFlag*>(flag->name(), flag)); in RegisterFlag()
687 if (strcmp(ins.first->second->filename(), flag->filename()) != 0) { in RegisterFlag()
690 flag->name(), in RegisterFlag()
692 flag->filename()); in RegisterFlag()
697 flag->name(), in RegisterFlag()
698 flag->filename(), flag->filename()); in RegisterFlag()
702 flags_by_ptr_[flag->current_->value_buffer_] = flag; in RegisterFlag()
[all …]
/external/openssh/openbsd-compat/
Dvis.c45 (flag & VIS_GLOB) == 0) && isgraph((u_char)(c))) || \
46 ((flag & VIS_SP) == 0 && (c) == ' ') || \
47 ((flag & VIS_TAB) == 0 && (c) == '\t') || \
48 ((flag & VIS_NL) == 0 && (c) == '\n') || \
49 ((flag & VIS_SAFE) && ((c) == '\b' || \
57 vis(char *dst, int c, int flag, int nextc) in vis() argument
61 if (c == '\\' && (flag & VIS_NOSLASH) == 0) in vis()
67 if (flag & VIS_CSTYLE) { in vis()
111 if (((c & 0177) == ' ') || (flag & VIS_OCTAL) || in vis()
112 ((flag & VIS_GLOB) && (c == '*' || c == '?' || c == '[' || c == '#'))) { in vis()
[all …]
/external/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 …]
Dgtest_env_var_test.py64 def GetFlag(flag): argument
68 if flag is not None:
69 args += [flag]
73 def TestFlag(flag, test_val, default_val): argument
76 env_var = 'GTEST_' + flag.upper()
78 AssertEq(test_val, GetFlag(flag))
80 AssertEq(default_val, GetFlag(flag))
/external/chromium/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/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 …]
Dgtest_env_var_test.py62 def GetFlag(flag): argument
66 if flag is not None:
67 args += [flag]
71 def TestFlag(flag, test_val, default_val): argument
74 env_var = 'GTEST_' + flag.upper()
76 AssertEq(test_val, GetFlag(flag))
78 AssertEq(default_val, GetFlag(flag))
/external/mksh/src/
Dvar.c98 if ((vp = *vpp++) != NULL && (vp->flag&SPECIAL)) { in popblock()
99 if ((vq = global(vp->name))->flag & ISSET) in popblock()
138 tp->flag = DEFINED|ISSET; in initvar()
187 if (vp && (vp->flag & (DEFINED|ASSOC|ARRAY)) == in array_index_calc()
236 vp->flag = DEFINED; in global()
246 vp->flag |= RDONLY; in global()
249 vp->flag |= RDONLY; in global()
252 vp->flag |= ISSET|INTEGER; in global()
260 vp->flag &= ~(ISSET|INTEGER); in global()
269 vp->flag &= ~INTEGER; in global()
[all …]
/external/webkit/Source/WebKit/mac/WebView/
DWebPreferencesPrivate.h61 - (void)setDNSPrefetchingEnabled:(BOOL)flag;
64 - (void)setDeveloperExtrasEnabled:(BOOL)flag;
67 - (void)setAuthorAndUserStylesEnabled:(BOOL)flag;
70 - (void)setApplicationChromeModeEnabled:(BOOL)flag;
73 - (void)setUsesEncodingDetector:(BOOL)flag;
76 - (void)setRespectStandardStyleKeyEquivalents:(BOOL)flag;
79 - (void)setShowsURLsInToolTips:(BOOL)flag;
82 - (void)setTextAreasAreResizable:(BOOL)flag;
88 - (void)setShrinksStandaloneImagesToFit:(BOOL)flag;
109 - (void)setWebSecurityEnabled:(BOOL)flag;
[all …]
DWebPreferences.h238 - (void)setUserStyleSheetEnabled:(BOOL)flag;
261 - (void)setJavaEnabled:(BOOL)flag;
272 - (void)setJavaScriptEnabled:(BOOL)flag;
283 - (void)setJavaScriptCanOpenWindowsAutomatically:(BOOL)flag;
294 - (void)setPlugInsEnabled:(BOOL)flag;
305 - (void)setAllowsAnimatedImages:(BOOL)flag;
316 - (void)setAllowsAnimatedImageLooping: (BOOL)flag;
322 - (void)setLoadsImagesAutomatically: (BOOL)flag;
335 - (void)setAutosaves:(BOOL)flag;
347 - (void)setShouldPrintBackgrounds:(BOOL)flag;
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DConstraintLocLike.java27 protected int flag; field in ConstraintLocLike
48 flag = ((Number) data.getFieldValue("flag")).intValue(); in ConstraintLocLike()
52 int y = flag & LOCLIKE_Y; in ConstraintLocLike()
53 int invY = flag & LOCLIKE_Y_INVERT; in ConstraintLocLike()
54 int z = flag & LOCLIKE_Z; in ConstraintLocLike()
55 int invZ = flag & LOCLIKE_Z_INVERT; in ConstraintLocLike()
56 flag &= LOCLIKE_X | LOCLIKE_X_INVERT | LOCLIKE_OFFSET;//clear the other flags to swap them in ConstraintLocLike()
57 flag |= y << 2; in ConstraintLocLike()
58 flag |= invY << 2; in ConstraintLocLike()
59 flag |= z >> 2; in ConstraintLocLike()
[all …]
DConstraintSizeLimit.java26 protected int flag; field in ConstraintSizeLimit
47 flag = ((Number) data.getFieldValue("flag")).intValue(); in ConstraintSizeLimit()
57 int ymin = flag & LIMIT_YMIN; in ConstraintSizeLimit()
58 int ymax = flag & LIMIT_YMAX; in ConstraintSizeLimit()
59 int zmin = flag & LIMIT_ZMIN; in ConstraintSizeLimit()
60 int zmax = flag & LIMIT_ZMAX; in ConstraintSizeLimit()
61 flag &= LIMIT_XMIN | LIMIT_XMAX;//clear the other flags to swap them in ConstraintSizeLimit()
62 flag |= ymin << 2; in ConstraintSizeLimit()
63 flag |= ymax << 2; in ConstraintSizeLimit()
64 flag |= zmin >> 2; in ConstraintSizeLimit()
[all …]
DConstraintLocLimit.java26 protected int flag; field in ConstraintLocLimit
47 flag = ((Number) data.getFieldValue("flag")).intValue(); in ConstraintLocLimit()
57 int ymin = flag & LIMIT_YMIN; in ConstraintLocLimit()
58 int ymax = flag & LIMIT_YMAX; in ConstraintLocLimit()
59 int zmin = flag & LIMIT_ZMIN; in ConstraintLocLimit()
60 int zmax = flag & LIMIT_ZMAX; in ConstraintLocLimit()
61 flag &= LIMIT_XMIN | LIMIT_XMAX;//clear the other flags to swap them in ConstraintLocLimit()
62 flag |= ymin << 2; in ConstraintLocLimit()
63 flag |= ymax << 2; in ConstraintLocLimit()
64 flag |= zmin >> 2; in ConstraintLocLimit()
[all …]
DConstraintSizeLike.java23 protected int flag; field in ConstraintSizeLike
44 flag = ((Number) data.getFieldValue("flag")).intValue(); in ConstraintSizeLike()
47 int y = flag & SIZELIKE_Y; in ConstraintSizeLike()
48 int z = flag & SIZELIKE_Z; in ConstraintSizeLike()
49 flag &= SIZELIKE_X | LOCLIKE_OFFSET;//clear the other flags to swap them in ConstraintSizeLike()
50 flag |= y << 1; in ConstraintSizeLike()
51 flag |= z >> 1; in ConstraintSizeLike()
83 if ((flag & LOCLIKE_OFFSET) != 0) {//we add the original scale to the copied scale in sizeLike()
87 if ((flag & SIZELIKE_X) != 0) { in sizeLike()
90 if ((flag & SIZELIKE_Y) != 0) { in sizeLike()
[all …]
/external/chromium/third_party/libjingle/source/talk/base/
Dflags.cc212 Flag* flag = Lookup(name); in SetFlagsFromCommandLine() local
213 if (flag == NULL) { in SetFlagsFromCommandLine()
219 if (flag->type() != Flag::BOOL && value == NULL) { in SetFlagsFromCommandLine()
224 arg, Type2String(flag->type())); in SetFlagsFromCommandLine()
232 switch (flag->type()) { in SetFlagsFromCommandLine()
234 *flag->bool_variable() = !is_bool; in SetFlagsFromCommandLine()
237 *flag->int_variable() = strtol(value, &endp, 10); in SetFlagsFromCommandLine()
240 *flag->float_variable() = strtod(value, &endp); in SetFlagsFromCommandLine()
243 *flag->string_variable() = value; in SetFlagsFromCommandLine()
248 if ((flag->type() == Flag::BOOL && value != NULL) || in SetFlagsFromCommandLine()
[all …]
/external/webkit/Source/WebCore/page/
DSettings.h296 void setDefaultFormatDetection(bool flag) { m_default_format_detection = flag; } in setDefaultFormatDetection() argument
419 void setPaginateDuringLayoutEnabled(bool flag) { m_paginateDuringLayoutEnabled = flag; } in setPaginateDuringLayoutEnabled() argument
423 void setFullScreenEnabled(bool flag) { m_fullScreenAPIEnabled = flag; } in setFullScreenEnabled() argument
427 … void setAsynchronousSpellCheckingEnabled(bool flag) { m_asynchronousSpellCheckingEnabled = flag; } in setAsynchronousSpellCheckingEnabled() argument
430 void setMemoryInfoEnabled(bool flag) { m_memoryInfoEnabled = flag; } in setMemoryInfoEnabled() argument
437 void setInteractiveFormValidationEnabled(bool flag) { m_interactiveFormValidation = flag; } in setInteractiveFormValidationEnabled() argument
448 void setUsePreHTML5ParserQuirks(bool flag) { m_usePreHTML5ParserQuirks = flag; } in setUsePreHTML5ParserQuirks() argument
451 void setHyperlinkAuditingEnabled(bool flag) { m_hyperlinkAuditingEnabled = flag; } in setHyperlinkAuditingEnabled() argument
454 …sOriginCheckInGetMatchedCSSRulesDisabled(bool flag) { m_crossOriginCheckInGetMatchedCSSRulesDisabl… in setCrossOriginCheckInGetMatchedCSSRulesDisabled() argument
457 …void setUseQuickLookResourceCachingQuirks(bool flag) { m_useQuickLookResourceCachingQuirks = flag;… in setUseQuickLookResourceCachingQuirks() argument
[all …]
/external/webkit/Source/WebKit/android/jni/
DWebSettings.cpp403 jboolean flag = env->GetBooleanField(obj, gFieldIds->mLoadsImagesAutomatically); in Sync() local
404 s->setLoadsImagesAutomatically(flag); in Sync()
405 if (flag) in Sync()
409 flag = env->GetBooleanField(obj, gFieldIds->mBlockNetworkImage); in Sync()
410 s->setBlockNetworkImage(flag); in Sync()
411 if(!flag) in Sync()
414 flag = env->GetBooleanField(obj, gFieldIds->mBlockNetworkLoads); in Sync()
416 webFrame->setBlockNetworkLoads(flag); in Sync()
418 flag = env->GetBooleanField(obj, gFieldIds->mJavaScriptEnabled); in Sync()
419 s->setJavaScriptEnabled(flag); in Sync()
[all …]
/external/v8/test/mjsunit/
Dcyrillic.js113 var flag = ignore_case ? "i" : ""; variable
114 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(greek.first), 19);
115 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(greek.middle), 20);
116 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(greek.last), 21);
118 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(cyrillic.FIRST), 22);
119 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(cyrillic.MIDDLE), 23);
120 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(cyrillic.LAST), 24);
124 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(greek.FIRST), 25);
125 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(greek.MIDDLE), 26);
126 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(greek.LAST), 27);
[all …]
/external/qemu/fpu/
Dsoftfloat-specialize.h54 flag sign;
256 static int pickNaN(flag aIsQNaN, flag aIsSNaN, flag bIsQNaN, flag bIsSNaN, in pickNaN()
257 flag aIsLargerSignificand) in pickNaN()
277 static int pickNaN(flag aIsQNaN, flag aIsSNaN, flag bIsQNaN, flag bIsSNaN, in pickNaN()
278 flag aIsLargerSignificand) in pickNaN()
304 static int pickNaN(flag aIsQNaN, flag aIsSNaN, flag bIsQNaN, flag bIsSNaN, in pickNaN()
305 flag aIsLargerSignificand) in pickNaN()
319 static int pickNaN(flag aIsQNaN, flag aIsSNaN, flag bIsQNaN, flag bIsSNaN, in pickNaN()
320 flag aIsLargerSignificand) in pickNaN()
358 flag aIsQuietNaN, aIsSignalingNaN, bIsQuietNaN, bIsSignalingNaN; in propagateFloat32NaN()
[all …]
/external/v8/src/
Dflags.cc196 static SmartArrayPointer<const char> ToString(Flag* flag) { in ToString() argument
199 switch (flag->type()) { in ToString()
201 buffer.Add("%s", (*flag->bool_variable() ? "true" : "false")); in ToString()
204 buffer.Add("%d", *flag->int_variable()); in ToString()
207 buffer.Add("%f", FmtElm(*flag->float_variable())); in ToString()
210 const char* str = flag->string_value(); in ToString()
215 JSArguments args = *flag->args_variable(); in ToString()
360 Flag* flag = FindFlag(name); in SetFlagsFromCommandLine() local
361 if (flag == NULL) { in SetFlagsFromCommandLine()
376 if (flag->type() != Flag::TYPE_BOOL && in SetFlagsFromCommandLine()
[all …]

12345678910>>...56