/external/llvm-project/clang/unittests/Format/ |
D | FormatTestRawStrings.cpp | 160 t = R"pb(item: 1)pb";)test", in TEST_F() 163 t = R"pb(item:1)pb";)test", in TEST_F() 170 s = R"pb(item: 1)pb"; in TEST_F() 172 t = R"pb(item: 1)pb";)test", in TEST_F() 175 s = R"pb(item: 1)pb"; in TEST_F() 177 t = R"pb(item: 1)pb";)test", in TEST_F() 182 expect_eq(R"test(P p = TP(R"pb()pb");)test", in TEST_F() 183 format(R"test(P p = TP(R"pb( )pb");)test", in TEST_F() 185 expect_eq(R"test(P p = TP(R"pb(item_1: 1)pb");)test", in TEST_F() 186 format(R"test(P p = TP(R"pb(item_1:1)pb");)test", in TEST_F() [all …]
|
/external/golang-protobuf/proto/ |
D | size_test.go | 41 pb "github.com/golang/protobuf/proto/test_proto" packageName 44 var messageWithExtension1 = &pb.MyMessage{Count: Int32(7)} 47 var messageWithExtension3 = &pb.MyMessage{Count: Int32(8)} 50 …if err := SetExtension(messageWithExtension1, pb.E_Ext_More, &pb.Ext{Data: String("Abbott")}); err… 53 …if err := SetExtension(messageWithExtension3, pb.E_Ext_More, &pb.Ext{Data: String("Costello")}); e… 75 *pb.OtherMessage 88 pb Message 90 {"empty", &pb.OtherMessage{}}, 92 {"bool", &pb.Defaults{F_Bool: Bool(true)}}, 93 {"int32", &pb.Defaults{F_Int32: Int32(12)}}, [all …]
|
D | equal_test.go | 39 pb "github.com/golang/protobuf/proto/test_proto" packageName 44 var messageWithoutExtension = &pb.MyMessage{Count: Int32(7)} 45 var messageWithExtension1a = &pb.MyMessage{Count: Int32(7)} 46 var messageWithExtension1b = &pb.MyMessage{Count: Int32(7)} 47 var messageWithExtension2 = &pb.MyMessage{Count: Int32(7)} 48 var messageWithExtension3a = &pb.MyMessage{Count: Int32(7)} 49 var messageWithExtension3b = &pb.MyMessage{Count: Int32(7)} 50 var messageWithExtension3c = &pb.MyMessage{Count: Int32(7)} 53 var messageWithInt32Extension1 = &pb.MyMessage{Count: Int32(8)} 54 var messageWithInt32Extension2 = &pb.MyMessage{Count: Int32(8)} [all …]
|
D | clone_test.go | 40 pb "github.com/golang/protobuf/proto/test_proto" packageName 43 var cloneTestMessage = &pb.MyMessage{ 47 Inner: &pb.InnerMessage{ 52 Others: []*pb.OtherMessage{ 57 Somegroup: &pb.MyMessage_SomeGroup{ 64 ext := &pb.Ext{ 67 if err := proto.SetExtension(cloneTestMessage, pb.E_Ext_More, ext); err != nil { 70 if err := proto.SetExtension(cloneTestMessage, pb.E_Ext_Text, proto.String("hello")); err != nil { 73 if err := proto.SetExtension(cloneTestMessage, pb.E_Greeting, []string{"one", "two"}); err != nil { 80 vanilla := new(pb.MyMessage) [all …]
|
D | extensions_test.go | 45 pb "github.com/golang/protobuf/proto/test_proto" packageName 49 msg := &pb.MyMessage{} 50 ext1 := &pb.Ext{} 51 if err := proto.SetExtension(msg, pb.E_Ext_More, ext1); err != nil { 55 pb.E_Ext_More, 56 pb.E_Ext_Text, 72 msg := &pb.MyMessage{} 73 proto.SetRawExtension(msg, pb.E_Ext_More.Field, []byte{}) 74 _, err := proto.GetExtension(msg, pb.E_Ext_More) 81 msg := &pb.MyMessage{Count: proto.Int32(0)} [all …]
|
D | all_test.go | 106 pb := new(GoTest) 108 pb.F_BoolDefaulted = Bool(Default_GoTest_F_BoolDefaulted) 109 pb.F_Int32Defaulted = Int32(Default_GoTest_F_Int32Defaulted) 110 pb.F_Int64Defaulted = Int64(Default_GoTest_F_Int64Defaulted) 111 pb.F_Fixed32Defaulted = Uint32(Default_GoTest_F_Fixed32Defaulted) 112 pb.F_Fixed64Defaulted = Uint64(Default_GoTest_F_Fixed64Defaulted) 113 pb.F_Uint32Defaulted = Uint32(Default_GoTest_F_Uint32Defaulted) 114 pb.F_Uint64Defaulted = Uint64(Default_GoTest_F_Uint64Defaulted) 115 pb.F_FloatDefaulted = Float32(Default_GoTest_F_FloatDefaulted) 116 pb.F_DoubleDefaulted = Float64(Default_GoTest_F_DoubleDefaulted) [all …]
|
D | discard_test.go | 40 pb "github.com/golang/protobuf/proto/test_proto" packageName 83 in: &pb.Communique{ 84 Union: &pb.Communique_Msg{&pb.Strings{ 90 want: &pb.Communique{ 91 Union: &pb.Communique_Msg{&pb.Strings{StringField: proto.String("123")}}, 95 in: &pb.MessageWithMap{MsgMapping: map[int64]*pb.FloatingPoint{ 96 0x4002: &pb.FloatingPoint{ 101 want: &pb.MessageWithMap{MsgMapping: map[int64]*pb.FloatingPoint{ 102 0x4002: &pb.FloatingPoint{Exact: proto.Bool(true)}, 107 m := &pb.MyMessage{ [all …]
|
/external/golang-protobuf/jsonpb/ |
D | jsonpb_test.go | 45 pb "github.com/golang/protobuf/jsonpb/jsonpb_test_proto" packageName 62 simpleObject = &pb.Simple{ 172 repeatsObject = &pb.Repeats{ 251 innerSimple = &pb.Simple{OInt32: proto.Int32(-32)} 252 innerSimple2 = &pb.Simple{OInt64: proto.Int64(25)} 253 innerRepeats = &pb.Repeats{RString: []string{"roses", "red"}} 254 innerRepeats2 = &pb.Repeats{RString: []string{"violets", "blue"}} 255 complexObject = &pb.Widget{ 256 Color: pb.Widget_GREEN.Enum(), 257 RColor: []pb.Widget_Color{pb.Widget_RED, pb.Widget_GREEN, pb.Widget_BLUE}, [all …]
|
/external/libxaac/decoder/ |
D | ixheaacd_mps_smoothing.c | 37 int ps = 0, pb, row, col; in ixheaacd_mps_pre_matrix_mix_matrix_smoothing() local 48 for (pb = res_bands; pb < self->bs_param_bands; pb++) { in ixheaacd_mps_pre_matrix_mix_matrix_smoothing() 53 self->m1_param_re[ps][pb][row][col] = in ixheaacd_mps_pre_matrix_mix_matrix_smoothing() 54 (ixheaacd_mult32(delta, self->m1_param_re[ps][pb][row][col]) + in ixheaacd_mps_pre_matrix_mix_matrix_smoothing() 56 self->m1_param_re_prev[pb][row][col])) in ixheaacd_mps_pre_matrix_mix_matrix_smoothing() 58 self->m1_param_im[ps][pb][row][col] = in ixheaacd_mps_pre_matrix_mix_matrix_smoothing() 59 (ixheaacd_mult32(delta, self->m1_param_im[ps][pb][row][col]) + in ixheaacd_mps_pre_matrix_mix_matrix_smoothing() 61 self->m1_param_im_prev[pb][row][col])) in ixheaacd_mps_pre_matrix_mix_matrix_smoothing() 63 self->m2_decor_re[ps][pb][row][col] = in ixheaacd_mps_pre_matrix_mix_matrix_smoothing() 64 (ixheaacd_mult32(delta, self->m2_decor_re[ps][pb][row][col]) + in ixheaacd_mps_pre_matrix_mix_matrix_smoothing() [all …]
|
/external/tensorflow/tensorflow/python/data/experimental/ops/ |
D | optimization_options.py | 74 pb = dataset_options_pb2.MapVectorization() 76 pb.enabled = self.enabled 78 pb.use_choose_fastest = self.use_choose_fastest 79 return pb 81 def _from_proto(self, pb): argument 82 if pb.WhichOneof("optional_enabled") is not None: 83 self.enabled = pb.enabled 84 if pb.WhichOneof("optional_use_choose_fastest") is not None: 85 self.use_choose_fastest = pb.use_choose_fastest 349 pb = dataset_options_pb2.OptimizationOptions() [all …]
|
/external/aac/libSACdec/src/ |
D | sac_smoothing.cpp | 152 static int getSmoothOnOff(spatialDec *self, int ps, int pb) { in getSmoothOnOff() argument 155 smoothBand = self->smgData[ps][pb]; in getSmoothOnOff() 165 int pb, row, col; in SpatialDecSmoothM1andM2() local 186 for (pb = 0; pb < self->numParameterBands; pb++) { in SpatialDecSmoothM1andM2() 189 smoothBand = getSmoothOnOff(self, ps, pb); in SpatialDecSmoothM1andM2() 191 if (smoothBand && (pb >= residualBands)) { in SpatialDecSmoothM1andM2() 194 self->M2Real__FDK[row][col][pb] = in SpatialDecSmoothM1andM2() 195 ((fMultDiv2(delta__FDK, self->M2Real__FDK[row][col][pb]) + in SpatialDecSmoothM1andM2() 197 self->M2RealPrev__FDK[row][col][pb])) in SpatialDecSmoothM1andM2() 200 self->M2Imag__FDK[row][col][pb] = in SpatialDecSmoothM1andM2() [all …]
|
/external/swiftshader/third_party/astc-encoder/Source/ |
D | astc_image_load_store.cpp | 105 imageblock* pb, in imageblock_initialize_work_from_orig() argument 108 float *fptr = pb->orig_data; in imageblock_initialize_work_from_orig() 112 if (pb->rgb_lns[i]) in imageblock_initialize_work_from_orig() 114 pb->data_r[i] = float_to_lns(fptr[0]); in imageblock_initialize_work_from_orig() 115 pb->data_g[i] = float_to_lns(fptr[1]); in imageblock_initialize_work_from_orig() 116 pb->data_b[i] = float_to_lns(fptr[2]); in imageblock_initialize_work_from_orig() 120 pb->data_r[i] = fptr[0] * 65535.0f; in imageblock_initialize_work_from_orig() 121 pb->data_g[i] = fptr[1] * 65535.0f; in imageblock_initialize_work_from_orig() 122 pb->data_b[i] = fptr[2] * 65535.0f; in imageblock_initialize_work_from_orig() 125 if (pb->alpha_lns[i]) in imageblock_initialize_work_from_orig() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestCustomOptionsProto3.cs | 8 using pb = global::Google.Protobuf; typedef 142 …hodOpt1), typeof(global::UnitTest.Issues.TestProtos.AggregateEnum), }, new pb::Extension[] { Unitt… in UnittestCustomOptionsProto3Reflection() 156 …onType2.Types.ComplexOptionType4.Parser, new[]{ "Waldo" }, null, null, new pb::Extension[] { globa… in UnittestCustomOptionsProto3Reflection() 169 …public static readonly pb::Extension<global::Google.Protobuf.Reflection.FileOptions, ulong> FileOp… 170 …new pb::Extension<global::Google.Protobuf.Reflection.FileOptions, ulong>(7736974, pb::FieldCodec.F… 171 …public static readonly pb::Extension<global::Google.Protobuf.Reflection.MessageOptions, int> Messa… 172 …new pb::Extension<global::Google.Protobuf.Reflection.MessageOptions, int>(7739036, pb::FieldCodec.… 173 …public static readonly pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, ulong> Field… 174 …new pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, ulong>(7740936, pb::FieldCodec.… 175 …public static readonly pb::Extension<global::Google.Protobuf.Reflection.OneofOptions, int> OneofOp… [all …]
|
D | UnittestIssues.cs | 8 using pb = global::Google.Protobuf; typedef 91 public sealed partial class Issue307 : pb::IMessage<Issue307> { 92 …private static readonly pb::MessageParser<Issue307> _parser = new pb::MessageParser<Issue307>(() =… 93 private pb::UnknownFieldSet _unknownFields; 95 public static pb::MessageParser<Issue307> Parser { get { return _parser; } } 103 pbr::MessageDescriptor pb::IMessage.Descriptor { 116 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Issue307() 151 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 155 public void WriteTo(pb::CodedOutputStream output) { in WriteTo() 175 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom() [all …]
|
D | UnittestProto3.cs | 8 using pb = global::Google.Protobuf; typedef 257 public sealed partial class TestAllTypes : pb::IMessage<TestAllTypes> { 258 …private static readonly pb::MessageParser<TestAllTypes> _parser = new pb::MessageParser<TestAllTyp… 259 private pb::UnknownFieldSet _unknownFields; 261 public static pb::MessageParser<TestAllTypes> Parser { get { return _parser; } } 269 pbr::MessageDescriptor pb::IMessage.Descriptor { 341 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in TestAllTypes() 502 singleString_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 508 private pb::ByteString singleBytes_ = pb::ByteString.Empty; 510 public pb::ByteString SingleBytes { [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_phi_builder.c | 93 struct nir_phi_builder *pb = rzalloc(NULL, struct nir_phi_builder); in nir_phi_builder_create() local 95 pb->shader = impl->function->shader; in nir_phi_builder_create() 96 pb->impl = impl; in nir_phi_builder_create() 101 pb->num_blocks = impl->num_blocks; in nir_phi_builder_create() 102 pb->blocks = ralloc_array(pb, nir_block *, pb->num_blocks); in nir_phi_builder_create() 104 pb->blocks[block->index] = block; in nir_phi_builder_create() 107 exec_list_make_empty(&pb->values); in nir_phi_builder_create() 109 pb->iter_count = 0; in nir_phi_builder_create() 110 pb->work = rzalloc_array(pb, unsigned, pb->num_blocks); in nir_phi_builder_create() 111 pb->W = ralloc_array(pb, nir_block *, pb->num_blocks); in nir_phi_builder_create() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | bmove.c | 44 struct process_block_struct *pb; in process_block() local 49 pb = (struct process_block_struct *) priv_data; in process_block() 56 if (ext2fs_test_block_bitmap2(pb->reserve, block)) { in process_block() 61 pb->error = EXT2_ET_BLOCK_ALLOC_FAIL; in process_block() 64 } while (ext2fs_test_block_bitmap2(pb->reserve, block) || in process_block() 65 ext2fs_test_block_bitmap2(pb->alloc_map, block)); in process_block() 67 retval = io_channel_read_blk64(fs->io, orig, 1, pb->buf); in process_block() 69 pb->error = retval; in process_block() 72 retval = io_channel_write_blk64(fs->io, block, 1, pb->buf); in process_block() 74 pb->error = retval; in process_block() [all …]
|
/external/libaom/libaom/aom_dsp/ |
D | grain_synthesis.h | 102 const aom_film_grain_t *const pa, const aom_film_grain_t *const pb) { in av1_check_grain_params_equiv() argument 103 if (pa->apply_grain != pb->apply_grain) return 0; in av1_check_grain_params_equiv() 106 if (pa->num_y_points != pb->num_y_points) return 0; in av1_check_grain_params_equiv() 107 if (memcmp(pa->scaling_points_y, pb->scaling_points_y, in av1_check_grain_params_equiv() 111 if (pa->num_cb_points != pb->num_cb_points) return 0; in av1_check_grain_params_equiv() 112 if (memcmp(pa->scaling_points_cb, pb->scaling_points_cb, in av1_check_grain_params_equiv() 116 if (pa->num_cr_points != pb->num_cr_points) return 0; in av1_check_grain_params_equiv() 117 if (memcmp(pa->scaling_points_cr, pb->scaling_points_cr, in av1_check_grain_params_equiv() 121 if (pa->scaling_shift != pb->scaling_shift) return 0; in av1_check_grain_params_equiv() 122 if (pa->ar_coeff_lag != pb->ar_coeff_lag) return 0; in av1_check_grain_params_equiv() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Wrappers.cs | 8 using pb = global::Google.Protobuf; typedef 60 public sealed partial class DoubleValue : pb::IMessage<DoubleValue> { 61 …private static readonly pb::MessageParser<DoubleValue> _parser = new pb::MessageParser<DoubleValue… 62 private pb::UnknownFieldSet _unknownFields; 64 public static pb::MessageParser<DoubleValue> Parser { get { return _parser; } } 72 pbr::MessageDescriptor pb::IMessage.Descriptor { 86 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in DoubleValue() 137 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 141 public void WriteTo(pb::CodedOutputStream output) { in WriteTo() 171 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom() [all …]
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_pathbrowser.py | 25 cls.pb = pathbrowser.PathBrowser(cls.root, _utest=True) 29 cls.pb.close() 32 del cls.root, cls.pb 35 pb = self.pb 37 eq(pb.master, self.root) 39 self.assertIsInstance(pb.node, TreeNode) 43 pb = self.pb 44 self.assertEqual(pb.top.title(), 'Path Browser') 45 self.assertEqual(pb.top.iconname(), 'Path Browser') 48 pb = self.pb [all …]
|
/external/grpc-grpc/src/csharp/Grpc.Examples/ |
D | Math.cs | 8 using pb = global::Google.Protobuf; typedef 50 public sealed partial class DivArgs : pb::IMessage<DivArgs> { 51 …private static readonly pb::MessageParser<DivArgs> _parser = new pb::MessageParser<DivArgs>(() => … 52 private pb::UnknownFieldSet _unknownFields; 54 public static pb::MessageParser<DivArgs> Parser { get { return _parser; } } 62 pbr::MessageDescriptor pb::IMessage.Descriptor { 77 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in DivArgs() 138 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 142 public void WriteTo(pb::CodedOutputStream output) { in WriteTo() 160 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Dividend); in CalculateSize() [all …]
|
/external/dynamic_depth/internal/strings/ |
D | fastmem.h | 75 const unsigned char* pb = static_cast<const unsigned char*>(vb); in fastmemcmp_inlined() local 80 if (*pa != *pb) return *pa < *pb ? -1 : +1; in fastmemcmp_inlined() 82 ++pb; in fastmemcmp_inlined() 85 if (*pa != *pb) return *pa < *pb ? -1 : +1; in fastmemcmp_inlined() 87 ++pb; in fastmemcmp_inlined() 90 if (*pa != *pb) return *pa < *pb ? -1 : +1; in fastmemcmp_inlined() 92 ++pb; in fastmemcmp_inlined() 95 if (*pa != *pb) return *pa < *pb ? -1 : +1; in fastmemcmp_inlined() 97 ++pb; in fastmemcmp_inlined() 100 if (*pa != *pb) return *pa < *pb ? -1 : +1; in fastmemcmp_inlined() [all …]
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | Messages.cs | 8 using pb = global::Google.Protobuf; typedef 97 public sealed partial class BoolValue : pb::IMessage<BoolValue> { 98 …private static readonly pb::MessageParser<BoolValue> _parser = new pb::MessageParser<BoolValue>(()… 99 private pb::UnknownFieldSet _unknownFields; 101 public static pb::MessageParser<BoolValue> Parser { get { return _parser; } } 109 pbr::MessageDescriptor pb::IMessage.Descriptor { 123 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in BoolValue() 174 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 178 public void WriteTo(pb::CodedOutputStream output) { in WriteTo() 208 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); in MergeFrom() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_picklebuffer.py | 20 def check_memoryview(self, pb, equiv): argument 21 with memoryview(pb) as m: 45 pb = PickleBuffer(b"foo") 46 self.assertEqual(b"foo", bytes(pb)) 47 with memoryview(pb) as m: 50 pb = PickleBuffer(bytearray(b"foo")) 51 self.assertEqual(b"foo", bytes(pb)) 52 with memoryview(pb) as m: 55 self.assertEqual(b"0oo", bytes(pb)) 58 pb = PickleBuffer(b"foo") [all …]
|
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuide/ |
D | RouteGuide.cs | 8 using pb = global::Google.Protobuf; typedef 63 public sealed partial class Point : pb::IMessage<Point> { 64 …private static readonly pb::MessageParser<Point> _parser = new pb::MessageParser<Point>(() => new … 65 private pb::UnknownFieldSet _unknownFields; 67 public static pb::MessageParser<Point> Parser { get { return _parser; } } 75 pbr::MessageDescriptor pb::IMessage.Descriptor { 90 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Point() 151 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 155 public void WriteTo(pb::CodedOutputStream output) { in WriteTo() 173 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Latitude); in CalculateSize() [all …]
|