Home
last modified time | relevance | path

Searched refs:typemask (Results 1 – 5 of 5) sorted by relevance

/netbsd/src/lib/libtelnet/
Dencrypt.c92 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0) macro
94 static long i_support_encrypt = typemask(ENCTYPE_DES_CFB64)
95 | typemask(ENCTYPE_DES_OFB64);
96 static long i_support_decrypt = typemask(ENCTYPE_DES_CFB64)
97 | typemask(ENCTYPE_DES_OFB64);
143 if (!(I_SUPPORT_ENCRYPT & remote_supports_decrypt & typemask(type))) in findencryption()
155 if (!(I_SUPPORT_DECRYPT & remote_supports_encrypt & typemask(type))) in finddecryption()
198 i_support_encrypt |= typemask(ep->type); in encrypt_init()
199 i_support_decrypt |= typemask(ep->type); in encrypt_init()
200 if ((i_wont_support_decrypt & typemask(ep->type)) == 0) in encrypt_init()
[all …]
Dauth.c81 #define typemask(x) (1<<((x)-1)) macro
159 i_support |= typemask(ap->type); in auth_init()
178 i_wont_support |= typemask(x); in auth_disable_name()
196 *maskp = typemask(x); in getauthmask()
227 if ((mask & (i = typemask(ap->type))) != 0) in auth_onoff()
270 if ((mask & (i = typemask(ap->type))) != 0) in auth_status()
274 (i_wont_support & typemask(ap->type)) ? in auth_status()
296 if (i_support & ~i_wont_support & typemask(ap->type)) { in auth_request()
365 if ((i_support & ~i_wont_support) & typemask(*auth_send_data)) { in auth_send()
/netbsd/src/external/gpl3/gcc/dist/libgomp/
Dtarget.c698 const int typemask = short_mapkind ? 0xff : 0x7; in gomp_map_fields_existing() local
710 kind & typemask, false, implicit, cbuf, in gomp_map_fields_existing()
727 kind & typemask, false, implicit, cbuf, in gomp_map_fields_existing()
740 kind & typemask, false, implicit, cbuf, in gomp_map_fields_existing()
930 const int typemask = short_mapkind ? 0xff : 0x7; in gomp_map_vars_internal() local
984 || (kind & typemask) == GOMP_MAP_FIRSTPRIVATE_INT) in gomp_map_vars_internal()
990 else if ((kind & typemask) == GOMP_MAP_USE_DEVICE_PTR in gomp_map_vars_internal()
991 || (kind & typemask) == GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT) in gomp_map_vars_internal()
1017 else if ((kind & typemask) == GOMP_MAP_USE_DEVICE_PTR) in gomp_map_vars_internal()
1022 else if ((kind & typemask) == GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT) in gomp_map_vars_internal()
[all …]
/netbsd/src/sys/sys/
Dvmem.h78 vmem_size_t vmem_size(vmem_t *, int typemask);
/netbsd/src/sys/kern/
Dsubr_vmem.c1536 vmem_size(vmem_t *vm, int typemask) in vmem_size() argument
1539 switch (typemask) { in vmem_size()