/build/make/tools/ |
D | warn.py | 148 'patterns': [r'.*: .+\[' + pattern + r'\]$'] 157 return tidy_warn_pattern(description, description + r'-.+') 164 'patterns': [r".*: warning: .+\[clang-analyzer-security.*\]"]}, 167 'patterns': [r".*: warning: overriding commands for target .+", 168 r".*: warning: ignoring old commands for target .+"]}, 171 'patterns': [r".*: warning: LOCAL_CLANG is set to false"]}, 174 'patterns': [r".*: warning: .+ \(.*app:sdk.*\) should not link to .+ \(native:platform\)"]}, 177 'patterns': [r".*: warning: .+ \(.+\) should not link to .+ \(partition:.+\)"]}, 180 'patterns': [r".*: warning: .+ \(.+\) should not link to .+ \(.+\)"]}, 183 'patterns': [r".*: warning: Duplicate header copy: .+"]}, [all …]
|
/build/blueprint/ |
D | ninja_strings.go | 104 r := rune(str[i]) 105 state, err = state(parseState, i, r) 119 func parseFirstRuneState(state *parseState, i int, r rune) (stateFunc, error) { 120 if r == ' ' { 123 return parseStringState(state, i, r) 126 func parseStringState(state *parseState, i int, r rune) (stateFunc, error) { 128 case r == '$': 132 case r == eof: 141 func parseDollarStartState(state *parseState, i int, r rune) (stateFunc, error) { 143 case r >= 'a' && r <= 'z', r >= 'A' && r <= 'Z', [all …]
|
D | package_ctx.go | 661 r := &staticRule{ 668 err = p.scope.AddRule(r) 673 return r 676 func (r *staticRule) packageContext() *packageContext { 677 return r.pctx 680 func (r *staticRule) name() string { 681 return r.name_ 684 func (r *staticRule) fullName(pkgNames map[*packageContext]string) string { 685 return packageNamespacePrefix(pkgNames[r.pctx]) + r.name_ 688 func (r *staticRule) def(interface{}) (*ruleDef, error) { [all …]
|
D | ninja_defs.go | 141 r := &ruleDef{ 152 if r.Pool != nil && !scope.IsPoolVisible(r.Pool) { 153 return nil, fmt.Errorf("Pool %s is not visible in this scope", r.Pool) 160 r.Variables["command"] = value 167 r.Variables["depfile"] = value 171 r.Variables["deps"] = simpleNinjaString(params.Deps.String()) 179 r.Variables["description"] = value 183 r.Variables["generator"] = simpleNinjaString("true") 187 r.Variables["restat"] = simpleNinjaString("true") 195 r.Variables["rspfile"] = value [all …]
|
/build/soong/android/ |
D | neverallow.go | 121 r := neverallow(). 125 rules = append(rules, r) 201 func (r *rule) in(path ...string) *rule { 202 r.paths = append(r.paths, cleanPaths(path)...) 203 return r 206 func (r *rule) notIn(path ...string) *rule { 207 r.unlessPaths = append(r.unlessPaths, cleanPaths(path)...) 208 return r 211 func (r *rule) moduleType(types ...string) *rule { 212 r.moduleTypes = append(r.moduleTypes, types...) [all …]
|
D | namespace.go | 97 r := &NameResolver{ 101 r.rootNamespace = r.newNamespace(".") 102 r.rootNamespace.visibleNamespaces = []*Namespace{r.rootNamespace} 103 r.addNamespace(r.rootNamespace) 105 return r 108 func (r *NameResolver) newNamespace(path string) *Namespace { 111 namespace.exportToKati = r.namespaceExportFilter(namespace) 116 func (r *NameResolver) addNewNamespaceForModule(module *NamespaceModule, path string) error { 123 namespace := r.newNamespace(dir) 125 module.resolver = r [all …]
|
D | rule_builder.go | 71 func (r *RuleBuilder) MissingDeps(missingDeps []string) { 72 r.missingDeps = append(r.missingDeps, missingDeps...) 76 func (r *RuleBuilder) Restat() *RuleBuilder { 77 r.restat = true 78 return r 83 func (r *RuleBuilder) Install(from Path, to string) { 84 r.installs = append(r.installs, RuleBuilderInstall{from, to}) 90 func (r *RuleBuilder) Command() *RuleBuilderCommand { 92 r.commands = append(r.commands, command) 98 func (r *RuleBuilder) Temporary(path WritablePath) { [all …]
|
/build/blueprint/proptools/ |
D | escape.go | 64 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 …]
|
D | proptools.go | 23 r, size := utf8.DecodeRuneInString(fieldName) 24 propertyName := string(unicode.ToLower(r)) 32 r, size := utf8.DecodeRuneInString(propertyName) 33 fieldName := string(unicode.ToUpper(r))
|
/build/blueprint/bootstrap/bpdoc/ |
D | reader.go | 49 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/kati/ |
D | dep.go | 84 func (rt *ruleTrie) add(name string, r *rule) { 85 glog.V(1).Infof("rule trie: add %q %v %s", name, r.outputPatterns[0], r) 87 glog.V(1).Infof("rule trie: add entry %q %v %s", name, r.outputPatterns[0], r) 89 rule: r, 99 c.add(name[1:], r) 151 func (db *depBuilder) canPickImplicitRule(r *rule, output string) bool { 152 outputPattern := r.outputPatterns[0] 156 for _, input := range r.inputs { 187 r, present := db.rules[output] 191 if len(r.cmds) > 0 { [all …]
|
D | evalcmd.go | 200 func (r runner) String() string { 201 cmd := r.cmd 202 if !r.echo { 205 if r.ignoreError { 211 func (r runner) forCmd(s string) runner { 220 r.echo = false 225 r.ignoreError = true 231 r.cmd = s 232 return r 235 func (r runner) eval(ev *Evaluator, s string) ([]runner, error) { [all …]
|
D | io.cc | 22 size_t r = fwrite(&v, sizeof(v), 1, fp); in DumpInt() local 23 CHECK(r == 1); in DumpInt() 28 size_t r = fwrite(s.data(), 1, s.size(), fp); in DumpString() local 29 CHECK(r == s.size()); in DumpString() 34 size_t r = fread(&v, sizeof(v), 1, fp); in LoadInt() local 35 if (r != 1) in LoadInt() 45 size_t r = fread(&(*s)[0], 1, s->size(), fp); in LoadString() local 46 if (r != s->size()) in LoadString()
|
D | rule_parser.go | 75 func (r *rule) cmdpos() srcpos { 76 return srcpos{filename: r.filename, lineno: r.cmdLineno} 113 func (r *rule) parseInputs(s []byte) { 117 r.inputs = append(r.inputs, t) 123 r.orderOnlyInputs = append(r.orderOnlyInputs, t) 143 func (r *rule) parseVar(s []byte, rhs expr) (*assignAST, error) { 169 assign.srcpos = r.srcpos 179 func (r *rule) parse(line []byte, assign *assignAST, rhs expr) (*assignAST, error) { 185 r.outputs = []string{} 204 r.outputPatterns = []pattern{pat} [all …]
|
D | dep.cc | 42 string r; in ReplaceSuffix() local 43 AppendString(StripExt(s.str()), &r); in ReplaceSuffix() 44 r += '.'; in ReplaceSuffix() 45 AppendString(newsuf.str(), &r); in ReplaceSuffix() 46 return Intern(r); in ReplaceSuffix() 49 void ApplyOutputPattern(const Rule& r, in ApplyOutputPattern() argument 55 if (r.is_suffix_rule) { in ApplyOutputPattern() 61 if (r.output_patterns.empty()) { in ApplyOutputPattern() 65 CHECK(r.output_patterns.size() == 1); in ApplyOutputPattern() 66 Pattern pat(r.output_patterns[0].str()); in ApplyOutputPattern() [all …]
|
D | strutil.h | 30 bool operator!=(const Iterator& r) const { 31 return in != r.in || s != r.s || i != r.i; 74 string r; in JoinStrings() local 76 if (!r.empty()) { in JoinStrings() 77 r += sep; in JoinStrings() 79 r.append(s.begin(), s.end()); in JoinStrings() 81 return r; in JoinStrings()
|
D | fileutil.h | 55 int r; \ 57 r = (x); \ 58 } while (r == -1 && errno == EINTR); \ 59 r; \
|
D | file.cc | 45 ssize_t r = HANDLE_EINTR(read(fd, &buf_[0], len)); in Makefile() local 46 if (r != static_cast<ssize_t>(len)) { in Makefile() 47 if (r < 0) in Makefile() 49 ERROR("Unexpected read length=%zd expected=%zu", r, len); in Makefile()
|
/build/make/core/ |
D | checktree | 5 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/third_party/zip/ |
D | reader.go | 25 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 …]
|
D | register.go | 27 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/soong/symbol_inject/ |
D | symbol_inject.go | 31 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/ |
D | rate_limit.go | 50 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/make/tools/droiddoc/templates-ndk/ |
D | head_tag.cs | 69 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 70 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
/build/soong/ui/terminal/ |
D | util.go | 84 i = bytes.IndexFunc(read, func(r rune) bool { 85 return (r >= 'a' && r <= 'z') || (r >= 'A' && r <= 'Z')
|