Home
last modified time | relevance | path

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

/build/blueprint/
Dglob.go34 func verifyGlob(fileName, pattern string, excludes []string, g GlobPath) { argument
36 panic(fmt.Errorf("Mismatched patterns %q and %q for glob file %q", pattern, g.Pattern, fileName))
39 …panic(fmt.Errorf("Mismatched excludes %v and %v for glob file %q", excludes, g.Excludes, fileName))
44 …panic(fmt.Errorf("Mismatched excludes %v and %v for glob file %q", excludes, g.Excludes, fileName))
50 fileName := globToFileName(pattern, excludes)
54 g, exists := c.globs[fileName]
59 verifyGlob(fileName, pattern, excludes, g)
71 if g, exists = c.globs[fileName]; !exists {
72 c.globs[fileName] = GlobPath{pattern, excludes, files, deps, fileName}
78 verifyGlob(fileName, pattern, excludes, g)
[all …]
Dcontext_test.go421 chooseSleepDuration := func(fileName string) (duration time.Duration) {
424 if fileName == correctVisitOrder[i] {
429 panic("unrecognized file name " + fileName)
Dcontext.go595 fileName string member
751 if blueprintsSet[blueprint.fileName] {
754 blueprintsSet[blueprint.fileName] = true
756 deps = append(deps, blueprint.fileName)
759 file, blueprints, deps, errs := c.openAndParse(blueprint.fileName, blueprint.Scope, rootDir,
797 descendants, hasDescendants := descendantsMap[blueprint.fileName]
916 deps = append(deps, b.fileName)
/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;
218 status_t addCommon(const char* fileName, const void* data, size_t size,
DZipAlign.cpp172 static int verify(const char* fileName, int alignment, bool verbose, in verify() argument
179 printf("Verifying alignment of %s (%d)...\n", fileName, alignment); in verify()
181 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != OK) { in verify()
182 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 android::ZipEntry* ZipFile::getEntryByName(const char* fileName) const in getEntryByName()
165 strcmp(fileName, pEntry->getFileName()) == 0) in getEntryByName()
360 status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size, in addCommon() argument
385 inputFp = fopen(fileName, FILE_OPEN_RO); in addCommon()
/build/soong/cc/
Dbinary.go304 fileName := binary.getStem(ctx) + flags.Toolchain.ExecutableSuffix()
305 outputFile := android.PathForModuleOut(ctx, fileName)
328 outputFile = android.PathForModuleOut(ctx, "unstripped", fileName)
336 outputFile = android.PathForModuleOut(ctx, "unprefixed", fileName)
344 outputFile = android.PathForModuleOut(ctx, "unversioned", fileName)
347 versionedOutputFile := android.PathForModuleOut(ctx, "versioned", fileName)
351 out := android.PathForModuleOut(ctx, "versioned-stripped", fileName)
362 outputFile = android.PathForModuleOut(ctx, "prelinker", fileName)
Dtoolchain_library.go83 fileName := ctx.ModuleName() + staticLibraryExtension
84 outputFile := android.PathForModuleOut(ctx, fileName)
Dlibrary.go614 fileName := ctx.ModuleName() + library.MutatedProperties.VariantName + staticLibraryExtension
615 outputFile := android.PathForModuleOut(ctx, fileName)
621 outputFile = android.PathForModuleOut(ctx, "unversioned", fileName)
624 versionedOutputFile := android.PathForModuleOut(ctx, "versioned", fileName)
681 fileName := library.getLibName(ctx) + flags.Toolchain.ShlibSuffix()
682 outputFile := android.PathForModuleOut(ctx, fileName)
700 outputFile = android.PathForModuleOut(ctx, "unstripped", fileName)
709 outputFile = android.PathForModuleOut(ctx, "unversioned", fileName)
712 versionedOutputFile := android.PathForModuleOut(ctx, "versioned", fileName)
716 out := android.PathForModuleOut(ctx, "versioned-stripped", fileName)
[all …]
Dprebuilt.go193 fileName := p.getStem(ctx) + flags.Toolchain.ExecutableSuffix()
199 stripped := android.PathForModuleOut(ctx, "stripped", fileName)
205 outputFile := android.PathForModuleOut(ctx, fileName)
/build/soong/finder/
Dfinder.go233 func (f *Finder) FindNamed(fileName string) []string {
234 return f.FindNamedAt("/", fileName)
240 func (f *Finder) FindNamedAt(rootPath string, fileName string) []string {
244 if foundName == fileName {
256 func (f *Finder) FindFirstNamed(fileName string) []string {
257 return f.FindFirstNamedAt("/", fileName)
262 func (f *Finder) FindFirstNamedAt(rootPath string, fileName string) []string {
266 if foundName == fileName {
1315 for _, fileName := range items.FileNames {
1317 if fileName == abortedName {
[all …]
/build/soong/finder/fs/
Dfs.go294 func (m *MockFs) getFile(parentDir *mockDir, fileName string) (file *mockFile, err error) {
295 file, isFile := parentDir.files[fileName]
297 _, isDir := parentDir.subdirs[fileName]
298 _, isLink := parentDir.symlinks[fileName]
302 Path: fileName,
309 Path: fileName,
316 Path: fileName,
/build/soong/android/
Dnamespace.go117 fileName := filepath.Base(path)
118 if fileName != "Android.bp" {
Dpaths.go969 func PathForVndkRefAbiDump(ctx ModuleContext, version, fileName string,
1000 fileName+ext)
/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())