Searched defs:perm (Results 1 - 25 of 39) sorted by relevance

12

/external/openssh/
H A Dsftp-common.h39 u_int32_t perm; member in struct:Attrib
/external/libselinux/src/
H A DcheckAccess.c18 int selinux_check_access(const security_context_t scon, const security_context_t tcon, const char *class, const char *perm, void *aux) { argument
37 if ((av = string_to_av_perm(sclass, perm)) == 0) return status;
/external/skia/src/ports/
H A DSkOSFile_stdio.cpp17 char perm[4]; local
18 char* p = perm;
27 SkFILE* f = (SkFILE*)::fopen(path, perm);
30 SkDebugf("sk_fopen failed for %s (%s), errno=%s\n", path, perm, strerror(errno));
/external/libsepol/src/
H A Dassertion.c34 class_perm_node_t * perm, unsigned long line)
40 for (curperm = perm; curperm != NULL; curperm = curperm->next) {
30 check_assertion_helper(sepol_handle_t * handle, policydb_t * p, avtab_t * te_avtab, avtab_t * te_cond_avtab, unsigned int stype, unsigned int ttype, class_perm_node_t * perm, unsigned long line) argument
H A Davrule_block.c181 perm_datum_t *perm; local
190 perm = hashtab_search(cladatum->permissions.table, perm_id);
191 if (perm == NULL && cladatum->comdatum != 0) {
194 perm =
198 if (perm == NULL) {
H A Dutil.c83 char *perm = NULL, *p; local
101 perm = v.name;
102 if (perm) {
105 perm);
H A Dexpand.c193 perm_datum_t *perm, *new_perm; local
196 perm = (perm_datum_t *) datum;
211 new_perm->s.value = perm->s.value;
H A Dlink.c112 * a) perm is required and the class _and_ perm are declared in base: only add a mapping.
113 * b) perm is required and the class and perm are _not_ declared in base: simply add the permissions
116 * c) perm is required, the class is declared in base, but the perm is not present. Nothing we can do
127 perm_datum_t *perm, *new_perm = NULL, *dest_perm; local
136 perm = (perm_datum_t *) datum;
145 /* If the object class was not declared in the base, add the perm
187 if (perm
[all...]
/external/bzip2/
H A Dhuffman.c172 Int32 *perm,
183 if (length[j] == i) { perm[pp] = j; pp++; };
170 BZ2_hbCreateDecodeTables( Int32 *limit, Int32 *base, Int32 *perm, UChar *length, Int32 minLen, Int32 maxLen, Int32 alphaSize ) argument
H A Dbzlib_private.h408 Int32 perm [BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE]; member in struct:__anon1465
/external/icu4c/io/
H A Dufile.c132 const char *perm,
137 FILE *systemFile = fopen(filename, perm);
131 u_fopen(const char *filename, const char *perm, const char *locale, const char *codepage) argument
/external/kernel-headers/original/linux/
H A Dmoduleparam.h38 unsigned int perm; member in struct:kernel_param
62 parameters. perm sets the visibility in driverfs: 000 means it's
65 #define __module_param_call(prefix, name, set, get, arg, perm) \
70 = { __param_str_##name, perm, set, get, arg }
72 #define module_param_call(name, set, get, arg, perm) \
73 __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm)
78 #define module_param_named(name, value, type, perm) \
80 module_param_call(name, param_set_##type, param_get_##type, &value, perm); \
83 #define module_param(name, type, perm) \
84 module_param_named(name, name, type, perm)
[all...]
H A Dkey.h130 key_perm_t perm; /* access permissions */ member in struct:key
252 key_perm_t perm,
/external/bluetooth/bluedroid/bta/gatt/
H A Dbta_gatts_api.c190 ** perm : Characteristic value declaration attribute permission.
197 tBTA_GATT_PERM perm, tBTA_GATT_CHAR_PROP property)
207 p_buf->perm = perm;
229 ** perm: descriptor access permission.
236 tBTA_GATT_PERM perm,
249 p_buf->perm = perm;
196 BTA_GATTS_AddCharacteristic(UINT16 service_id, tBT_UUID *p_char_uuid, tBTA_GATT_PERM perm, tBTA_GATT_CHAR_PROP property) argument
235 BTA_GATTS_AddCharDescriptor(UINT16 service_id, tBTA_GATT_PERM perm, tBT_UUID * p_descr_uuid) argument
H A Dbta_gatts_int.h97 tBTA_GATT_PERM perm; member in struct:__anon503
113 tBTA_GATT_PERM perm; member in struct:__anon505
/external/checkpolicy/test/
H A Ddispol.c49 char *perm; local
51 perm = sepol_av_to_string(p, key->target_class, mask);
52 if (perm)
53 fprintf(fp, "%s ", perm);
H A Ddismod.c77 char *perm; local
79 perm = sepol_av_to_string(p, class, mask);
80 if (perm)
81 fprintf(fp, "%s ", perm);
89 char *perm; local
93 perm = sepol_av_to_string(p, class, 1 << i);
94 if (perm)
95 fprintf(fp, " %s", perm);
/external/chromium/base/files/
H A Dfile_path_watcher_browsertest.cc497 bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) { argument
505 switch (perm) {
516 ADD_FAILURE() << "unknown perm " << perm;
536 switch (perm) {
547 ADD_FAILURE() << "unknown perm " << perm;
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_db.c40 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, UINT16 uuid16, UINT8 *p_uuid128, tGATT_PERM perm);
123 tGATT_PERM perm = p_attr->permission; local
125 min_key_size = (((perm & GATT_ENCRYPT_KEY_SIZE_MASK) >> 12));
131 if (!(perm & GATT_READ_ALLOWED))
137 if ((perm & GATT_READ_AUTH_REQUIRED ) && !(sec_flag & GATT_SEC_FLAG_LKEY_UNAUTHED))
143 if ((perm & GATT_READ_MITM_REQUIRED ) && !(sec_flag & GATT_SEC_FLAG_LKEY_AUTHED))
149 if ((perm & GATT_READ_ENCRYPTED_REQUIRED ) && !(sec_flag & GATT_SEC_FLAG_ENCRYPTED))
155 if ( (perm & GATT_READ_ENCRYPTED_REQUIRED) && (sec_flag & GATT_SEC_FLAG_ENCRYPTED) && (key_size < min_key_size))
218 GATT_TRACE_DEBUG5("read_attr_value uuid=0x%04x perm=0x%0x sec_flag=0x%x offset=%d read_long=%d",
452 ** perm
459 gatts_add_characteristic(tGATT_SVC_DB *p_db, tGATT_PERM perm, tGATT_CHAR_PROP property, tBT_UUID * p_char_uuid) argument
553 gatts_add_char_descr(tGATT_SVC_DB *p_db, tGATT_PERM perm, tBT_UUID * p_descr_uuid) argument
710 tGATT_PERM perm; local
864 allocate_attr_in_db(tGATT_SVC_DB *p_db, UINT16 uuid16, UINT8 *uuid128, tGATT_PERM perm) argument
[all...]
H A Dgatt_api.c309 ** perm : Characteristic value declaration attribute permission.
316 tGATT_PERM perm,tGATT_CHAR_PROP property)
326 if ( ((property & GATT_CHAR_PROP_BIT_AUTH) && !(perm & GATT_WRITE_SIGNED_PERM)) ||
327 ((perm & GATT_WRITE_SIGNED_PERM) && !(property & GATT_CHAR_PROP_BIT_AUTH)) )
329 GATT_TRACE_DEBUG2("Invalid configuration property=0x%x perm=0x%x ", property, perm);
334 perm,
349 ** perm : Characteristic value declaration attribute
358 tGATT_PERM perm,
376 perm,
315 GATTS_AddCharacteristic(UINT16 service_handle, tBT_UUID *p_char_uuid, tGATT_PERM perm,tGATT_CHAR_PROP property) argument
357 GATTS_AddCharDescriptor(UINT16 service_handle, tGATT_PERM perm, tBT_UUID * p_descr_uuid) argument
[all...]
/external/qemu/telephony/
H A Dsim_card.c208 int file_size, perm; local
240 perm = 0x1a;
242 perm = 0x0a;
245 perm = 0x11;
247 perm = 0x00;
249 gsm_hex_from_byte(dst, perm);
/external/checkpolicy/
H A Dmodule_compiler.c745 perm_datum_t *perm = NULL; local
815 perm = hashtab_search(datum->permissions.table, perm_id);
816 if (!perm && datum->comdatum)
817 perm =
820 if (perm) {
833 if ((perm = malloc(sizeof(*perm))) == NULL) {
838 memset(perm, 0, sizeof(*perm));
841 perm);
[all...]
H A Dpolicy_define.c356 char *id = 0, *perm = 0; local
369 yyerror("no common name for common perm definition?");
400 while ((perm = queue_remove(id_queue))) {
415 (hashtab_key_t) perm,
419 yyerror2("duplicate permission %s in common %s", perm,
440 if (perm)
441 free(perm);
463 yyerror("no tclass name for av perm definition?");
1390 class_perm_node_t *perm; local
1435 perm
[all...]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DJSR166TestCase.java672 void addPermission(Permission perm) { perms.add(perm); } argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.event_1.2.0.v20100503.jar ... .Set eventHandlers SecurityManager sm java.security.Permission perm org.eclipse.osgi.framework.eventmgr. ...

Completed in 3489 milliseconds

12