Home | History | Annotate | Download | only in protobuf_c

Lines Matching defs:CHECK

376   /* First perform validation, in two passes so we can check that we have a
1500 /* Helper: check that the field |f| is safe to add to msgdef |m|. Set an error
1544 * This method is idempotent. Check if |f| is already part of this msgdef and
1550 /* Check constraints for all fields before performing any action. */
1568 /* Check various conditions that would prevent this oneof from being added. */
1580 /* Check that all of the oneof's fields do not conflict with names or numbers
1823 /* This method is idempotent. Check if |f| is already part of this oneofdef
1835 /* Check that no field with this name or number exists already in the oneof.
1836 * Also check that the field is not already part of a oneof. */
2277 /* Check that the given closure type matches the closure type that has been
2308 /* If this is a STARTSEQ or STARTSTR handler, check that the returned pointer
2558 /* Check that there are no closure mismatches due to missing Start* handlers
2613 /* TODO(haberman): check type of submessage.
2614 * This is slightly tricky; also consider whether we should check that
3571 /* Endianness check. This is unrelated to upb_refcounted, it's just a
3572 * convenient place to put the check that we can be assured will run for
4692 static void check(upb_inttable *t) {
4696 /* This check is very expensive (makes inserts/deletes O(N)). */
4724 check(t);
4777 check(t);
4814 check(t);
7930 * fields and check for the end of the message. */
7932 /* Check for end-of-message. */
8770 * check the wire type against two possibilities. */
8789 * can re-check the delimited end. */
9087 /* Check the previous bytecode, but guard against beginning. */
9853 #define CHECK(x) if ((x) < 0) goto err;
9975 CHECK(indent(p)); \
9977 CHECK(endfield(p)); \
9987 CHECK(indent(p));
9989 CHECK(endfield(p));
10048 CHECK(putescaped(p, buf, len, upb_fielddef_type(f) == UPB_TYPE_STRING));
10057 CHECK(indent(p));
10069 CHECK(indent(p));
10071 CHECK(endfield(p));
10306 ** - properly check and report errors for unknown fields, stack overflow,
10495 * bits will be 1 for unrecognized characters makes it easier to check for
10932 * XXX: Also, we don't properly check floats for overflow, since strtof