Home
last modified time | relevance | path

Searched refs:Phones (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/examples/
Dadd_person_test.go45 if len(got.Phones) != len(want) {
46 t.Errorf("want %d phone numbers, got %d", len(want), len(got.Phones))
48 phones := len(got.Phones)
53 if !proto.Equal(got.Phones[i], want[i]) {
54 t.Errorf("want phone %q, got %q", *want[i], *got.Phones[i])
Dlist_people_test.go18 Phones: []*pb.Person_PhoneNumber{
51 Phones: []*pb.Person_PhoneNumber{
59 Phones: []*pb.Person_PhoneNumber{
69 Phones: []*pb.Person_PhoneNumber{
Dadd_person.go85 p.Phones = append(p.Phones, pn)
Dlist_people.go21 for _, pn := range p.Phones {
/external/protobuf/csharp/src/AddressBook/
DSampleUsage.cs49 Phones = { new Person.Types.PhoneNumber { Number = "555-1212" } } in Main()
DListPeople.cs54 foreach (Person.Types.PhoneNumber phoneNumber in person.Phones) in Print()
DAddPerson.cs89 person.Phones.Add(phoneNumber); in PromptForAddress()
DAddressbook.cs132 … pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber> Phones { property in Google.Protobuf.Examples.AddressBook.Person