Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 6 of 6) sorted by relevance

/base/telephony/sms_mms/utils/
Dsms_common_utils.cpp98 int SmsCommonUtils::DigitToBcd(const char *digit, int digitLen, unsigned char *bcd) in DigitToBcd() argument
102 if (digit == nullptr || bcd == nullptr) { in DigitToBcd()
106 switch (digit[i]) { in DigitToBcd()
118 temp = digit[i] - '0'; in DigitToBcd()
134 int SmsCommonUtils::BcdToDigit(const unsigned char *bcd, int bcdLen, char *digit) in BcdToDigit() argument
138 if (bcd == nullptr || digit == nullptr) { in BcdToDigit()
143 digit[offset++] = BcdToChar(temp); in BcdToDigit()
146 digit[offset] = '\0'; in BcdToDigit()
149 digit[offset++] = BcdToChar(temp); in BcdToDigit()
151 digit[offset] = '\0'; in BcdToDigit()
[all …]
Dsms_common_utils.h31 static int DigitToBcd(const char *digit, int digitLen, unsigned char *bcd);
32 static int BcdToDigit(const unsigned char *bcd, int bcdLen, char *digit);
33 static int BcdToDigitCdma(const unsigned char *bcd, int bcdLen, char *digit);
34 … static int ConvertDigitToDTMF(const char *digit, int digitLen, int startBit, unsigned char *dtmf);
/base/telephony/call_manager/services/audio/src/
Dtone.cpp66 ToneDescriptor Tone::ConvertDigitToTone(char digit) in ConvertDigitToTone() argument
69 switch (digit) { in ConvertDigitToTone()
/base/telephony/call_manager/services/audio/include/
Dtone.h68 static ToneDescriptor ConvertDigitToTone(char digit);
/base/hiviewdfx/hilog_lite/frameworks/featured/
Dhiview_log.c1029 SecUnsignedInt32 digit = 0; /* ascii value of digit */ in HiLogSecOutputS() local
1204 &digit)) { in HiLogSecOutputS()
1208 *--formatBuf.str = digits[digit]; in HiLogSecOutputS()
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/
Doutput_p.inl588 /* add digit to current precision */
914 SecUnsignedInt32 digit = 0; /* ascii value of digit */ local
1098 … (SecUnsignedInt32)radix, &quotientHigh, &quotientLow, &digit)) {
1102 *--formatBuf.str = digits[digit];