Lines Matching refs:fp_
95 fp_ = i::OS::FOpen(snapshot_file, "wb"); in CppByteSink()
96 if (fp_ == NULL) { in CppByteSink()
100 fprintf(fp_, "// Autogenerated snapshot file. Do not edit.\n\n"); in CppByteSink()
101 fprintf(fp_, "#include \"v8.h\"\n"); in CppByteSink()
102 fprintf(fp_, "#include \"platform.h\"\n\n"); in CppByteSink()
103 fprintf(fp_, "#include \"snapshot.h\"\n\n"); in CppByteSink()
104 fprintf(fp_, "namespace v8 {\nnamespace internal {\n\n"); in CppByteSink()
105 fprintf(fp_, "const byte Snapshot::data_[] = {"); in CppByteSink()
109 fprintf(fp_, "const int Snapshot::size_ = %d;\n", Position()); in ~CppByteSink()
111 fprintf(fp_, "const byte* Snapshot::raw_data_ = NULL;\n"); in ~CppByteSink()
112 fprintf(fp_, in ~CppByteSink()
116 fprintf(fp_, in ~CppByteSink()
118 fprintf(fp_, in ~CppByteSink()
121 fprintf(fp_, "} } // namespace v8::internal\n"); in ~CppByteSink()
122 fclose(fp_); in ~CppByteSink()
134 fprintf(fp_, in WriteSpaceUsed()
138 fprintf(fp_, in WriteSpaceUsed()
142 fprintf(fp_, in WriteSpaceUsed()
146 fprintf(fp_, in WriteSpaceUsed()
150 fprintf(fp_, in WriteSpaceUsed()
154 fprintf(fp_, in WriteSpaceUsed()
158 fprintf(fp_, in WriteSpaceUsed()
166 fprintf(fp_, "};\n\n"); in WritePartialSnapshot()
167 fprintf(fp_, "const int Snapshot::context_size_ = %d;\n", length); in WritePartialSnapshot()
169 fprintf(fp_, in WritePartialSnapshot()
173 fprintf(fp_, in WritePartialSnapshot()
177 fprintf(fp_, "const byte Snapshot::context_data_[] = {\n"); in WritePartialSnapshot()
178 partial_sink_.Print(fp_); in WritePartialSnapshot()
179 fprintf(fp_, "};\n\n"); in WritePartialSnapshot()
181 fprintf(fp_, "const byte* Snapshot::context_raw_data_ = NULL;\n"); in WritePartialSnapshot()
183 fprintf(fp_, "const byte* Snapshot::context_raw_data_ =" in WritePartialSnapshot()
189 Print(fp_); in WriteSnapshot()
195 FILE* fp_; member in CppByteSink