Lines Matching defs:ret
257 upb_strview ret;
258 ret.data = data;
259 ret.size = size;
260 return ret;
381 void* ret = h->ptr;
383 return ret;
536 upb_value ret;
537 _upb_value_setval(&ret, val);
538 return ret;
554 upb_value ret; \
555 upb_value_set ## name(&ret, val); \
556 return ret; \
583 upb_value ret;
584 upb_value_setfloat(&ret, cval);
585 return ret;
589 upb_value ret;
590 upb_value_setdouble(&ret, cval);
591 return ret;
1179 upb_value ret = {0};
1183 memcpy(&ret, &strp, sizeof(strp));
1185 memcpy(&ret, val, size);
1187 return ret;
1209 bool ret = upb_strtable_lookup2(&map->table, k.data, k.size, &tabval);
1210 if (ret) {
1213 return ret;
1520 google_protobuf_FileDescriptorSet *ret = google_protobuf_FileDescriptorSet_new(arena);
1521 return (ret && upb_decode(buf, size, ret, &google_protobuf_FileDescriptorSet_msginit, arena)) ? ret : NULL;
1551 google_protobuf_FileDescriptorProto *ret = google_protobuf_FileDescriptorProto_new(arena);
1552 return (ret && upb_decode(buf, size, ret, &google_protobuf_FileDescriptorProto_msginit, arena)) ? ret : NULL;
1708 google_protobuf_DescriptorProto *ret = google_protobuf_DescriptorProto_new(arena);
1709 return (ret && upb_decode(buf, size, ret, &google_protobuf_DescriptorProto_msginit, arena)) ? ret : NULL;
1861 google_protobuf_DescriptorProto_ExtensionRange *ret = google_protobuf_DescriptorProto_ExtensionRange_new(arena);
1862 return (ret && upb_decode(buf, size, ret, &google_protobuf_DescriptorProto_ExtensionRange_msginit, arena)) ? ret : NULL;
1904 google_protobuf_DescriptorProto_ReservedRange *ret = google_protobuf_DescriptorProto_ReservedRange_new(arena);
1905 return (ret && upb_decode(buf, size, ret, &google_protobuf_DescriptorProto_ReservedRange_msginit, arena)) ? ret : NULL;
1932 google_protobuf_ExtensionRangeOptions *ret = google_protobuf_ExtensionRangeOptions_new(arena);
1933 return (ret && upb_decode(buf, size, ret, &google_protobuf_ExtensionRangeOptions_msginit, arena)) ? ret : NULL;
1963 google_protobuf_FieldDescriptorProto *ret = google_protobuf_FieldDescriptorProto_new(arena);
1964 return (ret && upb_decode(buf, size, ret, &google_protobuf_FieldDescriptorProto_msginit, arena)) ? ret : NULL;
2054 google_protobuf_OneofDescriptorProto *ret = google_protobuf_OneofDescriptorProto_new(arena);
2055 return (ret && upb_decode(buf, size, ret, &google_protobuf_OneofDescriptorProto_msginit, arena)) ? ret : NULL;
2091 google_protobuf_EnumDescriptorProto *ret = google_protobuf_EnumDescriptorProto_new(arena);
2092 return (ret && upb_decode(buf, size, ret, &google_protobuf_EnumDescriptorProto_msginit, arena)) ? ret : NULL;
2169 google_protobuf_EnumDescriptorProto_EnumReservedRange *ret = google_protobuf_EnumDescriptorProto_EnumReservedRange_new(arena);
2170 return (ret && upb_decode(buf, size, ret, &google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit, arena)) ? ret : NULL;
2197 google_protobuf_EnumValueDescriptorProto *ret = google_protobuf_EnumValueDescriptorProto_new(arena);
2198 return (ret && upb_decode(buf, size, ret, &google_protobuf_EnumValueDescriptorProto_msginit, arena)) ? ret : NULL;
2240 google_protobuf_ServiceDescriptorProto *ret = google_protobuf_ServiceDescriptorProto_new(arena);
2241 return (ret && upb_decode(buf, size, ret, &google_protobuf_ServiceDescriptorProto_msginit, arena)) ? ret : NULL;
2292 google_protobuf_MethodDescriptorProto *ret = google_protobuf_MethodDescriptorProto_new(arena);
2293 return (ret && upb_decode(buf, size, ret, &google_protobuf_MethodDescriptorProto_msginit, arena)) ? ret : NULL;
2353 google_protobuf_FileOptions *ret = google_protobuf_FileOptions_new(arena);
2354 return (ret && upb_decode(buf, size, ret, &google_protobuf_FileOptions_msginit, arena)) ? ret : NULL;
2504 google_protobuf_MessageOptions *ret = google_protobuf_MessageOptions_new(arena);
2505 return (ret && upb_decode(buf, size, ret, &google_protobuf_MessageOptions_msginit, arena)) ? ret : NULL;
2559 google_protobuf_FieldOptions *ret = google_protobuf_FieldOptions_new(arena);
2560 return (ret && upb_decode(buf, size, ret, &google_protobuf_FieldOptions_msginit, arena)) ? ret : NULL;
2626 google_protobuf_OneofOptions *ret = google_protobuf_OneofOptions_new(arena);
2627 return (ret && upb_decode(buf, size, ret, &google_protobuf_OneofOptions_msginit, arena)) ? ret : NULL;
2657 google_protobuf_EnumOptions *ret = google_protobuf_EnumOptions_new(arena);
2658 return (ret && upb_decode(buf, size, ret, &google_protobuf_EnumOptions_msginit, arena)) ? ret : NULL;
2700 google_protobuf_EnumValueOptions *ret = google_protobuf_EnumValueOptions_new(arena);
2701 return (ret && upb_decode(buf, size, ret, &google_protobuf_EnumValueOptions_msginit, arena)) ? ret : NULL;
2737 google_protobuf_ServiceOptions *ret = google_protobuf_ServiceOptions_new(arena);
2738 return (ret && upb_decode(buf, size, ret, &google_protobuf_ServiceOptions_msginit, arena)) ? ret : NULL;
2774 google_protobuf_MethodOptions *ret = google_protobuf_MethodOptions_new(arena);
2775 return (ret && upb_decode(buf, size, ret, &google_protobuf_MethodOptions_msginit, arena)) ? ret : NULL;
2817 google_protobuf_UninterpretedOption *ret = google_protobuf_UninterpretedOption_new(arena);
2818 return (ret && upb_decode(buf, size, ret, &google_protobuf_UninterpretedOption_msginit, arena)) ? ret : NULL;
2884 google_protobuf_UninterpretedOption_NamePart *ret = google_protobuf_UninterpretedOption_NamePart_new(arena);
2885 return (ret && upb_decode(buf, size, ret, &google_protobuf_UninterpretedOption_NamePart_msginit, arena)) ? ret : NULL;
2912 google_protobuf_SourceCodeInfo *ret = google_protobuf_SourceCodeInfo_new(arena);
2913 return (ret && upb_decode(buf, size, ret, &google_protobuf_SourceCodeInfo_msginit, arena)) ? ret : NULL;
2943 google_protobuf_SourceCodeInfo_Location *ret = google_protobuf_SourceCodeInfo_Location_new(arena);
2944 return (ret && upb_decode(buf, size, ret, &google_protobuf_SourceCodeInfo_Location_msginit, arena)) ? ret : NULL;
3004 google_protobuf_GeneratedCodeInfo *ret = google_protobuf_GeneratedCodeInfo_new(arena);
3005 return (ret && upb_decode(buf, size, ret, &google_protobuf_GeneratedCodeInfo_msginit, arena)) ? ret : NULL;
3035 google_protobuf_GeneratedCodeInfo_Annotation *ret = google_protobuf_GeneratedCodeInfo_Annotation_new(arena);
3036 return (ret && upb_decode(buf, size, ret, &google_protobuf_GeneratedCodeInfo_Annotation_msginit, arena)) ? ret : NULL;
5533 bool ret = upb_sink_startstr(sink_, s, size_hint, &sub_c);
5535 return ret;
5554 bool ret = upb_sink_startsubmsg(sink_, s, &sub_c);
5556 return ret;
5571 bool ret = upb_sink_startseq(sink_, s, &sub_c);
5573 return ret;
6229 #define CHECK_RETURN(x) { int32_t ret = x; if (ret >= 0) return ret; }
6296 upb_decoderet ret;
6297 ret.p = p;
6298 ret.val = val;
6299 return ret;
6379 uint64_t ret = 0;
6381 memcpy(&ret, buf, bytes);
6383 ret = byteswap64(ret);
6385 UPB_ASSERT(ret <= 0xffffffffffU);
6386 return ret;