Home
last modified time | relevance | path

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

123

/build/soong/zip/
Dzip_test.go125 File("a/a/a").
126 File("a/a/b").
127 File("c"),
140 File("a/**/*"),
169 File("a/a/a").
170 File("a/a/b").
171 File("c"),
183 File("a/a/a").
184 File("a/a/b").
185 File("a/a/c").
[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 …]
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
Dzip_test.go45 if got := len(zr.File); got != nFiles {
50 if zr.File[i].Name != want {
51 t.Fatalf("File(%d) = %q, want %q", i, zr.File[i].Name, want)
297 f0 := r.File[0]
388 zh := zf.File[0].FileHeader
/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/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/blueprint/parser/
Dsort.go22 func SortLists(file *File) { argument
35 func SortList(file *File, list *List) { argument
80 func sortListsInValue(value Expression, file *File) { argument
96 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/make/tools/signapk/src/com/android/signapk/
DSignApk.java52 import java.io.File;
183 private static X509Certificate readPublicKey(File file) in readPublicKey()
200 private static String readPassword(File keyFile) { in readPassword()
230 private static PKCS8EncodedKeySpec decryptPrivateKey(byte[] encryptedPrivateKey, File keyFile) in decryptPrivateKey()
257 private static PrivateKey readPrivateKey(File file) in readPrivateKey()
295 File publicKeyFile, in addOtacert()
728 private final File publicKeyFile;
742 public CMSSigner(JarFile inputJar, File publicKeyFile, in CMSSigner()
802 private static void signWholeFile(JarFile inputJar, File publicKeyFile, in signWholeFile()
1075 File lineageFile = new File(args[++argstart]); in main()
[all …]
/build/soong/ui/terminal/
Dutil.go26 if f, ok := w.(*os.File); ok {
42 if f, ok := w.(*os.File); ok {
/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
339 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{
/build/soong/cmd/merge_zips/
Dmerge_zips_test.go76 func (tiz *testInputZip) Entries() []*zip.File {
80 return tiz.reader.File
330 for _, f := range zr.File {
355 func (DummyInpuZip) Entries() []*zip.File {
/build/soong/cmd/extract_apks/
Dmain.go52 entries map[string]*zip.File
56 apkSet := &ApkSet{path: path, entries: make(map[string]*zip.File)}
61 for _, f := range apkSet.reader.File {
354 CopyFrom(file *zip.File, name string) error argument
421 func (apkSet *ApkSet) extractAndCopySingle(selected SelectionResult, outFile *os.File) error {

123