Lines Matching refs:C2FieldDescriptor
33 void PrintTo(const C2FieldDescriptor &fd, ::std::ostream *os) { in PrintTo()
34 using FD=C2FieldDescriptor; in PrintTo()
331 void dumpType(C2FieldDescriptor::type_t type) { in dumpType()
334 case C2FieldDescriptor::BLOB: cout << "blob "; break; in dumpType()
335 case C2FieldDescriptor::FLOAT: cout << "float "; break; in dumpType()
336 case C2FieldDescriptor::INT32: cout << "int32_t "; break; in dumpType()
337 case C2FieldDescriptor::INT64: cout << "int64_t "; break; in dumpType()
338 case C2FieldDescriptor::UINT32: cout << "uint32_t "; break; in dumpType()
339 case C2FieldDescriptor::UINT64: cout << "uint64_t "; break; in dumpType()
340 case C2FieldDescriptor::STRING: cout << "char "; break; in dumpType()
354 for (const C2FieldDescriptor &f : sd) { in dumpStruct()
361 for (const C2FieldDescriptor::NamedValueType &p : f.namedValues()) { in dumpStruct()
364 case C2FieldDescriptor::INT32: cout << get(p.second, (int32_t *)0); break; in dumpStruct()
365 case C2FieldDescriptor::INT64: cout << get(p.second, (int64_t *)0); break; in dumpStruct()
366 case C2FieldDescriptor::UINT32: cout << get(p.second, (uint32_t *)0); break; in dumpStruct()
367 case C2FieldDescriptor::UINT64: cout << get(p.second, (uint64_t *)0); break; in dumpStruct()
368 case C2FieldDescriptor::FLOAT: cout << get(p.second, (float *)0); break; in dumpStruct()