/third_party/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 | CMakeLists.txt | 14 project(upb) project 64 upb/port.c) 65 add_library(upb target 66 upb/decode.c 67 upb/encode.c 68 upb/msg.c 69 upb/msg.h 70 upb/table.c 71 upb/table.int.h 72 upb/upb.c [all …]
|
D | BUILD.gn | 25 "upb/port_def.inc", 26 "upb/port_undef.inc", 30 source_set("upb") { 32 "upb/decode.c", 33 "upb/encode.c", 34 "upb/msg.c", 35 "upb/msg.h", 36 "upb/table.c", 37 "upb/table.int.h", 38 "upb/upb.c", [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 …]
|
/third_party/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
|
/third_party/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 …]
|
/third_party/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 …]
|
/third_party/grpc/ |
D | gRPC-Core.podspec | 384 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c', 385 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h', 386 'src/core/ext/upb-generated/envoy/annotations/resource.upb.c', 387 'src/core/ext/upb-generated/envoy/annotations/resource.upb.h', 388 'src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.c', 389 'src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.h', 390 'src/core/ext/upb-generated/envoy/api/v2/auth/common.upb.c', 391 'src/core/ext/upb-generated/envoy/api/v2/auth/common.upb.h', 392 'src/core/ext/upb-generated/envoy/api/v2/auth/secret.upb.c', 393 'src/core/ext/upb-generated/envoy/api/v2/auth/secret.upb.h', [all …]
|
D | gRPC-C++.podspec | 305 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h', 306 'src/core/ext/upb-generated/envoy/annotations/resource.upb.h', 307 'src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.h', 308 'src/core/ext/upb-generated/envoy/api/v2/auth/common.upb.h', 309 'src/core/ext/upb-generated/envoy/api/v2/auth/secret.upb.h', 310 'src/core/ext/upb-generated/envoy/api/v2/auth/tls.upb.h', 311 'src/core/ext/upb-generated/envoy/api/v2/cds.upb.h', 312 'src/core/ext/upb-generated/envoy/api/v2/cluster.upb.h', 313 'src/core/ext/upb-generated/envoy/api/v2/cluster/circuit_breaker.upb.h', 314 'src/core/ext/upb-generated/envoy/api/v2/cluster/filter.upb.h', [all …]
|
D | BUILD.gn | 398 "src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c", 399 "src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h", 400 "src/core/ext/upb-generated/envoy/annotations/resource.upb.c", 401 "src/core/ext/upb-generated/envoy/annotations/resource.upb.h", 402 "src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c", 403 "src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h", 404 "src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c", 405 "src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h", 406 "src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c", 407 "src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h", [all …]
|
D | grpc.gyp | 60 '-Ithird_party/upb', 61 '-Isrc/core/ext/upb-generated', 138 '-Ithird_party/upb', 139 '-Isrc/core/ext/upb-generated', 148 '-Ithird_party/upb', 149 '-Isrc/core/ext/upb-generated', 178 'upb', 279 'upb', 432 'upb', 550 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c', [all …]
|
D | BUILD | 2454 # Once upb code-gen issue is resolved, use the targets commented below to replace the ones using 2455 # upb-generated files. 2500 "src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.c", 2501 "src/core/ext/upb-generated/envoy/api/v2/auth/common.upb.c", 2502 "src/core/ext/upb-generated/envoy/api/v2/auth/secret.upb.c", 2503 "src/core/ext/upb-generated/envoy/api/v2/auth/tls.upb.c", 2504 "src/core/ext/upb-generated/envoy/api/v2/cds.upb.c", 2505 "src/core/ext/upb-generated/envoy/api/v2/cluster.upb.c", 2506 "src/core/ext/upb-generated/envoy/api/v2/cluster/circuit_breaker.upb.c", 2507 "src/core/ext/upb-generated/envoy/api/v2/cluster/filter.upb.c", [all …]
|
D | config.w32 | 121 "src\\core\\ext\\upb-generated\\envoy\\annotations\\deprecation.upb.c " + 122 "src\\core\\ext\\upb-generated\\envoy\\annotations\\resource.upb.c " + 123 "src\\core\\ext\\upb-generated\\envoy\\api\\v2\\auth\\cert.upb.c " + 124 "src\\core\\ext\\upb-generated\\envoy\\api\\v2\\auth\\common.upb.c " + 125 "src\\core\\ext\\upb-generated\\envoy\\api\\v2\\auth\\secret.upb.c " + 126 "src\\core\\ext\\upb-generated\\envoy\\api\\v2\\auth\\tls.upb.c " + 127 "src\\core\\ext\\upb-generated\\envoy\\api\\v2\\cds.upb.c " + 128 "src\\core\\ext\\upb-generated\\envoy\\api\\v2\\cluster.upb.c " + 129 "src\\core\\ext\\upb-generated\\envoy\\api\\v2\\cluster\\circuit_breaker.upb.c " + 130 "src\\core\\ext\\upb-generated\\envoy\\api\\v2\\cluster\\filter.upb.c " + [all …]
|
D | config.m4 | 9 PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/src/core/ext/upb-generated) 15 PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/upb) 153 src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c \ 154 src/core/ext/upb-generated/envoy/annotations/resource.upb.c \ 155 src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.c \ 156 src/core/ext/upb-generated/envoy/api/v2/auth/common.upb.c \ 157 src/core/ext/upb-generated/envoy/api/v2/auth/secret.upb.c \ 158 src/core/ext/upb-generated/envoy/api/v2/auth/tls.upb.c \ 159 src/core/ext/upb-generated/envoy/api/v2/cds.upb.c \ 160 src/core/ext/upb-generated/envoy/api/v2/cluster.upb.c \ [all …]
|
D | CMakeLists.txt | 230 include(cmake/upb.cmake) 1047 upb 1181 upb 1446 src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c 1447 src/core/ext/upb-generated/envoy/annotations/resource.upb.c 1448 src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.c 1449 src/core/ext/upb-generated/envoy/api/v2/auth/common.upb.c 1450 src/core/ext/upb-generated/envoy/api/v2/auth/secret.upb.c 1451 src/core/ext/upb-generated/envoy/api/v2/auth/tls.upb.c 1452 src/core/ext/upb-generated/envoy/api/v2/cds.upb.c [all …]
|
/third_party/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 …]
|
/third_party/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 …]
|
/third_party/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"])
|
/third_party/grpc/tools/codegen/core/ |
D | gen_upb_api.sh | 23 UPB_OUTPUT_DIR=$PWD/src/core/ext/upb-generated 33 $bazel build @upb//:protoc-gen-upb 34 UPB_PLUGIN=$PWD/bazel-bin/external/upb/protoc-gen-upb 126 --plugin=protoc-gen-upb=$UPB_PLUGIN
|
/third_party/boost/libs/icl/example/splititvmap_shell_/ |
D | splititvmap_shell.cpp | 52 upb = typename MapTV::domain_type(); in mapTestShell() local 72 cin >> lwb >> upb >> val; in mapTestShell() 74 itv = typename MapTV::interval_type(lwb,upb); in mapTestShell() 85 cin >> lwb >> upb >> val; in mapTestShell() 87 itv = typename MapTV::interval_type(lwb,upb); in mapTestShell()
|
/third_party/boost/libs/icl/example/itvset_shell_/ |
D | itvset_shell.cpp | 49 typename SetTV::domain_type upb = typename SetTV::domain_type(); in setTestShell() local 66 cin >> lwb >> upb; in setTestShell() 68 = typename SetTV::interval_type(lwb,upb); in setTestShell() 80 cin >> lwb >> upb; in setTestShell() 82 = typename SetTV::interval_type(lwb,upb); in setTestShell()
|