Home
last modified time | relevance | path

Searched refs:Bool (Results 1 – 25 of 106) sorted by relevance

12345

/build/soong/cc/
Dsanitize.go317 if Bool(s.Never) {
413 s.Diag.Integer_overflow == nil && Bool(s.Integer_overflow) && !ctx.static() {
418 s.Diag.Cfi == nil && Bool(s.Cfi) {
423 s.Diag.Memtag_heap == nil && Bool(s.Memtag_heap) {
478 if Bool(s.Address) || Bool(s.Hwaddress) {
524 if Bool(s.All_undefined) {
535 …if ctx.Os() != android.Windows && (Bool(s.All_undefined) || Bool(s.Undefined) || Bool(s.Address) |…
536Bool(s.Fuzzer) || Bool(s.Safestack) || Bool(s.Cfi) || Bool(s.Integer_overflow) || len(s.Misc_undef…
537 Bool(s.Scudo) || Bool(s.Hwaddress) || Bool(s.Scs) || Bool(s.Memtag_heap)) {
542 if Bool(s.Address) || Bool(s.Thread) || Bool(s.Hwaddress) || ctx.Config().DisableScudo() {
[all …]
Dstrip.go54 forceDisable := Bool(stripper.StripProperties.Strip.None)
56 forceEnable := Bool(stripper.StripProperties.Strip.All) ||
57 Bool(stripper.StripProperties.Strip.Keep_symbols) ||
58 Bool(stripper.StripProperties.Strip.Keep_symbols_and_debug_frame)
68 if Bool(stripper.StripProperties.Strip.Keep_symbols) {
70 } else if Bool(stripper.StripProperties.Strip.Keep_symbols_and_debug_frame) {
74 } else if !Bool(stripper.StripProperties.Strip.All) {
Dgenrule.go92 return Bool(g.Ramdisk_available)
96 return Bool(g.Vendor_ramdisk_available)
111 return Bool(g.Recovery_available)
121 if Bool(g.Vendor_available) || Bool(g.Odm_available) || ctx.SocSpecific() || ctx.DeviceSpecific() {
138 if Bool(g.Product_available) || ctx.ProductSpecific() {
Dimage.go104 return Bool(c.VendorProperties.Vendor_available) || Bool(c.VendorProperties.Odm_available)
110 return Bool(c.VendorProperties.Odm_available)
115 return Bool(c.VendorProperties.Product_available)
192 if !c.IsVndk() && !Bool(c.VendorProperties.Product_available) {
276 } else if Bool(m.VendorProperties.Vendor_available) {
279 } else if Bool(m.VendorProperties.Product_available) {
289 if !Bool(m.VendorProperties.Vendor_available) {
293 if Bool(m.VendorProperties.Product_available) {
317 return Bool(m.VendorProperties.Vendor_available)
321 return Bool(m.VendorProperties.Odm_available)
[all …]
Dlto.go79 return Bool(lto.Properties.Use_clang_lld)
107 if Bool(lto.Properties.Whole_program_vtables) {
145 return lto != nil && Bool(lto.Properties.Lto.Full)
149 return lto != nil && Bool(lto.Properties.Lto.Thin)
153 return lto != nil && Bool(lto.Properties.Lto.Never)
Dinstaller.go129 return Bool(installer.Properties.Install_in_root)
133 return Bool(installer.Properties.Install_in_xbin)
/build/soong/ui/build/
Dconfig_test.go1014 ForceUseGoma: proto.Bool(false),
1015 UseGoma: proto.Bool(false),
1016 UseRbe: proto.Bool(false),
1017 BazelAsNinja: proto.Bool(false),
1018 BazelMixedBuild: proto.Bool(false),
1025 ForceUseGoma: proto.Bool(true),
1026 UseGoma: proto.Bool(false),
1027 UseRbe: proto.Bool(false),
1028 BazelAsNinja: proto.Bool(false),
1029 BazelMixedBuild: proto.Bool(false),
[all …]
/build/soong/rust/
Dimage.go29 return Bool(mod.VendorProperties.Vendor_available)
33 return Bool(mod.VendorProperties.Odm_available)
37 return Bool(mod.VendorProperties.Product_available)
41 return Bool(mod.Properties.Ramdisk_available)
45 return Bool(mod.Properties.Vendor_ramdisk_available)
53 return Bool(mod.Properties.Recovery_available)
135 return Bool(c.VendorProperties.Odm_available)
181 return Bool(mod.VendorProperties.Vendor_available) || Bool(mod.VendorProperties.Odm_available)
186 return Bool(mod.VendorProperties.Product_available)
232 } else if Bool(mod.VendorProperties.Double_loadable) {
[all …]
Dsanitize.go113 if Bool(s.Never) {
172 s.Diag.Memtag_heap == nil && Bool(s.Memtag_heap) {
195 if ctx.Os() == android.Android && Bool(s.Fuzzer) {
199 if ctx.Os() == android.Android && Bool(s.Address) {
214 if Bool(s.Hwaddress) {
223 if ctx.Os() == android.Android && (Bool(s.Hwaddress) || Bool(s.Address) || Bool(s.Memtag_heap)) {
236 if Bool(sanitize.Properties.Sanitize.Fuzzer) {
243 } else if Bool(sanitize.Properties.Sanitize.Hwaddress) {
245 } else if Bool(sanitize.Properties.Sanitize.Address) {
261 if Bool(mod.sanitize.Properties.Sanitize.Memtag_heap) && mod.Binary() {
[all …]
Dbinary.go83 if Bool(binary.Properties.Static_executable) {
95 static := Bool(binary.Properties.Static_executable)
128 …return Bool(binary.baseCompiler.Properties.Prefer_rlib) || Bool(binary.Properties.Static_executabl…
183 return Bool(binary.Properties.Static_executable)
Dsnapshot_utils.go36 return Bool(mod.Properties.Exclude_from_vendor_snapshot)
40 return Bool(mod.Properties.Exclude_from_recovery_snapshot)
/build/soong/android/
Dconfig.go45 var Bool = proptools.Bool var
215 if Bool(configurable.GcovCoverage) && Bool(configurable.ClangCoverage) {
220 Bool(configurable.GcovCoverage) ||
221 Bool(configurable.ClangCoverage))
225 if Bool(configurable.Platform_sdk_final) {
827 if Bool(c.productVariables.Platform_sdk_final) {
898 return Bool(c.productVariables.Allow_missing_dependencies)
903 return Bool(c.productVariables.Unbundled_build)
915 return Bool(c.productVariables.Unbundled_build_image)
920 return Bool(c.productVariables.Always_use_prebuilt_sdks)
[all …]
/build/soong/zip/cmd/
Dmain.go155 directories := flags.Bool("d", false, "include directories in zip")
157 emulateJar := flags.Bool("jar", false, "modify the resultant .zip to emulate the output of 'jar'")
158 …writeIfChanged := flags.Bool("write_if_changed", false, "only update resultant .zip if it has chan…
159 …ignoreMissingFiles := flags.Bool("ignore_missing_files", false, "continue if a requested file does…
160 symlinks := flags.Bool("symlinks", true, "store symbolic links in zip instead of following them")
161 …srcJar := flags.Bool("srcjar", false, "move .java files to locations that match their package stat…
/build/blueprint/bpfmt/
Dbpfmt.go23 list = flag.Bool("l", false, "list files whose formatting differs from bpfmt's")
24 overwriteSourceFile = flag.Bool("w", false, "write result to (source) file")
25 writeToStout = flag.Bool("o", false, "write result to stdout")
26 doDiff = flag.Bool("d", false, "display diffs instead of rewriting files")
27 sortLists = flag.Bool("s", false, "sort arrays")
/build/soong/android/soongconfig/
Dconfig.go26 Bool(name string) bool methodSpec
51 func (c soongConfig) Bool(name string) bool { func
/build/blueprint/proptools/
Dclone.go66 case reflect.Bool, reflect.String, reflect.Int, reflect.Uint:
137 case reflect.Bool, reflect.Int64, reflect.String:
173 case reflect.Bool, reflect.String, reflect.Slice, reflect.Int, reflect.Uint, reflect.Map:
195 case reflect.Bool, reflect.Int64, reflect.String:
235 case reflect.Bool, reflect.String, reflect.Slice, reflect.Map, reflect.Int, reflect.Uint:
267 case reflect.Bool, reflect.Int64, reflect.String:
Dextend.go370 case reflect.Bool, reflect.String, reflect.Slice, reflect.Map:
381 case reflect.Bool, reflect.Int64, reflect.String, reflect.Struct:
442 case reflect.Bool:
444 dstFieldValue.Set(reflect.ValueOf(srcFieldValue.Bool() || dstFieldValue.Bool()))
505 case reflect.Bool:
508 dstFieldValue.Set(reflect.ValueOf(BoolPtr(srcFieldValue.Elem().Bool())))
512 dstFieldValue.Set(reflect.ValueOf(BoolPtr(srcFieldValue.Elem().Bool())))
/build/soong/java/
Ddex.go268 if Bool(opt.Optimize) || Bool(opt.Obfuscate) {
275 if !Bool(opt.Shrink) {
279 if !Bool(opt.Optimize) {
284 if !Bool(opt.Obfuscate) {
310 if proptools.Bool(d.dexProperties.Uncompress_dex) {
380 if proptools.Bool(d.dexProperties.Uncompress_dex) {
Dapp_import.go188 if ctx.InstallInTestcases() && (Bool(a.properties.Presigned) || a.preprocessed) {
252 if Bool(a.properties.Presigned) {
255 if Bool(a.properties.Default_dev_cert) {
285 } else if Bool(a.properties.Privileged) {
296 a.dexpreopter.isPresignedPrebuilt = Bool(a.properties.Presigned)
329 } else if !Bool(a.properties.Presigned) {
410 return Bool(a.properties.Privileged)
513 a.preprocessed = Bool(a.testImportProperties.Preprocessed)
Dandroidmk.go25 hostDexNeeded := Bool(library.deviceProperties.Hostdex) && !library.Host()
150 …testSuiteComponent(entries, j.testProperties.Test_suites, Bool(j.testProperties.Per_testcase_direc…
160 if Bool(j.testProperties.Test_options.Unit_test) {
178 …testSuiteComponent(entries, j.testHelperLibraryProperties.Test_suites, Bool(j.testHelperLibraryPro…
203 entries.SetBool("LOCAL_UNINSTALLABLE_MODULE", !Bool(prebuilt.properties.Installable))
377 …entries.SetBoolIfTrue("LOCAL_EXPORT_PACKAGE_RESOURCES", Bool(app.appProperties.Export_package_reso…
440 …testSuiteComponent(entries, a.testProperties.Test_suites, Bool(a.testProperties.Per_testcase_direc…
456 …testSuiteComponent(entries, a.appTestHelperAppProperties.Test_suites, Bool(a.appTestHelperAppPrope…
655 if Bool(a.properties.Export_package_resources) {
667 …testSuiteComponent(entries, a.testProperties.Test_suites, Bool(a.testProperties.Per_testcase_direc…
Dapp.go176 return Bool(a.properties.Installable)
230 if usesSDK && Bool(a.appProperties.Jni_uses_sdk_apis) {
233 } else if !usesSDK && Bool(a.appProperties.Jni_uses_platform_apis) {
247 !Bool(a.appProperties.Jni_uses_platform_apis)) ||
248 Bool(a.appProperties.Jni_uses_sdk_apis) {
336 …return (minSdkVersion.FinalOrFutureInt() >= 23 && Bool(a.appProperties.Use_embedded_native_libs)) …
342 if Bool(a.appProperties.Use_embedded_dex) {
361 return ctx.Config().UnbundledBuild() || Bool(a.appProperties.Use_embedded_native_libs) ||
383 usePlatformAPI := proptools.Bool(a.Module.deviceProperties.Platform_apis)
400 if !Bool(a.aaptProperties.Aapt_include_all_resources) {
[all …]
/build/soong/sh/
Dsh_binary.go204 return s.properties.Installable == nil || proptools.Bool(s.properties.Installable)
220 return proptools.Bool(s.properties.Ramdisk_available) || s.ModuleBase.InstallInRamdisk()
224 …return proptools.Bool(s.properties.Vendor_ramdisk_available) || s.ModuleBase.InstallInVendorRamdis…
232 return proptools.Bool(s.properties.Recovery_available) || s.ModuleBase.InstallInRecovery()
249 filenameFromSrc := proptools.Bool(s.properties.Filename_from_src)
373 if Bool(s.testProperties.Require_root) {
467 if Bool(s.testProperties.Test_options.Unit_test) {
470 …entries.SetBoolIfTrue("LOCAL_COMPATIBILITY_PER_TESTCASE_DIRECTORY", Bool(s.testProperties.Per_test…
576 var Bool = proptools.Bool var
/build/soong/bpf/
Dbpf.go95 return !proptools.Bool(bpf.properties.Vendor)
115 if proptools.Bool(bpf.properties.Vendor) {
150 if proptools.Bool(bpf.properties.Btf) {
169 if proptools.Bool(bpf.properties.Btf) {
/build/soong/bpfix/cmd_lib/
Dbpfix.go38 list = flag.Bool("l", false, "list files whose formatting differs from bpfmt's")
39 write = flag.Bool("w", false, "write result to (source) file instead of stdout")
40 doDiff = flag.Bool("d", false, "display diffs instead of rewriting files")
/build/blueprint/parser/
Dast.go425 type Bool struct { struct
431 func (x *Bool) Pos() scanner.Position { return x.LiteralPos } argument
432 func (x *Bool) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) } argument
434 func (x *Bool) Copy() Expression { argument
439 func (x *Bool) Eval() Expression { argument
443 func (x *Bool) String() string { argument
447 func (x *Bool) Type() Type { argument

12345