/bionic/libc/unistd/ |
initgroups.c | 38 gid_t* groups = groups0; local 42 if (getgrouplist(user, group, groups, &numgroups) < 0) { 43 groups = malloc(numgroups*sizeof(groups[0])); 44 if (groups == NULL) 46 if (getgrouplist(user,group,groups,&numgroups) < 0) { 51 ret = setgroups(numgroups, groups); 54 if (groups != groups0) 55 free(groups);
|
/external/dbus/dbus/ |
dbus-userdb.h | 44 DBusHashTable *groups; /**< Groups in the database by GID */ member in struct:DBusUserDatabase 46 DBusHashTable *groups_by_name; /**< Groups in the database by name */
|
/external/iproute2/tc/ |
tc_monitor.c | 71 unsigned groups = nl_mgrp(RTNLGRP_TC); local 98 if (rtnl_open(&rth, groups) < 0)
|
/system/extras/tests/bionic/libc/bionic/ |
test_getgrouplist.c | 38 gid_t groups[MAX_GROUPS]; local 45 ret = getgrouplist( TEST_USER, TEST_GROUP, groups, &count ); 51 if (groups[0] != TEST_GROUP) { 53 groups[0], TEST_GROUP);
|
/external/skia/src/animator/ |
SkDump.h | 39 SkBool groups; member in class:SkDump
|
/build/tools/ |
adbs | 167 # groups[0]: log tag 168 # groups[1]: stack level 169 # groups[2]: "pc" 170 # groups[3]: code address 171 # groups[4]: library name 173 def SymbolTranslation(groups): 174 lib_name = groups[4] 175 code_addr = groups[3] 183 print groups[0] + groups[1] + " " + caller + "<-" + 215 groups = match.groups() variable [all...] |
/external/iproute2/ip/ |
ipmonitor.c | 115 unsigned groups = ~RTMGRP_TC; local 133 groups = 0; 136 groups = 0; 139 groups = 0; 142 groups = 0; 145 groups = 0; 147 groups = ~RTMGRP_TC; 159 groups |= nl_mgrp(RTNLGRP_LINK); 162 groups |= nl_mgrp(RTNLGRP_IPV4_IFADDR); 164 groups |= nl_mgrp(RTNLGRP_IPV6_IFADDR) [all...] |
rtmon.c | 72 unsigned groups = ~0U; local 113 groups = 0; 116 groups = 0; 119 groups = 0; 121 groups = ~0U; 136 groups |= nl_mgrp(RTNLGRP_LINK); 139 groups |= nl_mgrp(RTNLGRP_IPV4_IFADDR); 141 groups |= nl_mgrp(RTNLGRP_IPV6_IFADDR); 145 groups |= nl_mgrp(RTNLGRP_IPV4_ROUTE); 147 groups |= nl_mgrp(RTNLGRP_IPV6_ROUTE) [all...] |
xfrm_monitor.c | 305 unsigned groups = ~((unsigned)0); /* XXX */ local 321 groups = 0; 324 groups = 0; 327 groups = 0; 330 groups = 0; 333 groups = 0; 336 groups = 0; 347 groups |= nl_mgrp(XFRMNLGRP_ACQUIRE); 349 groups |= nl_mgrp(XFRMNLGRP_EXPIRE); 351 groups |= nl_mgrp(XFRMNLGRP_SA) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ExpandableListViewBasicTest.java | 134 List<MyGroup> groups = mActivity.getGroups(); local 136 groups.add(0, insertedGroup);
|
/frameworks/base/core/tests/coretests/src/android/widget/expandablelistview/ |
InflatedExpandableListView.java | 44 // Sample data set. children[i] contains the children (String[]) for groups[i]. 45 private String[] groups = { "People Names", "Dog Names", "Cat Names", "Fish Names" }; field in class:InflatedExpandableListView.MyExpandableListAdapter 87 return groups[groupPosition]; 91 return groups.length;
|
ExpandableListBasicTest.java | 102 List<MyGroup> groups = mActivity.getGroups(); local 104 groups.add(0, insertedGroup);
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
legacy_contacts.sql | 40 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_account STRING,group_sync_id STRING); 47 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account)); table 48 INSERT INTO groups VALUES(1,'android.contacts.test.eclair@gmail.com',6,NULL,NULL,NULL,0,1,'System Group: My Contacts','System Group: My Contacts',0,'Contacts'); 49 INSERT INTO groups VALUES(2,'android.contacts.test.eclair@gmail.com','20a186238cf27aaa',1249172992736000,1249172992736000,NULL,0,1,'Eclair Contacts','Eclair Contacts',0,NULL); 50 INSERT INTO groups VALUES(3,'android.contacts.test.eclair@gmail.com','2fcbf74c8be345dc',1249176693566000,1249176693566000,NULL,0,1,'Starred in Android','Starred in Android',0,NULL); 97 INSERT INTO sqlite_sequence VALUES('groups',3); 111 CREATE INDEX groupsSyncDirtyIndex ON groups (_sync_dirty); 134 CREATE TRIGGER groups_cleanup DELETE ON groups BEGIN UPDATE groupmembership SET group_id = null WHERE group_id = old._id;END; 135 CREATE TRIGGER groups_to_deleted DELETE ON groups WHEN old._sync_id is not null BEGIN INSERT INTO _deleted_groups (_sync_id, _sync_account, _sync_version) VALUES (old._sync_id, old._sync_account, old._sync_version);END;
|
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
legacy_contacts.sql | 28 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_account STRING,group_sync_id STRING); 40 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account)); table 41 INSERT INTO groups VALUES(1,'lemmytest@gmail.com',6,NULL,NULL,NULL,0,1,'System Group: My Contacts','System Group: My Contacts',0,'Contacts'); 123 INSERT INTO sqlite_sequence VALUES('groups',1); 135 CREATE INDEX groupsSyncDirtyIndex ON groups (_sync_dirty); 158 CREATE TRIGGER groups_cleanup DELETE ON groups BEGIN UPDATE groupmembership SET group_id = null WHERE group_id = old._id;END; 159 CREATE TRIGGER groups_to_deleted DELETE ON groups WHEN old._sync_id is not null BEGIN INSERT INTO _deleted_groups (_sync_id, _sync_account, _sync_version) VALUES (old._sync_id, old._sync_account, old._sync_version);END;
|
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
legacy_contacts.sql | 24 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_account STRING,group_sync_id STRING); 30 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account)); table 31 INSERT INTO groups VALUES(1,NULL,NULL,NULL,NULL,NULL,0,NULL,'Contacts',NULL,0,'Contacts'); 67 INSERT INTO sqlite_sequence VALUES('groups',1); 79 CREATE INDEX groupsSyncDirtyIndex ON groups (_sync_dirty); 102 CREATE TRIGGER groups_cleanup DELETE ON groups BEGIN UPDATE groupmembership SET group_id = null WHERE group_id = old._id;END; 103 CREATE TRIGGER groups_to_deleted DELETE ON groups WHEN old._sync_id is not null BEGIN INSERT INTO _deleted_groups (_sync_id, _sync_account, _sync_version) VALUES (old._sync_id, old._sync_account, old._sync_version);END;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ExpandableList1.java | 90 // Sample data set. children[i] contains the children (String[]) for groups[i]. 91 private String[] groups = { "People Names", "Dog Names", "Cat Names", "Fish Names" }; field in class:ExpandableList1.MyExpandableListAdapter 133 return groups[groupPosition]; 137 return groups.length;
|
/external/wpa_supplicant/ |
os_unix.c | 184 gid_t groups[] = { AID_INET, AID_WIFI }; local 185 setgroups(sizeof(groups)/sizeof(groups[0]), groups);
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
os_unix.c | 223 gid_t groups[] = { AID_INET, AID_WIFI, AID_KEYSTORE }; local 224 setgroups(sizeof(groups)/sizeof(groups[0]), groups);
|
/frameworks/base/cmds/dumpstate/ |
dumpstate.c | 220 gid_t groups[] = { AID_LOG, AID_SDCARD_RW, AID_MOUNT }; local 221 setgroups(sizeof(groups)/sizeof(groups[0]), groups);
|
/external/dbus/bus/ |
policy.c | 289 /* we avoid the overhead of looking up user's groups 294 unsigned long *groups; local 298 if (!bus_connection_get_groups (connection, &groups, &n_groups, error)) 307 groups[i]); 313 dbus_free (groups); 321 dbus_free (groups); 452 _dbus_verbose ("Did not get any groups for UID %lu\n", [all...] |
/external/dhcpcd/ |
dhcpcd.c | 608 gid_t groups[] = { AID_INET, AID_SHELL }; local 609 setgroups(sizeof(groups)/sizeof(groups[0]), groups);
|
/external/elfutils/libasm/ |
libasmP.h | 152 /* List of section groups. */ 153 struct AsmScnGrp *groups; member in struct:AsmCtx 154 /* Number of section groups. */
|
/bionic/libc/kernel/common/linux/ |
device.h | 146 struct attribute_group ** groups; member in struct:class_device
|
/external/dropbear/libtomcrypt/testprof/ |
x86_prof.c | 772 } groups[] = { local 780 for (x = 0; x < (sizeof(groups)/sizeof(groups[0])); x++) { 785 if ((err = dsa_make_key(&yarrow_prng, find_prng("yarrow"), groups[x].group, groups[x].modulus, &key)) != CRYPT_OK) { 801 fprintf(stderr, "DSA-(%lu, %lu) make_key took %15llu cycles\n", (unsigned long)groups[x].group*8, (unsigned long)groups[x].modulus*8, t2); [all...] |
/frameworks/base/tools/localize/ |
XLIFFFile.cpp | 467 vector<TransUnit> groups; local
|