Home
last modified time | relevance | path

Searched refs:oneof_case (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/php/ext/google/protobuf/
Dstorage.c419 uint32_t* oneof_case = slot_oneof_case(layout, storage, field); in layout_set() local
424 *oneof_case = ONEOF_CASE_NONE; in layout_set()
441 oneof_case, upb_fielddef_number(field)); in layout_set()
463 uint32_t* oneof_case = slot_oneof_case(layout, storage, field); in layout_init() local
518 uint32_t* oneof_case = slot_oneof_case(layout, storage, field); in layout_get() local
521 if (*oneof_case != upb_fielddef_number(field)) { in layout_get()
/external/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c536 uint32_t* oneof_case = slot_oneof_case(layout, storage, field); in layout_get() local
539 if (*oneof_case != upb_fielddef_number(field)) { in layout_get()
611 uint32_t* oneof_case = slot_oneof_case(layout, storage, field); in layout_set() local
616 *oneof_case = ONEOF_CASE_NONE; in layout_set()
634 oneof_case, upb_fielddef_number(field)); in layout_set()
656 uint32_t* oneof_case = slot_oneof_case(layout, storage, field); in layout_init() local
660 *oneof_case = ONEOF_CASE_NONE; in layout_init()
714 uint32_t* oneof_case = slot_oneof_case(layout, storage, field); in layout_mark() local
717 if (*oneof_case == upb_fielddef_number(field)) { in layout_mark()
Dmessage.c78 uint32_t oneof_case; in which_oneof_field() local
96 oneof_case = *((uint32_t*)((char*)Message_data(self) + case_ofs)); in which_oneof_field()
98 if (oneof_case == ONEOF_CASE_NONE) { in which_oneof_field()
103 f = upb_oneofdef_itof(o, oneof_case); in which_oneof_field()
/external/tensorflow/tensorflow/core/framework/
Dattr_value_util.cc279 #define VALIDATE_FIELD(name, type_string, oneof_case) \ in AttrValueHasType() argument
290 } else if (attr_value.value_case() == AttrValue::oneof_case) { \ in AttrValueHasType()
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc2130 uint32 oneof_case = GetOneofCase(*message, oneof_descriptor); in ClearOneof() local
2131 if (oneof_case > 0) { in ClearOneof()
2132 const FieldDescriptor* field = descriptor_->FindFieldByNumber(oneof_case); in ClearOneof()