Home
last modified time | relevance | path

Searched refs:hd (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dencode_decode.c69 submsg_handlerdata_t *hd = ALLOC(submsg_handlerdata_t); in newsubmsghandlerdata() local
70 hd->ofs = ofs; in newsubmsghandlerdata()
71 hd->md = upb_fielddef_msgsubdef(f); in newsubmsghandlerdata()
72 upb_handlers_addcleanup(h, hd, xfree); in newsubmsghandlerdata()
73 return hd; in newsubmsghandlerdata()
87 oneof_handlerdata_t *hd = ALLOC(oneof_handlerdata_t); in newoneofhandlerdata() local
88 hd->ofs = ofs; in newoneofhandlerdata()
89 hd->case_ofs = case_ofs; in newoneofhandlerdata()
96 hd->oneof_case_num = upb_fielddef_number(f); in newoneofhandlerdata()
98 hd->md = upb_fielddef_msgsubdef(f); in newoneofhandlerdata()
[all …]
Dupb.c2736 bool upb_handlerattr_sethandlerdata(upb_handlerattr *attr, const void *hd) { in upb_handlerattr_sethandlerdata() argument
2737 attr->handler_data_ = hd; in upb_handlerattr_sethandlerdata()
3660 bool upb_shim_set ## type (void *c, const void *hd, ctype val) { \
3662 const upb_shim_data *d = hd; \
6537 static void *fileset_startfile(void *closure, const void *hd) { in fileset_startfile() argument
6539 UPB_UNUSED(hd); in fileset_startfile()
6547 static bool file_start(void *closure, const void *hd) { in file_start() argument
6549 UPB_UNUSED(hd); in file_start()
6554 static bool file_end(void *closure, const void *hd, upb_status *status) { in file_end() argument
6556 UPB_UNUSED(hd); in file_end()
[all …]
Dupb.h4496 typedef void* upb_startfield_handlerfunc(void *c, const void *hd);
4497 typedef bool upb_endfield_handlerfunc(void *c, const void *hd);
4498 typedef bool upb_int32_handlerfunc(void *c, const void *hd, int32_t val);
4499 typedef bool upb_int64_handlerfunc(void *c, const void *hd, int64_t val);
4500 typedef bool upb_uint32_handlerfunc(void *c, const void *hd, uint32_t val);
4501 typedef bool upb_uint64_handlerfunc(void *c, const void *hd, uint64_t val);
4502 typedef bool upb_float_handlerfunc(void *c, const void *hd, float val);
4503 typedef bool upb_double_handlerfunc(void *c, const void *hd, double val);
4504 typedef bool upb_bool_handlerfunc(void *c, const void *hd, bool val);
4505 typedef void *upb_startstr_handlerfunc(void *c, const void *hd,
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c2583 bool upb_handlerattr_sethandlerdata(upb_handlerattr *attr, const void *hd) { in upb_handlerattr_sethandlerdata() argument
2584 attr->handler_data_ = hd; in upb_handlerattr_sethandlerdata()
3503 bool upb_shim_set ## type (void *c, const void *hd, ctype val) { \
3505 const upb_shim_data *d = hd; \
5998 static bool file_startmsg(void *r, const void *hd) { in file_startmsg() argument
5999 UPB_UNUSED(hd); in file_startmsg()
6004 static bool file_endmsg(void *closure, const void *hd, upb_status *status) { in file_endmsg() argument
6006 UPB_UNUSED(hd); in file_endmsg()
6012 static size_t file_onpackage(void *closure, const void *hd, const char *buf, in file_onpackage() argument
6015 UPB_UNUSED(hd); in file_onpackage()
[all …]
Dmessage.c88 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument
94 static size_t stringsink_string(void *_sink, const void *hd, const char *ptr, in stringsink_string() argument
99 UPB_UNUSED(hd); in stringsink_string()
Dupb.h3800 typedef void* upb_startfield_handlerfunc(void *c, const void *hd);
3801 typedef bool upb_endfield_handlerfunc(void *c, const void *hd);
3802 typedef bool upb_int32_handlerfunc(void *c, const void *hd, int32_t val);
3803 typedef bool upb_int64_handlerfunc(void *c, const void *hd, int64_t val);
3804 typedef bool upb_uint32_handlerfunc(void *c, const void *hd, uint32_t val);
3805 typedef bool upb_uint64_handlerfunc(void *c, const void *hd, uint64_t val);
3806 typedef bool upb_float_handlerfunc(void *c, const void *hd, float val);
3807 typedef bool upb_double_handlerfunc(void *c, const void *hd, double val);
3808 typedef bool upb_bool_handlerfunc(void *c, const void *hd, bool val);
3809 typedef void *upb_startstr_handlerfunc(void *c, const void *hd,
[all …]
/frameworks/base/tools/aapt/
DXMLNode.cpp1134 ResXMLTree_header* hd = (ResXMLTree_header*)(((uint8_t*)data)+basePos); in flatten() local
1135 hd->header.size = htodl(dest->getSize()-basePos); in flatten()