[iwyu] rest of the owl: src/core/lib - excluding iomgr, gpr (#29735 )
* [iwyu] rest of the owl: src/core/lib - excluding iomgr, gpr
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* fix
* fix
* fixes
* fixes
* x
* fix?
* fix
* windows fix
* fix
* fix
* fix
* fix
* fix
* debug
* fix
* fix
* Revert "debug"
This reverts commit c99b8d12dd
.
* Automated change: Fix sanity tests
* fix?
* Automated change: Fix sanity tests
* header cleanup
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
pull/29986/head
parent
f8eedac1fc
commit
6532084a06
182 changed files with 1670 additions and 383 deletions
@ -0,0 +1,42 @@ |
||||
/* This file was generated by upbc (the upb compiler) from the input
|
||||
* file: |
||||
* |
||||
* google/type/expr.proto |
||||
* |
||||
* Do not edit -- your changes will be discarded when the file is |
||||
* regenerated. */ |
||||
|
||||
#include <stddef.h> |
||||
#include "upb/msg_internal.h" |
||||
#include "google/type/expr.upb.h" |
||||
|
||||
#include "upb/port_def.inc" |
||||
|
||||
static const upb_MiniTable_Field google_type_Expr__fields[4] = { |
||||
{1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
||||
{2, UPB_SIZE(8, 16), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
||||
{3, UPB_SIZE(16, 32), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
||||
{4, UPB_SIZE(24, 48), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
||||
}; |
||||
|
||||
const upb_MiniTable google_type_Expr_msginit = { |
||||
NULL, |
||||
&google_type_Expr__fields[0], |
||||
UPB_SIZE(32, 72), 4, kUpb_ExtMode_NonExtendable, 4, 255, 0, |
||||
}; |
||||
|
||||
static const upb_MiniTable *messages_layout[1] = { |
||||
&google_type_Expr_msginit, |
||||
}; |
||||
|
||||
const upb_MiniTable_File google_type_expr_proto_upb_file_layout = { |
||||
messages_layout, |
||||
NULL, |
||||
NULL, |
||||
1, |
||||
0, |
||||
0, |
||||
}; |
||||
|
||||
#include "upb/port_undef.inc" |
||||
|
@ -0,0 +1,106 @@ |
||||
/* This file was generated by upbc (the upb compiler) from the input
|
||||
* file: |
||||
* |
||||
* google/type/expr.proto |
||||
* |
||||
* Do not edit -- your changes will be discarded when the file is |
||||
* regenerated. */ |
||||
|
||||
#ifndef GOOGLE_TYPE_EXPR_PROTO_UPB_H_ |
||||
#define GOOGLE_TYPE_EXPR_PROTO_UPB_H_ |
||||
|
||||
#include "upb/msg_internal.h" |
||||
#include "upb/decode.h" |
||||
#include "upb/decode_fast.h" |
||||
#include "upb/encode.h" |
||||
|
||||
#include "upb/port_def.inc" |
||||
|
||||
#ifdef __cplusplus |
||||
extern "C" { |
||||
#endif |
||||
|
||||
struct google_type_Expr; |
||||
typedef struct google_type_Expr google_type_Expr; |
||||
extern const upb_MiniTable google_type_Expr_msginit; |
||||
|
||||
|
||||
|
||||
/* google.type.Expr */ |
||||
|
||||
UPB_INLINE google_type_Expr* google_type_Expr_new(upb_Arena* arena) { |
||||
return (google_type_Expr*)_upb_Message_New(&google_type_Expr_msginit, arena); |
||||
} |
||||
UPB_INLINE google_type_Expr* google_type_Expr_parse(const char* buf, size_t size, upb_Arena* arena) { |
||||
google_type_Expr* ret = google_type_Expr_new(arena); |
||||
if (!ret) return NULL; |
||||
if (upb_Decode(buf, size, ret, &google_type_Expr_msginit, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { |
||||
return NULL; |
||||
} |
||||
return ret; |
||||
} |
||||
UPB_INLINE google_type_Expr* google_type_Expr_parse_ex(const char* buf, size_t size, |
||||
const upb_ExtensionRegistry* extreg, |
||||
int options, upb_Arena* arena) { |
||||
google_type_Expr* ret = google_type_Expr_new(arena); |
||||
if (!ret) return NULL; |
||||
if (upb_Decode(buf, size, ret, &google_type_Expr_msginit, extreg, options, arena) != |
||||
kUpb_DecodeStatus_Ok) { |
||||
return NULL; |
||||
} |
||||
return ret; |
||||
} |
||||
UPB_INLINE char* google_type_Expr_serialize(const google_type_Expr* msg, upb_Arena* arena, size_t* len) { |
||||
return upb_Encode(msg, &google_type_Expr_msginit, 0, arena, len); |
||||
} |
||||
UPB_INLINE char* google_type_Expr_serialize_ex(const google_type_Expr* msg, int options, |
||||
upb_Arena* arena, size_t* len) { |
||||
return upb_Encode(msg, &google_type_Expr_msginit, options, arena, len); |
||||
} |
||||
UPB_INLINE void google_type_Expr_clear_expression(const google_type_Expr* msg) { |
||||
*UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView) = upb_StringView_FromDataAndSize(NULL, 0); |
||||
} |
||||
UPB_INLINE upb_StringView google_type_Expr_expression(const google_type_Expr* msg) { |
||||
return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView); |
||||
} |
||||
UPB_INLINE void google_type_Expr_clear_title(const google_type_Expr* msg) { |
||||
*UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_StringView) = upb_StringView_FromDataAndSize(NULL, 0); |
||||
} |
||||
UPB_INLINE upb_StringView google_type_Expr_title(const google_type_Expr* msg) { |
||||
return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_StringView); |
||||
} |
||||
UPB_INLINE void google_type_Expr_clear_description(const google_type_Expr* msg) { |
||||
*UPB_PTR_AT(msg, UPB_SIZE(16, 32), upb_StringView) = upb_StringView_FromDataAndSize(NULL, 0); |
||||
} |
||||
UPB_INLINE upb_StringView google_type_Expr_description(const google_type_Expr* msg) { |
||||
return *UPB_PTR_AT(msg, UPB_SIZE(16, 32), upb_StringView); |
||||
} |
||||
UPB_INLINE void google_type_Expr_clear_location(const google_type_Expr* msg) { |
||||
*UPB_PTR_AT(msg, UPB_SIZE(24, 48), upb_StringView) = upb_StringView_FromDataAndSize(NULL, 0); |
||||
} |
||||
UPB_INLINE upb_StringView google_type_Expr_location(const google_type_Expr* msg) { |
||||
return *UPB_PTR_AT(msg, UPB_SIZE(24, 48), upb_StringView); |
||||
} |
||||
|
||||
UPB_INLINE void google_type_Expr_set_expression(google_type_Expr *msg, upb_StringView value) { |
||||
*UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView) = value; |
||||
} |
||||
UPB_INLINE void google_type_Expr_set_title(google_type_Expr *msg, upb_StringView value) { |
||||
*UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_StringView) = value; |
||||
} |
||||
UPB_INLINE void google_type_Expr_set_description(google_type_Expr *msg, upb_StringView value) { |
||||
*UPB_PTR_AT(msg, UPB_SIZE(16, 32), upb_StringView) = value; |
||||
} |
||||
UPB_INLINE void google_type_Expr_set_location(google_type_Expr *msg, upb_StringView value) { |
||||
*UPB_PTR_AT(msg, UPB_SIZE(24, 48), upb_StringView) = value; |
||||
} |
||||
|
||||
extern const upb_MiniTable_File google_type_expr_proto_upb_file_layout; |
||||
|
||||
#ifdef __cplusplus |
||||
} /* extern "C" */ |
||||
#endif |
||||
|
||||
#include "upb/port_undef.inc" |
||||
|
||||
#endif /* GOOGLE_TYPE_EXPR_PROTO_UPB_H_ */ |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue