Home | History | Annotate | Download | only in mutate

Lines Matching refs:Generate

45 // Interface implemented by those who generate basic types.  The types all
170 // Partially-specialized class that knows how to generate a given type.
173 static bool Generate(P* p, Generator *generator) {
175 // to generate.
184 return GenerateTraits<P>::Generate(p, generator);
187 // Specializations to generate primitive types.
190 static bool Generate(bool* p, Generator* generator) {
198 static bool Generate(int* p, Generator* generator) {
206 static bool Generate(unsigned int* p, Generator* generator) {
214 static bool Generate(long* p, Generator* generator) {
222 static bool Generate(unsigned long* p, Generator* generator) {
230 static bool Generate(long long* p, Generator* generator) {
238 static bool Generate(unsigned long long* p, Generator* generator) {
246 static bool Generate(short* p, Generator* generator) {
254 static bool Generate(unsigned short* p, Generator* generator) {
262 static bool Generate(char* p, Generator* generator) {
270 static bool Generate(unsigned char* p, Generator* generator) {
278 static bool Generate(float* p, Generator* generator) {
286 static bool Generate(double* p, Generator* generator) {
294 static bool Generate(std::string* p, Generator* generator) {
302 static bool Generate(base::string16* p, Generator* generator) {
308 // Specializations to generate tuples.
311 static bool Generate(Tuple0* p, Generator* generator) {
318 static bool Generate(Tuple1<A>* p, Generator* generator) {
325 static bool Generate(Tuple2<A, B>* p, Generator* generator) {
334 static bool Generate(Tuple3<A, B, C>* p, Generator* generator) {
344 static bool Generate(Tuple4<A, B, C, D>* p, Generator* generator) {
355 static bool Generate(Tuple5<A, B, C, D, E>* p, Generator* generator) {
365 // Specializations to generate containers.
368 static bool Generate(std::vector<A>* p, Generator* generator) {
384 static bool Generate(std::set<A>* p, Generator* generator) {
403 static bool Generate(std::map<A, B>* p, Generator* generator) {
421 static bool Generate(std::pair<A, B>* p, Generator* generator) {
428 // Specializations to generate hand-coded tyoes
431 static bool Generate(base::NullableString16* p, Generator* generator) {
439 static bool Generate(base::FileDescriptor* p, Generator* generator) {
440 // I don't think we can generate real ones due to check on construct.
448 static bool Generate(base::FilePath* p, Generator* generator) {
461 static bool Generate(base::File::Error* p, Generator* generator) {
472 static bool Generate(base::File::Info* p, Generator* generator) {
495 static bool Generate(base::Time* p, Generator* generator) {
503 static bool Generate(base::TimeDelta* p, Generator* generator) {
511 static bool Generate(base::TimeTicks* p, Generator* generator) {
519 static bool Generate(base::ListValue* p, Generator* generator) {
581 static bool Generate(base::DictionaryValue* p, Generator* generator) {
646 static bool Generate(GURL *p, Generator* generator) {
666 // FIXME: Actually generate something.
669 static bool Generate(SkBitmap* p, Generator* generator) {
677 static bool Generate(IPC::ChannelHandle* p, Generator* generator) {
686 // FIXME: this should actually generate something
687 static bool Generate(cc::CompositorFrame* p, Generator* generator) {
694 // FIXME: this should actually generate something
695 static bool Generate(cc::CompositorFrameAck* p, Generator* generator) {
702 static bool Generate(content::IndexedDBKey* p, Generator* generator) {
757 static bool Generate(content::IndexedDBKeyRange *p, Generator* generator) {
777 static bool Generate(content::IndexedDBKeyPath *p, Generator* generator) {
804 static bool Generate(content::PageState *p, Generator* generator) {
815 static bool Generate(gpu::Mailbox *p, Generator* generator) {
823 static bool Generate(media::AudioParameters *p, Generator* generator) {
860 static bool Generate(media::VideoCaptureFormat *p, Generator* generator) {
881 static bool Generate(net::LoadTimingInfo *p, Generator* generator) {
903 static bool Generate(net::HostPortPair *p, Generator* generator) {
918 static bool Generate(net::IPEndPoint *p, Generator* generator) {
933 static bool Generate(gfx::Point *p, Generator* generator) {
947 static bool Generate(gfx::PointF *p, Generator* generator) {
961 static bool Generate(gfx::Size *p, Generator* generator) {
975 static bool Generate(gfx::SizeF *p, Generator* generator) {
989 static bool Generate(gfx::Rect *p, Generator* generator) {
1004 static bool Generate(gfx::RectF *p, Generator* generator) {
1019 static bool Generate(gfx::Range *p, Generator* generator) {
1033 static bool Generate(gfx::Vector2d *p, Generator* generator) {
1047 static bool Generate(gfx::Vector2dF *p, Generator* generator) {
1062 static bool Generate(PP_Bool *p, Generator* generator) {
1073 static bool Generate(PP_NetAddress_Private *p, Generator* generator) {
1082 static bool Generate(ppapi::HostResource *p, Generator* generator) {
1096 static bool Generate(ppapi::PepperFilePath *p, Generator* generator) {
1109 static bool Generate(ppapi::PpapiPermissions *p, Generator* generator) {
1120 static bool Generate(ppapi::SocketOptionData *p, Generator* generator) {
1130 // Redefine macros to generate generating from traits declarations.
1142 // Set up so next include will generate generate trait classes.
1150 static bool Generate(struct_name *p, Generator* generator) {
1172 static bool Generate(enum_name* p, Generator* generator) { \
1191 // Redefine macros to generate generating funtions
1212 std::cerr << "Don't know how to generate " << #name << "\n"; \
1224 std::cerr << "Don't know how to generate " << #name << "\n"; \
1236 std::cerr << "Don't know how to generate " << #name << "\n"; \
1250 std::cerr << "Don't know how to generate " << #name << "\n"; \
1322 // Generate a random batch.
1332 std::cerr << "Failed to generate " << bad_count << " messages.\n";