Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 8 of 8) sorted by relevance

/base/telephony/sms_mms/utils/
Dsms_common_utils.cpp45 auto shift = fillBits; in Pack7bitChar() local
46 if (shift > 0) { in Pack7bitChar()
51 if (shift == 0) { in Pack7bitChar()
53 shift = SMS_ENCODE_GSM_BIT; in Pack7bitChar()
60 if (shift > 1) { in Pack7bitChar()
61 packData[dstIdx - 1] |= userData[srcIdx] << shift; in Pack7bitChar()
62 packData[dstIdx] = userData[srcIdx] >> (SMS_BYTE_BIT - shift); in Pack7bitChar()
65 shift--; in Pack7bitChar()
66 } else if (shift == 1) { in Pack7bitChar()
67 packData[dstIdx - 1] |= userData[srcIdx] << shift; in Pack7bitChar()
[all …]
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_common_utils.cpp38 auto shift = fillBits; in Pack7bitChar() local
39 if (shift > 0) { in Pack7bitChar()
44 if (shift == 0) { in Pack7bitChar()
49 shift = SMS_ENCODE_GSM_BIT; in Pack7bitChar()
55 if (shift > 1) { in Pack7bitChar()
56 if (!Pack7bitCharPartData(buffer, userData, srcIdx, shift)) { in Pack7bitChar()
60 shift--; in Pack7bitChar()
62 } else if (shift == 1) { in Pack7bitChar()
68 oneByte |= (userData[srcIdx] << shift); in Pack7bitChar()
74 shift--; in Pack7bitChar()
[all …]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
Ddfx_memory.cpp195 uint64_t shift = 0; in ReadUleb128() local
202 val |= static_cast<uint64_t>(u8 & 0x7f) << shift; in ReadUleb128()
203 shift += SEVEN_BIT_OFFSET; in ReadUleb128()
211 uint64_t shift = 0; in ReadSleb128() local
218 val |= static_cast<uint64_t>(byte & 0x7f) << shift; in ReadSleb128()
219 shift += SEVEN_BIT_OFFSET; in ReadSleb128()
223 val |= (-1ULL) << shift; in ReadSleb128()
Darm_exidx.cpp529 uint8_t shift = 0; in Decode10110010uleb128() local
535 uleb128 |= (curOp_ & 0x7f) << shift; in Decode10110010uleb128()
536 shift += SEVEN_BIT_OFFSET; in Decode10110010uleb128()
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_common_utils.h38 …7bitCharPartData(SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t &srcIdx, uint8_t &shift);
/base/startup/init/services/begetctl/
Dparam_cmd.c147 static char *GetPermissionString(uint32_t mode, int shift, char *str, int size) in GetPermissionString() argument
154 if (mode & (DAC_READ >> shift)) { in GetPermissionString()
157 if (mode & (DAC_WRITE >> shift)) { in GetPermissionString()
160 if (mode & (DAC_WATCH >> shift)) { in GetPermissionString()
/base/update/update_app/common/src/main/ets/manager/
DUpdateManager.ts540 this.queue.shift();
/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
Dhvigor-wrapper.js16shift(),t=e[0],n=e[1],r=e[2],u=e[3],o=e[4];if(void 0===u)qt("RETRY",t.name,n),t.apply(null,n);else…