Home
last modified time | relevance | path

Searched refs:byte3 (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimedia/av_session/services/session/server/migrate/
H A Dbase64_utils.h38 uint8_t byte3[NUMBER_THREE] = {0}; in Base64Encode() local
41 byte3[i++] = byte; in Base64Encode()
43 byte4[NUMBER_ZERO] = (byte3[NUMBER_ZERO] & 0xfc) >> NUMBER_TWO; in Base64Encode()
47 ((byte3[NUMBER_TWO] & 0xc0) >> NUMBER_SIX); in Base64Encode()
48 byte4[NUMBER_THREE] = byte3[NUMBER_TWO] & 0x3f; in Base64Encode()
57 byte3[k] = NUMBER_ZERO; in Base64Encode()
59 byte4[NUMBER_ZERO] = (byte3[NUMBER_ZERO] & 0xfc) >> NUMBER_TWO; in Base64Encode()
60 byte4[NUMBER_ONE] = ((byte3[NUMBER_ZERO] & 0x03) << NUMBER_FOUR) | in Base64Encode()
61 ((byte3[NUMBER_ONE] & 0xf0) >> NUMBER_FOUR); in Base64Encode()
62 byte4[NUMBER_TWO] = ((byte3[NUMBER_ONE] & 0x0f) << NUMBER_TWO) | in Base64Encode()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dbundle_resource_image_info.cpp103 unsigned char byte3 = static_cast<unsigned char>(originalData[i + BIT_TWO]); in EncodeBase64() local
106 base64data += g_codes[((byte2 & 0xF) << BIT_TWO) | (byte3 >> BIT_SIX)]; in EncodeBase64()
107 base64data += g_codes[byte3 & 0x3F]; in EncodeBase64()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dutils.cpp111 unsigned char byte3 = static_cast<unsigned char>(srcData[i + 2]); in EncodeBase64() local
114 …base64data += g_codes[((byte2 & 0xF) << BitOperatorNum::BIT_TWO) | (byte3 >> BitOperatorNum::BIT_S… in EncodeBase64()
115 base64data += g_codes[byte3 & 0x3F]; in EncodeBase64()
/ohos5.0/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/
H A Ddistributed_bms.cpp507 unsigned char byte3 = srcData[i + DECODE_VALUE_TWO]; in EncodeBase64() local
514 << DECODE_VALUE_TWO) | (byte3 >> DECODE_VALUE_SIX)]; in EncodeBase64()
515 dstData[j++] = DECODE_TABLE[byte3 & DECODE_VALUE_CHAR_SIXTY_THREE]; in EncodeBase64()