Searched refs:digit (Results 1 – 6 of 6) sorted by relevance
/base/telephony/sms_mms/utils/ |
D | sms_common_utils.cpp | 98 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 …]
|
D | sms_common_utils.h | 31 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/ |
D | tone.cpp | 66 ToneDescriptor Tone::ConvertDigitToTone(char digit) in ConvertDigitToTone() argument 69 switch (digit) { in ConvertDigitToTone()
|
/base/telephony/call_manager/services/audio/include/ |
D | tone.h | 68 static ToneDescriptor ConvertDigitToTone(char digit);
|
/base/hiviewdfx/hilog_lite/frameworks/featured/ |
D | hiview_log.c | 1029 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/ |
D | output_p.inl | 588 /* add digit to current precision */ 914 SecUnsignedInt32 digit = 0; /* ascii value of digit */ local 1098 … (SecUnsignedInt32)radix, "ientHigh, "ientLow, &digit)) { 1102 *--formatBuf.str = digits[digit];
|