Searched refs:shift (Results 1 – 8 of 8) sorted by relevance
/base/telephony/sms_mms/utils/ |
D | sms_common_utils.cpp | 45 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/ |
D | gsm_sms_common_utils.cpp | 38 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/ |
D | dfx_memory.cpp | 195 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()
|
D | arm_exidx.cpp | 529 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/ |
D | gsm_sms_common_utils.h | 38 …7bitCharPartData(SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t &srcIdx, uint8_t &shift);
|
/base/startup/init/services/begetctl/ |
D | param_cmd.c | 147 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/ |
D | UpdateManager.ts | 540 this.queue.shift();
|
/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/ |
D | hvigor-wrapper.js | 16 …shift(),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…
|