/third_party/gn/src/gn/ |
H A D | target_public_pair.h | 35 TargetPublicPair(const Target* target, bool is_public) in TargetPublicPair() argument 36 : target_(target), is_public_(is_public) {} in TargetPublicPair() 43 bool is_public() const { return is_public_; } in is_public() function in TargetPublicPair 44 void set_is_public(bool is_public) { is_public_ = is_public; } in set_is_public() argument 93 // Add (target, is_public) to the list being constructed. If the target 94 // was not already in the list, record the |is_public| flag as is, 95 // otherwise, set the recorded flag to true only if |is_public| is true, or 97 void Append(const Target* target, bool is_public) { in Append() argument 98 auto ret = EmplaceBackWithIndex(target, is_public); in Append() 121 AppendInherited(const C& other, bool is_public) AppendInherited() argument [all...] |
H A D | target_public_pair_unittest.cc | 15 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()
|
H A D | inherited_libraries.cc | 22 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() 28 // Target already present, if |is_public|, set its flag. in Append() 34 bool is_public) { in AppendInherited() 38 Append(other.targets_[i], is_public && other.public_flags_[i]); in AppendInherited() 44 bool is_public) { in AppendPublicSharedLibraries() 49 Append(target, is_public); in AppendPublicSharedLibraries() 33 AppendInherited(const InheritedLibraries& other, bool is_public) AppendInherited() argument 42 AppendPublicSharedLibraries( const InheritedLibraries& other, bool is_public) AppendPublicSharedLibraries() argument
|
H A D | header_checker.h | 36 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; in operator ==() 86 TargetInfo() : target(nullptr), is_public(false), is_generated(false) {} in TargetInfo() 88 : target(t), is_public(is_pub), is_generated(is_gen) {} in TargetInfo() 93 bool is_public; member
|
H A D | resolved_target_data.cc | 105 bool is_public, in ComputeInheritedLibsFor() 115 inherited_libraries->Append(dep, is_public); in ComputeInheritedLibsFor() 141 pair.is_public()) { in ComputeInheritedLibsFor() 142 inherited_libraries->Append(pair.target(), is_public); in ComputeInheritedLibsFor() 155 is_public && pair.is_public()); in ComputeInheritedLibsFor() 169 is_public && pair.is_public()); in ComputeInheritedLibsFor() 187 bool is_public, in ComputeRustLibsFor() 203 // is public, so we pass `is_public` in ComputeRustLibsFor() 103 ComputeInheritedLibsFor( base::span<const Target*> deps, bool is_public, TargetPublicPairListBuilder* inherited_libraries) const ComputeInheritedLibsFor() argument 186 ComputeRustLibsFor(base::span<const Target*> deps, bool is_public, RustLibsBuilder* rust_libs) const ComputeRustLibsFor() argument [all...] |
H A D | inherited_libraries.h | 25 // may have its is_public flag updated. "Public" always wins, so is_public will 38 void Append(const Target* target, bool is_public); 40 // Appends all items from the "other" list to the current one. The is_public 42 // "other". If is_public is true, the existing public flags of the appended 44 // chain). If is_public is false, all deps will be added as private since 46 void AppendInherited(const InheritedLibraries& other, bool is_public); 53 bool is_public);
|
H A D | header_checker.cc | 28 PublicGeneratedPair() : is_public(false), is_generated(false) {} in PublicGeneratedPair() 29 bool is_public; member 91 if (i == static_cast<int>(chain.size()) - 1 || chain[i - 1].is_public) in GetDependencyChainPublicError() 215 files_to_public[source].is_public = default_public; in AddTargetToFileMap() 223 files_to_public[source].is_public = true; in AddTargetToFileMap() 232 files_to_public[bridge_header].is_public = default_public; in AddTargetToFileMap() 241 pair->is_public = true; in AddTargetToFileMap() 253 pair->is_public = true; in AddTargetToFileMap() 260 TargetInfo(target, cur.second.is_public, cur.second.is_generated)); in AddTargetToFileMap() 450 target.is_public || FriendMatche in CheckInclude() [all...] |
H A D | target.cc | 753 void Target::PullDependentTargetLibsFrom(const Target* dep, bool is_public) { in PullDependentTargetLibsFrom() argument 763 inherited_libraries_.Append(dep, is_public); in PullDependentTargetLibsFrom() 780 // we pass `is_public`. in PullDependentTargetLibsFrom() 786 rust_transitive_inheritable_libs_.Append(dep, is_public); in PullDependentTargetLibsFrom() 791 dep->rust_transitive_inheritable_libs(), is_public); in PullDependentTargetLibsFrom() 797 rust_transitive_inheritable_libs_.Append(dep, is_public); in PullDependentTargetLibsFrom() 824 is_public); in PullDependentTargetLibsFrom() 833 transitive.Append(inherited, is_public && inherited_is_public); in PullDependentTargetLibsFrom() 845 transitive.Append(inherited, is_public && inherited_is_public); in PullDependentTargetLibsFrom()
|
H A D | resolved_target_data.h | 106 // Retrieves an ordered list of (target, is_public) pairs for all link-time 113 // Retrieves an ordered list of (target, is_public) paris for all link-time 258 bool is_public, 268 bool is_public,
|
H A D | innerapis_publicinfo_generator.h | 24 bool is_public;
member
|
H A D | innerapis_publicinfo_generator.cc | 112 if (params.is_public) {
in CheckIncludes() 127 static void SetExternalPublicConfigsKey(const std::string &label, bool is_public)
in SetExternalPublicConfigsKey() argument 129 if (!is_public) {
in SetExternalPublicConfigsKey() 254 SetExternalPublicConfigsKey(label, params.is_public);
in GetPublicConfigInfo()
|
H A D | ninja_rust_binary_target_writer.cc | 185 bool has_direct_access = inherited.is_public(); in Run()
|
H A D | target.h | 471 void PullDependentTargetLibsFrom(const Target* dep, bool is_public);
|
/third_party/python/Tools/c-analyzer/c_analyzer/ |
H A D | match.py | 53 def is_public(decl): function 108 if not is_public(decl): 119 if not is_public(decl): 130 if not is_public(decl): 143 # See filter_forward() about "is_public". 144 return getattr(decl, 'is_public', False) 172 _info.set_flag(item, 'is_public', item.id in public)
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | comp.rs | 150 fn is_public(&self) -> bool; in is_public() functions 416 fn is_public(&self) -> bool { in is_public() functions 417 self.data.is_public() in is_public() 476 fn is_public(&self) -> bool { in is_public() functions 477 self.0.is_public() in is_public() 909 fn is_public(&self) -> bool { in is_public() functions 979 pub fn is_public(&self) -> bool { in is_public() functions 1350 let is_public = cur.public_accessible(); in from_ty() 1368 is_public, in from_ty()
|
/third_party/libabigail/src/ |
H A D | abg-elf-reader.cc | 700 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()
|
H A D | abg-symtab-reader.cc | 51 if (public_symbols_ && *public_symbols_ != symbol.is_public()) in matches() 416 if (elf_symbol->is_public()) in load_()
|
H A D | abg-reporter-priv.cc | 1123 if (symbol1->is_public() != symbol2->is_public()) in maybe_report_diff_for_symbol() 1126 if (symbol2->is_public()) in maybe_report_diff_for_symbol()
|
H A D | abg-dwarf-reader.cc | 6326 bool is_public = false; in die_is_public_decl() 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()
|
/third_party/mbedtls/tests/scripts/ |
H A D | generate_psa_tests.py | 105 if not kt.is_public(): 326 if category.is_asymmetric() and kt.is_public(): 610 usage_flags += alg.usage_flags(public=kt.is_public()) 812 if kt.is_public() and '_SIGN_' in usage:
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | crypto_knowledge.py | 126 def is_public(self) -> bool: member in KeyType 238 self.is_public():
|
/third_party/node/src/crypto/ |
H A D | crypto_keys.cc | 784 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/tools/gyp/pylib/gyp/generator/ |
H A D | xcode.py | 554 def AddHeaderToTarget(header, pbxp, xct, is_public): 557 settings = "{ATTRIBUTES = (%s, ); }" % ("Private", "Public")[is_public]
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | xcode.py | 554 def AddHeaderToTarget(header, pbxp, xct, is_public): 557 settings = "{ATTRIBUTES = (%s, ); }" % ("Private", "Public")[is_public]
|
/third_party/rust/crates/bindgen/bindgen/codegen/ |
H A D | mod.rs | 1434 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()
|