/external/mksh/src/ |
check.pl | 474 local($type, $perm, $rest, $c, $len, $name); 479 # format is: type perm "name" 480 ($type, $perm, $rest) = 486 $perm = oct($perm) if $perm =~ /^\d+$/; 489 if (!chmod($perm, $name)) { 491 "$prog:$test{':long-name'}: can't chmod $perm $name - $!\n"; 495 if (!mkdir($name, $perm)) { 497 "$prog:$test{':long-name'}: can't mkdir $perm $name - $!\n" [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/acl/ |
libacl.h | 65 extern int acl_get_perm(acl_permset_t permset_d, acl_perm_t perm);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/acl/ |
libacl.h | 66 extern int acl_get_perm(acl_permset_t permset_d, acl_perm_t perm);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/ |
acl.h | 95 extern int acl_add_perm(acl_permset_t permset_d, acl_perm_t perm); 98 extern int acl_delete_perm(acl_permset_t permset_d, acl_perm_t perm);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/sys/ |
acl.h | 95 extern int acl_add_perm(acl_permset_t permset_d, acl_perm_t perm); 98 extern int acl_delete_perm(acl_permset_t permset_d, acl_perm_t perm);
|
/external/libunwind/src/ |
os-linux.h | 209 char perm[16], dash = 0, colon = 0, *cp; local 265 /* scan: "LOW-HIGH PERM OFFSET MAJOR:MINOR INUM PATH" */ 269 cp = scan_string (cp, perm, sizeof (perm)); 284 if (perm[0] == 'r') 288 if (perm[1] == 'w') 292 if (perm[2] == 'x')
|
/frameworks/base/core/java/android/widget/ |
AppSecurityPermissions.java | 89 MyPermissionGroupInfo(PermissionInfo perm) { 90 name = perm.packageName; 91 packageName = perm.packageName; 143 public void setPermission(MyPermissionGroupInfo grp, MyPermissionInfo perm, 147 mPerm = perm; 159 CharSequence label = perm.mLabel; 160 if (perm.mNew && newPermPrefix != null) { 176 if (localLOGV) Log.i(TAG, "Made perm item " + perm.name 476 MyPermissionInfo perm = perms.get(j) local [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldRuntimeTest.java | 69 public void checkPermission(Permission perm) { 70 if (perm.getName().equals("shutdownHooks")) { 108 public void checkPermission(Permission perm) { 109 if (perm.getName().equals("checkExec")) { 155 public void checkPermission(Permission perm) { 156 if (perm.getName().equals("checkExec")) { 201 public void checkPermission(Permission perm) { 202 if (perm.getName().equals("checkExec")) { 250 public void checkPermission(Permission perm) { 251 if (perm.getName().equals("checkExec")) [all...] |
/system/extras/librank/ |
librank.c | 174 static int parse_perm(const char *perm) 178 while (*perm) { 179 switch(*perm) { 190 fprintf(stderr, "Unknown permission '%c'\n", *perm); 193 perm++; 220 int perm; local 233 perm = 0; 253 {"perm", required_argument, 0, 'm'}, 281 perm = parse_perm(optarg); 352 if (perm && (pm_map_flags(maps[j]) & PM_MAP_PERMISSIONS) != perm [all...] |
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 51 const char *DrmManagerService::get_perm_label(drm_perm_t perm) { 52 unsigned int index = perm; 56 ALOGE("SELinux: Failed to retrieve permission label(perm=%d).\n", perm); 62 bool DrmManagerService::selinuxIsProtectedCallAllowed(pid_t spid, drm_perm_t perm) { 69 const char *str_perm = get_perm_label(perm); 83 bool DrmManagerService::isProtectedCallAllowed(drm_perm_t perm) { 93 return selinuxIsProtectedCallAllowed(spid, perm);
|
/frameworks/base/services/core/java/com/android/server/am/ |
UriPermission.java | 361 private Snapshot(UriPermission perm) { 362 this.targetUserId = perm.targetUserId; 363 this.sourcePkg = perm.sourcePkg; 364 this.targetPkg = perm.targetPkg; 365 this.uri = perm.uri; 366 this.persistedModeFlags = perm.persistedModeFlags; 367 this.persistedCreateTime = perm.persistedCreateTime;
|
/external/icu/icu4c/source/io/ |
ufile.c | 133 const char *perm, 138 FILE *systemFile = fopen(filename, perm); 156 const char *perm, 165 result = u_fopen(buffer, perm, locale, codepage); 169 FILE *systemFile = _wfopen(filename, (UChar*)perm);
|
/external/openssh/ |
sftp-common.c | 60 a->perm = 0; 77 a->perm = st->st_mode; 96 st->st_mode = a->perm; 122 if ((r = sshbuf_get_u32(b, &a->perm)) != 0) 170 if ((r = sshbuf_put_u32(b, a->perm)) != 0)
|
/ndk/sources/android/libthread_db/gdb-6.6/ |
libthread_db.c | 63 char* perm; local 87 perm = strstr(buff, "CapPrm:"); 88 if (perm == NULL) { 97 *cap = (uint64_t) strtoull(perm+8, &end, 16); 102 D("Cannot read CapPerm from %s: '%.*s'\n", path, 24, perm);
|
/ndk/sources/android/libthread_db/gdb-7.3.x/ |
libthread_db.c | 59 char* perm; local 83 perm = strstr(buff, "CapPrm:"); 84 if (perm == NULL) { 93 *cap = (uint64_t) strtoull(perm+8, &end, 16); 98 D("Cannot read CapPerm from %s: '%.*s'\n", path, 24, perm);
|
/ndk/sources/android/libthread_db/gdb-7.6/ |
libthread_db.c | 71 char* perm; local 95 perm = strstr(buff, "CapPrm:"); 96 if (perm == NULL) { 105 *cap = (uint64_t) strtoull(perm+8, &end, 16); 110 D("Cannot read CapPerm from %s: '%.*s'\n", path, 24, perm);
|
/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
URLResource.java | 177 Permission perm = _connection.getPermission(); local 178 if (perm instanceof java.io.FilePermission) 179 return new File(perm.getName());
|
/external/skia/src/ports/ |
SkOSFile_stdio.cpp | 21 char perm[4]; local 22 char* p = perm; 35 return (SkFILE*)::fopen(path, perm);
|
/frameworks/av/drm/libdrmframework/include/ |
DrmManagerService.h | 61 static const char *get_perm_label(drm_perm_t perm); 63 static bool selinuxIsProtectedCallAllowed(pid_t spid, drm_perm_t perm); 65 static bool isProtectedCallAllowed(drm_perm_t perm);
|
/system/bt/bta/gatt/ |
bta_gatts_api.c | 218 ** perm : Characteristic value declaration attribute permission. 225 tBTA_GATT_PERM perm, tBTA_GATT_CHAR_PROP property) 235 p_buf->perm = perm; 257 ** perm: descriptor access permission. 264 tBTA_GATT_PERM perm, 277 p_buf->perm = perm;
|
/external/eigen/Eigen/src/MetisSupport/ |
MetisSupport.h | 19 * WARNING: As computed by METIS, this corresponds to the vector iperm (instead of perm) 106 IndexVector perm(m),iperm(m); 112 output_error = METIS_NodeND(&m, m_indexPtr.data(), m_innerIndices.data(), NULL, NULL, perm.data(), iperm.data()); 122 //NOTE: If Ap is the permuted matrix then perm and iperm vectors are defined as follows 123 // Row (column) i of Ap is the perm(i) row(column) of A, and row (column) i of A is the iperm(i) row(column) of Ap
|
/external/eigen/Eigen/src/QR/ |
ColPivHouseholderQR_MKL.h | 76 lapack_int *perm = m_colsPermutation.indices().data(); \ 80 for(i=0;i<cols;i++) perm[i]--;\
|
/external/libselinux/include/selinux/ |
selinux.h | 267 access_vector_t perm); 280 const char *perm, void *aux);
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
DGMRES.h | 32 * \param perm gives the sorted sequence on output. Must be initialized with 0..n-1 39 void sortWithPermutation (VectorType& vec, IndexType& perm, typename IndexType::Scalar& ncut) 41 eigen_assert(vec.size() == perm.size()); 50 if ( vec(perm(j)) < vec(perm(j+1)) ) 52 std::swap(perm(j),perm(j+1)); 444 Matrix<Index,Dynamic,1>perm(it); 450 perm.setLinSpaced(it,0,it-1); 451 internal::sortWithPermutation(modulEig, perm, neig) [all...] |
/external/eigen/bench/ |
sparse_cholesky.cpp | 167 std::vector<int> perm(cols); 170 perm[i] = i; 179 L = cholmod_analyze_p(&A, &perm[0], &perm[0], cols, &c);
|