Home
last modified time | relevance | path

Searched refs:strEncode (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_photo_operator.cpp41 std::string strEncode; in EnCode() local
48 strEncode += baseChars_[tmpArray[SIZET_ONE] >> SIZET_TWO]; in EnCode()
51 strEncode += baseChars_[tmpArray[SIZET_THREE] & 0x3F]; in EnCode()
53 strEncode += "\r\n"; in EnCode()
60 strEncode += baseChars_[(tmpArray[SIZET_ONE] & 0xFC) >> SIZET_TWO]; in EnCode()
61 strEncode += baseChars_[((tmpArray[SIZET_ONE] & 0x03) << SIZET_FOUR)]; in EnCode()
62 strEncode += "=="; in EnCode()
66 strEncode += baseChars_[(tmpArray[SIZET_ONE] & 0xFC) >> SIZET_TWO]; in EnCode()
69 strEncode += baseChars_[((tmpArray[SIZET_TWO] & 0x0F) << SIZET_TWO)]; in EnCode()
70 strEncode += "="; in EnCode()
[all …]
/ohos5.0/base/telephony/sms_mms/test/fuzztest/getsmssegmentsinfo_fuzzer/
H A Dgetsmssegmentsinfo_fuzzer.cpp258 std::string strEncode(reinterpret_cast<const char *>(data), size); in GetEncodeStringFunc()
259 auto strEncodeU16 = Str8ToStr16(strEncode); in GetEncodeStringFunc()