Lines Matching refs:contents
46 unique_ptr<string> contents;
49 return contents;
51 contents.reset(new string);
52 *contents = it->second;
53 contents->append(content_suffix);
55 return contents;
94 const string& contents) {
95 file_contents_[filename] = contents;
102 string contents;
104 contents = StringPrintf("package %s;\nparcelable %s;",
107 contents = StringPrintf("package %s;\nparcelable %s cpp_header \"%s\";",
111 SetFileContents(rel_path, contents);
117 string contents = StringPrintf("package %s;\ninterface %s { }",
119 SetFileContents(rel_path, contents);
126 string contents = StringPrintf("package %s;\n", package.c_str());
128 StringAppendF(&contents, "parcelable %s.%s;\n",
131 SetFileContents(rel_path, contents);