Searched refs:phone_number (Results 1 – 8 of 8) sorted by relevance
16 for phone_number in person.phones:17 if phone_number.type == addressbook_pb2.Person.MOBILE:19 elif phone_number.type == addressbook_pb2.Person.HOME:21 elif phone_number.type == addressbook_pb2.Person.WORK:23 print phone_number.number
22 phone_number = person.phones.add()23 phone_number.number = number27 phone_number.type = addressbook_pb2.Person.MOBILE29 phone_number.type = addressbook_pb2.Person.HOME31 phone_number.type = addressbook_pb2.Person.WORK
35 tutorial::Person::PhoneNumber* phone_number = person->add_phones(); in PromptForAddress() local36 phone_number->set_number(number); in PromptForAddress()42 phone_number->set_type(tutorial::Person::MOBILE); in PromptForAddress()44 phone_number->set_type(tutorial::Person::HOME); in PromptForAddress()46 phone_number->set_type(tutorial::Person::WORK); in PromptForAddress()
21 const tutorial::Person::PhoneNumber& phone_number = person.phones(j); in ListPeople() local23 switch (phone_number.type()) { in ListPeople()34 cout << phone_number.number() << endl; in ListPeople()
27 phone_number: string;
148 EXPECT_EQ(entity_data->contact_info->phone_number, "1-800-TEST"); in TEST()
41 phone_number:string;
605 phone_number_len=9, phone_number='123456789',629 assert outgoing_call_pkt.phone_number == b'123456789' + b'\0' * (64-len('123456789'))