Home
last modified time | relevance | path

Searched refs:is_public (Results 1 – 19 of 19) sorted by relevance

/third_party/gn/src/gn/
Dtarget_public_pair.h18 TargetPublicPair(const Target* target, bool is_public) in TargetPublicPair() argument
19 : pair_(target, static_cast<unsigned>(is_public)) {} in TargetPublicPair()
26 bool is_public() const { return pair_.tag() != 0; } in is_public() function
27 void set_is_public(bool is_public) { pair_.set_tag(is_public ? 1 : 0); } in set_is_public() argument
76 void Append(const Target* target, bool is_public) { in Append() argument
77 auto ret = EmplaceBackWithIndex(target, is_public); in Append()
78 if (!ret.first && is_public) { in Append()
100 void AppendInherited(const C& other, bool is_public) { in AppendInherited() argument
102 Append(pair.target(), is_public && pair.is_public()); in AppendInherited()
Dtarget_public_pair_unittest.cc15 EXPECT_TRUE(a_pair.is_public()); in TEST()
19 EXPECT_FALSE(b_pair.is_public()); in TEST()
23 EXPECT_TRUE(a_pair.is_public()); in TEST()
27 EXPECT_FALSE(a_pair.is_public()); in TEST()
31 EXPECT_TRUE(a_pair.is_public()); in TEST()
35 EXPECT_TRUE(b_pair.is_public()); in TEST()
52 EXPECT_TRUE(list[0].is_public()); in TEST()
53 EXPECT_FALSE(list[1].is_public()); in TEST()
Dinherited_libraries.cc22 void InheritedLibraries::Append(const Target* target, bool is_public) { in Append() argument
26 public_flags_.push_back(is_public); in Append()
27 } else if (is_public) { in Append()
34 bool is_public) { in AppendInherited() argument
38 Append(other.targets_[i], is_public && other.public_flags_[i]); in AppendInherited()
44 bool is_public) { in AppendPublicSharedLibraries() argument
49 Append(target, is_public); in AppendPublicSharedLibraries()
Dheader_checker.h36 ChainLink() : target(nullptr), is_public(false) {} in ChainLink()
37 ChainLink(const Target* t, bool p) : target(t), is_public(p) {} in ChainLink()
42 bool is_public; member
46 return target == other.target && is_public == other.is_public;
85 TargetInfo() : target(nullptr), is_public(false), is_generated(false) {} in TargetInfo()
87 : target(t), is_public(is_pub), is_generated(is_gen) {} in TargetInfo()
92 bool is_public; member
Dresolved_target_data.cc252 bool is_public, in ComputeInheritedLibsFor() argument
262 inherited_libraries->Append(dep, is_public); in ComputeInheritedLibsFor()
288 pair.is_public()) { in ComputeInheritedLibsFor()
289 inherited_libraries->Append(pair.target(), is_public); in ComputeInheritedLibsFor()
302 is_public && pair.is_public()); in ComputeInheritedLibsFor()
316 is_public && pair.is_public()); in ComputeInheritedLibsFor()
346 bool is_public, in ComputeRustLibsFor() argument
369 rust_libs->inheritable.Append(dep, is_public); in ComputeRustLibsFor()
375 is_public); in ComputeRustLibsFor()
381 rust_libs->inheritable.Append(dep, is_public); in ComputeRustLibsFor()
Dinherited_libraries.h38 void Append(const Target* target, bool is_public);
46 void AppendInherited(const InheritedLibraries& other, bool is_public);
53 bool is_public);
Dheader_checker.cc27 PublicGeneratedPair() : is_public(false), is_generated(false) {} in PublicGeneratedPair()
28 bool is_public; member
90 if (i == static_cast<int>(chain.size()) - 1 || chain[i - 1].is_public) in GetDependencyChainPublicError()
214 files_to_public[source].is_public = default_public; in AddTargetToFileMap()
222 files_to_public[source].is_public = true; in AddTargetToFileMap()
231 pair->is_public = true; in AddTargetToFileMap()
238 TargetInfo(target, cur.second.is_public, cur.second.is_generated)); in AddTargetToFileMap()
430 target.is_public || FriendMatches(to_target, from_target); in CheckInclude()
Dtarget.cc758 void Target::PullDependentTargetLibsFrom(const Target* dep, bool is_public) { in PullDependentTargetLibsFrom() argument
766 inherited_libraries_.Append(dep, is_public); in PullDependentTargetLibsFrom()
787 rust_transitive_inheritable_libs_.Append(dep, is_public); in PullDependentTargetLibsFrom()
792 dep->rust_transitive_inheritable_libs(), is_public); in PullDependentTargetLibsFrom()
798 rust_transitive_inheritable_libs_.Append(dep, is_public); in PullDependentTargetLibsFrom()
823 is_public); in PullDependentTargetLibsFrom()
832 transitive.Append(inherited, is_public && inherited_is_public); in PullDependentTargetLibsFrom()
844 transitive.Append(inherited, is_public && inherited_is_public); in PullDependentTargetLibsFrom()
Dtarget.h448 void PullDependentTargetLibsFrom(const Target* dep, bool is_public);
/third_party/boost/boost/contract/
Dbase_types.hpp97 #define BOOST_CONTRACT_BASE_TYPES_PUSH_BACK_IF_(is_public, types_nilseq, base) \ argument
99 is_public, \
100 BOOST_PP_IIF(is_public, \
107 #define BOOST_CONTRACT_BASE_TYPES_SKIP_NOT_PUBLIC_(is_public, types_nilseq, \ argument
112 #define BOOST_CONTRACT_BASE_TYPES_PUSH_BACK_PUBLIC_(is_public, types_nilseq, \ argument
122 #define BOOST_CONTRACT_BASE_TYPES_ACCESS_(is_public, types_nilseq, base) \ argument
131 )))(is_public, types_nilseq, base)
/third_party/libsoup/tests/
Dtld-test.c138 gboolean is_public; in do_inet_tests() local
143 is_public = soup_tld_domain_is_public_suffix (tld_tests[i].hostname); in do_inet_tests()
148 g_assert_false (is_public); in do_inet_tests()
167 gboolean is_public; in do_non_inet_tests() local
172 is_public = soup_tld_domain_is_public_suffix (non_inet_tld_tests[i].hostname); in do_non_inet_tests()
175 g_assert_false (is_public); in do_non_inet_tests()
/third_party/python/Tools/c-analyzer/c_analyzer/
Dmatch.py53 def is_public(decl): function
108 if not is_public(decl):
119 if not is_public(decl):
130 if not is_public(decl):
/third_party/libpsl/
DREADME.md64 int is_public, is_acceptable;
66 is_public = psl_is_public_suffix(psl, domain);
67 printf("%s %s a public suffix.\n", domain, is_public ? "is" : "is not");
/third_party/grpc/tools/buildgen/
Dextract_metadata_from_bazel_xml.py254 is_public = bazel_dep in bazel_label_to_dep_name
258 if is_public:
/third_party/flatbuffers/grpc/src/compiler/
Dcpp_generator.cc181 std::map<grpc::string, grpc::string> *vars, bool is_public) { in PrintHeaderClientMethodInterfaces() argument
193 if (is_public) { in PrintHeaderClientMethodInterfaces()
388 bool is_public) { in PrintHeaderClientMethod() argument
399 if (is_public) { in PrintHeaderClientMethod()
/third_party/grpc/src/compiler/
Dcpp_generator.cc197 bool is_public) { in PrintHeaderClientMethodInterfaces() argument
209 if (is_public) { in PrintHeaderClientMethodInterfaces()
396 bool is_public) { in PrintHeaderClientMethod() argument
407 if (is_public) { in PrintHeaderClientMethod()
/third_party/node/tools/gyp/pylib/gyp/generator/
Dxcode.py555 def AddHeaderToTarget(header, pbxp, xct, is_public): argument
558 settings = "{ATTRIBUTES = (%s, ); }" % ("Private", "Public")[is_public]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dxcode.py523 def AddHeaderToTarget(header, pbxp, xct, is_public): argument
526 settings = '{ATTRIBUTES = (%s, ); }' % ('Private', 'Public')[is_public]
/third_party/node/src/
Dnode_crypto.cc3109 bool is_public; in GetPublicOrPrivateKeyFromJs() local
3112 is_public = !IsRSAPrivateKey( in GetPublicOrPrivateKeyFromJs()
3116 is_public = true; in GetPublicOrPrivateKeyFromJs()
3120 is_public = false; in GetPublicOrPrivateKeyFromJs()
3126 if (is_public) { in GetPublicOrPrivateKeyFromJs()