Searched refs:file_name (Results 1 – 7 of 7) sorted by relevance
/system/media/camera/docs/ |
D | metadata_parser_xml.py | 64 def __init__(self, xml, file_name): argument 79 raise ValueError("%s has an invalid XML file" % (file_name)) 86 def create_from_file(file_name): argument 99 return MetadataParserXml(file(file_name).read(), file_name) 330 file_name = sys.argv[1] variable 333 parser = MetadataParserXml.create_from_file(file_name)
|
D | metadata_validate.py | 316 file_name = sys.argv[1] variable 317 succ = validate_xml(file(file_name).read()) is not None 320 print "%s: SUCCESS! Document validated" %(file_name) 323 print >> sys.stderr, "%s: ERRORS: Document failed to validate" %(file_name)
|
/system/extras/tests/fstest/ |
D | recovery_test.cpp | 51 DataFileVerifier(const char* file_name) { in DataFileVerifier() argument 52 strncpy(test_file_, file_name, FILENAME_MAX); in DataFileVerifier()
|
/system/core/logcat/ |
D | logcat.cpp | 415 std::string file_name = directory; in lastLogTime() local 416 file_name += "/"; in lastLogTime() 417 file_name += dp->d_name; in lastLogTime() 419 if (!android::base::ReadFileToString(file_name, &file)) { in lastLogTime()
|
/system/core/init/ |
D | init.cpp | 820 std::string file_name = android::base::StringPrintf("%s/compatible", android_dir); in process_kernel_dt() local 823 android::base::ReadFileToString(file_name, &dt_file); in process_kernel_dt() 838 file_name = android::base::StringPrintf("%s/%s", android_dir, dp->d_name); in process_kernel_dt() 840 android::base::ReadFileToString(file_name, &dt_file); in process_kernel_dt()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 600 const uint8_t* file_name = ptr + sizeof(CentralDirectoryRecord); in ParseZipArchive() local 603 if (!IsValidEntryName(file_name, file_name_length)) { in ParseZipArchive() 609 entry_name.name = file_name; in ParseZipArchive()
|
/system/keymaster/ |
D | android_keymaster_test.cpp | 1648 static string read_file(const string& file_name) { in read_file() argument 1649 ifstream file_stream(file_name, std::ios::binary); in read_file()
|