Home
last modified time | relevance | path

Searched refs:fileName (Results 1 – 20 of 20) sorted by relevance

/build/make/tools/zipalign/
DZipFile.h80 status_t add(const char* fileName, int compressionMethod, in add() argument
83 return add(fileName, fileName, compressionMethod, ppEntry); in add()
85 status_t add(const char* fileName, const char* storageName, in add() argument
88 return addCommon(fileName, NULL, 0, storageName, in add()
151 ZipEntry* getEntryByName(const char* fileName) const;
220 status_t addCommon(const char* fileName, const void* data, size_t size,
DZipAlign.cpp139 int verify(const char* fileName, int alignment, bool verbose, in verify() argument
146 printf("Verifying alignment of %s (%d)...\n", fileName, alignment); in verify()
148 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != OK) { in verify()
149 fprintf(stderr, "Unable to open '%s' for verification\n", fileName); in verify()
DZipEntry.cpp114 void ZipEntry::initNew(const char* fileName, const char* comment) in initNew() argument
116 assert(fileName != NULL && *fileName != '\0'); // name required in initNew()
122 mCDE.mFileNameLength = strlen(fileName); in initNew()
129 strcpy((char*) mCDE.mFileName, fileName); in initNew()
DZipEntry.h165 void initNew(const char* fileName, const char* comment);
DZipFile.cpp148 ZipEntry* ZipFile::getEntryByName(const char* fileName) const in getEntryByName()
165 strcmp(fileName, pEntry->getFileName()) == 0) in getEntryByName()
368 status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size, in addCommon() argument
393 inputFp = fopen(fileName, FILE_OPEN_RO); in addCommon()
/build/soong/cc/
Dtoolchain_library.go91 fileName := ctx.ModuleName() + staticLibraryExtension
92 repackedPath := android.PathForModuleOut(ctx, fileName)
98 fileName := ctx.ModuleName() + staticLibraryExtension
99 strippedPath := android.PathForModuleOut(ctx, fileName)
Dbinary.go342 fileName := binary.getStem(ctx) + flags.Toolchain.ExecutableSuffix()
343 outputFile := android.PathForModuleOut(ctx, fileName)
367 outputFile = android.PathForModuleOut(ctx, "unstripped", fileName)
375 outputFile = android.PathForModuleOut(ctx, "unprefixed", fileName)
380 …utputFile = maybeInjectBoringSSLHash(ctx, outputFile, binary.Properties.Inject_bssl_hash, fileName)
386 outputFile = android.PathForModuleOut(ctx, "unversioned", fileName)
391 versionedOutputFile := android.PathForModuleOut(ctx, "versioned", fileName)
395 out := android.PathForModuleOut(ctx, "versioned-stripped", fileName)
407 outputFile = android.PathForModuleOut(ctx, "prelinker", fileName)
Dlibrary.go1140 fileName := ctx.ModuleName() + staticLibraryExtension
1141 outputFile := android.PathForModuleOut(ctx, fileName)
1147 outputFile = android.PathForModuleOut(ctx, "unversioned", fileName)
1150 versionedOutputFile := android.PathForModuleOut(ctx, "versioned", fileName)
1221 fileName := library.getLibName(ctx) + flags.Toolchain.ShlibSuffix()
1222 outputFile := android.PathForModuleOut(ctx, fileName)
1227 importLibraryPath := android.PathForModuleOut(ctx, pathtools.ReplaceExtension(fileName, "lib"))
1252 outputFile = android.PathForModuleOut(ctx, "unstripped", fileName)
1257 …tputFile = maybeInjectBoringSSLHash(ctx, outputFile, library.Properties.Inject_bssl_hash, fileName)
1262 outputFile = android.PathForModuleOut(ctx, "unversioned", fileName)
[all …]
Dprebuilt.go428 fileName := p.getStem(ctx) + flags.Toolchain.ExecutableSuffix()
430 outputFile := android.PathForModuleOut(ctx, fileName)
468 stripped := android.PathForModuleOut(ctx, "stripped", fileName)
/build/soong/finder/
Dfinder.go236 func (f *Finder) FindNamed(fileName string) []string {
237 return f.FindNamedAt("/", fileName)
243 func (f *Finder) FindNamedAt(rootPath string, fileName string) []string {
247 if foundName == fileName {
259 func (f *Finder) FindFirstNamed(fileName string) []string {
260 return f.FindFirstNamedAt("/", fileName)
265 func (f *Finder) FindFirstNamedAt(rootPath string, fileName string) []string {
269 if foundName == fileName {
1316 func (f *Finder) shouldIncludeFile(fileName string) bool {
1318 if fileName == includedName {
[all …]
/build/soong/rust/
Dproc_macro.go67 fileName := procMacro.getStem(ctx) + ctx.toolchain().ProcMacroSuffix()
68 outputFile := android.PathForModuleOut(ctx, fileName)
Dbinary.go117 fileName := binary.getStem(ctx) + ctx.toolchain().ExecutableSuffix()
119 outputFile := android.PathForModuleOut(ctx, fileName)
128 strippedOutputFile := android.PathForModuleOut(ctx, "stripped", fileName)
Dlibrary.go434 var fileName string
453 fileName = library.getStem(ctx) + ctx.toolchain().RlibSuffix()
454 outputFile = android.PathForModuleOut(ctx, fileName)
458 fileName = library.getStem(ctx) + ctx.toolchain().DylibSuffix()
459 outputFile = android.PathForModuleOut(ctx, fileName)
463 fileName = library.getStem(ctx) + ctx.toolchain().StaticLibSuffix()
464 outputFile = android.PathForModuleOut(ctx, fileName)
468 fileName = library.sharedLibFilename(ctx)
469 outputFile = android.PathForModuleOut(ctx, fileName)
475 strippedOutputFile := android.PathForModuleOut(ctx, "stripped", fileName)
/build/make/tools/zipalign/include/
DZipAlign.h44 int verify(const char* fileName, int alignTo, bool verbose,
/build/soong/finder/fs/
Dfs.go299 func (m *MockFs) getFile(parentDir *mockDir, fileName string) (file *mockFile, err error) {
300 file, isFile := parentDir.files[fileName]
302 _, isDir := parentDir.subdirs[fileName]
303 _, isLink := parentDir.symlinks[fileName]
307 Path: fileName,
314 Path: fileName,
321 Path: fileName,
/build/soong/android/
Dnamespace.go111 fileName := filepath.Base(path)
112 if fileName != "Android.bp" {
Dpaths.go1371 func PathForVndkRefAbiDump(ctx ModuleInstallPathContext, version, fileName string,
1404 fileName+ext)
/build/blueprint/
Dcontext_test.go519 chooseSleepDuration := func(fileName string) (duration time.Duration) {
522 if fileName == correctVisitOrder[i] {
527 panic("unrecognized file name " + fileName)
Dcontext.go707 fileName string member
904 if blueprintsSet[blueprint.fileName] {
907 blueprintsSet[blueprint.fileName] = true
909 deps = append(deps, blueprint.fileName)
912 file, blueprints, deps, errs := c.openAndParse(blueprint.fileName, blueprint.Scope, rootDir,
950 descendants, hasDescendants := descendantsMap[blueprint.fileName]
1073 deps = append(deps, b.fileName)
/build/soong/third_party/zip/
Dreader_test.go474 func messWith(fileName string, corrupter func(b []byte)) (r io.ReaderAt, size int64) {
475 data, err := ioutil.ReadFile(filepath.Join("testdata", fileName))
477 panic("Error reading " + fileName + ": " + err.Error())