/external/nanopb-c/tests/intsizes/ |
D | intsizes.proto | 1 /* Test the integer size overriding in nanopb options. 11 import 'nanopb.proto'; 14 required int32 req_int8 = 1 [(nanopb).int_size = IS_8]; 15 required uint32 req_uint8 = 2 [(nanopb).int_size = IS_8]; 16 required sint32 req_sint8 = 3 [(nanopb).int_size = IS_8]; 17 required int32 req_int16 = 4 [(nanopb).int_size = IS_16]; 18 required uint32 req_uint16 = 5 [(nanopb).int_size = IS_16]; 19 required sint32 req_sint16 = 6 [(nanopb).int_size = IS_16]; 20 required int32 req_int32 = 7 [(nanopb).int_size = IS_32]; 21 required uint32 req_uint32 = 8 [(nanopb).int_size = IS_32]; [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/intsizes/ |
D | intsizes.proto | 1 /* Test the integer size overriding in nanopb options. 11 import 'nanopb.proto'; 14 required int32 req_int8 = 1 [(nanopb).int_size = IS_8]; 15 required uint32 req_uint8 = 2 [(nanopb).int_size = IS_8]; 16 required sint32 req_sint8 = 3 [(nanopb).int_size = IS_8]; 17 required int32 req_int16 = 4 [(nanopb).int_size = IS_16]; 18 required uint32 req_uint16 = 5 [(nanopb).int_size = IS_16]; 19 required sint32 req_sint16 = 6 [(nanopb).int_size = IS_16]; 20 required int32 req_int32 = 7 [(nanopb).int_size = IS_32]; 21 required uint32 req_uint32 = 8 [(nanopb).int_size = IS_32]; [all …]
|
/external/nanopb-c/tests/fixed_count/ |
D | fixed_count.proto | 1 /* Test nanopb fixed count option. */ 5 import "nanopb.proto"; 9 repeated int32 data = 1 [(nanopb).max_count = 3, (nanopb).fixed_count = true]; 14 repeated Message1 data = 1 [(nanopb).max_count = 2, (nanopb).fixed_count = true]; 19 repeated Message2 data1 = 1 [(nanopb).max_count = 2, (nanopb).fixed_count = true]; 20 repeated Message2 data2 = 2 [(nanopb).max_count = 2, (nanopb).fixed_count = true];
|
/external/nanopb-c/tests/mem_release/ |
D | mem_release.proto | 2 import "nanopb.proto"; 6 optional string dynamic_str = 1 [(nanopb).type = FT_POINTER]; 7 repeated string dynamic_str_arr = 2 [(nanopb).type = FT_POINTER]; 8 repeated SubMessage dynamic_submsg = 3 [(nanopb).type = FT_POINTER]; 13 required SubMessage static_req_submsg = 1 [(nanopb).type = FT_STATIC]; 14 optional SubMessage dynamic_submsg = 2 [(nanopb).type = FT_POINTER]; 15 optional SubMessage static_opt_submsg = 3 [(nanopb).type = FT_STATIC]; 16 repeated SubMessage static_rep_submsg = 4 [(nanopb).type = FT_STATIC, (nanopb).max_count=2]; 22 optional SubMessage dynamic_ext = 100 [(nanopb).type = FT_POINTER]; 23 optional SubMessage static_ext = 101 [(nanopb).type = FT_STATIC];
|
/external/grpc-grpc/third_party/nanopb/tests/mem_release/ |
D | mem_release.proto | 2 import "nanopb.proto"; 6 optional string dynamic_str = 1 [(nanopb).type = FT_POINTER]; 7 repeated string dynamic_str_arr = 2 [(nanopb).type = FT_POINTER]; 8 repeated SubMessage dynamic_submsg = 3 [(nanopb).type = FT_POINTER]; 13 required SubMessage static_req_submsg = 1 [(nanopb).type = FT_STATIC]; 14 optional SubMessage dynamic_submsg = 2 [(nanopb).type = FT_POINTER]; 15 optional SubMessage static_opt_submsg = 3 [(nanopb).type = FT_STATIC]; 16 repeated SubMessage static_rep_submsg = 4 [(nanopb).type = FT_STATIC, (nanopb).max_count=2]; 22 optional SubMessage dynamic_ext = 100 [(nanopb).type = FT_POINTER]; 23 optional SubMessage static_ext = 101 [(nanopb).type = FT_STATIC];
|
/external/nanopb-c/ |
D | CMakeLists.txt | 3 project(nanopb C) project 5 set(nanopb_VERSION_STRING nanopb-0.3.9.1) 7 string(REPLACE "nanopb-" "" nanopb_VERSION ${nanopb_VERSION_STRING}) 34 set(CMAKE_INSTALL_CMAKEDIR "lib/cmake/nanopb") 38 set(generator_protos nanopb plugin) 65 add_library(protobuf-nanopb STATIC 74 target_include_directories(protobuf-nanopb INTERFACE 78 configure_file(extra/nanopb-config-version.cmake.in 79 nanopb-config-version.cmake @ONLY) 81 install(TARGETS protobuf-nanopb EXPORT nanopb-targets [all …]
|
D | README.md | 4 [](https://travis-ci.org/nano… 10 * **Homepage:** https://jpa.kapsi.fi/nanopb/ 11 * **Documentation:** https://jpa.kapsi.fi/nanopb/docs/ 12 * **Downloads:** https://jpa.kapsi.fi/nanopb/download/ 13 * **Forum:** https://groups.google.com/forum/#!forum/nanopb 17 Using the nanopb library 19 To use the nanopb library, you need to do two things: 21 1. Compile your .proto files for nanopb, using protoc. 33 The nanopb generator is implemented as a plugin for the Google's own protoc 38 If you have downloaded a binary package for nanopb (either Windows, Linux or [all …]
|
D | CHANGELOG.txt | 1 nanopb-0.3.9.1 (2017-04-xx) 15 nanopb-0.3.9 (2017-09-23) 31 nanopb-0.3.8 (2017-03-05) 50 nanopb-0.3.7 (2016-10-30) 57 Add bazel BUILD file for nanopb (#209) 62 nanopb-0.3.6 (2016-06-19) 71 nanopb-0.3.5 (2016-02-13) 86 nanopb-0.3.4 (2015-09-26) 95 nanopb-0.3.3 (2015-04-10) 109 nanopb-0.3.2 (2015-01-24) [all …]
|
D | README.android | 1 URL: https://jpa.kapsi.fi/nanopb/ 4 Description: "nanopb-c: A plugin for Google Protobuf compiler that generates C code" 10 LOCAL_PROTOC_OPTIMIZE_TYPE := nanopb-c 12 Then look at https://jpa.kapsi.fi/nanopb/ Documentation for how to use nanopb-c.
|
/external/pigweed/pw_rpc/ |
D | BUILD | 122 # TODO(hepler): Cannot build nanopb-dependent code in Bazel at the moment. Need 125 name = "nanopb", 127 "nanopb/codegen_test.cc", 128 "nanopb/echo_service_test.cc", 129 "nanopb/method_lookup_test.cc", 130 "nanopb/nanopb_client_call.cc", 131 "nanopb/nanopb_client_call_test.cc", 132 "nanopb/nanopb_common.cc", 133 "nanopb/nanopb_method.cc", 134 "nanopb/nanopb_method_test.cc", [all …]
|
/external/pigweed/pw_rpc/nanopb/ |
D | CMakeLists.txt | 17 pw_add_module_library(pw_rpc.nanopb.method 21 pw_rpc.nanopb.common 27 pw_add_module_library(pw_rpc.nanopb.method_union 29 pw_rpc.nanopb.method 36 pw_add_module_library(pw_rpc.nanopb.client 40 pw_rpc.nanopb.common 44 pw_add_module_library(pw_rpc.nanopb.common 50 pw_third_party.nanopb 53 pw_add_module_library(pw_rpc.nanopb.echo_service 58 pw_auto_add_module_tests(pw_rpc.nanopb [all …]
|
/external/grpc-grpc/third_party/nanopb/ |
D | README.md | 4 [](https://travis-ci.org/nano… 10 * **Homepage:** http://kapsi.fi/~jpa/nanopb/ 11 * **Documentation:** http://kapsi.fi/~jpa/nanopb/docs/ 12 * **Downloads:** http://kapsi.fi/~jpa/nanopb/download/ 13 * **Forum:** https://groups.google.com/forum/#!forum/nanopb 17 Using the nanopb library 19 To use the nanopb library, you need to do two things: 21 1. Compile your .proto files for nanopb, using protoc. 33 The nanopb generator is implemented as a plugin for the Google's own protoc 38 If you have downloaded a binary package for nanopb (either Windows, Linux or [all …]
|
D | CHANGELOG.txt | 1 nanopb-0.3.6 (2016-06-19) 10 nanopb-0.3.5 (2016-02-13) 25 nanopb-0.3.4 (2015-09-26) 34 nanopb-0.3.3 (2015-04-10) 48 nanopb-0.3.2 (2015-01-24) 59 nanopb-0.3.1 (2014-09-11) 67 nanopb-0.3.0 (2014-08-26) 69 http://koti.kapsi.fi/~jpa/nanopb/docs/migration.html 79 nanopb-0.2.9 (2014-08-09) 92 nanopb-0.2.8 (2014-05-20) [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/inline/ |
D | inline.proto | 1 /* Test nanopb option parsing. 7 import "nanopb.proto"; 11 required bytes data = 1 [(nanopb).type = FT_INLINE, (nanopb).max_size = 32]; 16 optional bytes data = 1 [(nanopb).type = FT_INLINE, (nanopb).max_size = 64];
|
/external/nanopb-c/tests/inline/ |
D | inline.proto | 1 /* Test nanopb option parsing. 7 import "nanopb.proto"; 11 required bytes data = 1 [(nanopb).type = FT_INLINE, (nanopb).max_size = 32]; 16 optional bytes data = 1 [(nanopb).type = FT_INLINE, (nanopb).max_size = 64];
|
/external/nanopb-c/tests/regression/issue_322/ |
D | defaults.proto | 2 import 'nanopb.proto'; 5 …optional bytes b1 = 1 [default = "\xDE\xAD\x00\xBE\xEF", (nanopb).max_size = 5, (nanopb).fixed_len… 6 optional bytes b2 = 2 [default = "\xDE\xAD\x00\xBE\xEF", (nanopb).max_size = 5]; 7 optional bytes b3 = 3 [default = "\xDE\xAD\000\xBE\xEF", (nanopb).max_size = 15]; 8 optional string s1 = 4 [default = "äö", (nanopb).max_size = 8];
|
/external/pigweed/third_party/nanopb/ |
D | BUILD.gn | 19 import("nanopb.gni") 21 # This file defines a GN source_set for an external installation of nanopb. 22 # To use, checkout the nanopb source into a directory, then set the build arg 23 # dir_pw_third_party_nanopb to point to that directory. The nanopb library 24 # will be available in GN at "$dir_pw_third_party/nanopb". 30 pw_source_set("nanopb") { 47 sources = [ "$dir_pw_third_party_nanopb/generator/proto/nanopb.proto" ] 51 group("nanopb") {
|
D | CMakeLists.txt | 22 add_subdirectory("${dir_pw_third_party_nanopb}" third_party/nanopb) 26 $<IF:$<TARGET_EXISTS:protobuf-nanopb-static>,protobuf-nanopb-static,protobuf-nanopb>) 28 add_library(pw_third_party.nanopb INTERFACE) 29 target_link_libraries(pw_third_party.nanopb INTERFACE "${nanopb_main_library}") 30 target_include_directories(pw_third_party.nanopb
|
/external/nanopb-c/tests/common/ |
D | unittestproto.proto | 3 import 'nanopb.proto'; 6 repeated int32 data = 1 [(nanopb).max_count = 10]; 10 repeated float data = 1 [(nanopb).max_count = 10]; 14 required string data = 1 [(nanopb).max_size = 10]; 18 required bytes data = 1 [(nanopb).max_size = 16]; 41 repeated string rep_str = 1 [(nanopb).type = FT_POINTER];
|
D | person.proto | 3 import "nanopb.proto"; 6 required string name = 1 [(nanopb).max_size = 40]; 8 optional string email = 3 [(nanopb).max_size = 40]; 17 required string number = 1 [(nanopb).max_size = 40]; 21 repeated PhoneNumber phone = 4 [(nanopb).max_count = 5];
|
/external/grpc-grpc/third_party/nanopb/tests/common/ |
D | unittestproto.proto | 3 import 'nanopb.proto'; 6 repeated int32 data = 1 [(nanopb).max_count = 10]; 10 repeated float data = 1 [(nanopb).max_count = 10]; 14 required string data = 1 [(nanopb).max_size = 10]; 18 required bytes data = 1 [(nanopb).max_size = 16]; 41 repeated string rep_str = 1 [(nanopb).type = FT_POINTER];
|
D | person.proto | 3 import "nanopb.proto"; 6 required string name = 1 [(nanopb).max_size = 40]; 8 optional string email = 3 [(nanopb).max_size = 40]; 17 required string number = 1 [(nanopb).max_size = 40]; 21 repeated PhoneNumber phone = 4 [(nanopb).max_count = 5];
|
/external/nanopb-c/tests/regression/issue_141/ |
D | testproto.proto | 3 import 'nanopb.proto'; 7 repeated int32 array = 1 [(nanopb).max_count = 8]; 16 string second = 6 [(nanopb).max_size = 8]; 34 required string s = 3 [(nanopb).max_size = 32]; 44 required string ss = 2 [(nanopb).max_size = 1]; 49 required string sss = 2 [(nanopb).max_size = 2];
|
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_141/ |
D | testproto.proto | 3 import 'nanopb.proto'; 7 repeated int32 array = 1 [(nanopb).max_count = 8]; 16 string second = 6 [(nanopb).max_size = 8]; 34 required string s = 3 [(nanopb).max_size = 32]; 44 required string ss = 2 [(nanopb).max_size = 1]; 49 required string sss = 2 [(nanopb).max_size = 2];
|
/external/nanopb-c/tests/options/ |
D | options.proto | 1 /* Test nanopb option parsing. 7 import "nanopb.proto"; 28 required string fieldsize = 1 [(nanopb).max_size = 40]; 29 required string fieldlen = 2 [(nanopb).max_length = 40]; 36 required int32 int32_callback = 1 [(nanopb).type = FT_CALLBACK]; 75 optional int32 skipped_field = 2 [(nanopb).type = FT_IGNORE]; 96 optional int32 proto3field = 1 [(nanopb).proto3 = true];
|