HomeSort by relevance Sort by last modified time
    Searched refs:perm (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
AccessControlExceptionTest.java 46 Permission perm = new AllPermission(); local
47 new AccessControlException("001", perm);
54 Permission perm = new UnresolvedPermission("unresolvedType", local
56 AccessControlException ex = new AccessControlException("001", perm);
57 assertSame(ex.getPermission(), perm); local
  /development/ndk/platforms/android-3/include/linux/
moduleparam.h 42 unsigned int perm; member in struct:kernel_param
63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg }
65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm)
67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type)
69 #define module_param(name, type, perm) module_param_named(name, name, type, perm)
71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…)
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
access-fannkuch.js 7 var perm = Array(n);
27 for (var i = 0; i < n; i++) perm[i] = perm1[i];
32 while (!((k = perm[0]) == 0)) {
35 var temp = perm[i]; perm[i] = perm[k - i]; perm[k - i] = temp;
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
access-fannkuch.js 7 var perm = Array(n);
27 for (var i = 0; i < n; i++) perm[i] = perm1[i];
32 while (!((k = perm[0]) == 0)) {
35 var temp = perm[i]; perm[i] = perm[k - i]; perm[k - i] = temp;
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
access-fannkuch.js 7 var perm = Array(n);
27 for (var i = 0; i < n; i++) perm[i] = perm1[i];
32 while (!((k = perm[0]) == 0)) {
35 var temp = perm[i]; perm[i] = perm[k - i]; perm[k - i] = temp;
  /external/eigen/Eigen/src/OrderingMethods/
Ordering.h 60 void operator()(const MatrixType& mat, PermutationType& perm)
68 internal::minimum_degree_ordering(symm, perm);
73 void operator()(const SparseSelfAdjointView<SrcType, SrcUpLo>& mat, PermutationType& perm)
79 internal::minimum_degree_ordering(C, perm);
101 void operator()(const MatrixType& /*mat*/, PermutationType& perm)
103 perm.resize(0);
121 /** Compute the permutation vector \a perm form the sparse matrix \a mat
125 void operator() (const MatrixType& mat, PermutationType& perm)
147 perm.resize(n);
148 for (Index i = 0; i < n; i++) perm.indices()(p(i)) = i
    [all...]
  /external/apache-harmony/security/src/test/api/java/tests/api/java/security/
AccessControlContextTest.java 37 final Permission perm = new PropertyPermission("java.class.path", local
39 PermissionCollection col = perm.newPermissionCollection();
40 col.add(perm);
45 acc.checkPermission(perm);
56 acc.checkPermission(perm);
  /external/chromium_org/ppapi/shared_impl/
ppapi_permissions.cc 39 bool PpapiPermissions::HasPermission(Permission perm) const {
40 // Check that "perm" is a power of two to make sure the caller didn't set
44 uint32 perm_int = static_cast<uint32>(perm);
ppapi_permissions.h 69 bool HasPermission(Permission perm) const;
  /external/chromium_org/third_party/mesa/src/src/mesa/program/
prog_noise.c 79 unsigned char perm[512] = { 151, 160, 137, 91, 90, 15, variable
225 n0 = t0 * t0 * grad1(perm[i0 & 0xff], x0);
229 n1 = t1 * t1 * grad1(perm[i1 & 0xff], x1);
284 /* Wrap the integer indices at 256, to avoid indexing perm[] out of bounds */
294 n0 = t0 * t0 * grad2(perm[ii + perm[jj]], x0, y0);
302 n1 = t1 * t1 * grad2(perm[ii + i1 + perm[jj + j1]], x1, y1);
310 n2 = t2 * t2 * grad2(perm[ii + 1 + perm[jj + 1]], x2, y2)
    [all...]
  /external/mesa3d/src/mesa/program/
prog_noise.c 79 unsigned char perm[512] = { 151, 160, 137, 91, 90, 15, variable
225 n0 = t0 * t0 * grad1(perm[i0 & 0xff], x0);
229 n1 = t1 * t1 * grad1(perm[i1 & 0xff], x1);
284 /* Wrap the integer indices at 256, to avoid indexing perm[] out of bounds */
294 n0 = t0 * t0 * grad2(perm[ii + perm[jj]], x0, y0);
302 n1 = t1 * t1 * grad2(perm[ii + i1 + perm[jj + j1]], x1, y1);
310 n2 = t2 * t2 * grad2(perm[ii + 1 + perm[jj + 1]], x2, y2)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/source/
level_indicator.cc 15 const uint32_t perm[] = member in namespace:webrtc
61 _currentLevel = perm[position];
  /external/libselinux/src/
checkAccess.c 18 int selinux_check_access(const char * scon, const char * tcon, const char *class, const char *perm, void *aux) {
37 if ((av = string_to_av_perm(sclass, perm)) == 0) return status;
  /external/libsepol/src/
util.c 83 char *perm = NULL, *p; local
101 perm = v.name;
102 if (perm) {
105 perm);
avrule_block.c 180 perm_datum_t *perm; local
189 perm = hashtab_search(cladatum->permissions.table, perm_id);
190 if (perm == NULL && cladatum->comdatum != 0) {
193 perm =
197 if (perm == NULL) {
  /external/eigen/Eigen/src/SparseCore/
SparsePermutation.h 48 permut_sparsematrix_product_retval(const PermutationType& perm, const MatrixType& matrix)
49 : m_permutation(perm), m_matrix(matrix)
82 PermutationMatrix<Dynamic,Dynamic,Index> perm; local
84 perm = m_permutation;
86 perm = m_permutation.transpose();
90 sizes[perm.indices().coeff(it.index())]++;
94 tmp.insertByOuterInner(perm.indices().coeff(it.index()),j) = it.value();
112 operator*(const SparseMatrixBase<SparseDerived>& matrix, const PermutationBase<PermDerived>& perm)
114 return internal::permut_sparsematrix_product_retval<PermutationBase<PermDerived>, SparseDerived, OnTheRight, false>(perm, matrix.derived());
121 operator*( const PermutationBase<PermDerived>& perm, const SparseMatrixBase<SparseDerived>& matrix
    [all...]
SparseSelfAdjointView.h 42 void permute_symm_to_symm(const MatrixType& mat, SparseMatrix<typename MatrixType::Scalar,DestOrder,typename MatrixType::Index>& _dest, const typename MatrixType::Index* perm = 0);
45 void permute_symm_to_fullsymm(const MatrixType& mat, SparseMatrix<typename MatrixType::Scalar,DestOrder,typename MatrixType::Index>& _dest, const typename MatrixType::Index* perm = 0);
138 SparseSymmetricPermutationProduct<_MatrixTypeNested,UpLo> twistedBy(const PermutationMatrix<Dynamic,Dynamic,Index>& perm) const
140 return SparseSymmetricPermutationProduct<_MatrixTypeNested,UpLo>(m_matrix, perm);
314 void permute_symm_to_fullsymm(const MatrixType& mat, SparseMatrix<typename MatrixType::Scalar,DestOrder,typename MatrixType::Index>& _dest, const typename MatrixType::Index* perm)
333 Index jp = perm ? perm[j] : j;
339 Index ip = perm ? perm[i] : i;
370 Index jp = perm ? perm[j] : j
    [all...]
SparseColEtree.h 58 * \param perm The permutation to apply to the column of \b mat
61 int coletree(const MatrixType& mat, IndexVector& parent, IndexVector& firstRowElt, typename MatrixType::Index *perm=0)
81 if(perm) pcol = perm[col];
103 if(perm) pcol = perm[col];
  /external/chromium_org/extensions/common/permissions/
set_disjunction_permission.h 52 const SetDisjunctionPermission* perm = variable
55 data_set_, perm->data_set_);
60 const SetDisjunctionPermission* perm = variable
62 return data_set_ == perm->data_set_;
73 const SetDisjunctionPermission* perm = variable
77 data_set_, perm->data_set_);
83 const SetDisjunctionPermission* perm = variable
87 data_set_, perm->data_set_);
93 const SetDisjunctionPermission* perm = variable
97 data_set_, perm->data_set_)
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/passthroughfs/
passthrough_fs.h 25 virtual Error Mkdir(const Path& path, int perm);
passthrough_fs.cc 53 Error PassthroughFs::Mkdir(const Path& path, int perm) {
54 return _real_mkdir(path.Join().c_str(), perm);
  /external/bluetooth/bluedroid/stack/gatt/
gatt_db.c 42 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm);
123 tGATT_PERM perm = p_attr->permission; local
126 min_key_size = (((perm & GATT_ENCRYPT_KEY_SIZE_MASK) >> 12));
132 if (!(perm & GATT_READ_ALLOWED))
138 if ((perm & GATT_READ_AUTH_REQUIRED ) && !(sec_flag & GATT_SEC_FLAG_LKEY_UNAUTHED) &&
145 if ((perm & GATT_READ_MITM_REQUIRED ) && !(sec_flag & GATT_SEC_FLAG_LKEY_AUTHED))
151 if ((perm & GATT_READ_ENCRYPTED_REQUIRED ) && !(sec_flag & GATT_SEC_FLAG_ENCRYPTED))
157 if ( (perm & GATT_READ_ENCRYPTED_REQUIRED) && (sec_flag & GATT_SEC_FLAG_ENCRYPTED) && (key_size < min_key_size))
220 GATT_TRACE_DEBUG("read_attr_value uuid=0x%04x perm=0x%0x sec_flag=0x%x offset=%d read_long=%d",
493 ** perm: permission (authentication and key size requirements
749 tGATT_PERM perm; local
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/autotest_private/
autotest_private_api.cc 42 for (URLPatternSet::const_iterator perm = pattern_set.begin();
43 perm != pattern_set.end();
44 ++perm) {
45 permissions->Append(new base::StringValue(perm->GetAsString()));
55 for (std::set<std::string>::const_iterator perm = perm_list.begin();
56 perm != perm_list.end(); ++perm) {
57 permissions->Append(new base::StringValue(perm->c_str()));
  /external/chromium_org/ppapi/proxy/
interface_list_unittest.cc 17 const char* iface_name, void* iface_addr, Permission perm) {
18 list->AddPPB(iface_name, iface_addr, perm);
  /cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
GrantUriPermission.java 85 // Should have a single persisted perm
89 final UriPermission perm = perms.get(0); local
90 if (!perm.getUri().equals(uri)) {
92 "Expected " + uri + " but found " + perm.getUri());

Completed in 1347 milliseconds

1 2 3 4 5