/external/chromium_org/chrome/browser/ui/app_list/search/people/ |
person.h | 19 // Person holds information about a search result retrieved from the People 21 struct Person { 22 // Parses the dictionary from the people search result and creates a person 24 static scoped_ptr<Person> Create(const base::DictionaryValue& dict); 26 Person(); 27 ~Person(); 29 scoped_ptr<Person> Duplicate(); 31 // This is a unique id for this person. In the case of a result with an 34 // unique for this person search result. 42 // you interact with the person [all...] |
person.cc | 5 #include "chrome/browser/ui/app_list/search/people/person.h" 14 const char kKeyId[] = "person.id"; 15 const char kKeyNames[] = "person.names"; 17 const char kKeyEmails[] = "person.emails"; 19 const char kKeyInteractionRank[] = "person.sortKeys.interactionRank"; 20 const char kKeyImages[] = "person.images"; 22 const char kKeyOwnerId[] = "person.metadata.ownerId"; 66 scoped_ptr<Person> Person::Create(const base::DictionaryValue& dict) { 67 scoped_ptr<Person> person(new Person()) [all...] |
people_result.h | 19 struct Person; 23 PeopleResult(Profile* profile, scoped_ptr<Person> person); 46 scoped_ptr<Person> person_;
|
people_provider.cc | 21 #include "chrome/browser/ui/app_list/search/people/person.h" 189 scoped_ptr<Person> person = Person::Create(dict); local 190 if (!person) 193 result.reset(new PeopleResult(profile_, person.Pass()));
|
people_result.cc | 16 #include "chrome/browser/ui/app_list/search/people/person.h" 63 PeopleResult::PeopleResult(Profile* profile, scoped_ptr<Person> person) 64 : profile_(profile), person_(person.Pass()), weak_factory_(this) {
|
/external/javassist/sample/reflect/ |
Person.java | 10 public class Person {
17 public Person(String name, int birthYear) {
41 Person p = new Person(name, 1960);
|
/external/protobuf/examples/ |
AddPerson.java | 4 import com.example.tutorial.AddressBookProtos.Person; 14 // This function fills in a Person message based on user input. 15 static Person PromptForAddress(BufferedReader stdin, 17 Person.Builder person = Person.newBuilder(); local 19 stdout.print("Enter person ID: "); 20 person.setId(Integer.valueOf(stdin.readLine())); 23 person.setName(stdin.readLine()); 28 person.setEmail(email) [all...] |
add_person.cc | 9 // This function fills in a Person message based on user input. 10 void PromptForAddress(tutorial::Person* person) { 11 cout << "Enter person ID number: "; 14 person->set_id(id); 18 getline(cin, *person->mutable_name()); 24 person->set_email(email); 35 tutorial::Person::PhoneNumber* phone_number = person->add_phone(); 42 phone_number->set_type(tutorial::Person::MOBILE) [all...] |
list_people.cc | 12 const tutorial::Person& person = address_book.person(i); local 14 cout << "Person ID: " << person.id() << endl; 15 cout << " Name: " << person.name() << endl; 16 if (person.has_email()) { 17 cout << " E-mail address: " << person.email() << endl; 20 for (int j = 0; j < person.phone_size(); j++) { 21 const tutorial::Person::PhoneNumber& phone_number = person.phone(j) [all...] |
add_person.py | 8 # This function fills in a Person message based on user input. 9 def PromptForAddress(person): 10 person.id = int(raw_input("Enter person ID number: ")) 11 person.name = raw_input("Enter name: ") 15 person.email = email 22 phone_number = person.phone.add() 27 phone_number.type = addressbook_pb2.Person.MOBILE 29 phone_number.type = addressbook_pb2.Person.HOME 31 phone_number.type = addressbook_pb2.Person.WOR [all...] |
list_people.py | 10 for person in address_book.person: 11 print "Person ID:", person.id 12 print " Name:", person.name 13 if person.HasField('email'): 14 print " E-mail address:", person.email 16 for phone_number in person.phone: 17 if phone_number.type == addressbook_pb2.Person.MOBILE: 19 elif phone_number.type == addressbook_pb2.Person.HOME [all...] |
ListPeople.java | 4 import com.example.tutorial.AddressBookProtos.Person; 12 for (Person person: addressBook.getPersonList()) { 13 System.out.println("Person ID: " + person.getId()); 14 System.out.println(" Name: " + person.getName()); 15 if (person.hasEmail()) { 16 System.out.println(" E-mail address: " + person.getEmail()); 19 for (Person.PhoneNumber phoneNumber : person.getPhoneList()) [all...] |
/external/nanopb-c/tests/basic_buffer/ |
encode_buffer.c | 1 /* A very simple encoding test case using person.proto. 8 #include "person.pb.h" 17 Person person = {"Test Person 99", 99, true, "test@person.com", local 26 if (pb_encode(&stream, Person_fields, &person))
|
decode_buffer.c | 1 /* A very simple decoding test case, using person.proto. 11 #include "person.pb.h" 19 Person person; local 21 if (!pb_decode(stream, Person_fields, &person)) 26 printf("name: \"%s\"\n", person.name); 27 printf("id: %ld\n", (long)person.id); 29 if (person.has_email) 30 printf("email: \"%s\"\n", person.email); 32 for (i = 0; i < person.phone_count; i++ [all...] |
/external/nanopb-c/tests/basic_stream/ |
encode_stream.c | 6 #include "person.pb.h" 19 Person person = {"Test Person 99", 99, true, "test@person.com", local 31 if (pb_encode(&stream, Person_fields, &person))
|
decode_stream.c | 6 #include "person.pb.h" 15 Person person; local 17 if (!pb_decode(stream, Person_fields, &person)) 22 printf("name: \"%s\"\n", person.name); 23 printf("id: %ld\n", (long)person.id); 25 if (person.has_email) 26 printf("email: \"%s\"\n", person.email); 28 for (i = 0; i < person.phone_count; i++) 30 Person_PhoneNumber *phone = &person.phone[i] [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_structures.py | 212 class Person(Structure): 216 self.assertRaises(TypeError, Person, 42) 217 self.assertRaises(ValueError, Person, "asldkjaslkdjaslkdj") 218 self.assertRaises(TypeError, Person, "Name", "HI") 221 self.assertEqual(Person("12345", 5).name, "12345") 223 self.assertEqual(Person("123456", 5).name, "123456") 225 self.assertRaises(ValueError, Person, "1234567", 5) 282 class Person(Structure): 287 p = Person("Someone", ("1234", "5678"), 5) 319 class Person(Structure) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_structures.py | 212 class Person(Structure): 216 self.assertRaises(TypeError, Person, 42) 217 self.assertRaises(ValueError, Person, "asldkjaslkdjaslkdj") 218 self.assertRaises(TypeError, Person, "Name", "HI") 221 self.assertEqual(Person("12345", 5).name, "12345") 223 self.assertEqual(Person("123456", 5).name, "123456") 225 self.assertRaises(ValueError, Person, "1234567", 5) 282 class Person(Structure): 287 p = Person("Someone", ("1234", "5678"), 5) 319 class Person(Structure) [all...] |
/frameworks/base/docs/html/ |
gms_navtree_data.js | [all...] |
/external/chromium_org/chrome/browser/resources/user_manager/ |
user_manager.js | 36 * @param {bool} showAddPerson Whether the 'Add Person' button is displayed.
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
cdoex.h | 324 typedef class Person Person; 326 typedef struct Person Person; [all...] |
/external/chromium_org/third_party/dom_distiller_js/package/js/ |
domdistiller.js | 448 function De(){De=Gu;ze=new Ee('IMAGE',0);ye=new Ee(Uv,1);Be=new Ee('PERSON',2);Ae=new Ee('ORGANIZATION',3);Ce=new Ee('UNSUPPORTED',4);xe=ki(Tk,Ou,15,[ze,ye,Be,Ae,Ce])} [all...] |
/prebuilts/devtools/tools/lib/ |
jython-standalone-2.5.3.jar | |
/prebuilts/tools/common/m2/repository/org/python/jython/2.5.3/ |
jython-2.5.3.jar | |
/prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/ |
jython-standalone-2.5.3.jar | |