Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/build/soong/androidmk/androidmk/
Dandroidmk.go124 file := &bpFile{
136 file.setMkPos(p.Unpack(node.Pos()), p.Unpack(node.End()))
140 file.insertComment("//" + x.Comment)
142 handleAssignment(file, x, assignmentCond)
146 module, ok := mapIncludePath(x.Args.Value(file.scope))
148 file.errorf(x, "unsupported include")
153 resetModule(file)
158 handleModuleConditionals(file, x, conds)
159 makeModule(file, module)
167 if file.inModule {
[all …]
Dandroid.go37 file *bpFile member
349 val, err := makeVariableToBlueprint(ctx.file, ctx.mkvalue, bpparser.ListType)
368 err = setVariable(ctx.file, ctx.append, ctx.prefix, name, component, true)
388 val, err := makeVariableToBlueprint(ctx.file, ctx.mkvalue, bpparser.BoolType)
400 return setVariable(ctx.file, false, ctx.prefix, "compile_multilib", thirtyTwo, true)
413 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, paths, true)
429 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, &bpparser.List{}, true)
431 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, pathList.Values[0], true)
447 bpvalue, err := makeVariableToBlueprint(ctx.file, ctx.mkvalue, bpparser.ListType)
468 val, err := makeVariableToBlueprint(ctx.file, ctx.mkvalue, bpparser.StringType)
[all …]
Dvalues.go63 func makeToStringExpression(ms *mkparser.MakeString, file *bpFile) (bpparser.Expression, error) {
72 if ret, ok := ms.Variables[i].EvalFunction(file.scope); ok {
78 name, err := extractVariableName(ms.Variables[i].Name, file)
127 func makeToListExpression(ms *mkparser.MakeString, file *bpFile) (bpparser.Expression, error) {
136 if ret, ok := f.Variables[0].EvalFunction(file.scope); ok {
139 name, err := extractVariableName(f.Variables[0].Name, file)
159 s, err := makeToStringExpression(f, file)
209 func makeToBoolExpression(ms *mkparser.MakeString, file *bpFile) (bpparser.Expression, error) {
212 name, err := extractVariableName(ms.Variables[0].Name, file)
228 func extractVariableName(name *mkparser.MakeString, file *bpFile) (string, error) {
[all …]
/build/soong/
DOWNERS1 per-file * = asmundak@google.com
2 per-file * = ccross@android.com
3 per-file * = dwillemsen@google.com
4 per-file * = eakammer@google.com
5 per-file * = jungjw@google.com
6 per-file * = patricearruda@google.com
7 per-file * = paulduffin@google.com
9 per-file ndk_*.go = danalbert@google.com
10 per-file clang.go,global.go = srhines@google.com, chh@google.com, pirama@google.com, yikong@google.…
11 per-file tidy.go = srhines@google.com, chh@google.com
[all …]
/build/soong/symbol_inject/
Dsymbol_inject.go32 file, err := elfSymbolsFromFile(r)
35 file, err = machoSymbolsFromFile(r)
38 file, err = peSymbolsFromFile(r)
49 file.r = r
51 return file, err
54 func InjectStringSymbol(file *File, w io.Writer, symbol, value, from string) error {
55 offset, size, err := findSymbol(file, symbol)
69 _, err := file.r.ReadAt(existing, int64(offset))
82 return copyAndInject(file.r, w, offset, buf)
85 func InjectUint64Symbol(file *File, w io.Writer, symbol string, value uint64) error {
[all …]
Delf_test.go24 file *mockElfFile
29 file: elfSymbolTable1,
35 file: elfSymbolTable2,
41 file: elfSymbolTable2,
50 file, err := extractElfSymbols(testCase.file)
54 offset, size, err := findSymbol(file, testCase.symbol)
Dmacho_test.go25 file *macho.File
30 file: machoSymbolTable1,
36 file: machoSymbolTable2,
42 file: machoSymbolTable2,
51 file, err := extractMachoSymbols(testCase.file)
55 offset, size, err := findSymbol(file, testCase.symbol)
Dmacho.go43 file := &File{}
46 file.Sections = append(file.Sections, &Section{
56 section := file.Sections[symbol.Sect-1]
57 file.Symbols = append(file.Symbols, &Symbol{
69 return file, nil
Dpe.go49 file := &File{}
52 file.Sections = append(file.Sections, &Section{
62 file.Symbols = append(file.Symbols, &Symbol{
68 Section: file.Sections[symbol.SectionNumber-1],
73 return file, nil
Dpe_test.go25 file *pe.File
30 file: peSymbolTable1,
36 file: peSymbolTable2,
42 file: peSymbolTable2,
49 file: &pe.File{
69 file: &pe.File{
87 file: &pe.File{
107 file: &pe.File{
128 file, err := extractPESymbols(testCase.file)
132 offset, size, err := findSymbol(file, testCase.symbol)
Delf.go72 file := &File{}
75 file.Sections = append(file.Sections, &Section{
92 if int(symbol.Section) >= len(file.Sections) {
96 section := file.Sections[symbol.Section]
120 file.Symbols = append(file.Symbols, &Symbol{
128 return file, nil
/build/blueprint/parser/
Dsort.go22 func SortLists(file *File) {
23 for _, def := range file.Defs {
25 sortListsInValue(assignment.Value, file)
28 sortListsInValue(prop.Value, file)
32 sort.Sort(commentsByOffset(file.Comments))
35 func SortList(file *File, list *List) {
54 sortSubList(list.Values[i:j], nextPos, file)
80 func sortListsInValue(value Expression, file *File) {
85 sortListsInValue(v.Args[0], file)
86 sortListsInValue(v.Args[1], file)
[all …]
/build/make/core/
Ddistdir.mk39 $(foreach file,$(2), \
40 $(eval src := $(call word-colon,1,$(file))) \
41 $(eval dst := $(call word-colon,2,$(file))) \
53 define dist-write-file
55 $(KATI_obsolete_var dist-for-goals,Cannot be used after dist-write-file) \
59 $(file >$(1).tmp, \
69 .KATI_READONLY := dist-for-goals dist-write-file
Dsoong_droiddoc_prebuilt.mk8 $(eval $(call copy-one-file,$(LOCAL_DROIDDOC_STUBS_SRCJAR),$(OUT_DOCS)/$(LOCAL_MODULE)-stubs.srcjar…
16 $(eval $(call copy-one-file,$(LOCAL_DROIDDOC_DOC_ZIP),$(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip))
25 $(eval $(call copy-one-file,$(LOCAL_DROIDDOC_ANNOTATIONS_ZIP),$(TARGET_OUT_COMMON_INTERMEDIATES)/PA…
29 $(eval $(call copy-one-file,$(LOCAL_DROIDDOC_API_VERSIONS_XML),$(TARGET_OUT_COMMON_INTERMEDIATES)/P…
33 $(eval $(call copy-one-file,$(LOCAL_DROIDDOC_JDIFF_DOC_ZIP),$(OUT_DOCS)/$(LOCAL_MODULE)-jdiff-docs.…
43 $(eval $(call copy-one-file,$(LOCAL_DROIDDOC_METADATA_ZIP),$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKA…
Dsoong_java_prebuilt.mk32 $(eval $(call copy-one-file,$(LOCAL_SOONG_CLASSES_JAR),$(full_classes_jar)))
33 $(eval $(call copy-one-file,$(LOCAL_SOONG_CLASSES_JAR),$(full_classes_pre_proguard_jar)))
38 $(eval $(call copy-one-file,$(LOCAL_SOONG_HEADER_JAR),$(full_classes_header_jar)))
40 $(eval $(call copy-one-file,$(full_classes_jar),$(full_classes_header_jar)))
45 $(eval $(call copy-one-file,$(LOCAL_PREBUILT_MODULE_FILE),$(LOCAL_BUILT_MODULE)))
48 $(eval $(call copy-one-file,$(LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR),\
55 $(eval $(call copy-one-file,$(LOCAL_SOONG_PROGUARD_DICT),\
66 $(copy-file-to-target)
83 …$(eval $(call copy-one-file,$(LOCAL_SOONG_STATIC_LIBRARY_EXTRA_PACKAGES),$(my_static_library_extra…
87 $(eval $(call copy-one-file,$(LOCAL_FULL_MANIFEST_FILE),$(my_static_library_android_manifest)))
[all …]
/build/soong/scripts/
Darchive_repack.sh35 -i <file>: input file
36 -o <file>: output file
37 -d <file>: deps file
DOWNERS1 per-file system-clang-format,system-clang-format-2 = enh@google.com,smoreland@google.com
2 per-file build-mainline-modules.sh = ngeoffray@google.com,paulduffin@google.com,mast@google.com
3 per-file build-aml-prebuilts.sh = ngeoffray@google.com,paulduffin@google.com,mast@google.com
4 per-file construct_context.py = ngeoffray@google.com,calin@google.com,mathieuc@google.com,skvadrik@…
Dstrip.sh40 Usage: strip.sh [options] -k symbols -i in-file -o out-file -d deps-file
42 --add-gnu-debuglink Add a gnu-debuglink section to out-file
43 --keep-mini-debug-info Keep compressed debug info in out-file
44 --keep-symbols Keep symbols in out-file
45 --keep-symbols-and-debug-frame Keep symbols and .debug_frame in out-file
46 --remove-build-id Remove the gnu build-id section in out-file
/build/soong/ui/build/
Dcleanbuild.go37 for _, file := range files {
38 err = os.RemoveAll(file)
40 ctx.Fatalf("Failed to remove file %q: %v", file, err)
190 func cleanOldFiles(ctx Context, basePath, file string) {
191 file = filepath.Join(basePath, file)
192 oldFile := file + ".previous"
194 if _, err := os.Stat(file); err != nil {
195 ctx.Fatalf("Expected %q to be readable", file)
199 if err := os.Rename(file, oldFile); err != nil {
200 ctx.Fatalf("Failed to rename file list (%q->%q): %v", file, oldFile, err)
[all …]
/build/make/tools/
Dfixlinebreaks.sh10 for file in $FILES ; do
11 echo $file
12 tr -d \\r < $file > _temp_file
13 mv _temp_file $file
/build/soong/cmd/host_bionic_inject/
Dhost_bionic_inject.go49 file, err := symbol_inject.OpenFile(r)
74 err = symbol_inject.InjectUint64Symbol(file, w, "__dlwrap_original_start", start_addr)
83 file, err := elf.NewFile(r)
88 symbols, err := file.Symbols()
93 for _, prog := range file.Progs {
101 } else if dlwrap_start.Value != file.Entry {
103 file.Entry, dlwrap_start.Value)
106 err = checkLinker(file, linker, symbols)
130 func checkLinker(file, linker *elf.File, fileSyms []elf.Symbol) error { argument
144 for _, prog := range file.Progs {
/build/soong/ui/build/sandbox/darwin/
Dglobal.sb9 ; Allow reading of any file
10 (allow file-read*)
13 (allow file-write*
18 (deny file-write* (with no-log)
22 (allow file-write*
26 (allow file-write-data
44 ; Allow executing any file
/build/make/core/tasks/
Dfind-shareduid-violation.py36 def make_aapt_cmds(file): argument
37 return [aapt + ' dump ' + file + ' --file AndroidManifest.xml',
38 aapt + ' dump xmltree ' + file + ' --file AndroidManifest.xml']
40 def extract_shared_uid(file): argument
41 for cmd in make_aapt_cmds(file):
46 print(error_msg, file=sys.stderr)
/build/make/tools/releasetools/
Dtarget_files_diff.py149 print("%s: Binary files differ" % name, file=out_file)
152 print("%s: %s" % (name, line), file=out_file)
175 file=out_file)
178 print("%s: File types differ, skipping compare" % name, file=out_file)
187 print("%s: File types differ, skipping compare" % name, file=out_file)
192 (name, stat1.st_mode, stat2.st_mode), file=out_file)
199 print("%s: Unknown file type, skipping compare" % name, file=out_file)
201 print("%s: Only in base package" % name, file=out_file)
212 print("%s: Only in new package" % name, file=out_file)
/build/blueprint/bpmodify/
Dbpmodify.go74 file, errs := parser.Parse(filename, r, parser.NewScope(nil))
82 modified, errs := findModules(file)
91 res, err := parser.Print(file)
122 func findModules(file *parser.File) (modified bool, errs []error) {
124 for _, def := range file.Defs {
129 m, newErrs := processModule(module, prop.Name, file)
142 file *parser.File) (modified bool, errs []error) {
146 modified, errs = processParameter(prop.Value, *parameter, moduleName, file)
152 modified, errs = processParameter(prop.Value, *parameter, moduleName, file)
162 file *parser.File) (modified bool, errs []error) {
[all …]

12345678910>>...12