Home
last modified time | relevance | path

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

123456

/build/make/tools/warn/
Dcpp_warn_patterns.py61 [r".*: warning: implicit declaration of function .+",
62 r".*: warning: implicitly declaring library function"]),
64 [r".*: warning: conflicting types for '.+'"]),
66 [r".*: warning: comparison is always .+ due to limited range of data type",
67 r".*: warning: comparison of unsigned .*expression .+ is always true",
68 r".*: warning: comparison of unsigned .*expression .+ is always false"]),
70 [r".*: warning: .+Using such transient memory for the control value is .*dangerous."]),
72 [r".*: warning: Address of stack memory .+ returned to caller",
73 r".*: warning: Address of stack memory .+ will be a dangling reference"]),
75 [r".*: warning: all paths through this function will call itself"]),
[all …]
Dother_warn_patterns.py47 [r'.*\.kt:.*: warning: ' + pattern])
56 [r'.*\.rs:.*: warning: ' + pattern])
63 [r".*: warning: No comment for public symbol .+"]),
65 [r".*: warning: string '.+' has no default translation in .*"]),
67 … [r".*: warning: \*\*\*\* string '.+' has no default or required localization for '.+' in .+"]),
69 [r".*: warning: string '.+' in .* marked untranslatable but exists in locale '??_??'"]),
71 [r".*: warning: empty '.+' span found in text '.+"]),
74 [r".*: warning: tag \".+\" \(.+\) duplicated in .+"]),
76 [r".*: warning: redefinition of typedef '.+' is a C11 feature"]),
78 [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.py29 'patterns': [r'.*: .+\[' + pattern + r'\]$']
38 return tidy_warn_pattern(description, description + r'-.+')
52 return analyzer_high(check, [r'.*: .+\[' + check + r'\]$'])
56 return analyzer_high(check, [r'.*: .+\[' + check + r'.+\]$'])
69 return analyzer_warn(check, [r'.*: .+\[' + check + r'\]$'])
73 return analyzer_warn(check, [r'.*: .+\[' + check + r'.+\]$'])
171 [r".*: warning: .+ pointer is null .*\[clang-analyzer-core"]),
173 [r".*: warning: .+ uninitialized (value|data) .*\[clang-analyzer-core"]),
175 [r".*: warning: Excessive padding in '.*'"]),
179 [r".*: warning: .* size of .* may overflow .*MallocOverflow"]),
[all …]
Djava_warn_patterns.py45 [r'.*\.java:.*: warning: .+ \[' + name + r'\]$',
46 r'.*\.java:.*: warning: \[' + name + r'\] .+'])
65 [r'.*: warning: \[deprecation\] .+',
66 r'.*: warning: \[removal\] .+ has been deprecated and marked for removal$']),
68 [r'.*\.java:.*: warning: @Implementation .+ has .+ not .+ as in the SDK ']),
71 [r'.*\.class\): warning: Cannot find annotation method .+ in']),
73 [r'.*\.java:.*: warning: No such (class|method) .* for SDK']),
76 [r".*: warning: unmappable character for encoding ascii"]),
78 …[r".*: warning: non-varargs call of varargs method with inexact argument type for last parameter"]…
80 [r".*: warning: \[unchecked\] unchecked method invocation: .+ in class .+"]),
[all …]
/build/blueprint/
Dninja_strings.go117 r := rune(str[i])
118 state, err = state(parseState, i, r)
132 func parseFirstRuneState(state *parseState, i int, r rune) (stateFunc, error) {
133 if r == ' ' {
136 return parseStringState(state, i, r)
139 func parseStringState(state *parseState, i int, r rune) (stateFunc, error) {
141 case r == '$':
145 case r == eof:
154 func parseDollarStartState(state *parseState, i int, r rune) (stateFunc, error) {
156 case r >= 'a' && r <= 'z', r >= 'A' && r <= 'Z',
[all …]
Dpackage_ctx.go662 r := &staticRule{
669 err = p.scope.AddRule(r)
674 return r
677 func (r *staticRule) packageContext() *packageContext {
678 return r.pctx
681 func (r *staticRule) name() string {
682 return r.name_
685 func (r *staticRule) fullName(pkgNames map[*packageContext]string) string {
686 return packageNamespacePrefix(pkgNames[r.pctx]) + r.name_
689 func (r *staticRule) def(interface{}) (*ruleDef, error) {
[all …]
Dninja_defs.go142 r := &ruleDef{
153 if r.Pool != nil && !scope.IsPoolVisible(r.Pool) {
154 return nil, fmt.Errorf("Pool %s is not visible in this scope", r.Pool)
161 r.Variables["command"] = value
168 r.Variables["depfile"] = value
172 r.Variables["deps"] = simpleNinjaString(params.Deps.String())
180 r.Variables["description"] = value
184 r.Variables["generator"] = simpleNinjaString("true")
188 r.Variables["restat"] = simpleNinjaString("true")
196 r.Variables["rspfile"] = value
[all …]
/build/soong/android/
Dneverallow.go255 for _, r := range neverallowRules(ctx.Config()) {
256 n := r.(*rule)
400 func (r *rule) In(path ...string) Rule {
401 r.paths = append(r.paths, cleanPaths(path)...)
402 return r
405 func (r *rule) NotIn(path ...string) Rule {
406 r.unlessPaths = append(r.unlessPaths, cleanPaths(path)...)
407 return r
410 func (r *rule) InDirectDeps(deps ...string) Rule {
412 r.directDeps[d] = true
[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 …]
Drule_builder.go77 func (r *RuleBuilder) MissingDeps(missingDeps []string) {
78 r.missingDeps = append(r.missingDeps, missingDeps...)
84 func (r *RuleBuilder) Restat() *RuleBuilder {
85 if r.sbox {
88 r.restat = true
89 return r
94 func (r *RuleBuilder) HighMem() *RuleBuilder {
95 r.highmem = true
96 return r
100 func (r *RuleBuilder) Remoteable(supports RemoteRuleSupports) *RuleBuilder {
[all …]
Dvisibility.go113 for _, r := range c {
114 if r.matches(m) {
127 for _, r := range c {
128 s = append(s, r.String())
138 func (r packageRule) matches(m qualifiedModuleName) bool {
139 return m.pkg == r.pkg
142 func (r packageRule) String() string {
143 return fmt.Sprintf("//%s", r.pkg) // :__pkg__ is the default, so skip it.
152 func (r subpackagesRule) matches(m qualifiedModuleName) bool {
153 return isAncestor(r.pkgPrefix, m.pkg)
[all …]
/build/soong/java/
Drobolectric.go83 func (r *robolectricTest) TestSuites() []string {
84 return r.testProperties.Test_suites
89 func (r *robolectricTest) DepsMutator(ctx android.BottomUpMutatorContext) {
90 r.Library.DepsMutator(ctx)
92 if r.robolectricProperties.Instrumentation_for != nil {
93 …ctx.AddVariationDependencies(nil, instrumentationForTag, String(r.robolectricProperties.Instrument…
100 ctx.AddVariationDependencies(nil, roboCoverageLibsTag, r.robolectricProperties.Coverage_libs...)
105 func (r *robolectricTest) GenerateAndroidBuildActions(ctx android.ModuleContext) {
106 r.testConfig = tradefed.AutoGenRobolectricTestConfig(ctx, r.testProperties.Test_config,
107 r.testProperties.Test_config_template, r.testProperties.Test_suites,
[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/blueprint/proptools/
Descape.go64 shellUnsafeChar := func(r rune) bool {
66 case 'A' <= r && r <= 'Z',
67 'a' <= r && r <= 'z',
68 '0' <= r && r <= '9',
69 r == '_',
70 r == '+',
71 r == '-',
72 r == '=',
73 r == '.',
74 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/remoteexec/
Dremoteexec.go101 func (r *REParams) Template() string {
102 return "${remoteexec.Wrapper}" + r.wrapperArgs()
107 func (r *REParams) NoVarTemplate(cfg android.Config) string {
108 return wrapper(cfg) + r.wrapperArgs()
111 func (r *REParams) wrapperArgs() string {
114 labels := r.Labels
125 for k, v := range r.Platform {
131 if _, ok := r.Platform[ContainerImageKey]; !ok {
139 strategy := r.ExecStrategy
145 if len(r.Inputs) > 0 {
[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/sdk/
Dtesting.go232 func (r *testSdkResult) getSdkSnapshotBuildInfo(sdk *sdk) *snapshotBuildInfo {
236 r: r,
277 r.t.Errorf("Expected intermediate zip %s to be an input to merge zips but found %s instead",
296 func (r *testSdkResult) Module(name string, variant string) android.Module {
297 return r.ctx.ModuleForTests(name, variant).Module()
300 func (r *testSdkResult) ModuleForTests(name string, variant string) android.TestingModule {
301 return r.ctx.ModuleForTests(name, variant)
309 func (r *testSdkResult) CheckSnapshot(name string, dir string, checkers ...snapshotBuildInfoChecker…
310 r.t.Helper()
315 sdk := r.Module(name, variant).(*sdk)
[all …]
/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)
/build/soong/ui/terminal/
Dstatus_test.go143 func (r *runner) startAction(action *status.Action) {
144 r.counts.StartedActions++
145 r.counts.RunningActions++
146 r.stat.StartAction(action, r.counts)
149 func (r *runner) finishAction(result status.ActionResult) {
150 r.counts.FinishedActions++
151 r.counts.RunningActions--
152 r.stat.FinishAction(result, r.counts)
155 func (r *runner) finishAndStartAction(result status.ActionResult, action *status.Action) {
156 r.counts.FinishedActions++
[all …]
/build/soong/cmd/diff_target_files/
Dallow_list.go74 r, err := os.Open(file)
78 defer r.Close()
80 d := json.NewDecoder(newJSONCommentStripper(r))
165 r, err := z.Open()
169 s := bufio.NewScanner(r)
214 func newJSONCommentStripper(r io.Reader) *jsonCommentStripper {
216 r: bufio.NewReader(r),
221 r *bufio.Reader member
232 j.b, j.err = j.r.ReadBytes('\n')

123456