| /third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
| D | Proto3MessageFactory.java | 53 Proto3Message.Builder builder = Proto3Message.newBuilder(); in newMessage() local 54 builder.setFieldDouble1(data.getDouble()); in newMessage() 55 builder.setFieldFloat2(data.getFloat()); in newMessage() 56 builder.setFieldInt643(data.getLong()); in newMessage() 57 builder.setFieldUint644(data.getLong()); in newMessage() 58 builder.setFieldInt325(data.getInt()); in newMessage() 59 builder.setFieldFixed646(data.getLong()); in newMessage() 60 builder.setFieldFixed327(data.getInt()); in newMessage() 61 builder.setFieldBool8(data.getBool()); in newMessage() 62 builder.setFieldString9(data.getString()); in newMessage() [all …]
|
| D | Proto3MessageLiteFactory.java | 55 Proto3MessageLite.Builder builder = Proto3MessageLite.newBuilder(); in newMessage() local 56 builder.setFieldDouble1(data.getDouble()); in newMessage() 57 builder.setFieldFloat2(data.getFloat()); in newMessage() 58 builder.setFieldInt643(data.getLong()); in newMessage() 59 builder.setFieldUint644(data.getLong()); in newMessage() 60 builder.setFieldInt325(data.getInt()); in newMessage() 61 builder.setFieldFixed646(data.getLong()); in newMessage() 62 builder.setFieldFixed327(data.getInt()); in newMessage() 63 builder.setFieldBool8(data.getBool()); in newMessage() 64 builder.setFieldString9(data.getString()); in newMessage() [all …]
|
| D | Proto2MessageLiteFactory.java | 57 Proto2MessageLite.Builder builder = Proto2MessageLite.newBuilder(); in newMessage() local 58 builder.setFieldDouble1(data.getDouble()); in newMessage() 59 builder.setFieldFloat2(data.getFloat()); in newMessage() 60 builder.setFieldInt643(data.getLong()); in newMessage() 61 builder.setFieldUint644(data.getLong()); in newMessage() 62 builder.setFieldInt325(data.getInt()); in newMessage() 63 builder.setFieldFixed646(data.getLong()); in newMessage() 64 builder.setFieldFixed327(data.getInt()); in newMessage() 65 builder.setFieldBool8(data.getBool()); in newMessage() 66 builder.setFieldString9(data.getString()); in newMessage() [all …]
|
| D | Proto2MessageFactory.java | 55 Proto2Message.Builder builder = Proto2Message.newBuilder(); in newMessage() local 56 builder.setFieldDouble1(data.getDouble()); in newMessage() 57 builder.setFieldFloat2(data.getFloat()); in newMessage() 58 builder.setFieldInt643(data.getLong()); in newMessage() 59 builder.setFieldUint644(data.getLong()); in newMessage() 60 builder.setFieldInt325(data.getInt()); in newMessage() 61 builder.setFieldFixed646(data.getLong()); in newMessage() 62 builder.setFieldFixed327(data.getInt()); in newMessage() 63 builder.setFieldBool8(data.getBool()); in newMessage() 64 builder.setFieldString9(data.getString()); in newMessage() [all …]
|
| D | GeneratedMessageTest.java | 91 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); in testGetFieldBuilderForExtensionField() local 92 Message.Builder fieldBuilder = in testGetFieldBuilderForExtensionField() 93 builder.getFieldBuilder(UnittestProto.optionalNestedMessageExtension.getDescriptor()); in testGetFieldBuilderForExtensionField() 98 assertThat(builder.build().getExtension(UnittestProto.optionalNestedMessageExtension).getBb()) in testGetFieldBuilderForExtensionField() 101 // fieldBuilder still updates the builder after builder build() has been called. in testGetFieldBuilderForExtensionField() 104 assertThat(builder.build().getExtension(UnittestProto.optionalNestedMessageExtension).getBb()) in testGetFieldBuilderForExtensionField() 110 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder(); in testGetFieldBuilderWithExistingMessage() local 111 builder.setExtension( in testGetFieldBuilderWithExistingMessage() 114 Message.Builder fieldBuilder = in testGetFieldBuilderWithExistingMessage() 115 builder.getFieldBuilder(UnittestProto.optionalNestedMessageExtension.getDescriptor()); in testGetFieldBuilderWithExistingMessage() [all …]
|
| /third_party/grpc/src/core/plugin_registry/ |
| D | grpc_plugin_registry.cc | 34 grpc_core::CoreConfiguration::Builder* builder); 41 CoreConfiguration::Builder* builder); 43 CoreConfiguration::Builder* builder); 44 extern void RegisterClientAuthorityFilter(CoreConfiguration::Builder* builder); 46 CoreConfiguration::Builder* builder); 47 extern void RegisterGrpcLbPolicy(CoreConfiguration::Builder* builder); 48 extern void RegisterHttpFilters(CoreConfiguration::Builder* builder); 49 extern void RegisterMessageSizeFilter(CoreConfiguration::Builder* builder); 50 extern void RegisterSecurityFilters(CoreConfiguration::Builder* builder); 52 CoreConfiguration::Builder* builder); [all …]
|
| D | grpc_plugin_registry_extra.cc | 24 extern void RbacFilterRegister(CoreConfiguration::Builder* builder); 25 extern void StatefulSessionFilterRegister(CoreConfiguration::Builder* builder); 27 CoreConfiguration::Builder* builder); 29 CoreConfiguration::Builder* builder); 30 extern void RegisterChannelDefaultCreds(CoreConfiguration::Builder* builder); 31 extern void RegisterXdsResolver(CoreConfiguration::Builder* builder); 32 extern void RegisterCloud2ProdResolver(CoreConfiguration::Builder* builder); 34 CoreConfiguration::Builder* builder); 35 extern void RegisterXdsClusterImplLbPolicy(CoreConfiguration::Builder* builder); 36 extern void RegisterCdsLbPolicy(CoreConfiguration::Builder* builder); [all …]
|
| /third_party/flatbuffers/tests/ts/no_import_ext/optional-scalars/ |
| D | scalar-stuff.d.ts | 47 static startScalarStuff(builder: flatbuffers.Builder): void; 48 static addJustI8(builder: flatbuffers.Builder, justI8: number): void; 49 static addMaybeI8(builder: flatbuffers.Builder, maybeI8: number): void; 50 static addDefaultI8(builder: flatbuffers.Builder, defaultI8: number): void; 51 static addJustU8(builder: flatbuffers.Builder, justU8: number): void; 52 static addMaybeU8(builder: flatbuffers.Builder, maybeU8: number): void; 53 static addDefaultU8(builder: flatbuffers.Builder, defaultU8: number): void; 54 static addJustI16(builder: flatbuffers.Builder, justI16: number): void; 55 static addMaybeI16(builder: flatbuffers.Builder, maybeI16: number): void; 56 static addDefaultI16(builder: flatbuffers.Builder, defaultI16: number): void; [all …]
|
| D | scalar-stuff.ts | 216 static startScalarStuff(builder:flatbuffers.Builder) { 217 builder.startObject(36); 220 static addJustI8(builder:flatbuffers.Builder, justI8:number) { 221 builder.addFieldInt8(0, justI8, 0); 224 static addMaybeI8(builder:flatbuffers.Builder, maybeI8:number) { 225 builder.addFieldInt8(1, maybeI8, null); 228 static addDefaultI8(builder:flatbuffers.Builder, defaultI8:number) { 229 builder.addFieldInt8(2, defaultI8, 42); 232 static addJustU8(builder:flatbuffers.Builder, justU8:number) { 233 builder.addFieldInt8(3, justU8, 0); [all …]
|
| D | scalar-stuff.js | 172 static startScalarStuff(builder) { argument 173 builder.startObject(36); 175 static addJustI8(builder, justI8) { argument 176 builder.addFieldInt8(0, justI8, 0); 178 static addMaybeI8(builder, maybeI8) { argument 179 builder.addFieldInt8(1, maybeI8, null); 181 static addDefaultI8(builder, defaultI8) { argument 182 builder.addFieldInt8(2, defaultI8, 42); 184 static addJustU8(builder, justU8) { argument 185 builder.addFieldInt8(3, justU8, 0); [all …]
|
| /third_party/flatbuffers/tests/ts/my-game/example/ |
| D | monster.d.ts | 150 static startMonster(builder: flatbuffers.Builder): void; 151 static addPos(builder: flatbuffers.Builder, posOffset: flatbuffers.Offset): void; 152 static addMana(builder: flatbuffers.Builder, mana: number): void; 153 static addHp(builder: flatbuffers.Builder, hp: number): void; 154 static addName(builder: flatbuffers.Builder, nameOffset: flatbuffers.Offset): void; 155 static addInventory(builder: flatbuffers.Builder, inventoryOffset: flatbuffers.Offset): void; 156 …static createInventoryVector(builder: flatbuffers.Builder, data: number[] | Uint8Array): flatbuffe… 157 static startInventoryVector(builder: flatbuffers.Builder, numElems: number): void; 158 static addColor(builder: flatbuffers.Builder, color: Color): void; 159 static addTestType(builder: flatbuffers.Builder, testType: Any): void; [all …]
|
| D | monster.ts | 820 static startMonster(builder:flatbuffers.Builder) { 821 builder.startObject(62); 824 static addPos(builder:flatbuffers.Builder, posOffset:flatbuffers.Offset) { 825 builder.addFieldStruct(0, posOffset, 0); 828 static addMana(builder:flatbuffers.Builder, mana:number) { 829 builder.addFieldInt16(1, mana, 150); 832 static addHp(builder:flatbuffers.Builder, hp:number) { 833 builder.addFieldInt16(2, hp, 100); 836 static addName(builder:flatbuffers.Builder, nameOffset:flatbuffers.Offset) { 837 builder.addFieldOffset(3, nameOffset, 0); [all …]
|
| /third_party/flatbuffers/tests/optional_scalars/ |
| D | ScalarStuff.py | 283 def ScalarStuffStart(builder): argument 284 builder.StartObject(36) 286 def Start(builder): argument 287 ScalarStuffStart(builder) 289 def ScalarStuffAddJustI8(builder, justI8): argument 290 builder.PrependInt8Slot(0, justI8, 0) 292 def AddJustI8(builder, justI8): argument 293 ScalarStuffAddJustI8(builder, justI8) 295 def ScalarStuffAddMaybeI8(builder, maybeI8): argument 296 builder.PrependInt8Slot(1, maybeI8, None) [all …]
|
| D | ScalarStuff.kt | 219 …fun createScalarStuff(builder: FlatBufferBuilder, justI8: Byte, maybeI8: Byte?, defaultI8: Byte, j… in ScalarStuffBufferHasIdentifier() 220 builder.startTable(36) in ScalarStuffBufferHasIdentifier() 221 addDefaultF64(builder, defaultF64) in ScalarStuffBufferHasIdentifier() 222 maybeF64?.run { addMaybeF64(builder, maybeF64) } in ScalarStuffBufferHasIdentifier() 223 addJustF64(builder, justF64) in ScalarStuffBufferHasIdentifier() 224 addDefaultU64(builder, defaultU64) in ScalarStuffBufferHasIdentifier() 225 maybeU64?.run { addMaybeU64(builder, maybeU64) } in ScalarStuffBufferHasIdentifier() 226 addJustU64(builder, justU64) in ScalarStuffBufferHasIdentifier() 227 addDefaultI64(builder, defaultI64) in ScalarStuffBufferHasIdentifier() 228 maybeI64?.run { addMaybeI64(builder, maybeI64) } in ScalarStuffBufferHasIdentifier() [all …]
|
| D | ScalarStuff.go | 48 func (t *ScalarStuffT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 50 ScalarStuffStart(builder) 51 ScalarStuffAddJustI8(builder, t.JustI8) 53 ScalarStuffAddMaybeI8(builder, *t.MaybeI8) 55 ScalarStuffAddDefaultI8(builder, t.DefaultI8) 56 ScalarStuffAddJustU8(builder, t.JustU8) 58 ScalarStuffAddMaybeU8(builder, *t.MaybeU8) 60 ScalarStuffAddDefaultU8(builder, t.DefaultU8) 61 ScalarStuffAddJustI16(builder, t.JustI16) 63 ScalarStuffAddMaybeI16(builder, *t.MaybeI16) [all …]
|
| D | ScalarStuff.java | 80 public static int createScalarStuff(FlatBufferBuilder builder, in createScalarStuff() argument 117 builder.startTable(36); in createScalarStuff() 118 ScalarStuff.addDefaultF64(builder, defaultF64); in createScalarStuff() 119 ScalarStuff.addMaybeF64(builder, maybeF64); in createScalarStuff() 120 ScalarStuff.addJustF64(builder, justF64); in createScalarStuff() 121 ScalarStuff.addDefaultU64(builder, defaultU64); in createScalarStuff() 122 ScalarStuff.addMaybeU64(builder, maybeU64); in createScalarStuff() 123 ScalarStuff.addJustU64(builder, justU64); in createScalarStuff() 124 ScalarStuff.addDefaultI64(builder, defaultI64); in createScalarStuff() 125 ScalarStuff.addMaybeI64(builder, maybeI64); in createScalarStuff() [all …]
|
| /third_party/flatbuffers/tests/ts/optional-scalars/ |
| D | scalar-stuff.ts | 216 static startScalarStuff(builder:flatbuffers.Builder) { 217 builder.startObject(36); 220 static addJustI8(builder:flatbuffers.Builder, justI8:number) { 221 builder.addFieldInt8(0, justI8, 0); 224 static addMaybeI8(builder:flatbuffers.Builder, maybeI8:number) { 225 builder.addFieldInt8(1, maybeI8, null); 228 static addDefaultI8(builder:flatbuffers.Builder, defaultI8:number) { 229 builder.addFieldInt8(2, defaultI8, 42); 232 static addJustU8(builder:flatbuffers.Builder, justU8:number) { 233 builder.addFieldInt8(3, justU8, 0); [all …]
|
| /third_party/skia/m133/tests/ |
| D | RasterPipelineBuilderTest.cpp | 60 SkSL::RP::Builder builder; in DEF_TEST() local 61 builder.store_src_rg(two_slots_at(0)); in DEF_TEST() 62 builder.store_src(four_slots_at(2)); in DEF_TEST() 63 builder.store_dst(four_slots_at(4)); in DEF_TEST() 64 builder.store_device_xy01(four_slots_at(6)); in DEF_TEST() 65 builder.init_lane_masks(); in DEF_TEST() 66 builder.enableExecutionMaskWrites(); in DEF_TEST() 67 builder.mask_off_return_mask(); in DEF_TEST() 68 builder.mask_off_loop_mask(); in DEF_TEST() 69 builder.reenable_loop_mask(one_slot_at(4)); in DEF_TEST() [all …]
|
| /third_party/flatbuffers/tests/MyGame/Example/ |
| D | Monster.php | 830 * @param FlatBufferBuilder $builder 833 public static function startMonster(FlatBufferBuilder $builder) argument 835 $builder->StartObject(62); 839 * @param FlatBufferBuilder $builder 842 …public static function createMonster(FlatBufferBuilder $builder, $pos, $mana, $hp, $name, $invento… argument 844 $builder->startObject(62); 845 self::addPos($builder, $pos); 846 self::addMana($builder, $mana); 847 self::addHp($builder, $hp); 848 self::addName($builder, $name); [all …]
|
| D | Monster.py | 875 def MonsterStart(builder): argument 876 builder.StartObject(62) 878 def Start(builder): argument 879 MonsterStart(builder) 881 def MonsterAddPos(builder, pos): argument 882 builder.PrependStructSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(pos), 0) 884 def AddPos(builder, pos): argument 885 MonsterAddPos(builder, pos) 887 def MonsterAddMana(builder, mana): argument 888 builder.PrependInt16Slot(1, mana, 150) [all …]
|
| /third_party/flatbuffers/tests/MyGame/ |
| D | MonsterExtra.py | 142 def MonsterExtraStart(builder: flatbuffers.Builder): argument 143 builder.StartObject(11) 145 def Start(builder: flatbuffers.Builder): argument 146 MonsterExtraStart(builder) 148 def MonsterExtraAddD0(builder: flatbuffers.Builder, d0: float): argument 149 builder.PrependFloat64Slot(0, d0, float('nan')) 151 def AddD0(builder: flatbuffers.Builder, d0: float): argument 152 MonsterExtraAddD0(builder, d0) 154 def MonsterExtraAddD1(builder: flatbuffers.Builder, d1: float): argument 155 builder.PrependFloat64Slot(1, d1, float('nan')) [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | methodChainError.types | 2 class Builder { 3 >Builder : Builder 8 method(param: string): Builder { 9 >method : (param: string) => Builder 17 new Builder() 18 >new Builder() .method("a") .method() .method("a") : Builder 19 >new Builder() .method("a") .method() .method : (param: string) => Builder 20 >new Builder() .method("a") .method() : Builder 21 >new Builder() .method("a") .method : (param: string) => Builder 22 >new Builder() .method("a") : Builder [all …]
|
| /third_party/rust/crates/bindgen/bindgen-cli/ |
| D | options.rs | 3 builder, Abi, AliasVariation, Builder, CodegenConfig, EnumVariation, 204 …ll cause bindgen to emit Rust code that won't compile! See the `bindgen::Builder::allowlist_recurs… 457 /// Construct a new [`Builder`](./struct.Builder.html) from command line flags. 460 ) -> Result<(Builder, Box<dyn io::Write>, bool), io::Error> in builder_from_flags() argument 599 let mut builder = builder(); in builder_from_flags() localVariable 602 builder = builder.header(header); in builder_from_flags() 608 builder = builder.rust_target(rust_target); in builder_from_flags() 612 builder = builder.default_enum_style(variant); in builder_from_flags() 616 builder = builder.bitfield_enum(regex); in builder_from_flags() 620 builder = builder.newtype_enum(regex); in builder_from_flags() [all …]
|
| /third_party/flatbuffers/tests/FlatBuffers.Test/ |
| D | FlatBuffersFuzzTests.cs | 36 var builder = new FlatBufferBuilder(1); in TestNumbers() 37 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestNumbers() 38 builder.AddBool(true); in TestNumbers() 39 Assert.ArrayEqual(new byte[] { 1 }, builder.DataBuffer.ToFullArray()); in TestNumbers() 40 builder.AddSbyte(-127); in TestNumbers() 41 Assert.ArrayEqual(new byte[] { 129, 1 }, builder.DataBuffer.ToFullArray()); in TestNumbers() 42 builder.AddByte(255); in TestNumbers() 43 … Assert.ArrayEqual(new byte[] { 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // First pad in TestNumbers() 44 builder.AddShort(-32222); in TestNumbers() 45 …Assert.ArrayEqual(new byte[] { 0, 0, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray(… in TestNumbers() [all …]
|
| /third_party/flatbuffers/tests/ts/ |
| D | typescript_keywords_generated.cjs | 147 static startKeyValue(builder) { 148 builder.startObject(2); 150 static addKey(builder, keyOffset) { 151 builder.addFieldOffset(0, keyOffset, 0); 153 static addValue(builder, valueOffset) { 154 builder.addFieldOffset(1, valueOffset, 0); 156 static endKeyValue(builder) { 157 const offset = builder.endObject(); 158 builder.requiredField(offset, 4); 161 static createKeyValue(builder, keyOffset, valueOffset) { [all …]
|