/external/iptables/extensions/ |
D | libxt_physdev.c | 51 info->bitmask |= XT_PHYSDEV_OP_IN; in physdev_parse() 58 info->bitmask |= XT_PHYSDEV_OP_OUT; in physdev_parse() 61 info->bitmask |= XT_PHYSDEV_OP_ISIN; in physdev_parse() 66 info->bitmask |= XT_PHYSDEV_OP_ISOUT; in physdev_parse() 73 info->bitmask |= XT_PHYSDEV_OP_BRIDGED; in physdev_parse() 90 if (info->bitmask & XT_PHYSDEV_OP_ISIN) in physdev_print() 93 if (info->bitmask & XT_PHYSDEV_OP_IN) in physdev_print() 97 if (info->bitmask & XT_PHYSDEV_OP_ISOUT) in physdev_print() 100 if (info->bitmask & XT_PHYSDEV_OP_OUT) in physdev_print() 103 if (info->bitmask & XT_PHYSDEV_OP_BRIDGED) in physdev_print() [all …]
|
D | libxt_ipvs.c | 81 data->bitmask |= XT_IPVS_DIR; in ipvs_mt_parse() 84 data->bitmask |= XT_IPVS_DIR; in ipvs_mt_parse() 103 data->bitmask |= 1 << cb->entry->id; in ipvs_mt_parse() 115 if (info->bitmask & XT_IPVS_ONCE_MASK) { in ipvs_mt_check() 120 info->bitmask |= XT_IPVS_IPVS_PROPERTY; in ipvs_mt_check() 160 if (data->bitmask == XT_IPVS_IPVS_PROPERTY) { in ipvs_mt_dump() 166 if (data->bitmask & XT_IPVS_PROTO) { in ipvs_mt_dump() 172 if (data->bitmask & XT_IPVS_VADDR) { in ipvs_mt_dump() 180 if (data->bitmask & XT_IPVS_VPORT) { in ipvs_mt_dump() 187 if (data->bitmask & XT_IPVS_DIR) { in ipvs_mt_dump() [all …]
|
/external/srtp/crypto/replay/ |
D | rdbx.c | 199 if (bitvector_alloc(&rdbx->bitmask, ws) != 0) in rdbx_init() 213 bitvector_dealloc(&rdbx->bitmask); in rdbx_uninit() 228 bitvector_set_to_zero(&rdbx->bitmask); in rdbx_set_roc() 264 return bitvector_get_length(&rdbx->bitmask); in rdbx_get_window_size() 277 } else if ((int)(bitvector_get_length(&rdbx->bitmask) - 1) + delta < 0) { in rdbx_check() 280 } else if (bitvector_get_bit(&rdbx->bitmask, in rdbx_check() 281 (int)(bitvector_get_length(&rdbx->bitmask) - 1) + delta) == 1) { in rdbx_check() 305 bitvector_left_shift(&rdbx->bitmask, delta); in rdbx_add_index() 306 bitvector_set_bit(&rdbx->bitmask, bitvector_get_length(&rdbx->bitmask) - 1); in rdbx_add_index() 309 bitvector_set_bit(&rdbx->bitmask, -delta); in rdbx_add_index()
|
D | rdb.c | 63 v128_set_to_zero(&rdb->bitmask); in rdb_init() 84 if (v128_get_bit(&rdb->bitmask, (index - rdb->window_start)) == 1) in rdb_check() 110 v128_set_bit(&rdb->bitmask, delta); in rdb_add_index() 117 v128_left_shift(&rdb->bitmask, delta); in rdb_add_index() 118 v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask - 1); in rdb_add_index()
|
/external/fio/arch/ |
D | arch-ppc.h | 36 static inline int __ilog2(unsigned long bitmask) in __ilog2() argument 40 asm ("cntlzw %0,%1" : "=r" (lz) : "r" (bitmask)); in __ilog2() 44 static inline int arch_ffz(unsigned long bitmask) in arch_ffz() argument 46 if ((bitmask = ~bitmask) == 0) in arch_ffz() 48 return __ilog2(bitmask & -bitmask); in arch_ffz()
|
D | arch-x86.h | 38 static inline unsigned long arch_ffz(unsigned long bitmask) in arch_ffz() argument 40 __asm__("bsfl %1,%0" :"=r" (bitmask) :"r" (~bitmask)); in arch_ffz() 41 return bitmask; in arch_ffz()
|
D | arch-x86_64.h | 45 static inline unsigned long arch_ffz(unsigned long bitmask) in arch_ffz() argument 47 __asm__("bsf %1,%0" :"=r" (bitmask) :"r" (~bitmask)); in arch_ffz() 48 return bitmask; in arch_ffz()
|
D | arch-aarch64.h | 20 static inline int arch_ffz(unsigned long bitmask) in arch_ffz() argument 23 if (~bitmask == 0) /* ffz() in lib/ffz.h does this. */ in arch_ffz() 29 "r"(~bitmask)); in arch_ffz()
|
D | arch-ia64.h | 32 static inline unsigned long arch_ffz(unsigned long bitmask) in arch_ffz() argument 34 return ia64_popcnt(bitmask & (~bitmask - 1)); in arch_ffz()
|
D | arch.h | 67 #define ffz(bitmask) arch_ffz(bitmask) argument
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | nack.cc | 67 packed_[index].bitmask = ByteReader<uint16_t>::ReadBigEndian(next_nack + 2); in Parse() 105 ByteWriter<uint16_t>::WriteBigEndian(packet + *index + 2, item.bitmask); in Create() 136 item.bitmask = 0; in Pack() 140 item.bitmask |= (1 << shift); in Pack() 156 for (uint16_t bitmask = item.bitmask; bitmask != 0; bitmask >>= 1, ++pid) in Unpack() local 157 if (bitmask & 1) in Unpack()
|
/external/mesa3d/src/mesa/main/ |
D | light.c | 577 GLuint bitmask = 0; in _mesa_material_bitmask() local 582 bitmask |= MAT_BIT_FRONT_EMISSION | MAT_BIT_BACK_EMISSION; in _mesa_material_bitmask() 585 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT; in _mesa_material_bitmask() 588 bitmask |= MAT_BIT_FRONT_DIFFUSE | MAT_BIT_BACK_DIFFUSE; in _mesa_material_bitmask() 591 bitmask |= MAT_BIT_FRONT_SPECULAR | MAT_BIT_BACK_SPECULAR; in _mesa_material_bitmask() 594 bitmask |= MAT_BIT_FRONT_SHININESS | MAT_BIT_BACK_SHININESS; in _mesa_material_bitmask() 597 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT; in _mesa_material_bitmask() 598 bitmask |= MAT_BIT_FRONT_DIFFUSE | MAT_BIT_BACK_DIFFUSE; in _mesa_material_bitmask() 601 bitmask |= MAT_BIT_FRONT_INDEXES | MAT_BIT_BACK_INDEXES; in _mesa_material_bitmask() 609 bitmask &= FRONT_MATERIAL_BITS; in _mesa_material_bitmask() [all …]
|
/external/srtp/googlepatches/ |
D | google-8-rdb-crash.patch | 6 v128_left_shift(&rdb->bitmask, delta); 7 - v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask-delta); 8 + v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask - 1);
|
D | vidyo-3-srtp-ws.patch | 139 - v128_t bitmask; 140 + bitvector_t bitmask; 512 - v128_set_to_zero(&rdbx->bitmask); 517 + if (bitvector_alloc(&rdbx->bitmask, ws) != 0) 531 + bitvector_dealloc(&rdbx->bitmask); 542 - v128_set_to_zero(&rdbx->bitmask); 543 + bitvector_set_to_zero(&rdbx->bitmask); 558 + return bitvector_get_length(&rdbx->bitmask); 570 + } else if ((int)(bitvector_get_length(&rdbx->bitmask) - 1) + delta < 0) { 571 /* if delta is lower than the bitmask, it's bad */ [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | StartupConfig.cpp | 124 bool StartupConfig::disableSecureElement (UINT8 bitmask) in disableSecureElement() argument 141 mBuffer [index] = mBuffer [index] | bitmask; //turn on certain bits in disableSecureElement() 151 tlv [4] = tlv [4] | bitmask; in disableSecureElement()
|
D | patchram.cpp | 566 unsigned int bitmask = 0; in mayDisableSecureElement() local 571 sscanf (valueStr, "%x", &bitmask); //read system property as a hex octet in mayDisableSecureElement() 572 ALOGD ("%s: disable 0x%02X", __FUNCTION__, (UINT8) bitmask); in mayDisableSecureElement() 573 config.disableSecureElement ((UINT8) (bitmask & 0xC0)); in mayDisableSecureElement()
|
/external/llvm/test/MC/Mips/ |
D | mips-pdr-bad.s | 22 .mask # ASM: :[[@LINE]]:16: error: expected bitmask value 23 .mask foo # ASM: :[[@LINE]]:19: error: bitmask not an absolute expression 29 .fmask # ASM: :[[@LINE]]:17: error: expected bitmask value 30 .fmask foo # ASM: :[[@LINE]]:20: error: bitmask not an absolute expression
|
/external/fio/lib/ |
D | ffz.h | 38 static inline int ffz(unsigned long bitmask) in ffz() argument 40 return __ffs(~bitmask); in ffz()
|
D | lfsr.c | 222 uint64_t bitmask = (fl->cached_bit << 1) - 1; in lfsr_reset() local 225 fl->last_val = seed & bitmask; in lfsr_reset() 228 if (fl->last_val == bitmask) in lfsr_reset()
|
/external/curl/src/ |
D | tool_help.c | 269 int bitmask; member 321 if(curlinfo->features & feats[i].bitmask) in tool_version_info()
|
/external/libnl/lib/route/cls/ |
D | u32.c | 473 uint8_t bitmask, int off, int offmask) in rtnl_u32_add_key_in_addr() argument 475 uint32_t mask = 0xFFFFFFFF << (32 - bitmask); in rtnl_u32_add_key_in_addr() 480 uint8_t bitmask, int off, int offmask) in rtnl_u32_add_key_in6_addr() argument 485 if (32 * i - bitmask <= 0) { in rtnl_u32_add_key_in6_addr() 490 else if (32 * i - bitmask < 32) { in rtnl_u32_add_key_in6_addr() 491 uint32_t mask = 0xFFFFFFFF << (32 * i - bitmask); in rtnl_u32_add_key_in6_addr()
|
/external/lldb/tools/debugserver/source/ |
D | RNBRemote.cpp | 1784 int bitmask = 0; in set_logging() local 1807 bitmask |= LOG_VERBOSE; in set_logging() 1812 bitmask |= LOG_PROCESS; in set_logging() 1817 bitmask |= LOG_THREAD; in set_logging() 1822 bitmask |= LOG_EXCEPTIONS; in set_logging() 1827 bitmask |= LOG_SHLIB; in set_logging() 1832 bitmask |= LOG_MEMORY; in set_logging() 1837 bitmask |= LOG_MEMORY_DATA_SHORT; in set_logging() 1842 bitmask |= LOG_MEMORY_DATA_LONG; in set_logging() 1847 bitmask |= LOG_MEMORY_PROTECTIONS; in set_logging() [all …]
|
/external/vboot_reference/host/lib/ |
D | host_misc.c | 92 int ReadFileBit(const char* filename, int bitmask) { in ReadFileBit() argument 96 else return (value & bitmask ? 1 : 0); in ReadFileBit()
|
/external/curl/lib/ |
D | asyn-ares.c | 254 int bitmask; in waitperform() local 260 bitmask = ares_getsock((ares_channel)data->state.resolver, socks, in waitperform() 266 if(ARES_GETSOCK_READABLE(bitmask, i)) { in waitperform() 270 if(ARES_GETSOCK_WRITABLE(bitmask, i)) { in waitperform()
|
/external/kernel-headers/original/uapi/linux/netfilter_bridge/ |
D | ebt_mark_m.h | 12 __u8 bitmask; member
|