Searched refs:upb_msg_internal (Results 1 – 5 of 5) sorted by relevance
10 static const size_t overhead = sizeof(upb_msg_internal);12 static const upb_msg_internal *upb_msg_getinternal_const(const upb_msg *msg) { in upb_msg_getinternal_const()13 ptrdiff_t size = sizeof(upb_msg_internal); in upb_msg_getinternal_const()14 return (upb_msg_internal*)((char*)msg - size); in upb_msg_getinternal_const()22 void *mem = UPB_PTR_AT(msg, -sizeof(upb_msg_internal), char); in _upb_msg_clear()29 upb_msg_internal *in = upb_msg_getinternal(msg); in _upb_msg_addunknown()52 upb_msg_internal *in = upb_msg_getinternal(msg); in _upb_msg_discardunknown_shallow()59 const upb_msg_internal *in = upb_msg_getinternal_const(msg); in upb_msg_getunknown()
92 } upb_msg_internal; typedef98 return l->size + sizeof(upb_msg_internal); in upb_msg_sizeof()106 msg = UPB_PTR_AT(mem, sizeof(upb_msg_internal), upb_msg); in _upb_msg_new_inl()114 UPB_INLINE upb_msg_internal *upb_msg_getinternal(upb_msg *msg) { in upb_msg_getinternal()115 ptrdiff_t size = sizeof(upb_msg_internal); in upb_msg_getinternal()116 return (upb_msg_internal*)((char*)msg - size); in upb_msg_getinternal()374 upb_msg_internal internal;
917 size_t size = l->size + sizeof(upb_msg_internal); in TAGBYTES()931 return msg_data + sizeof(upb_msg_internal); in TAGBYTES()
3960 } upb_msg_internal; typedef3965 upb_msg_internal base;3969 return sizeof(upb_msg_internal) - l->extendable * sizeof(void *); in upb_msg_internalsize()3972 static upb_msg_internal *upb_msg_getinternal(upb_msg *msg) { in upb_msg_getinternal()3973 return VOIDPTR_AT(msg, -sizeof(upb_msg_internal)); in upb_msg_getinternal()3976 static const upb_msg_internal *upb_msg_getinternal_const(const upb_msg *msg) { in upb_msg_getinternal_const()3977 return VOIDPTR_AT(msg, -sizeof(upb_msg_internal)); in upb_msg_getinternal_const()3987 upb_msg_internal* in = upb_msg_getinternal(msg); in upb_msg_addunknown()4000 const upb_msg_internal* in = upb_msg_getinternal_const(msg); in upb_msg_getunknown()4029 upb_msg_internal *in; in upb_msg_new()
4826 } upb_msg_internal; typedef4831 upb_msg_internal base;4835 return sizeof(upb_msg_internal) - l->extendable * sizeof(void *); in upb_msg_internalsize()4838 static upb_msg_internal *upb_msg_getinternal(upb_msg *msg) { in upb_msg_getinternal()4839 return VOIDPTR_AT(msg, -sizeof(upb_msg_internal)); in upb_msg_getinternal()4842 static const upb_msg_internal *upb_msg_getinternal_const(const upb_msg *msg) { in upb_msg_getinternal_const()4843 return VOIDPTR_AT(msg, -sizeof(upb_msg_internal)); in upb_msg_getinternal_const()4853 upb_msg_internal* in = upb_msg_getinternal(msg); in upb_msg_addunknown()4866 const upb_msg_internal* in = upb_msg_getinternal_const(msg); in upb_msg_getunknown()4895 upb_msg_internal *in; in upb_msg_new()