/external/compiler-rt/test/msan/Linux/ |
getresid.cc | 18 gid_t gids[6]; local 19 assert(0 == __msan_test_shadow(gids, 6 * sizeof(gid_t))); 20 assert(0 == getresgid(&gids[0], &gids[2], &gids[4])); 23 __msan_test_shadow(gids + 2 * i, 2 * sizeof(gid_t)));
|
/frameworks/base/services/core/java/com/android/server/pm/ |
BasePermission.java | 47 /** Additional GIDs given to apps granted this permission */ 48 private int[] gids; field in class:BasePermission 51 * Flag indicating that {@link #gids} should be adjusted based on the 70 public void setGids(int[] gids, boolean perUser) { 71 this.gids = gids; 77 final int[] userGids = new int[gids.length]; 78 for (int i = 0; i < gids.length; i++) { 79 userGids[i] = UserHandle.getUid(userId, gids[i]); 83 return gids; [all...] |
PermissionsState.java | 47 * This class is also responsible for keeping track of the Linux gids per 48 * user for a package or a shared user. The gids are computed as a set of 49 * the gids for all granted permissions' gids on a per user basis. 57 /** The permission operation succeeded and no gids changed. */ 60 /** The permission operation succeeded and gids changed. */ 80 * Sets the global gids, applicable to all users. 82 * @param globalGids The global gids. 428 * Compute the Linux gids for a given device user from the permissions 433 * @return The gids for the device user 438 int[] gids = mGlobalGids; local 465 int[] gids = mGlobalGids; local [all...] |
/system/core/libpackagelistparser/ |
packagelistparser.c | 41 static size_t get_gid_cnt(const char *gids) 45 if (*gids == '\0') { 49 if (!strcmp(gids, "none")) { 53 for (cnt = 1; gids[cnt]; gids[cnt] == ',' ? cnt++ : *gids++) 59 static bool parse_gids(char *gids, gid_t *gid_list, size_t *cnt) 66 while ((token = strsep(&gids, ",\r\n"))) { 212 pkg_info->gids.cnt = get_gid_cnt(cur); 213 if (pkg_info->gids.cnt > 0) [all...] |
/external/freetype/src/cff/ |
cffcmap.h | 41 FT_UShort* gids; /* up to 256 elements */ member in struct:CFF_CMapStdRec_
|
cffcmap.c | 46 cmap->gids = encoding->codes; 55 cmap->gids = NULL; 67 result = cmap->gids[char_code]; 93 result = cmap->gids[code];
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/ |
cffcmap.h | 41 FT_UShort* gids; /* up to 256 elements */ member in struct:CFF_CMapStdRec_
|
cffcmap.c | 46 cmap->gids = encoding->codes; 55 cmap->gids = NULL; 67 result = cmap->gids[char_code]; 93 result = cmap->gids[code];
|
/external/pdfium/third_party/freetype/src/cff/ |
cffcmap.h | 41 FT_UShort* gids; /* up to 256 elements */ member in struct:CFF_CMapStdRec_
|
cffcmap.c | 46 cmap->gids = encoding->codes; 55 cmap->gids = NULL; 67 result = cmap->gids[char_code]; 93 result = cmap->gids[code];
|
/frameworks/base/core/java/com/android/internal/os/ |
Zygote.java | 71 * @param gids null-ok; a list of UNIX gids that the new process should 91 public static int forkAndSpecialize(int uid, int gid, int[] gids, int debugFlags, 96 uid, gid, gids, debugFlags, rlimits, mountExternal, seInfo, niceName, fdsToClose, 109 native private static int nativeForkAndSpecialize(int uid, int gid, int[] gids,int debugFlags, 123 * @param gids null-ok; a list of UNIX gids that the new process should 136 public static int forkSystemServer(int uid, int gid, int[] gids, int debugFlags, 140 uid, gid, gids, debugFlags, rlimits, permittedCapabilities, effectiveCapabilities); 149 native private static int nativeForkSystemServer(int uid, int gid, int[] gids, int debugFlags [all...] |
ZygoteConnection.java | 225 pid = Zygote.forkAndSpecialize(parsedArgs.uid, parsedArgs.gid, parsedArgs.gids, 321 int[] gids; field in class:ZygoteConnection.Arguments 492 if (gids != null) { 500 gids = new int[params.length]; 503 gids[i] = Integer.parseInt(params[i]);
|
/system/core/libpackagelistparser/include/packagelistparser/ |
packagelistparser.h | 45 gid_t *gids; member in struct:gid_list 54 gid_list gids; member in struct:pkg_info
|
/system/extras/su/ |
su.c | 45 void extract_uidgids(const char* uidgids, uid_t* uid, gid_t* gid, gid_t* gids, int* gids_count) { 72 pwtoid(tok, NULL, gids); 74 gids++; 107 gid_t gids[10]; local 108 int gids_count = sizeof(gids)/sizeof(gids[0]); 109 extract_uidgids(*argv, &uid, &gid, gids, &gids_count); 111 if (setgroups(gids_count, gids)) {
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
V_O_R_G_.py | 22 gids = [] 27 gids.append(gid) 33 names = map(operator.getitem, [glyphOrder]*self.numVertOriginYMetrics, gids) 36 names = map(getGlyphName, gids ) 47 gids = map(operator.getitem, [nameMap]*lenRecords, names) 50 gids = map(operator.getitem, [nameMap]*lenRecords, names) 51 vOriginTable = list(zip(gids, vorgs))
|
_c_m_a_p.py | 370 gids = list(cmap.values()) 372 lenCmap = len(gids) 374 names = list(map(operator.getitem, [glyphOrder]*lenCmap, gids )) 377 names = list(map(getGlyphName, gids )) 393 gids = list(map(operator.getitem, [nameMap]*lenCharCodes, names)) 397 gids = list(map(operator.getitem, [nameMap]*lenCharCodes, names)) 399 # allow virtual GIDs in format 2 tables 400 gids = [] 413 gids.append(gid) 439 items = zip(charCodes, gids) [all...] |
C_O_L_R_.py | 25 gids = [] 31 gids.append(gid) 47 names = list(map(operator.getitem, [glyphOrder]*numBaseGlyphRecords, gids)) 50 names = list(map(getGlyphName, gids ))
|
/frameworks/base/core/jni/ |
com_android_internal_os_Zygote.cpp | 173 ScopedIntArrayRO gids(env, javaGids); 174 if (gids.get() == NULL) { 175 RuntimeAbort(env, __LINE__, "Getting gids int array failed"); 177 int rc = setgroups(gids.size(), reinterpret_cast<const gid_t*>(&gids[0])); 180 oss << "setgroups failed: " << strerror(errno) << ", gids.size=" << gids.size(); 603 JNIEnv* env, jclass, jint uid, jint gid, jintArray gids, 622 } else if (gids != NULL) { 623 jsize gids_num = env->GetArrayLength(gids); [all...] |
/prebuilts/go/darwin-x86/src/os/ |
proc.go | 41 gids, e := syscall.Getgroups() 42 return gids, NewSyscallError("getgroups", e)
|
/prebuilts/go/linux-x86/src/os/ |
proc.go | 41 gids, e := syscall.Getgroups() 42 return gids, NewSyscallError("getgroups", e)
|
/frameworks/base/core/java/android/os/ |
Process.java | 161 * Defines the start of a range of UIDs (and GIDs), going from this 496 * @param gids Additional group-ids associated with the process. 512 int uid, int gid, int[] gids, 521 return startViaZygote(processClass, niceName, uid, gid, gids, 629 * @param gids null-ok; a list of supplementary group IDs that the 644 final int[] gids, 698 if (gids != null && gids.length > 0) { 702 int sz = gids.length; 707 sb.append(gids[i]) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpcsvc/ |
key_prot.x | 124 const MAXGIDS = 16; /* max number of gids in gid list */ 132 u_int gids<MAXGIDS>;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
key_prot.x | 124 const MAXGIDS = 16; /* max number of gids in gid list */ 132 u_int gids<MAXGIDS>;
|
/frameworks/base/core/java/android/content/pm/ |
PackageInfo.java | 104 public int[] gids; field in class:PackageInfo 307 dest.writeIntArray(gids); 356 gids = source.createIntArray();
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageInfoTest.java | 76 assertTrue(Arrays.equals(expected.gids, actual.gids));
|