Home
last modified time | relevance | path

Searched refs:File (Results 1 – 25 of 66) sorted by relevance

123

/build/soong/zip/
Dzip_test.go129 File("a/a/a").
130 File("a/a/b").
131 File("c").
132 File(`\[`),
146 File("a/**/*"),
175 File("a/a/a").
176 File("a/a/b").
177 File("c"),
189 File("a/a/a").
190 File("a/a/b").
[all …]
/build/soong/cmd/host_bionic_inject/
Dhost_bionic_inject_test.go40 func linkerGold() *elf.File {
41 return &elf.File{
51 func fileGold() *elf.File {
52 return &elf.File{
66 func linkerLld() *elf.File {
67 return &elf.File{
78 func fileLld() *elf.File {
79 return &elf.File{
106 file func() *elf.File
107 linker func() *elf.File
[all …]
/build/soong/cmd/zip2zip/
Dzip2zip.go108 *zip.File anonMember
141 for _, file := range reader.File {
173 for _, file := range reader.File {
180 seen := make(map[string]*zip.File)
185 if exclude, err := excludes.Match(match.File.Name); err != nil {
188 if include, err := includes.Match(match.File.Name); err != nil {
197 if prev != match.File {
202 seen[match.newName] = match.File
218 match.File.SetModTime(staticTime)
220 if match.uncompress && match.File.FileHeader.Method != zip.Store {
[all …]
Dzip2zip_test.go454 if len(outputReader.File) > 0 {
455 outputFiles = make([]string, len(outputReader.File))
456 for i, file := range outputReader.File {
/build/soong/third_party/zip/
Dreader_test.go25 File []ZipTestFile member
46 File string member
64 File: []ZipTestFile{
73 File: "gophercolor16x16.png",
82 File: []ZipTestFile{
91 File: "gophercolor16x16.png",
100 File: []ZipTestFile{
111 File: []ZipTestFile{
128 File: []ZipTestFile{
140 File: crossPlatform,
[all …]
Dreader.go26 File []*File member
32 f *os.File
36 type File struct { struct
44 func (f *File) hasDataDescriptor() bool { argument
87 z.File = make([]*File, 0, end.directoryRecords)
100 f := &File{zip: z, zipr: r, zipsize: size}
108 z.File = append(z.File, f)
110 if uint16(len(z.File)) != uint16(end.directoryRecords) { // only compare 16 bits here
146 func (f *File) DataOffset() (offset int64, err error) { argument
156 func (f *File) Open() (io.ReadCloser, error) { argument
[all …]
Dandroid_test.go112 err = toZip.CopyFrom(fromZipReader.File[0], fromZipReader.File[0].Name)
131 if len(toZipReader.File) != 1 {
132 t.Fatalf("Expected 1 file in toZip, got %d", len(toZipReader.File))
135 if g, w := toZipReader.File[0].CompressedSize64, uint64(size); g != w {
139 if g, w := toZipReader.File[0].UncompressedSize64, uint64(size); g != w {
Dwriter_test.go86 testReadFile(t, r.File[i], &wt)
121 testReadFile(t, r.File[i], &wt)
161 func testReadFile(t *testing.T, f *File, wt *WriteTest) { argument
/build/soong/symbol_inject/
Delf.go32 *elf.File anonMember
36 ret := make([]elf.SectionHeader, len(f.File.Sections))
37 for i, section := range f.File.Sections {
45 return f.File.Type
58 func elfSymbolsFromFile(r io.ReaderAt) (*File, error) {
66 func extractElfSymbols(elfFile mockableElfFile) (*File, error) {
72 file := &File{}
Dmacho.go25 func machoSymbolsFromFile(r io.ReaderAt) (*File, error) {
34 func extractMachoSymbols(machoFile *macho.File) (*File, error) { argument
43 file := &File{}
Dpe.go25 func peSymbolsFromFile(r io.ReaderAt) (*File, error) {
34 func extractPESymbols(peFile *pe.File) (*File, error) { argument
49 file := &File{}
Dsymbol_inject.go31 func OpenFile(r io.ReaderAt) (*File, error) {
54 func InjectStringSymbol(file *File, w io.Writer, symbol, value, from string) error { argument
85 func InjectUint64Symbol(file *File, w io.Writer, symbol string, value uint64) error { argument
123 func findSymbol(file *File, symbolName string) (uint64, uint64, error) { argument
163 type File struct { struct
Dpe_test.go25 file *pe.File
49 file: &pe.File{
69 file: &pe.File{
87 file: &pe.File{
107 file: &pe.File{
/build/soong/ui/build/
Dproc_sync.go61 File *os.File member
65 return l.File.Name()
68 return syscall.Flock(int(l.File.Fd()), syscall.LOCK_EX|syscall.LOCK_NB)
71 return l.File.Close()
113 lockingInfo := &fileLock{File: lockfileDescriptor}
Dproc_sync_test.go47 lockdir := filepath.Dir(fileLock.File.Name())
135 lockdir := filepath.Dir(lockfile.File.Name())
149 reacquired, message, err := forkAndGetLock(filepath.Dir(lockfile.File.Name()))
162 reacquired, message, err = forkAndGetLock(filepath.Dir(lockfile.File.Name()))
/build/make/tools/product_config/src/com/android/build/config/
DKatiImpl.java19 import java.io.File;
62 File workDir = new File(getWorkDirPath()); in loadProductConfig()
85 if (!(new File(csvPath)).canRead()) { in loadProductConfig()
/build/soong/bloaty/
Dfile_sections.proto29 message File { message
33 // File sections.
38 repeated File files = 1;
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java53 import java.io.File;
185 private static X509Certificate readPublicKey(File file) in readPublicKey()
202 private static String readPassword(File keyFile) { in readPassword()
232 private static PKCS8EncodedKeySpec decryptPrivateKey(byte[] encryptedPrivateKey, File keyFile) in decryptPrivateKey()
259 private static PrivateKey readPrivateKey(File file) in readPrivateKey()
297 File publicKeyFile, in addOtacert()
730 private final File publicKeyFile;
744 public CMSSigner(JarFile inputJar, File publicKeyFile, in CMSSigner()
804 private static void signWholeFile(JarFile inputJar, File publicKeyFile, in signWholeFile()
1082 File lineageFile = new File(args[++argstart]); in main()
[all …]
/build/make/tools/signtos/
DSignTos.java28 import java.io.File;
76 private static String readPassword(File keyFile) { in readPassword()
97 private static PKCS8EncodedKeySpec decryptPrivateKey(byte[] encryptedPrivateKey, File keyFile) in decryptPrivateKey()
124 private static PrivateKey readPrivateKey(File file) throws IOException, in readPrivateKey()
301 PrivateKey privateKey = readPrivateKey(new File(keyFilename)); in main()
/build/soong/ui/terminal/
Dutil.go26 if f, ok := w.(*os.File); ok {
42 if f, ok := w.(*os.File); ok {
/build/blueprint/parser/
Dsort.go117 func SortLists(file *File) { argument
130 func SortList(file *File, list *List) { argument
175 func sortListsInValue(value Expression, file *File) { argument
191 func sortSubList(values []Expression, nextPos scanner.Position, file *File) { argument
Dparser.go40 type File struct { struct
46 func (f *File) Pos() scanner.Position { argument
55 func (f *File) End() scanner.Position { argument
62 func parse(p *parser) (file *File, errs []error) {
78 return &File{
86 func ParseAndEval(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
94 func Parse(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
/build/soong/cc/
Dcmakelists.go210 func translateToCMake(c compilerParameters, f *os.File, cflags bool, cppflags bool) { argument
234 func writeAllIncludeDirectories(includes []string, f *os.File, isSystem bool) { argument
265 func writeAllRelativeFilePathFlags(relativeFilePathFlags []relativeFilePathFlagType, f *os.File, ta… argument
271 func writeAllFlags(flags []string, f *os.File, tag string) { argument
342 func parseCompilerParameters(params []string, ctx android.SingletonContext, f *os.File) compilerPar… argument
/build/soong/cmd/diff_target_files/
Dzip_artifact.go51 for _, zf := range zr.File {
74 *zip.File anonMember
Dcompare_test.go26 File: &zip.File{

123