Home
last modified time | relevance | path

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

12

/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.cc761 void Target::PullDependentTargetLibsFrom(const Target* dep, bool is_public) { in PullDependentTargetLibsFrom() argument
771 inherited_libraries_.Append(dep, is_public); in PullDependentTargetLibsFrom()
794 rust_transitive_inheritable_libs_.Append(dep, is_public); in PullDependentTargetLibsFrom()
799 dep->rust_transitive_inheritable_libs(), is_public); in PullDependentTargetLibsFrom()
805 rust_transitive_inheritable_libs_.Append(dep, is_public); in PullDependentTargetLibsFrom()
832 is_public); in PullDependentTargetLibsFrom()
841 transitive.Append(inherited, is_public && inherited_is_public); in PullDependentTargetLibsFrom()
853 transitive.Append(inherited, is_public && inherited_is_public); in PullDependentTargetLibsFrom()
Dtarget.h456 void PullDependentTargetLibsFrom(const Target* dep, bool is_public);
/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/rust/crates/bindgen/bindgen/ir/
Dcomp.rs150 fn is_public(&self) -> bool; in is_public() method
416 fn is_public(&self) -> bool { in is_public() method
417 self.data.is_public() in is_public()
476 fn is_public(&self) -> bool { in is_public() method
477 self.0.is_public() in is_public()
909 fn is_public(&self) -> bool { in is_public() method
979 pub fn is_public(&self) -> bool { in is_public() method
1350 let is_public = cur.public_accessible(); in from_ty() localVariable
1368 is_public, in from_ty()
/third_party/libabigail/src/
Dabg-elf-reader.cc700 if (!symbol->is_function() || !symbol->is_public()) in function_symbol_is_exported()
732 if (!symbol->is_variable() || !symbol->is_public()) in variable_symbol_is_exported()
760 if (s->is_function() && s->is_public()) in function_symbol_is_exported()
790 if (s->is_variable() && s->is_public()) in variable_symbol_is_exported()
Dabg-symtab-reader.cc51 if (public_symbols_ && *public_symbols_ != symbol.is_public()) in matches()
416 if (elf_symbol->is_public()) in load_()
Dabg-reporter-priv.cc1123 if (symbol1->is_public() != symbol2->is_public()) in maybe_report_diff_for_symbol()
1126 if (symbol2->is_public()) in maybe_report_diff_for_symbol()
Dabg-dwarf-reader.cc6326 bool is_public = false; in die_is_public_decl() local
6334 die_flag_attribute(die, DW_AT_external, is_public); in die_is_public_decl()
6338 is_public = !name.empty(); in die_is_public_decl()
6341 return is_public; in die_is_public_decl()
Dabg-reader.cc3421 if (fn_decl->get_symbol() && fn_decl->get_symbol()->is_public()) in build_function_decl()
3661 if (decl->get_symbol() && decl->get_symbol()->is_public()) in build_var_decl()
Dabg-writer.cc1695 if (!s->is_public()) in write_elf_symbol_aliases()
Dabg-ir.cc1901 && l.is_public() == r.is_public() in textually_equals()
2059 elf_symbol::is_public() const in is_public() function in abigail::ir::elf_symbol
/third_party/mbedtls/tests/scripts/
Dgenerate_psa_tests.py207 if not kt.is_public():
404 if category.is_asymmetric() and kt.is_public():
686 usage_flags += alg.usage_flags(public=kt.is_public())
888 if kt.is_public() and '_SIGN_' in usage:
/third_party/mbedtls/scripts/mbedtls_dev/
Dcrypto_knowledge.py137 def is_public(self) -> bool: member in KeyType
243 self.is_public():
/third_party/node/src/crypto/
Dcrypto_keys.cc784 bool is_public; in GetPublicOrPrivateKeyFromJs() local
787 is_public = !IsRSAPrivateKey( in GetPublicOrPrivateKeyFromJs()
791 is_public = true; in GetPublicOrPrivateKeyFromJs()
795 is_public = false; in GetPublicOrPrivateKeyFromJs()
801 if (is_public) { in GetPublicOrPrivateKeyFromJs()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dxcode.py554 def AddHeaderToTarget(header, pbxp, xct, is_public): argument
557 settings = "{ATTRIBUTES = (%s, ); }" % ("Private", "Public")[is_public]
/third_party/node/tools/gyp/pylib/gyp/generator/
Dxcode.py554 def AddHeaderToTarget(header, pbxp, xct, is_public): argument
557 settings = "{ATTRIBUTES = (%s, ); }" % ("Private", "Public")[is_public]
/third_party/rust/crates/bindgen/bindgen/codegen/
Dmod.rs1434 let is_private = (!self.is_public() && in codegen()
1647 access_spec &= bf.is_public(); in codegen()
1768 self.is_public() && !fields_should_be_private, in codegen()
1895 let access_spec = access_specifier(ctx, base.is_public()); in codegen()
/third_party/libabigail/include/
Dabg-ir.h1016 is_public() const;

12