Home
last modified time | relevance | path

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

/system/core/fastboot/
Dfs.cpp114 static int generate_ext4_image(const char* fileName, long long partSize, in generate_ext4_image() argument
140 mke2fs_args.push_back(fileName); in generate_ext4_image()
160 fileName, nullptr}; in generate_ext4_image()
165 static int generate_f2fs_image(const char* fileName, long long partSize, const std::string& initial… in generate_f2fs_image() argument
182 mkf2fs_args.push_back(fileName); in generate_f2fs_image()
196 "-f", initial_dir.c_str(), fileName, nullptr}; in generate_f2fs_image()
205 int (*generate)(const char* fileName, long long partSize, const std::string& initial_dir,
222 int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize, in fs_generator_generate() argument
225 return gen->generate(fileName, partSize, initial_dir, eraseBlkSize, logicalBlkSize); in fs_generator_generate()
Dfs.h10 int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize,
/system/timezone/tzdatacheck/
Dtzdatacheck.cpp106 static bool readBytes(const std::string& fileName, char* buffer, size_t byteCount) { in readBytes() argument
107 FILE* file = fopen(fileName.c_str(), "r"); in readBytes()
110 PLOG(WARNING) << "Error opening file " << fileName; in readBytes()
117 LOG(WARNING) << fileName << " is too small. " << byteCount << " bytes required"; in readBytes()
127 static bool checkValidTzDataHeader(const std::string& fileName, const char* headerBytes) { in checkValidTzDataHeader() argument
129 LOG(WARNING) << fileName << " does not start with the expected bytes (tzdata)"; in checkValidTzDataHeader()
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/
DCreateTimeZoneDistro.java102 String fileName = getMandatoryProperty(p, propertyName); in getMandatoryPropertyFile() local
103 File file = new File(fileName); in getMandatoryPropertyFile()
/system/core/liblog/include/log/
Devent_tag_map.h34 EventTagMap* android_openEventTagMap(const char* fileName);
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DFileUtils.java152 for (String fileName : fileNames) { in filesExist()
153 File file = new File(rootDir, fileName); in filesExist()
/system/tools/hidl/
DCoordinator.cpp103 const std::string& fileName) const { in getFormatter()
109 status_t err = getFilepath(fqName, location, fileName, &filepath); in getFormatter()
132 const std::string& fileName, std::string* path) const { in getFilepath() argument
139 *path = mOutputPath + fileName; in getFilepath()
145 *path = mOutputPath + packagePath + fileName; in getFilepath()
153 *path = mOutputPath + packageRootPath + packagePath + fileName; in getFilepath()
161 *path = mOutputPath + packageRootPath + packagePath + fileName; in getFilepath()
508 for (const auto &fileName : fileNames) { in appendPackageInterfacesToVector() local
509 FQName subFQName(package.package(), package.version(), fileName); in appendPackageInterfacesToVector()
DCoordinator.h63 status_t getFilepath(const FQName& fqName, Location location, const std::string& fileName,
67 const std::string& fileName) const;
DREADME.md19 For singe file input, follow the format: package@version::fileName
Dmain.cpp81 std::string fileName; in appendOutputFiles() local
82 status_t err = getOutputFile(fqName, coordinator, location, &fileName); in appendOutputFiles()
85 if (!fileName.empty()) { in appendOutputFiles()
86 outputFiles->push_back(fileName); in appendOutputFiles()
278 const std::string& fileName, const FileGenerator::GenerationFunction& generationFunction) { in singleFileGenerator() argument
280 FileGenerator::alwaysGenerate, [fileName](const FQName&) { return fileName; }, in singleFileGenerator()
/system/core/liblog/
Devent_tag_map.cpp410 LIBLOG_ABI_PUBLIC EventTagMap* android_openEventTagMap(const char* fileName) { in android_openEventTagMap() argument
420 const char* tagfile = fileName ? fileName : eventTagFiles[which]; in android_openEventTagMap()
440 if (fileName) break; // Only allow one as specified in android_openEventTagMap()
461 const char* tagfile = fileName ? fileName : eventTagFiles[which]; in android_openEventTagMap()
/system/tools/hidl/c2hal/
DAST.cpp258 std::string fileName = declaration->getInterfaceName() + ".hal"; in generateFile() local
260 FILE *file = fopen((getFileDir() + fileName).c_str(), "w"); in generateFile()
/system/core/libziparchive/include/ziparchive/
Dzip_archive.h115 int32_t OpenArchive(const char* fileName, ZipArchiveHandle* handle);
/system/libvintf/
DAssembleVintf.cpp567 const std::string& fileName = it->name(); in tryAssemble() local
569 std::cerr << "File \"" << fileName << "\" is not a valid " << firstType << " " in tryAssemble()
575 std::cerr << "File \"" << fileName << "\" is a " << additionalSchema.type() << " " in tryAssemble()
581 schemas.emplace_back(fileName, std::move(additionalSchema)); in tryAssemble()
DVintfObject.cpp281 for (const std::string& fileName : fileNames) { in GetAllFrameworkMatrixLevels() local
282 std::string path = kSystemVintfDir + fileName; in GetAllFrameworkMatrixLevels()
/system/core/libziparchive/
Dzip_archive.cc431 int32_t OpenArchive(const char* fileName, ZipArchiveHandle* handle) { in OpenArchive() argument
432 const int fd = open(fileName, O_RDONLY | O_BINARY, 0); in OpenArchive()
437 ALOGW("Unable to open '%s': %s", fileName, strerror(errno)); in OpenArchive()
441 return OpenArchiveInternal(archive, fileName); in OpenArchive()