Lines Matching defs:handle
556 /* Create proactively to handle the case where it doesn't appear. */
5980 upb_bufhandle handle = UPB_BUFHANDLE_INIT;
5981 handle.buf = buf;
5984 ret = (upb_bytessink_putbuf(sink, subc, buf, len, &handle) >= len);
6226 /* TODO(haberman): handle OOM. */
6943 ** handle the fact that values can span buffer seams and we have to be able to
7138 size_t size, const upb_bufhandle *handle) {
7148 d->handle = handle;
7150 /* Have to handle this case specially (ie. not with skip()) because the user
7607 const upb_bufhandle* handle) {
7697 size_t n = upb_sink_putstring(d->top->sink, arg, d->ptr, len, handle);
7878 size_t size, const upb_bufhandle *handle) {
7879 int32_t result = upb_pbdecoder_resume(decoder, NULL, buf, size, handle);
7884 return run_decoder_vm(decoder, group, handle);
8109 /* TODO(haberman): handle pushback */
8767 size_t len, const upb_bufhandle *handle) {
8770 UPB_UNUSED(handle);
8970 ** program it a bit to handle context-free languages like JSON, by using
8973 ** This parser can handle the basics, but needs several things to be fleshed
9057 const upb_bufhandle *handle);
9080 size_t len, const upb_bufhandle *handle) {
9085 UPB_UNUSED(handle);
9146 * handle the array as a normal repeated field or a
9210 /* The handle for the current buffer. */
9211 const upb_bufhandle *handle;
9539 * input. These routines handle that.
9683 const upb_bufhandle *handle = can_alias ? p->handle : NULL;
9684 upb_sink_putstring(p->top->sink, p->string_selector, buf, len, handle);
9945 /* XXX: We can't handle [u]int64 properly on 32-bit machines because
10429 * represented by double without losing precision. Thus, we need to handle
11797 const upb_bufhandle *handle) {
11809 parser->handle = handle;
11812 UPB_UNUSED(handle);
12455 /* TODO(haberman): handle malloc failure. */
12832 size_t len, const upb_bufhandle *handle) {
12835 UPB_UNUSED(handle);
12842 size_t len, const upb_bufhandle *handle) {
12858 UPB_UNUSED(handle);
12916 const upb_bufhandle *handle) {
12917 CHK(putstr(closure, handler_data, str, len, handle));
12940 const upb_bufhandle *handle) {
12941 CHK(putstr(closure, handler_data, str, len, handle));
12963 const upb_bufhandle *handle) {
12964 CHK(putstr(closure, handler_data, str, len, handle));
12984 const upb_bufhandle *handle) {
12986 CHK(putbytes(closure, handler_data, str, len, handle));
12992 const upb_bufhandle *handle) {
12995 CHK(putbytes(closure, handler_data, str, len, handle));
13001 const upb_bufhandle *handle) {
13003 CHK(putbytes(closure, handler_data, str, len, handle));
13036 * special-case key and value for every type below, we just handle both
13144 const upb_bufhandle *handle) {
13147 UPB_UNUSED(handle);
13191 const upb_bufhandle *handle) {
13202 CHK(putstr(closure, handler_data, &upper_char, 1, handle));
13204 CHK(putstr(closure, handler_data, str, 1, handle));
13623 /* mapentry messages are sufficiently different that we handle them