Lines Matching refs:fp
1309 FILE* fp = fopen(bundle->getPublicOutputFile(), "w+");
1310 if (fp == NULL) {
1318 table.writePublicDefinitions(String16(assets->getPackage()), fp);
1319 fclose(fp);
1651 FILE* fp, const sp<AaptAssets>& assets,
1656 fprintf(fp, "%s/** @doconly */\n", indentStr);
1658 fprintf(fp, "%spublic static final class styleable {\n", indentStr);
1709 fp, "%s/** ", indentStr);
1712 fprintf(fp, "%s\n", cmt.string());
1717 fprintf(fp, "Attributes that can be used with a %s.\n", nclassName.string());
1725 fprintf(fp,
1762 fprintf(fp, "%s <tr><td><code>{@link #%s_%s %s:%s}</code></td><td>%s</td></tr>\n",
1771 fprintf(fp, "%s </table>\n", indentStr);
1780 fprintf(fp, "%s @see #%s_%s\n",
1785 fprintf(fp, "%s */\n", getIndentSpace(indent));
1788 fprintf(fp, "%s@Deprecated\n", indentStr);
1791 fprintf(fp,
1800 fprintf(fp, ",\n%s", getIndentSpace(indent+1));
1802 fprintf(fp, ", ");
1805 fprintf(fp, "0x%08x", idents[a]);
1808 fprintf(fp, "\n%s};\n", indentStr);
1838 fprintf(fp, "%s/**\n", indentStr);
1841 fprintf(fp, "%s <p>\n%s @attr description\n", indentStr, indentStr);
1842 fprintf(fp, "%s %s\n", indentStr, cmt.string());
1847 fprintf(fp,
1857 fprintf(fp, "\n\n%s %s\n", indentStr, cmt.string());
1864 fprintf(fp,
1871 fprintf(fp,
1875 fprintf(fp, "%s @attr name %s:%s\n", indentStr,
1878 fprintf(fp, "%s*/\n", indentStr);
1880 fprintf(fp, "%s@Deprecated\n", indentStr);
1882 fprintf(fp,
1891 fprintf(fp, "%s};\n", getIndentSpace(indent));
1896 FILE* fp, const sp<AaptAssets>& assets,
1943 fprintf(fp, "int[] styleable %s {", nclassName.string());
1947 fprintf(fp, ",");
1949 fprintf(fp, " 0x%08x", idents[a]);
1952 fprintf(fp, " }\n");
1980 fprintf(fp,
1992 FILE* fp, const sp<AaptAssets>& assets, bool includePrivate,
1996 fprintf(fp, "%spublic %sfinal class %s {\n",
2024 fprintf(fp,
2040 fprintf(fp,
2043 fprintf(fp,
2051 fprintf(fp,"%s */\n", getIndentSpace(indent));
2054 fprintf(fp, "%s@Deprecated\n", getIndentSpace(indent));
2056 fprintf(fp, id_format,
2074 fprintf(fp,
2088 fprintf(fp, "%s@Deprecated\n", getIndentSpace(indent));
2090 fprintf(fp, "%spublic static final String %s=\"%s\";\n",
2104 err = writeSymbolClass(fp, assets, includePrivate, nsymbols, nclassName, indent, nonConstantId);
2112 err = writeLayoutClasses(fp, assets, styleableSymbols, indent, includePrivate);
2119 fprintf(fp, "%s}\n", getIndentSpace(indent));
2124 FILE* fp, const sp<AaptAssets>& assets, bool includePrivate,
2142 fprintf(fp, "int %s %s 0x%08x\n",
2152 err = writeTextLayoutClasses(fp, assets, nsymbols, includePrivate);
2154 err = writeTextSymbolClass(fp, assets, includePrivate, nsymbols, nclassName);
2200 FILE* fp = fopen(dest.string(), "w+");
2201 if (fp == NULL) {
2210 fprintf(fp,
2220 status_t err = writeSymbolClass(fp, assets, includePrivate, symbols,
2225 fclose(fp);
2232 FILE* fp = fopen(textDest.string(), "w+");
2233 if (fp == NULL) {
2242 status_t err = writeTextSymbolClass(fp, assets, includePrivate, symbols,
2247 fclose(fp);
2257 FILE *fp = fopen(dependencyFile.string(), "a");
2258 fprintf(fp,"%s \\\n", dest.string());
2259 fclose(fp);
2607 FILE* fp = fopen(bundle->getProguardFile(), "w+");
2608 if (fp == NULL) {
2620 fprintf(fp, "# %s\n", locations.itemAt(j).string());
2622 fprintf(fp, "%s\n\n", rules.keyAt(i).string());
2624 fclose(fp);
2631 status_t writePathsToFile(const sp<FilePathStore>& files, FILE* fp)
2636 fprintf(fp, "%s \\\n", files->itemAt(file_i).string());
2643 writeDependencyPreReqs(Bundle* bundle, const sp<AaptAssets>& assets, FILE* fp, bool includeRaw)
2646 deps += writePathsToFile(assets->getFullResPaths(), fp);
2648 deps += writePathsToFile(assets->getFullAssetPaths(), fp);