Lines Matching defs:view
922 upb_strview view = *(upb_strview*)field_mem;
923 if (skip_zero_value && view.size == 0) {
926 return upb_put_bytes(e, view.data, view.size) &&
927 upb_put_varint(e, view.size) &&
4073 static char* strviewdup(const symtab_addctx *ctx, upb_strview view) {
4074 return upb_strdup2(view.data, view.size, ctx->alloc);
4081 static bool streql_view(upb_strview view, const char *b) {
4082 return streql2(view.data, view.size, b);