Home
last modified time | relevance | path

Searched refs:ud (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dmessage.c147 static bool env_error_func(void* ud, const upb_status* status) { in env_error_func() argument
148 stackenv* se = ud; in env_error_func()
Dupb.c1706 void *ud; member
1710 static void *seeded_alloc(void *ud, void *ptr, size_t oldsize, size_t size);
1732 default_alloc_ud *ud = _ud; in default_alloc() local
1761 if (ud->head == from) ud->head = block; in default_alloc()
1766 block->next = ud->head; in default_alloc()
1768 ud->head = block; in default_alloc()
1775 default_alloc_ud *ud = _ud; in default_alloc_cleanup() local
1776 mem_block *block = ud->head; in default_alloc_cleanup()
1788 static bool default_err(void *ud, const upb_status *status) { in default_err() argument
1789 UPB_UNUSED(ud); in default_err()
[all …]
Dupb.h5132 typedef void *upb_alloc_func(void *ud, void *ptr, size_t oldsize, size_t size);
5133 typedef void upb_cleanup_func(void *ud);
5134 typedef bool upb_error_func(void *ud, const upb_status *status);
5157 void SetAllocationFunction(upb_alloc_func* alloc, void* ud);
5165 void SetErrorFunction(upb_error_func* func, void* ud);
5200 bool AddCleanup(upb_cleanup_func* func, void* ud);
5239 void upb_env_setallocfunc(upb_env *e, upb_alloc_func *func, void *ud);
5240 void upb_env_seterrorfunc(upb_env *e, upb_error_func *func, void *ud);
5246 bool upb_env_addcleanup(upb_env *e, upb_cleanup_func *func, void *ud);
5265 void SetFallbackAllocator(upb_alloc_func *alloc, void *ud);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dencode_decode.c694 static bool env_error_func(void* ud, const upb_status* status) { in env_error_func() argument
695 stackenv* se = ud; in env_error_func()
Dupb.h554 typedef void upb_cleanup_func(void *ud);
564 bool upb_arena_addcleanup(upb_arena *a, upb_cleanup_func *func, void *ud);
609 bool AddCleanup(upb_cleanup_func* func, void* ud) { argument
610 return upb_arena_addcleanup(this, func, ud);
668 typedef bool upb_error_func(void *ud, const upb_status *status);
680 void upb_env_seterrorfunc(upb_env *e, upb_error_func *func, void *ud);
688 bool upb_env_addcleanup(upb_env *e, upb_cleanup_func *func, void *ud);
707 void SetErrorFunction(upb_error_func* func, void* ud) { argument
708 upb_env_seterrorfunc(this, func, ud);
Dupb.c5270 void *ud; member
5367 ent->cleanup(ent->ud); in upb_arena_uninit()
5384 bool upb_arena_addcleanup(upb_arena *a, upb_cleanup_func *func, void *ud) { in upb_arena_addcleanup() argument
5391 ent->ud = ud; in upb_arena_addcleanup()
5405 static bool default_err(void *ud, const upb_status *status) { in default_err() argument
5406 UPB_UNUSED(ud); in default_err()
5411 static bool write_err_to(void *ud, const upb_status *status) { in write_err_to() argument
5412 upb_status *copy_to = ud; in write_err_to()
5440 void upb_env_seterrorfunc(upb_env *e, upb_error_func *func, void *ud) { in upb_env_seterrorfunc() argument
5442 e->error_ud_ = ud; in upb_env_seterrorfunc()
[all …]