Home
last modified time | relevance | path

Searched refs:r (Results 1 – 25 of 154) sorted by relevance

1234567

/build/make/tools/warn/
Dcpp_warn_patterns.py64 [r".*: warning: implicit declaration of function .+",
65 r".*: warning: implicitly declaring library function"]),
67 [r".*: warning: conflicting types for '.+'"]),
69 [r".*: warning: comparison is always .+ due to limited range of data type",
70 r".*: warning: comparison of unsigned .*expression .+ is always true",
71 r".*: warning: comparison of unsigned .*expression .+ is always false"]),
73 [r".*: warning: .+Using such transient memory for the control value is .*dangerous."]),
75 [r".*: warning: Address of stack memory .+ returned to caller",
76 r".*: warning: Address of stack memory .+ will be a dangling reference"]),
78 [r".*: warning: all paths through this function will call itself"]),
[all …]
Dother_warn_patterns.py49 [r'.*\.kt:.*: warning: ' + pattern])
58 [r'.*\.rs:.*: warning: ' + pattern])
66 [r".*: warning: No comment for public symbol .+"]),
68 [r".*: warning: string '.+' has no default translation in .*"]),
70 … [r".*: warning: \*\*\*\* string '.+' has no default or required localization for '.+' in .+"]),
72 [r".*: warning: string '.+' in .* marked untranslatable but exists in locale '??_??'"]),
74 [r".*: warning: empty '.+' span found in text '.+"]),
77 [r".*: warning: tag \".+\" \(.+\) duplicated in .+"]),
79 [r".*: warning: redefinition of typedef '.+' is a C11 feature"]),
81 [r".*: warning: use of GNU old-style field designator extension"]),
[all …]
Dmake_warn_patterns.py27 'patterns': [r".*: warning: overriding commands for target .+",
28 r".*: warning: ignoring old commands for target .+"]},
31 'patterns': [r".*: warning: LOCAL_CLANG is set to false"]},
34 'patterns': [r".*: warning: .+ \(.*app:sdk.*\) should not link to .+ \(native:platform\)"]},
37 'patterns': [r".*: warning: .+ \(.+\) should not link to .+ \(partition:.+\)"]},
40 'patterns': [r".*: warning: .+ \(.+\) should not link to .+ \(.+\)"]},
43 'patterns': [r".*: warning: Duplicate header copy: .+"]},
46 'patterns': [r".*: warning: FindEmulator: .* No such file or directory"]},
49 'patterns': [r".*: warning: .*_tests: Unknown installed file for module"]},
52 'patterns': [r".*: warning: .*: unusual tags debug eng"]},
[all …]
Dtidy_warn_patterns.py31 'patterns': [r'.*: .+\[' + pattern + r'\]$']
40 return tidy_warn_pattern(description, description + r'-.+')
53 return analyzer_high(check, [r'.*: .+\[' + check + r'\]$'])
57 return analyzer_high(check, [r'.*: .+\[' + check + r'.+\]$'])
70 return analyzer_warn(check, [r'.*: .+\[' + check + r'\]$'])
74 return analyzer_warn(check, [r'.*: .+\[' + check + r'.+\]$'])
173 [r".*: warning: .+ pointer is null .*\[clang-analyzer-core"]),
175 [r".*: warning: .+ uninitialized (value|data) .*\[clang-analyzer-core"]),
177 [r".*: warning: Excessive padding in '.*'"]),
181 [r".*: warning: .* size of .* may overflow .*MallocOverflow"]),
[all …]
Djava_warn_patterns.py47 [r'.*\.java:.*: warning: .+ \[' + name + r'\]$',
48 r'.*\.java:.*: warning: \[' + name + r'\] .+'])
68 [r'.*: warning: \[deprecation\] .+',
69 r'.*: warning: \[removal\] .+ has been deprecated and marked for removal$']),
71 [r'.*\.java:.*: warning: @Implementation .+ has .+ not .+ as in the SDK ']),
74 [r'.*\.class\): warning: Cannot find annotation method .+ in']),
76 [r'.*\.java:.*: warning: No such (class|method) .* for SDK']),
79 [r".*: warning: unmappable character for encoding ascii"]),
81 …[r".*: warning: non-varargs call of varargs method with inexact argument type for last parameter"]…
83 [r".*: warning: \[unchecked\] unchecked method invocation: .+ in class .+"]),
[all …]
/build/soong/java/
Drro.go93 func (r *RuntimeResourceOverlay) DepsMutator(ctx android.BottomUpMutatorContext) {
94 sdkDep := decodeSdkDep(ctx, android.SdkContext(r))
96 r.aapt.deps(ctx, sdkDep)
99 cert := android.SrcIsModule(String(r.properties.Certificate))
104 ctx.AddVariationDependencies(nil, staticLibTag, r.properties.Static_libs...)
105 ctx.AddVariationDependencies(nil, libTag, r.properties.Resource_libs...)
108 func (r *RuntimeResourceOverlay) GenerateAndroidBuildActions(ctx android.ModuleContext) {
110 r.aapt.hasNoCode = true
115 if overridden || r.overridableProperties.Package_name != nil {
118 manifestPackageName = *r.overridableProperties.Package_name
[all …]
Drobolectric.go88 func (r *robolectricTest) TestSuites() []string {
89 return r.testProperties.Test_suites
94 func (r *robolectricTest) DepsMutator(ctx android.BottomUpMutatorContext) {
95 r.Library.DepsMutator(ctx)
97 if r.robolectricProperties.Instrumentation_for != nil {
98 …ctx.AddVariationDependencies(nil, instrumentationForTag, String(r.robolectricProperties.Instrument…
103 if v := String(r.robolectricProperties.Robolectric_prebuilt_version); v != "" {
111 ctx.AddVariationDependencies(nil, roboCoverageLibsTag, r.robolectricProperties.Coverage_libs...)
117 func (r *robolectricTest) GenerateAndroidBuildActions(ctx android.ModuleContext) {
118 r.testConfig = tradefed.AutoGenRobolectricTestConfig(ctx, r.testProperties.Test_config,
[all …]
/build/blueprint/
Dninja_strings.go118 r := rune(str[i])
119 state, err = state(parseState, i, r)
133 func parseFirstRuneState(state *parseState, i int, r rune) (stateFunc, error) {
134 if r == ' ' {
137 return parseStringState(state, i, r)
140 func parseStringState(state *parseState, i int, r rune) (stateFunc, error) {
142 case r == '$':
146 case r == eof:
155 func parseDollarStartState(state *parseState, i int, r rune) (stateFunc, error) {
157 case r >= 'a' && r <= 'z', r >= 'A' && r <= 'Z',
[all …]
Dpackage_ctx.go723 r := &staticRule{
730 err = p.scope.AddRule(r)
735 return r
738 func (r *staticRule) packageContext() *packageContext {
739 return r.pctx
742 func (r *staticRule) name() string {
743 return r.name_
746 func (r *staticRule) fullName(pkgNames map[*packageContext]string) string {
747 if r.fullName_ != "" {
748 return r.fullName_
[all …]
Dninja_defs.go144 r := &ruleDef{
155 if r.Pool != nil && !scope.IsPoolVisible(r.Pool) {
156 return nil, fmt.Errorf("Pool %s is not visible in this scope", r.Pool)
163 r.Variables["command"] = value
170 r.Variables["depfile"] = value
174 r.Variables["deps"] = simpleNinjaString(params.Deps.String())
182 r.Variables["description"] = value
186 r.Variables["generator"] = simpleNinjaString("true")
190 r.Variables["restat"] = simpleNinjaString("true")
198 r.Variables["rspfile"] = value
[all …]
/build/blueprint/proptools/
Descape.go59 func shellUnsafeChar(r rune) bool {
61 case 'A' <= r && r <= 'Z',
62 'a' <= r && r <= 'z',
63 '0' <= r && r <= '9',
64 r == '_',
65 r == '+',
66 r == '-',
67 r == '=',
68 r == '.',
69 r == ',',
[all …]
/build/soong/android/
Dneverallow.go231 for _, r := range neverallowRules(ctx.Config()) {
232 n := r.(*rule)
396 func (r *rule) In(path ...string) Rule {
397 r.paths = append(r.paths, cleanPaths(path)...)
398 return r
401 func (r *rule) NotIn(path ...string) Rule {
402 r.unlessPaths = append(r.unlessPaths, cleanPaths(path)...)
403 return r
406 func (r *rule) InDirectDeps(deps ...string) Rule {
408 r.directDeps[d] = true
[all …]
Drule_builder.go98 func (r *RuleBuilder) MissingDeps(missingDeps []string) {
99 r.missingDeps = append(r.missingDeps, missingDeps...)
105 func (r *RuleBuilder) Restat() *RuleBuilder {
106 if r.sbox {
109 r.restat = true
110 return r
115 func (r *RuleBuilder) HighMem() *RuleBuilder {
116 r.highmem = true
117 return r
121 func (r *RuleBuilder) Remoteable(supports RemoteRuleSupports) *RuleBuilder {
[all …]
Dnamespace.go91 r := &NameResolver{
95 r.rootNamespace = r.newNamespace(".")
96 r.rootNamespace.visibleNamespaces = []*Namespace{r.rootNamespace}
97 r.addNamespace(r.rootNamespace)
99 return r
102 func (r *NameResolver) newNamespace(path string) *Namespace {
105 namespace.exportToKati = r.namespaceExportFilter(namespace)
110 func (r *NameResolver) addNewNamespaceForModule(module *NamespaceModule, path string) error {
117 namespace := r.newNamespace(dir)
119 module.resolver = r
[all …]
Dvisibility.go114 for _, r := range c {
115 if r.matches(m) {
128 for _, r := range c {
129 s = append(s, r.String())
139 func (r packageRule) matches(m qualifiedModuleName) bool {
140 return m.pkg == r.pkg
143 func (r packageRule) String() string {
144 return fmt.Sprintf("//%s", r.pkg) // :__pkg__ is the default, so skip it.
153 func (r subpackagesRule) matches(m qualifiedModuleName) bool {
154 return isAncestor(r.pkgPrefix, m.pkg)
[all …]
/build/blueprint/bootstrap/bpdoc/
Dreader.go49 func (r *Reader) Package(path string) (*Package, error) {
50 goPkg, err := r.goPkg(path)
62 func (r *Reader) ModuleType(name string, factory reflect.Value) (*ModuleType, error) {
72 text, err := r.getModuleTypeDoc(pkgPath, factoryName)
86 func (r *Reader) PropertyStruct(pkgPath, name string, defaults reflect.Value) (*PropertyStruct, err…
87 ps := r.getPropertyStruct(pkgPath, name)
90 pkg, err := r.goPkg(pkgPath)
101 ps = r.putPropertyStruct(pkgPath, name, ps)
116 func (r *Reader) getModuleTypeDoc(pkgPath, factoryFuncName string) (string, error) {
117 goPkg, err := r.goPkg(pkgPath)
[all …]
/build/soong/remoteexec/
Dremoteexec.go94 func (r *REParams) Template() string {
95 return "${android.RBEWrapper}" + r.wrapperArgs()
100 func (r *REParams) NoVarTemplate(wrapper string) string {
101 return wrapper + r.wrapperArgs()
104 func (r *REParams) wrapperArgs() string {
107 labels := r.Labels
118 for k, v := range r.Platform {
124 if _, ok := r.Platform[ContainerImageKey]; !ok {
132 strategy := r.ExecStrategy
138 if len(r.Inputs) > 0 {
[all …]
/build/soong/response/
Dresponse.go27 func ReadRspFile(r io.Reader) ([]string, error) {
31 buf, err := ioutil.ReadAll(r)
73 func rspUnsafeChar(r rune) bool {
75 case 'A' <= r && r <= 'Z',
76 'a' <= r && r <= 'z',
77 '0' <= r && r <= '9',
78 r == '_',
79 r == '+',
80 r == '-',
81 r == '.',
[all …]
/build/soong/third_party/zip/
Dreader.go25 r io.ReaderAt member
59 r := new(ReadCloser)
60 if err := r.init(f, fi.Size()); err != nil {
64 r.f = f
65 return r, nil
70 func NewReader(r io.ReaderAt, size int64) (*Reader, error) {
72 if err := zr.init(r, size); err != nil {
78 func (z *Reader) init(r io.ReaderAt, size int64) error {
79 end, err := readDirectoryEnd(r, size)
86 z.r = r
[all …]
Dregister.go27 type Decompressor func(r io.Reader) io.ReadCloser
69 func newFlateReader(r io.Reader) io.ReadCloser {
72 fr.(flate.Resetter).Reset(r, nil)
74 fr = flate.NewReader(r)
84 func (r *pooledFlateReader) Read(p []byte) (n int, err error) {
85 r.mu.Lock()
86 defer r.mu.Unlock()
87 if r.fr == nil {
90 return r.fr.Read(p)
93 func (r *pooledFlateReader) Close() error {
[all …]
/build/make/core/
Dchecktree5 excludes = [r'.*?/\.obj.*?',
6 r'.*?~',
7 r'.*?\/.DS_Store',
8 r'.*?\/.gdb_history',
9 r'.*?\/buildspec.mk',
10 r'.*?/\..*?\.swp',
11 r'.*?/out/.*?',
12 r'.*?/install/.*?']
78 have = run("p4 have ...", r'[^#]+#[0-9]+ - (.*)', r'.*')
81 files = run("find . -not -type d", r'.(.*)', r'.*')
[all …]
/build/soong/symbol_inject/
Dsymbol_inject.go31 func OpenFile(r io.ReaderAt) (*File, error) {
32 file, err := elfSymbolsFromFile(r)
35 file, err = machoSymbolsFromFile(r)
38 file, err = peSymbolsFromFile(r)
49 file.r = r
69 _, err := file.r.ReadAt(existing, int64(offset))
82 return copyAndInject(file.r, w, offset, buf)
98 return copyAndInject(file.r, w, offset, buf)
101 func copyAndInject(r io.ReaderAt, w io.Writer, offset uint64, buf []byte) (err error) {
103 _, err = io.Copy(w, io.NewSectionReader(r, 0, int64(offset)))
[all …]
/build/soong/zip/
Drate_limit.go50 func (r *RateLimit) Request(size int64) {
57 r.requests <- request
64 func (r *RateLimit) Finish(size int64) {
65 r.completions <- size
69 func (r *RateLimit) Stop() {
70 close(r.stop)
74 func (r *RateLimit) monitorChannels(capacity int64) {
82 requests = r.requests
88 case amountCompleted := <-r.completions:
94 case <-r.stop:
/build/soong/rust/
Dclippy_test.go65 r := result.ModuleForTests("libfoo", "android_arm64_armv8-a_dylib").MaybeRule("clippy")
66 android.AssertStringEquals(t, "libfoo flags", tc.fooFlags, r.Args["clippyFlags"])
68 r = result.ModuleForTests("libbar", "android_arm64_armv8-a_dylib").MaybeRule("clippy")
69 …android.AssertStringEquals(t, "libbar flags", "${config.ClippyDefaultLints}", r.Args["clippyFlags"…
71 r = result.ModuleForTests("libfoobar", "android_arm64_armv8-a_dylib").MaybeRule("clippy")
72 if r.Rule != nil {
73 …t.Errorf("libfoobar is setup to use clippy when explicitly disabled: clippyFlags=%q", r.Args["clip…
/build/soong/scripts/
Dninja_rsp.py27 self.r = self.character_reader(self.f)
49 c = next(self.r, "")
56 for c in self.r:
64 for c in self.r:
68 c = next(self.r)
74 c = next(self.r)

1234567