Searched defs:file_name (Results 1 - 5 of 5) sorted by path

/system/core/libziparchive/
H A Dzip_archive.cc92 // record contains a variable length "file_name" and "extra_field"
641 const char* file_name = reinterpret_cast<const char*>(ptr + sizeof(CentralDirectoryRecord)); local
644 if (memchr(file_name, 0, file_name_length) != NULL) {
651 archive->hash_table_size, file_name, file_name_length);
/system/extras/tests/fstest/
H A Drecovery_test.cpp51 DataFileVerifier(const char* file_name) { argument
52 strncpy(test_file_, file_name, FILENAME_MAX);
/system/keymaster/
H A Dgoogle_keymaster_test.cpp854 static string read_file(const string& file_name) { argument
855 ifstream file_stream(file_name, std::ios::binary);
/system/media/camera/docs/
H A Dmetadata_parser_xml.py64 def __init__(self, xml, file_name):
71 file_name: Source of the XML block, only for debugging/errors
79 raise ValueError("%s has an invalid XML file" % (file_name))
86 def create_from_file(file_name):
91 file_name: Name of the XML file to load and parse.
99 return MetadataParserXml(file(file_name).read(), file_name)
325 file_name = sys.argv[1] variable in class:MetadataParserXml
328 parser = MetadataParserXml.create_from_file(file_name)
H A Dmetadata_validate.py316 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)

Completed in 143 milliseconds