/external/rust/crates/grpcio-sys/grpc/third_party/upb/ |
D | BUILD | 57 "upb/port_def.inc", 58 "upb/port_undef.inc", 64 name = "upb", 66 "upb/decode.c", 67 "upb/decode.int.h", 68 "upb/encode.c", 69 "upb/msg.c", 70 "upb/msg.h", 71 "upb/table.c", 72 "upb/table.int.h", [all …]
|
D | README.md | 6 |macOS|[![Build Status](https://storage.googleapis.com/upb-kokoro-results/status-badge/macos.png)](… 7 |ubuntu|[![Build Status](https://storage.googleapis.com/upb-kokoro-results/status-badge/ubuntu.png)… 9 μpb (often written 'upb') is a small protobuf implementation written in C. 11 upb generates a C API for creating, parsing, and serializing messages 12 as declared in `.proto` files. upb is heavily arena-based: all 17 #include "conformance/conformance.upb.h" 57 ## Using upb in your project 62 To use upb in your Bazel project, first add upb to your `WORKSPACE` file, 71 name = "upb", 72 remote = "https://github.com/protocolbuffers/upb.git", [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/ |
D | CMakeLists.txt | 14 project(upb) project 65 add_library(upb target 66 ../upb/decode.c 67 ../upb/decode.int.h 68 ../upb/encode.c 69 ../upb/msg.c 70 ../upb/msg.h 71 ../upb/table.c 72 ../upb/table.int.h 73 ../upb/upb.c [all …]
|
D | BUILD | 41 srcs = ["//:upb/json/parser.c"], 42 outs = ["generated-in/upb/json/parser.c"], 50 "generated-in/google/protobuf/descriptor.upb.c", 51 "generated-in/google/protobuf/descriptor.upb.h", 60 "google/protobuf/descriptor.upb.c", 61 "google/protobuf/descriptor.upb.h", 62 "upb/json/parser.c",
|
D | README.md | 2 # upb CMake build (EXPERIMENTAL) 4 upb's CMake support is experimental. The core library builds successfully 6 However there is no support for building the upb compiler or for generating 7 .upb.c/upb.h files. This means upb's CMake support is incomplete at best, 13 please feel free to file an issue for that too. Do keep in mind that upb
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/ |
D | test_cpp.cc | 57 void CallAndVerify(upb::Sink sink, upb::FieldDefPtr f) { in CallAndVerify() 64 upb::Sink sub; in CallAndVerify() 96 void Register(upb::HandlersPtr h, upb::FieldDefPtr f) { in Register() 114 void Register(upb::HandlersPtr h, upb::FieldDefPtr f) { in Register() 133 void Register(upb::HandlersPtr h, upb::FieldDefPtr f) { in Register() 152 void Register(upb::HandlersPtr h, upb::FieldDefPtr f) { in Register() 173 void Register(upb::HandlersPtr h, upb::FieldDefPtr f) { in Register() 191 void Register(upb::HandlersPtr h, upb::FieldDefPtr f) { in Register() 211 void Register(upb::HandlersPtr h, upb::FieldDefPtr f) { in Register() 230 void Register(upb::HandlersPtr h, upb::FieldDefPtr f) { in Register() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/bindings/lua/ |
D | test_upb.lua | 2 local upb = require "lupb" 35 assert_equal(upb.LABEL_OPTIONAL, f:label()) 36 assert_equal(upb.DESCRIPTOR_TYPE_INT32, f:descriptor_type()) 37 assert_equal(upb.TYPE_INT32, f:type()) 88 local serialized = upb.encode(msg) 90 local msg2 = upb.decode(test_messages_proto3.TestAllTypesProto3, serialized) 142 local text1 = upb.text_encode(msg) 143 local text2 = upb.text_encode(msg2) 146 local binary1 = upb.encode(msg, {upb.ENCODE_DETERMINISTIC}) 147 local binary2 = upb.encode(msg2, {upb.ENCODE_DETERMINISTIC}) [all …]
|
/external/rust/crates/grpcio-sys/grpc/ |
D | gRPC-C++.podspec | 285 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h', 286 'src/core/ext/upb-generated/envoy/annotations/resource.upb.h', 287 'src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h', 288 'src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h', 289 'src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h', 290 'src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h', 291 'src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h', 292 'src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h', 293 'src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h', 294 'src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h', [all …]
|
D | gRPC-Core.podspec | 378 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c', 379 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h', 380 'src/core/ext/upb-generated/envoy/annotations/resource.upb.c', 381 'src/core/ext/upb-generated/envoy/annotations/resource.upb.h', 382 'src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c', 383 'src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h', 384 'src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c', 385 'src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h', 386 'src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c', 387 'src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h', [all …]
|
D | BUILD.gn | 396 "src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c", 397 "src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h", 398 "src/core/ext/upb-generated/envoy/annotations/resource.upb.c", 399 "src/core/ext/upb-generated/envoy/annotations/resource.upb.h", 400 "src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c", 401 "src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h", 402 "src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c", 403 "src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h", 404 "src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c", 405 "src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h", [all …]
|
D | BUILD | 2561 # Once upb code-gen issue is resolved, use the targets commented below to replace the ones using 2562 # upb-generated files. 2607 "src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c", 2608 "src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c", 2609 "src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c", 2610 "src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c", 2611 "src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c", 2612 "src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c", 2613 "src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c", 2614 "src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c", [all …]
|
D | config.m4 | 9 PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/src/core/ext/upb-generated) 16 PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/upb) 146 src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c \ 147 src/core/ext/upb-generated/envoy/annotations/resource.upb.c \ 148 src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c \ 149 src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c \ 150 src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c \ 151 src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c \ 152 src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c \ 153 src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c \ [all …]
|
D | config.w32 | 113 "src\\core\\ext\\upb-generated\\envoy\\annotations\\deprecation.upb.c " + 114 "src\\core\\ext\\upb-generated\\envoy\\annotations\\resource.upb.c " + 115 "src\\core\\ext\\upb-generated\\envoy\\config\\accesslog\\v3\\accesslog.upb.c " + 116 "src\\core\\ext\\upb-generated\\envoy\\config\\cluster\\v3\\circuit_breaker.upb.c " + 117 "src\\core\\ext\\upb-generated\\envoy\\config\\cluster\\v3\\cluster.upb.c " + 118 "src\\core\\ext\\upb-generated\\envoy\\config\\cluster\\v3\\filter.upb.c " + 119 "src\\core\\ext\\upb-generated\\envoy\\config\\cluster\\v3\\outlier_detection.upb.c " + 120 "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\address.upb.c " + 121 "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\backoff.upb.c " + 122 "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\base.upb.c " + [all …]
|
D | grpc.gyp | 60 '-Ithird_party/upb', 61 '-Isrc/core/ext/upb-generated', 139 '-Ithird_party/upb', 140 '-Isrc/core/ext/upb-generated', 150 '-Ithird_party/upb', 151 '-Isrc/core/ext/upb-generated', 181 'upb', 283 'upb', 444 'upb', 559 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c', [all …]
|
D | grpc.gemspec | 293 s.files += %w( src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c ) 294 s.files += %w( src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h ) 295 s.files += %w( src/core/ext/upb-generated/envoy/annotations/resource.upb.c ) 296 s.files += %w( src/core/ext/upb-generated/envoy/annotations/resource.upb.h ) 297 s.files += %w( src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c ) 298 s.files += %w( src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h ) 299 s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c ) 300 s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h ) 301 s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c ) 302 s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h ) [all …]
|
D | CMakeLists.txt | 257 include(cmake/upb.cmake) 1152 upb 1287 upb 1551 src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c 1552 src/core/ext/upb-generated/envoy/annotations/resource.upb.c 1553 src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c 1554 src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c 1555 src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c 1556 src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c 1557 src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/pb/ |
D | test_encoder.cc | 60 upb::BytesSink input() { return input_; } in input() 64 upb::BytesSink input_; 72 upb::SymbolTable symtab; in test_pb_roundtrip() 73 upb::HandlerCache encoder_cache(upb::pb::EncoderPtr::NewCache()); in test_pb_roundtrip() 74 upb::pb::CodeCache decoder_cache(&encoder_cache); in test_pb_roundtrip() 75 upb::Arena arena; in test_pb_roundtrip() 76 upb::Status status; in test_pb_roundtrip() 77 upb::MessageDefPtr md( in test_pb_roundtrip() 80 const upb::Handlers *encoder_handlers = encoder_cache.Get(md); in test_pb_roundtrip() 82 const upb::pb::DecoderMethodPtr method = decoder_cache.Get(md); in test_pb_roundtrip() [all …]
|
D | test_decoder.cc | 346 void doreg(upb::HandlersPtr h, uint32_t num) { in doreg() 347 upb::FieldDefPtr f = h.message_def().FindFieldByNumber(num); in doreg() 366 void reg(upb::HandlersPtr h, upb_descriptortype_t type) { in reg() 374 void regseq(upb::HandlersPtr h, upb::FieldDefPtr f, uint32_t num) { in regseq() 379 void reg_subm(upb::HandlersPtr h, uint32_t num) { in reg_subm() 380 upb::FieldDefPtr f = h.message_def().FindFieldByNumber(num); in reg_subm() 388 void reg_str(upb::HandlersPtr h, uint32_t num) { in reg_str() 389 upb::FieldDefPtr f = h.message_def().FindFieldByNumber(num); in reg_str() 401 void callback(const void *closure, upb::Handlers* h_ptr) { in callback() 402 upb::HandlersPtr h(h_ptr); in callback() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/json/ |
D | test_json.cc | 190 const upb::Handlers* serialize_handlers, in test_json_roundtrip_message() 191 const upb::json::ParserMethodPtr parser_method, in test_json_roundtrip_message() 196 upb::json::PrinterPtr printer = upb::json::PrinterPtr::Create( in test_json_roundtrip_message() 198 upb::json::ParserPtr parser = upb::json::ParserPtr::Create( in test_json_roundtrip_message() 226 upb::SymbolTable symtab; in test_json_roundtrip() 227 upb::HandlerCache serialize_handlercache( in test_json_roundtrip() 228 upb::json::PrinterPtr::NewCache(false)); in test_json_roundtrip() 229 upb::json::CodeCache parse_codecache; in test_json_roundtrip() 231 upb::MessageDefPtr md(upb_test_json_TestMessage_getmsgdef(symtab.ptr())); in test_json_roundtrip() 233 const upb::Handlers* serialize_handlers = serialize_handlercache.Get(md); in test_json_roundtrip() [all …]
|
/external/rust/crates/grpcio-sys/grpc/tools/codegen/core/ |
D | gen_upb_api.sh | 23 UPB_OUTPUT_DIR=$PWD/src/core/ext/upb-generated 30 UPB_OUTPUT_DIR=$1/upb-generated 39 $bazel build @upb//upbc:protoc-gen-upb 40 UPB_PLUGIN=$PWD/bazel-bin/external/upb/upbc/protoc-gen-upb 42 $bazel build @upb//upbc:protoc-gen-upbdefs 43 UPBDEFS_PLUGIN=$PWD/bazel-bin/external/upb/upbc/protoc-gen-upbdefs 149 --plugin=protoc-gen-upb=$UPB_PLUGIN 157 --plugin=protoc-gen-upb=$UPBDEFS_PLUGIN
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/ |
D | upb.lua | 2 local upb = require("lupb") 4 upb.generated_pool = upb.SymbolTable() 12 local pool = upb.generated_pool 23 function upb._generated_module(desc_string) 24 local file = upb.generated_pool:add_file(desc_string) 30 return upb
|
D | BUILD | 14 "upb.c", 17 "upb.h", 25 "//:upb", 41 exports_files(["upb.lua"])
|
/external/oss-fuzz/projects/upb/ |
D | build.sh | 19 cd upb/cmake 24 $CC $CFLAGS -I. -I.. -o descriptor.upb.o -c google/protobuf/descriptor.upb.c 26 $CXX $CXXFLAGS fuzz_parsenew.o descriptor.upb.o -o $OUT/fuzz_parsenew *.a $LIB_FUZZING_ENGINE
|
/external/rust/crates/grpcio-sys/grpc/tools/doxygen/ |
D | Doxyfile.core.internal | 1064 src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c \ 1065 src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h \ 1066 src/core/ext/upb-generated/envoy/annotations/resource.upb.c \ 1067 src/core/ext/upb-generated/envoy/annotations/resource.upb.h \ 1068 src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c \ 1069 src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h \ 1070 src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c \ 1071 src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h \ 1072 src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c \ 1073 src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h \ [all …]
|
D | Doxyfile.c++.internal | 1228 src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c \ 1229 src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h \ 1230 src/core/ext/upb-generated/envoy/annotations/resource.upb.c \ 1231 src/core/ext/upb-generated/envoy/annotations/resource.upb.h \ 1232 src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c \ 1233 src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h \ 1234 src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c \ 1235 src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h \ 1236 src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c \ 1237 src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h \ [all …]
|