/build/soong/zip/ |
D | zip_test.go | 129 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/zip2zip/ |
D | zip2zip.go | 108 *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 …]
|
D | zip2zip_test.go | 454 if len(outputReader.File) > 0 { 455 outputFiles = make([]string, len(outputReader.File)) 456 for i, file := range outputReader.File {
|
/build/soong/third_party/zip/ |
D | reader_test.go | 25 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 …]
|
D | reader.go | 26 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 …]
|
D | android_test.go | 112 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 {
|
D | writer_test.go | 86 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/ |
D | elf.go | 32 *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{}
|
D | macho.go | 25 func machoSymbolsFromFile(r io.ReaderAt) (*File, error) { 34 func extractMachoSymbols(machoFile *macho.File) (*File, error) { argument 43 file := &File{}
|
D | pe.go | 25 func peSymbolsFromFile(r io.ReaderAt) (*File, error) { 34 func extractPESymbols(peFile *pe.File) (*File, error) { argument 49 file := &File{}
|
D | symbol_inject.go | 31 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
|
D | pe_test.go | 25 file *pe.File 49 file: &pe.File{ 69 file: &pe.File{ 87 file: &pe.File{ 107 file: &pe.File{
|
/build/soong/ui/build/ |
D | proc_sync.go | 61 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}
|
D | proc_sync_test.go | 47 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/ |
D | KatiImpl.java | 19 import java.io.File; 62 File workDir = new File(getWorkDirPath()); in loadProductConfig() 85 if (!(new File(csvPath)).canRead()) { in loadProductConfig()
|
/build/soong/bloaty/ |
D | file_sections.proto | 29 message File { message 33 // File sections. 38 repeated File files = 1;
|
/build/make/tools/signapk/src/com/android/signapk/ |
D | SignApk.java | 53 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/ |
D | SignTos.java | 28 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/ |
D | util.go | 26 if f, ok := w.(*os.File); ok { 42 if f, ok := w.(*os.File); ok {
|
/build/blueprint/parser/ |
D | sort.go | 117 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
|
D | parser.go | 40 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/ |
D | cmakelists.go | 210 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/ |
D | zip_artifact.go | 51 for _, zf := range zr.File { 74 *zip.File anonMember
|
D | compare_test.go | 26 File: &zip.File{
|
/build/soong/cmd/merge_zips/ |
D | merge_zips_test.go | 76 func (tiz *testInputZip) Entries() []*zip.File { 80 return tiz.reader.File 330 for _, f := range zr.File { 355 func (DummyInpuZip) Entries() []*zip.File {
|