Home
last modified time | relevance | path

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

12345678910>>...14

/build/soong/androidmk/androidmk/
Dandroidmk.go140 file := &bpFile{
152 file.setMkPos(p.Unpack(node.Pos()), p.Unpack(node.End()))
159 file.insertComment("//" + chunks[0])
161 file.bpPos.Line++
162 file.insertComment("//" + chunks[i])
165 handleAssignment(file, x, assignmentCond)
169 module, ok := mapIncludePath(x.Args.Value(file.scope))
171 file.errorf(x, "unsupported include")
176 resetModule(file)
181 handleModuleConditionals(file, x, conds)
[all …]
Dandroid.go37 file *bpFile member
353 val, err := makeVariableToBlueprint(ctx.file, ctx.mkvalue, bpparser.ListType)
372 err = setVariable(ctx.file, ctx.append, ctx.prefix, name, component, true)
392 val, err := makeVariableToBlueprint(ctx.file, ctx.mkvalue, bpparser.BoolType)
404 return setVariable(ctx.file, false, ctx.prefix, "compile_multilib", thirtyTwo, true)
417 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, paths, true)
433 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, &bpparser.List{}, true)
435 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, pathList.Values[0], true)
451 bpvalue, err := makeVariableToBlueprint(ctx.file, ctx.mkvalue, bpparser.ListType)
472 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/response/
Dresponse.go29 var file []byte
44 file = append(file, '\\')
47 file = append(file, c)
57 if len(file) != 0 {
58 files = append(files, string(file))
60 file = file[:0]
62 file = append(file, c)
66 if len(file) != 0 {
67 files = append(files, string(file))
/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/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_java_prebuilt.mk33 $(eval $(call copy-one-file,$(LOCAL_SOONG_CLASSES_JAR),$(full_classes_jar)))
34 $(eval $(call copy-one-file,$(LOCAL_SOONG_CLASSES_JAR),$(full_classes_pre_proguard_jar)))
39 $(eval $(call copy-one-file,$(LOCAL_SOONG_HEADER_JAR),$(full_classes_header_jar)))
41 $(eval $(call copy-one-file,$(full_classes_jar),$(full_classes_header_jar)))
46 $(eval $(call copy-one-file,$(LOCAL_PREBUILT_MODULE_FILE),$(LOCAL_BUILT_MODULE)))
49 $(eval $(call copy-one-file,$(LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR),\
56 $(eval $(call copy-one-file,$(LOCAL_SOONG_PROGUARD_DICT),\
58 $(eval $(call copy-one-file,$(LOCAL_SOONG_PROGUARD_DICT),\
60 $(eval $(call copy-one-file,$(LOCAL_SOONG_CLASSES_JAR),\
71 $(eval $(call copy-one-file,$(LOCAL_SOONG_PROGUARD_USAGE_ZIP),\
[all …]
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_METADATA_ZIP),$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKA…
/build/make/tools/rbcrun/
DREADME.md7 `rbcrun` *options* *VAR=value*... [ *file* ]
9 A Roboleaf configuration file is a Starlark script. Usually it is read from *file*. The option `-c`…
10 script directly on the command line. The option `-f` is there to allow the name of a file script to…
11 (i.e., `my=file.rbc` sets `my` to `file.rbc`, `-f my=file.rbc` runs the script from `my=file.rbc`).
21 `--perf` *file*\
22 Gather performance statistics and save it to *file*. Use \
23 ` go tool prof -top`*file*\
26 `-f` *file*\
37 (`":file"` or `"//path:file"`). In addition, it allows the URI to end with
67 #### rblf_file_exists(*file*)
[all …]
/build/make/tools/releasetools/
Dota_metadata_pb2.py32 file=DESCRIPTOR,
63 file=DESCRIPTOR,
72 serialized_options=None, file=DESCRIPTOR),
79 serialized_options=None, file=DESCRIPTOR),
86 serialized_options=None, file=DESCRIPTOR),
93 serialized_options=None, file=DESCRIPTOR),
115 file=DESCRIPTOR,
124 serialized_options=None, file=DESCRIPTOR),
131 serialized_options=None, file=DESCRIPTOR),
138 serialized_options=None, file=DESCRIPTOR),
[all …]
/build/blueprint/parser/
Dsort.go117 func SortLists(file *File) {
118 for _, def := range file.Defs {
120 sortListsInValue(assignment.Value, file)
123 sortListsInValue(prop.Value, file)
127 sort.Sort(commentsByOffset(file.Comments))
130 func SortList(file *File, list *List) {
149 sortSubList(list.Values[i:j], nextPos, file)
175 func sortListsInValue(value Expression, file *File) {
180 sortListsInValue(v.Args[0], file)
181 sortListsInValue(v.Args[1], file)
[all …]
/build/make/target/product/
DOWNERS1 per-file runtime_libart.mk = calin@google.com, mast@google.com, ngeoffray@google.com, oth@google.co…
4 per-file gsi_release.mk = file:/target/product/gsi/OWNERS
5 per-file gsi_keys.mk = file:/target/product/gsi/OWNERS
/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@…
5 per-file conv_linker_config.py = kiyoungkim@google.com, jiyong@google.com, jooyung@google.com
6 per-file gen_ndk*.sh = sophiez@google.com, allenhair@google.com
/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", startAddr)
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/soong/cc/
DOWNERS1 per-file ndk_*.go = danalbert@google.com
2 per-file tidy.go = srhines@google.com, chh@google.com
3 per-file lto.go,pgo.go = srhines@google.com, pirama@google.com, yikong@google.com
/build/make/tools/product_config/src/com/android/build/config/
DPosition.java42 public Position(String file) { in Position() argument
43 mFile = file; in Position()
47 public Position(String file, int line) { in Position() argument
49 throw new IllegalArgumentException("Negative line number. file=" + file in Position()
52 mFile = file; in Position()

12345678910>>...14