Home
last modified time | relevance | path

Searched refs:bitIndex (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci_def_le_feature.h25 #define GET_LINK_LAYER_FEATURE_FLAG(features, bitIndex) ((features)[(bitIndex) / 8] & 0x01 << ((bitIndex) % 8))
H A Dhci_def_supported_cmds.h25 #define GET_COMMAND_FLAG(cmds, byteIndex, bitIndex) ((cmds)[(byteIndex)] & 0x01 << (bitIndex))
H A Dhci_def_feature.h25 #define GET_FEATURE_FLAG(feature, byteIndex, bitIndex) ((feature)[(byteIndex)] & 0x01 << (bitIndex))
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpixel_convert.cpp147 uint32_t bitIndex = 0; in BitConvert() local
154 bitIndex = i % BYTE_BITS; in BitConvert()
156 if (BYTE_BITS_MAX_INDEX < bitIndex) { in BitConvert()
159 destinationRow[i] = ((currentSource >> (BYTE_BITS_MAX_INDEX - bitIndex)) & GET_1_BIT) ? white : black; in BitConvert()

Completed in 6 milliseconds