/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 | 48 DBusHashTable *groups; /**< Groups in the database by GID */ member in struct:DBusUserDatabase 50 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 | 306 unsigned groups = ~((unsigned)0); /* XXX */ local 322 groups = 0; 325 groups = 0; 328 groups = 0; 331 groups = 0; 334 groups = 0; 337 groups = 0; 348 groups |= nl_mgrp(XFRMNLGRP_ACQUIRE); 350 groups |= nl_mgrp(XFRMNLGRP_EXPIRE); 352 groups |= nl_mgrp(XFRMNLGRP_SA) [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/ |
CallLogGroupBuilderTest.java | 38 /** Records the created groups. */ 61 assertEquals(0, mFakeGroupCreator.groups.size()); 67 assertEquals(0, mFakeGroupCreator.groups.size()); 74 assertEquals(0, mFakeGroupCreator.groups.size()); 82 assertEquals(1, mFakeGroupCreator.groups.size()); 83 assertGroupIs(0, 3, false, mFakeGroupCreator.groups.get(0)); 91 assertEquals(1, mFakeGroupCreator.groups.size()); 92 assertGroupIs(0, 3, false, mFakeGroupCreator.groups.get(0)); 103 assertEquals(2, mFakeGroupCreator.groups.size()); 104 assertGroupIs(1, 2, false, mFakeGroupCreator.groups.get(0)) 338 public final List<GroupSpec> groups = newArrayList(); field in class:CallLogGroupBuilderTest.FakeGroupCreator [all...] |
/external/chromium/chrome/browser/ |
plugin_exceptions_table_model_unittest.cc | 116 const ui::TableModel::Groups& groups = table_model_->groups_; local 118 EXPECT_EQ(groups.size(), row_counts.size()); 119 EXPECT_EQ(groups.size(), resources.size()); 125 // Plugin IDs are indices into |groups|. 127 EXPECT_LT(it->plugin_id, static_cast<int>(groups.size()));
|
plugin_updater.cc | 176 // plugin groups. 178 // Files have a path attribute, groups don't. 207 // Otherwise this is a list of groups. 252 std::vector<webkit::npapi::PluginGroup> groups; local 253 webkit::npapi::PluginList::Singleton()->GetPluginGroups(false, &groups); 260 plugins, groups)); 266 const std::vector<webkit::npapi::PluginGroup>& groups) { 292 // Add the groups as well. 293 for (size_t i = 0; i < groups.size(); ++i) { 294 DictionaryValue* summary = groups[i].GetSummary() [all...] |
/frameworks/base/cmds/screenshot/ |
screenshot.c | 153 gid_t groups[] = { AID_LOG, AID_SDCARD_RW }; local 154 setgroups(sizeof(groups)/sizeof(groups[0]), groups);
|
/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;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ExpandableListViewBasicTest.java | 135 List<MyGroup> groups = mActivity.getGroups(); local 137 groups.add(0, insertedGroup);
|
/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 | 318 gid_t groups[] = { AID_LOG, AID_SDCARD_RW, AID_MOUNT, AID_INET }; local 319 if (setgroups(sizeof(groups)/sizeof(groups[0]), groups) != 0) {
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpcsvc/ |
mount.h | 43 typedef struct groupnode *groups; typedef in typeref:struct:groupnode 47 groups gr_next; 55 groups ex_groups; 121 extern bool_t xdr_groups (XDR *, groups*);
|
/bionic/libc/kernel/arch-sh/asm/ |
hw_irq.h | 70 struct intc_group *groups; member in struct:intc_desc 84 #define DECLARE_INTC_DESC(symbol, chipname, vectors, groups, mask_regs, prio_regs, sense_regs) struct intc_desc symbol __initdata = { _INTC_ARRAY(vectors), _INTC_ARRAY(groups), _INTC_ARRAY(mask_regs), _INTC_ARRAY(prio_regs), _INTC_ARRAY(sense_regs), chipname, } 86 #define DECLARE_INTC_DESC_ACK(symbol, chipname, vectors, groups, mask_regs, prio_regs, sense_regs, ack_regs) struct intc_desc symbol __initdata = { _INTC_ARRAY(vectors), _INTC_ARRAY(groups), _INTC_ARRAY(mask_regs), _INTC_ARRAY(prio_regs), _INTC_ARRAY(sense_regs), chipname, _INTC_ARRAY(ack_regs), }
|
/external/chromium/chrome/browser/ui/gtk/ |
gtk_tree.cc | 112 // row between groups. 128 const ui::TableModel::Groups& groups = table_model_->GetGroups(); local 129 ui::TableModel::Groups::const_iterator group_it = groups.begin(); 151 if (group_it == groups.end()) { 156 int offset = OffsetForGroupIndex(group_it - groups.begin()); 165 const ui::TableModel::Groups& groups = table_model_->GetGroups(); local 166 for (ui::TableModel::Groups::const_iterator it = groups.begin() 205 const ui::TableModel::Groups& groups = table_model_->GetGroups(); local [all...] |
/external/chromium/chrome/browser/ui/search_engines/ |
template_url_table_model.cc | 214 TemplateURLTableModel::Groups TemplateURLTableModel::GetGroups() { 215 Groups groups; local 221 groups.push_back(search_engine_group); 227 groups.push_back(other_group); 229 return groups;
|