/third_party/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/ |
D | analyze.cpp | 54 void analyzePrintHelper(string tag, string flag, string description) in analyzePrintHelper() argument 56 cout << left << setw(25) << tag << " | " << setw(7) << flag << " | " << description << endl; in analyzePrintHelper() 65 string flag; in analyzeVisibilityAndOpacity() local 72 flag = "PROBLEM"; in analyzeVisibilityAndOpacity() 77 flag = "OK"; in analyzeVisibilityAndOpacity() 81 analyzePrintHelper(tag, flag, description); in analyzeVisibilityAndOpacity() 86 flag = "PROBLEM"; in analyzeVisibilityAndOpacity() 91 flag = "OK"; in analyzeVisibilityAndOpacity() 95 analyzePrintHelper(tag, flag, description); in analyzeVisibilityAndOpacity() 101 flag = "PROBLEM"; in analyzeVisibilityAndOpacity() [all …]
|
/third_party/boost/boost/thread/win32/ |
D | once.hpp | 44 inline bool enter_once_region(once_flag& flag, once_context& ctx) BOOST_NOEXCEPT; 45 inline void commit_once_region(once_flag& flag, once_context& ctx) BOOST_NOEXCEPT; 46 inline void rollback_once_region(once_flag& flag, once_context& ctx) BOOST_NOEXCEPT; 60 … friend inline bool enter_once_region(once_flag& flag, detail::once_context& ctx) BOOST_NOEXCEPT; 61 … friend inline void commit_once_region(once_flag& flag, detail::once_context& ctx) BOOST_NOEXCEPT; 62 …friend inline void rollback_once_region(once_flag& flag, detail::once_context& ctx) BOOST_NOEXCEPT; 178 inline bool enter_once_region(once_flag& flag, once_context& ctx) BOOST_NOEXCEPT in enter_once_region() argument 180 long status=BOOST_INTERLOCKED_COMPARE_EXCHANGE(&flag.status,ctx.running_value,0); in enter_once_region() 185 ctx.event_handle=detail::open_once_event(ctx.mutex_name,&flag); in enter_once_region() 195 inline void commit_once_region(once_flag& flag, once_context& ctx) BOOST_NOEXCEPT in commit_once_region() argument [all …]
|
/third_party/boost/boost/thread/pthread/ |
D | once_atomic.hpp | 49 BOOST_THREAD_DECL bool enter_once_region(once_flag& flag) BOOST_NOEXCEPT; 50 BOOST_THREAD_DECL void commit_once_region(once_flag& flag) BOOST_NOEXCEPT; 51 BOOST_THREAD_DECL void rollback_once_region(once_flag& flag) BOOST_NOEXCEPT; 52 inline atomic_type& get_atomic_storage(once_flag& flag) BOOST_NOEXCEPT; 67 friend BOOST_THREAD_DECL bool thread_detail::enter_once_region(once_flag& flag) BOOST_NOEXCEPT; 68 friend BOOST_THREAD_DECL void thread_detail::commit_once_region(once_flag& flag) BOOST_NOEXCEPT; 69 … friend BOOST_THREAD_DECL void thread_detail::rollback_once_region(once_flag& flag) BOOST_NOEXCEPT; 70 …friend thread_detail::atomic_type& thread_detail::get_atomic_storage(once_flag& flag) BOOST_NOEXCE… 77 inline atomic_type& get_atomic_storage(once_flag& flag) BOOST_NOEXCEPT in get_atomic_storage() argument 80 return flag.storage; in get_atomic_storage() [all …]
|
D | once.hpp | 48 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTyp… 51 inline void call_once(once_flag& flag, Function f); 53 inline void call_once(once_flag& flag, Function f, T1 p1); 55 inline void call_once(once_flag& flag, Function f, T1 p1, T2 p2); 57 inline void call_once(once_flag& flag, Function f, T1 p1, T2 p2, T3 p3); 71 …friend void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTyp… 74 friend void call_once(once_flag& flag, Function f); 76 friend void call_once(once_flag& flag, Function f, T1 p1); 78 friend void call_once(once_flag& flag, Function f, T1 p1, T2 p2); 80 friend void call_once(once_flag& flag, Function f, T1 p1, T2 p2, T3 p3); [all …]
|
/third_party/skia/tools/flags/ |
D | CommandLineFlags.cpp | 122 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 …]
|
/third_party/boost/libs/spirit/classic/test/ |
D | epsilon_tests.cpp | 79 bool flag = false; in epsilon_as_parser_generator_for_functors() local 80 parse(empty, BOOST_SPIRIT_CLASSIC_NS::epsilon_p(var(flag)), flag); in epsilon_as_parser_generator_for_functors() 83 flag = true; in epsilon_as_parser_generator_for_functors() 84 parse(empty, BOOST_SPIRIT_CLASSIC_NS::epsilon_p(var(flag)), flag); in epsilon_as_parser_generator_for_functors() 98 bool flag = false; in epsilon_as_parser_generator_for_parsers() local 100 BOOST_SPIRIT_CLASSIC_NS::epsilon_p(var(flag))), flag); in epsilon_as_parser_generator_for_parsers() 103 flag = true; in epsilon_as_parser_generator_for_parsers() 105 BOOST_SPIRIT_CLASSIC_NS::epsilon_p(var(flag))), flag); in epsilon_as_parser_generator_for_parsers() 114 bool flag = false; in negation_operator_for_epsilon() local 115 parse(empty, ~BOOST_SPIRIT_CLASSIC_NS::epsilon_p(var(flag)), !flag); in negation_operator_for_epsilon() [all …]
|
/third_party/gettext/gettext-tools/examples/hello-c++-kde/admin/ |
D | conf.change.pl | 33 my ($flag); 36 $flag = 0; 45 if ($flag == 4) { 47 } elsif ($flag == 0) { 53 $flag = 1; 70 } elsif ($flag == 1) { 73 $flag = 2; 75 $flag = 3; 77 } elsif ($flag == 2) { 82 $flag = 3; [all …]
|
/third_party/flutter/skia/tools/flags/ |
D | CommandLineFlags.cpp | 122 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 …]
|
/third_party/mksh/ |
D | var.c | 106 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 …]
|
/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | commandlineflags.cc | 81 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 …]
|
/third_party/googletest/googletest/test/ |
D | googletest-env-var-test_.cc | 49 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 …]
|
/third_party/benchmark/src/ |
D | commandlineflags.cc | 112 static std::string FlagToEnvVar(const char* flag) { in FlagToEnvVar() argument 113 const std::string flag_str(flag); in FlagToEnvVar() 124 bool BoolFromEnv(const char* flag, bool default_val) { in BoolFromEnv() argument 125 const std::string env_var = FlagToEnvVar(flag); in BoolFromEnv() 130 int32_t Int32FromEnv(const char* flag, int32_t default_val) { in Int32FromEnv() argument 131 const std::string env_var = FlagToEnvVar(flag); in Int32FromEnv() 142 double DoubleFromEnv(const char* flag, double default_val) { in DoubleFromEnv() argument 143 const std::string env_var = FlagToEnvVar(flag); in DoubleFromEnv() 154 const char* StringFromEnv(const char* flag, const char* default_val) { in StringFromEnv() argument 155 const std::string env_var = FlagToEnvVar(flag); in StringFromEnv() [all …]
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | options.c | 159 static int handle_subopt_val(const char *opt, const char *arg, const struct val_map *map, int *flag) in handle_subopt_val() argument 167 *flag = map->val; in handle_subopt_val() 198 …e_suboption_mask(const char *arg, const char *opt, const struct mask_map *map, unsigned long *flag) in handle_suboption_mask() argument 201 apply_mask(flag, "", 0, map, 0); in handle_suboption_mask() 216 if (apply_mask(flag, opt, len, map, neg)) in handle_suboption_mask() 230 struct flag { struct 232 int *flag; member 233 int (*fun)(const char *arg, const char *opt, const struct flag *, int options); argument 238 static int handle_switches(const char *ori, const char *opt, const struct flag *flags) in handle_switches() argument 265 if (opt[0] == '\0' && flags->flag) { in handle_switches() [all …]
|
/third_party/boost/libs/log/src/ |
D | once_block.cpp | 52 once_block_flag volatile& flag = m_flag; variable 53 while (flag.status != once_block_flag::initialized) 55 if (flag.status == once_block_flag::uninitialized) 57 flag.status = once_block_flag::being_initialized; 65 while (flag.status == once_block_flag::being_initialized) 130 virtual bool enter_once_block(once_block_flag volatile& flag) = 0; 131 virtual void commit(once_block_flag& flag) = 0; 132 virtual void rollback(once_block_flag& flag) = 0; 176 bool enter_once_block(once_block_flag volatile& flag) 180 while (flag.status != once_block_flag::initialized) [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
D | reflection.cc | 53 void RegisterFlag(CommandLineFlag& flag, const char* filename); 113 void FlagRegistry::RegisterFlag(CommandLineFlag& flag, const char* filename) { in RegisterFlag() argument 115 flag.Filename() != GetUsageConfig().normalize_filename(filename)) { in RegisterFlag() 119 flag.Name(), in RegisterFlag() 122 flag.Filename(), " and ", filename), in RegisterFlag() 130 flags_.insert(FlagMap::value_type(flag.Name(), &flag)); in RegisterFlag() 133 if (flag.IsRetired() != old_flag.IsRetired()) { in RegisterFlag() 137 "Retired flag '", flag.Name(), "' was defined normally in file '", in RegisterFlag() 138 (flag.IsRetired() ? old_flag.Filename() : flag.Filename()), "'."), in RegisterFlag() 140 } else if (flags_internal::PrivateHandleAccessor::TypeId(flag) != in RegisterFlag() [all …]
|
/third_party/abseil-cpp/absl/flags/ |
D | reflection.cc | 52 void RegisterFlag(CommandLineFlag& flag); 104 void FlagRegistry::RegisterFlag(CommandLineFlag& flag) { in RegisterFlag() argument 107 flags_.insert(FlagMap::value_type(flag.Name(), &flag)); in RegisterFlag() 110 if (flag.IsRetired() != old_flag.IsRetired()) { in RegisterFlag() 114 "Retired flag '", flag.Name(), "' was defined normally in file '", in RegisterFlag() 115 (flag.IsRetired() ? old_flag.Filename() : flag.Filename()), "'."), in RegisterFlag() 117 } else if (flags_internal::PrivateHandleAccessor::TypeId(flag) != in RegisterFlag() 120 absl::StrCat("Flag '", flag.Name(), in RegisterFlag() 123 old_flag.Filename(), "' and '", flag.Filename(), "'."), in RegisterFlag() 127 } else if (old_flag.Filename() != flag.Filename()) { in RegisterFlag() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | cbs_h265_syntax_template.c | 97 flag(general_tier_flag); in FUNC() 103 flag(general_progressive_source_flag); in FUNC() 104 flag(general_interlaced_source_flag); in FUNC() 105 flag(general_non_packed_constraint_flag); in FUNC() 106 flag(general_frame_only_constraint_flag); in FUNC() 114 flag(general_max_12bit_constraint_flag); in FUNC() 115 flag(general_max_10bit_constraint_flag); in FUNC() 116 flag(general_max_8bit_constraint_flag); in FUNC() 117 flag(general_max_422chroma_constraint_flag); in FUNC() 118 flag(general_max_420chroma_constraint_flag); in FUNC() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/ |
D | private_handle_accessor.cc | 30 FlagFastTypeId PrivateHandleAccessor::TypeId(const CommandLineFlag& flag) { in TypeId() argument 31 return flag.TypeId(); in TypeId() 35 CommandLineFlag& flag) { in SaveState() argument 36 return flag.SaveState(); in SaveState() 40 const CommandLineFlag& flag) { in IsSpecifiedOnCommandLine() argument 41 return flag.IsSpecifiedOnCommandLine(); in IsSpecifiedOnCommandLine() 44 bool PrivateHandleAccessor::ValidateInputValue(const CommandLineFlag& flag, in ValidateInputValue() argument 46 return flag.ValidateInputValue(value); in ValidateInputValue() 50 const CommandLineFlag& flag) { in CheckDefaultValueParsingRoundtrip() argument 51 flag.CheckDefaultValueParsingRoundtrip(); in CheckDefaultValueParsingRoundtrip() [all …]
|
/third_party/abseil-cpp/absl/flags/internal/ |
D | private_handle_accessor.cc | 30 FlagFastTypeId PrivateHandleAccessor::TypeId(const CommandLineFlag& flag) { in TypeId() argument 31 return flag.TypeId(); in TypeId() 35 CommandLineFlag& flag) { in SaveState() argument 36 return flag.SaveState(); in SaveState() 40 const CommandLineFlag& flag) { in IsSpecifiedOnCommandLine() argument 41 return flag.IsSpecifiedOnCommandLine(); in IsSpecifiedOnCommandLine() 44 bool PrivateHandleAccessor::ValidateInputValue(const CommandLineFlag& flag, in ValidateInputValue() argument 46 return flag.ValidateInputValue(value); in ValidateInputValue() 50 const CommandLineFlag& flag) { in CheckDefaultValueParsingRoundtrip() argument 51 flag.CheckDefaultValueParsingRoundtrip(); in CheckDefaultValueParsingRoundtrip() [all …]
|
/third_party/ltp/testcases/realtime/func/gtod_latency/ |
D | gtod_latency.c | 104 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 …]
|
/third_party/musl/libc-test/src/functionalext/supplement/manual/network/ |
D | gethostbyname2.c | 34 bool flag = false; in gethostbyname2_0100() local 38 flag = true; in gethostbyname2_0100() 40 EXPECT_TRUE("gethostbyname2_0100", flag); in gethostbyname2_0100() 51 bool flag = false; in gethostbyname2_0200() local 55 flag = true; in gethostbyname2_0200() 57 EXPECT_TRUE("gethostbyname2_0200", flag); in gethostbyname2_0200() 68 bool flag = false; in gethostbyname2_0300() local 72 flag = true; in gethostbyname2_0300() 74 EXPECT_TRUE("gethostbyname2_0300", flag); in gethostbyname2_0300() 84 bool flag = false; in gethostbyname2_0400() local [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | fail_stream_test.cc | 29 bool flag = true; in TEST_F() local 30 FailStream fs(&flag, nullptr); in TEST_F() 34 flag = false; in TEST_F() 37 flag = true; in TEST_F() 43 bool flag = true; in TEST_F() local 44 FailStream fs(&flag, nullptr); in TEST_F() 45 EXPECT_TRUE(flag); in TEST_F() 48 EXPECT_FALSE(flag); in TEST_F() 53 bool flag = true; in TEST_F() local 54 FailStream fs(&flag, nullptr); in TEST_F() [all …]
|
/third_party/boost/libs/thread/test/ |
D | condition_test_common.hpp | 18 bool flag; member 22 flag(false),woken(0) in wait_for_flag() 27 bool const& flag; member 30 flag(flag_) in check_flag() 35 return flag; in operator ()() 45 while(!flag) in wait_without_predicate() 55 cond_var.wait(lock,check_flag(flag)); in wait_with_predicate() 56 if(flag) in wait_with_predicate() 67 while(!flag) in timed_wait_without_predicate() 81 if(cond_var.timed_wait(lock,timeout,check_flag(flag)) && flag) in timed_wait_with_predicate() [all …]
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | inode.h | 57 #define test_nino_flag(ni, flag) test_bit(NI_##flag, (ni)->state) argument 58 #define set_nino_flag(ni, flag) set_bit(NI_##flag, (ni)->state) argument 59 #define clear_nino_flag(ni, flag) clear_bit(NI_##flag, (ni)->state) argument 61 #define test_and_set_nino_flag(ni, flag) \ argument 62 test_and_set_bit(NI_##flag, (ni)->state) 63 #define test_and_clear_nino_flag(ni, flag) \ argument 64 test_and_clear_bit(NI_##flag, (ni)->state) 77 #define test_nino_al_flag(ni, flag) test_nino_flag(ni, AttrList##flag) argument 78 #define set_nino_al_flag(ni, flag) set_nino_flag(ni, AttrList##flag) argument 79 #define clear_nino_al_flag(ni, flag) clear_nino_flag(ni, AttrList##flag) argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Threading.h | 65 #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()
|