Home
last modified time | relevance | path

Searched refs:fileName (Results 1 – 20 of 20) 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.go519 chooseSleepDuration := func(fileName string) (duration time.Duration) {
522 if fileName == correctVisitOrder[i] {
527 panic("unrecognized file name " + fileName)
Dcontext.go632 fileName string member
825 if blueprintsSet[blueprint.fileName] {
828 blueprintsSet[blueprint.fileName] = true
830 deps = append(deps, blueprint.fileName)
833 file, blueprints, deps, errs := c.openAndParse(blueprint.fileName, blueprint.Scope, rootDir,
871 descendants, hasDescendants := descendantsMap[blueprint.fileName]
994 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/
Dtoolchain_library.go90 fileName := ctx.ModuleName() + staticLibraryExtension
91 outputFile := android.PathForModuleOut(ctx, fileName)
98 fileName := ctx.ModuleName() + staticLibraryExtension
99 outputFile := android.PathForModuleOut(ctx, fileName)
Dbinary.go324 fileName := binary.getStem(ctx) + flags.Toolchain.ExecutableSuffix()
325 outputFile := android.PathForModuleOut(ctx, fileName)
348 outputFile = android.PathForModuleOut(ctx, "unstripped", fileName)
356 outputFile = android.PathForModuleOut(ctx, "unprefixed", fileName)
361 …utputFile = maybeInjectBoringSSLHash(ctx, outputFile, binary.Properties.Inject_bssl_hash, fileName)
366 outputFile = android.PathForModuleOut(ctx, "unversioned", fileName)
369 versionedOutputFile := android.PathForModuleOut(ctx, "versioned", fileName)
373 out := android.PathForModuleOut(ctx, "versioned-stripped", fileName)
384 outputFile = android.PathForModuleOut(ctx, "prelinker", fileName)
Dlibrary.go886 fileName := ctx.ModuleName() + staticLibraryExtension
887 outputFile := android.PathForModuleOut(ctx, fileName)
893 outputFile = android.PathForModuleOut(ctx, "unversioned", fileName)
896 versionedOutputFile := android.PathForModuleOut(ctx, "versioned", fileName)
952 fileName := library.getLibName(ctx) + flags.Toolchain.ShlibSuffix()
953 outputFile := android.PathForModuleOut(ctx, fileName)
958 importLibraryPath := android.PathForModuleOut(ctx, pathtools.ReplaceExtension(fileName, "lib"))
977 outputFile = android.PathForModuleOut(ctx, "unstripped", fileName)
982 …tputFile = maybeInjectBoringSSLHash(ctx, outputFile, library.Properties.Inject_bssl_hash, fileName)
987 outputFile = android.PathForModuleOut(ctx, "unversioned", fileName)
[all …]
Dprebuilt.go341 fileName := p.getStem(ctx) + flags.Toolchain.ExecutableSuffix()
347 stripped := android.PathForModuleOut(ctx, "stripped", fileName)
353 outputFile := android.PathForModuleOut(ctx, fileName)
/build/soong/rust/
Dlibrary.go383 fileName := library.getStem(ctx) + ctx.toolchain().RlibSuffix()
384 outputFile = android.PathForModuleOut(ctx, fileName)
389 fileName := library.getStem(ctx) + ctx.toolchain().DylibSuffix()
390 outputFile = android.PathForModuleOut(ctx, fileName)
395 fileName := library.getStem(ctx) + ctx.toolchain().StaticLibSuffix()
396 outputFile = android.PathForModuleOut(ctx, fileName)
401 fileName := library.sharedLibFilename(ctx)
402 outputFile = android.PathForModuleOut(ctx, fileName)
Dproc_macro.go65 fileName := procMacro.getStem(ctx) + ctx.toolchain().ProcMacroSuffix()
66 outputFile := android.PathForModuleOut(ctx, fileName)
Dbinary.go107 fileName := binary.getStem(ctx) + ctx.toolchain().ExecutableSuffix()
111 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 {
1316 for _, fileName := range items.FileNames {
1318 if fileName == abortedName {
[all …]
/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.go1117 func PathForVndkRefAbiDump(ctx ModuleContext, version, fileName string,
1150 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())