Home
last modified time | relevance | path

Searched refs:BYTE_LENGTH (Results 1 – 3 of 3) sorted by relevance

/base/telephony/core_service/services/sim/src/
Dsim_utils.cpp135 ret[id] = (char16_t)((high << BYTE_LENGTH) | low); in CharsConvertToChar16()
137 ret[id] = (char16_t)((low << BYTE_LENGTH) | high); in CharsConvertToChar16()
168 left = BYTE_LENGTH; in Gsm7bitConvertToString()
169 n = (byteLen * BYTE_LENGTH) / CHAR_GSM_7BIT; in Gsm7bitConvertToString()
172 if (left == BYTE_LENGTH) { in Gsm7bitConvertToString()
176 str.push_back((bytes[pos] & (0xFF << (BYTE_LENGTH - left))) >> (BYTE_LENGTH - left)); in Gsm7bitConvertToString()
177 left = BYTE_LENGTH; in Gsm7bitConvertToString()
180 … low = (bytes[pos] & (unsigned char)(0xFF << (BYTE_LENGTH - left))) >> (BYTE_LENGTH - left); in Gsm7bitConvertToString()
183 left = BYTE_LENGTH - (CHAR_GSM_7BIT - left); in Gsm7bitConvertToString()
Dsim_file.cpp443 if (dataOpl.size() != (BYTE_LENGTH + BYTE_LENGTH)) { in ParseOpl()
455 file->pnnRecordId = stoi(dataOpl.substr(MCCMNC_LEN + BYTE_LENGTH, HALF_LEN), 0, base); in ParseOpl()
/base/telephony/core_service/services/sim/include/
Dsim_constant.h215 BYTE_LENGTH = 8, enumerator