Home
last modified time | relevance | path

Searched refs:mapdata (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c249 const map_handlerdata_t* mapdata = hd; in startmapentry_handler() local
250 VALUE map_rb = DEREF(msg, mapdata->ofs, VALUE); in startmapentry_handler()
255 native_slot_init(mapdata->key_field_type, &frame->key_storage); in startmapentry_handler()
256 native_slot_init(mapdata->value_field_type, &frame->value_storage); in startmapentry_handler()
265 const map_handlerdata_t* mapdata = hd; in endmap_handler() local
268 mapdata->key_field_type, Qnil, in endmap_handler()
274 if (mapdata->value_field_type == UPB_TYPE_MESSAGE || in endmap_handler()
275 mapdata->value_field_type == UPB_TYPE_ENUM) { in endmap_handler()
276 value_field_typeclass = get_def_obj(mapdata->value_field_subdef); in endmap_handler()
280 mapdata->value_field_type, value_field_typeclass, in endmap_handler()
/external/python/cpython3/Objects/
Dunicodeobject.c7812 void *mapdata; in charmap_decode_string() local
7820 mapdata = PyUnicode_DATA(mapping); in charmap_decode_string()
7829 Py_UCS1 *mapdata_ucs1 = (Py_UCS1 *)mapdata; in charmap_decode_string()
7853 Py_UCS2 *mapdata_ucs2 = (Py_UCS2 *)mapdata; in charmap_decode_string()
7885 x = PyUnicode_READ(mapkind, mapdata, ch); in charmap_decode_string()