Home
last modified time | relevance | path

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

/base/telephony/sms_mms/utils/
Dtext_coder.cpp519 uint16_t inText = 0; in Ucs2ToGsm7bit() local
523 inText = src[index]; in Ucs2ToGsm7bit()
524 inText = ((inText << 0x08) & 0xFF00) | src[index + 1]; in Ucs2ToGsm7bit()
525 itChar = gsm7bitDefMap_.find(inText); // check gsm7bit default char in Ucs2ToGsm7bit()
532 outTextLen += FindGsm7bitExt(&dest[outTextLen], remainLen, inText); in Ucs2ToGsm7bit()
537 outTextLen += FindTurkish(&dest[outTextLen], remainLen, inText); in Ucs2ToGsm7bit()
542 outTextLen += FindSpanish(&dest[outTextLen], remainLen, inText); in Ucs2ToGsm7bit()
547 outTextLen += FindPortu(&dest[outTextLen], remainLen, inText); in Ucs2ToGsm7bit()
550 dest[outTextLen] = FindReplaceChar(inText); in Ucs2ToGsm7bit()
574 uint16_t inText; in Ucs2ToGsm7bitAuto() local
[all …]
Dtext_coder.h50 int FindGsm7bitExt(uint8_t *dest, int maxLength, const uint16_t inText);
51 int FindTurkish(uint8_t *dest, int maxLength, const uint16_t inText);
52 int FindSpanish(uint8_t *dest, int maxLength, const uint16_t inText);
53 int FindPortu(uint8_t *dest, int maxLength, const uint16_t inText);
54 uint8_t FindReplaceChar(const uint16_t inText);
/base/telephony/sms_mms/test/gtest/
Dzero_branch_utils_test.cpp64 unsigned short inText = 1; variable
89 EXPECT_EQ(TextCoder::Instance().FindGsm7bitExt(pDestText, 0, inText), 0);
90 EXPECT_GE(TextCoder::Instance().FindGsm7bitExt(pDestText, 1, inText), 0);
91 EXPECT_EQ(TextCoder::Instance().FindTurkish(pDestText, 0, inText), 0);
92 EXPECT_GE(TextCoder::Instance().FindTurkish(pDestText, 1, inText), 0);
93 EXPECT_EQ(TextCoder::Instance().FindSpanish(pDestText, 0, inText), 0);
94 EXPECT_GE(TextCoder::Instance().FindSpanish(pDestText, 1, inText), 0);
95 EXPECT_EQ(TextCoder::Instance().FindPortu(pDestText, 0, inText), 0);
96 EXPECT_GE(TextCoder::Instance().FindPortu(pDestText, 1, inText), 0);
97 EXPECT_GE(TextCoder::Instance().FindReplaceChar(inText), MSG_DEFAULT_CHAR);
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_client_service_ipc.c258 static int32_t AddAeTag(struct HksParamSet *paramSet, const struct HksBlob *inText, bool isEncrypt) in AddAeTag() argument
262 if (inText->size <= HKS_AE_TAG_LEN) { in AddAeTag()
269 aeParam.blob.data = inText->data + inText->size - HKS_AE_TAG_LEN; in AddAeTag()
277 payloadParam.uint32Param = inText->size; in AddAeTag()
284 struct HksBlob *inText, bool isEncrypt) in AddAesTag() argument
296 return AddAeTag(newParamSet, inText, isEncrypt); in AddAesTag()
316 static int32_t AppendCipherTag(const struct HksParamSet *paramSet, const struct HksBlob *inText, bo… in AppendCipherTag() argument
324 ret = AddAesTag(paramSet, newParamSet, (struct HksBlob *)inText, isEncrypt); in AppendCipherTag()