Lines Matching refs:file

101             sp<AaptFile> file;
103 // Try to get next file in this current group.
106 file = group->getFiles().valueAt(mGroupPos++);
108 // Try to get the next group/file in this directory
114 file = group->getFiles().valueAt(0);
122 mFile = file;
126 mParams = file->getGroupEntry().toParams();
137 mPath.appendPath(file->getGroupEntry().toDirName(mResType));
142 file->getPrintableSource().string());
146 NOISY(printf("file name=%s\n", mBaseName.string()));
183 sp<AaptFile> file;
185 file = group->getFiles().valueFor(AaptGroupEntry());
186 if (file != NULL) {
187 return file;
206 sp<AaptFile> file = grp->getFiles().valueAt(0);
209 status_t err = parseXMLResource(file, &block);
224 file->getPrintableSource().string(), block.getLineNumber());
229 file->getPrintableSource().string(), block.getLineNumber(),
237 file->getPrintableSource().string(), block.getLineNumber());
290 fprintf(stderr, "%s: Invalid file name: must contain only [a-z0-9_.]\n",
313 const sp<AaptFile>& file, volatile bool* hasErrors) :
314 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) {
415 NOISY(printf("Adding file %s in group %s resType %s\n",
601 // look for same flavor. For a given file (strings.xml, for example)
631 printf("found a match (" ZD ") for overlay file %s, for flavor %s\n",
640 printf("nothing matches overlay file %s, for flavor %s\n",
653 // this group doesn't exist (a file that's only in the overlay)
885 // First, look for a package file to parse. This is required to
890 fprintf(stderr, "ERROR: No AndroidManifest.xml file found.\n");
1059 sp<AaptFile> file = it.getFile();
1060 res = compileResourceFile(bundle, assets, file, it.getParams(),
1238 // Generate final compiled manifest file.
1285 fprintf(stderr, "ERROR: Unable to open public definitions output file %s: %s\n",
1307 // Perform a basic validation of the manifest file. This time we
2180 fprintf(stderr, "ERROR: Unable to open class file %s: %s\n",
2212 fprintf(stderr, "ERROR: Unable to open text symbol file %s: %s\n",
2228 // If we were asked to generate a dependency file, we'll go ahead and add this R.java
2229 // as a target in the dependency file right next to it.
2231 // Add this R.java to the dependency file
2248 // { rule --> { file locations } }
2328 // First, look for a package file to parse. This is required to
2332 fprintf(stderr, "ERROR: No AndroidManifest.xml file found.\n");
2587 fprintf(stderr, "ERROR: Unable to open class file %s: %s\n",
2607 // Loops through the string paths and writes them to the file pointer
2608 // Each file path is written on its own line with a terminating backslash.
2613 // Add the full file path to the dependency file