Lines Matching refs:writer
44 SkJSONWriter writer(&stream, SkJSONWriter::Mode::kPretty);
46 writer.beginObject(); // root
49 writer.appendString(properties[i-1], properties[i]);
52 writer.beginObject("key");
54 writer.appendString(key[i-1], key[i]);
56 writer.endObject();
60 writer.appendS32("max_rss_MB", maxResidentSetSizeMB);
65 writer.beginArray("results");
67 writer.beginObject();
69 writer.beginObject("key");
70 writer.appendString("name" , gBitmapResults[i].name.c_str());
71 writer.appendString("config" , gBitmapResults[i].config.c_str());
72 writer.appendString("source_type", gBitmapResults[i].sourceType.c_str());
77 writer.appendString("source_options", gBitmapResults[i].sourceOptions.c_str());
79 writer.endObject(); // key
81 writer.beginObject("options");
82 writer.appendString("ext" , gBitmapResults[i].ext.c_str());
83 writer.appendString("gamut", gBitmapResults[i].gamut.c_str());
84 writer.appendString("transfer_fn", gBitmapResults[i].transferFn.c_str());
85 writer.appendString("color_type", gBitmapResults[i].colorType.c_str());
86 writer.appendString("alpha_type", gBitmapResults[i].alphaType.c_str());
87 writer.appendString("color_depth", gBitmapResults[i].colorDepth.c_str());
88 writer.endObject(); // options
90 writer.appendString("md5", gBitmapResults[i].md5.c_str());
92 writer.endObject(); // 1 result
94 writer.endArray(); // results
97 writer.endObject(); // root
98 writer.flush();