Home
last modified time | relevance | path

Searched refs:UPB_INLINE (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h97 #define UPB_INLINE inline macro
99 #define UPB_INLINE static __inline__ macro
101 #define UPB_INLINE static macro
189 UPB_INLINE base *ty ## _upcast_mutable(ty *p) { return (base*)p; } \
190 UPB_INLINE const base *ty ## _upcast(const ty *p) { return (const base*)p; }
194 UPB_INLINE base2 *ty ## _upcast2_mutable(ty *p) { return (base2*)p; } \
195 UPB_INLINE const base2 *ty ## _upcast2(const ty *p) { return (const base2*)p; }
503 UPB_INLINE void *upb_malloc(upb_alloc *alloc, size_t size) {
508 UPB_INLINE void *upb_realloc(upb_alloc *alloc, void *ptr, size_t oldsize,
514 UPB_INLINE void upb_free(upb_alloc *alloc, void *ptr) {
[all …]
Dupb.c12086 UPB_INLINE bool is_json_escaped(char c) { in is_json_escaped()
12092 UPB_INLINE const char* json_nice_escape(char c) { in json_nice_escape()
/external/protobuf/php/ext/google/protobuf/
Dupb.h84 #define UPB_INLINE inline macro
86 #define UPB_INLINE static __inline__ macro
88 #define UPB_INLINE static macro
174 UPB_INLINE base *ty ## _upcast_mutable(ty *p) { return (base*)p; } \
175 UPB_INLINE const base *ty ## _upcast(const ty *p) { return (const base*)p; }
179 UPB_INLINE base2 *ty ## _upcast2_mutable(ty *p) { return (base2*)p; } \
180 UPB_INLINE const base2 *ty ## _upcast2(const ty *p) { return (const base2*)p; }
615 UPB_INLINE void _upb_value_setval(upb_value *v, uint64_t val, in _upb_value_setval()
621 UPB_INLINE upb_value _upb_value_val(uint64_t val, upb_ctype_t ctype) { in _upb_value_val()
636 UPB_INLINE void upb_value_set ## name(upb_value *val, type_t cval) { \
[all …]
Dupb.c11269 UPB_INLINE bool is_json_escaped(char c) { in is_json_escaped()
11275 UPB_INLINE char* json_nice_escape(char c) { in json_nice_escape()