/AliOS-Things-master/components/ble_host/bt_host/common/ |
A D | dec.c | 14 u8_t digit; in u8_to_dec() local 17 digit = value / divisor; in u8_to_dec() 18 if (digit != 0 || divisor == 1 || num_digits != 0) { in u8_to_dec() 19 *buf = (char)digit + '0'; in u8_to_dec() 25 value -= digit * divisor; in u8_to_dec()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/swlib/string/ |
A D | sscanf.c | 156 char digit; in _vsscanf() local 339 digit = *str; in _vsscanf() 341 if(is_sign && digit == '-') in _vsscanf() 352 digit = *(str + 1); in _vsscanf() 361 if(!digit in _vsscanf() 362 || (base == 16 && !isxdigit(digit)) in _vsscanf() 363 || (base == 10 && !isdigit(digit)) in _vsscanf() 364 || (base == 8 && (!isdigit(digit) || digit > '7')) in _vsscanf() 365 || (base == 0 && !isdigit(digit))) { in _vsscanf()
|
A D | printf.c | 51 int digit = n % 10; in longlong_to_string() local 55 buf[--pos] = digit + '0'; in longlong_to_string() 78 unsigned int digit = u % 8; in longlong_to_octalstring() local 82 buf[--pos] = digit + '0'; in longlong_to_octalstring() 96 unsigned int digit = u % 16; in longlong_to_hexstring() local 99 buf[--pos] = table[digit]; in longlong_to_hexstring() 129 buf[--i] = digit + '0'; in exponent_to_string() 228 uint digit = frac % 10; in double_to_string() local 230 buf[--i] = digit + '0'; in double_to_string() 308 if (digit == 0) { in double_to_hexstring() [all …]
|
/AliOS-Things-master/components/debug/src/ |
A D | debug_print.c | 106 int digit; in longlong_to_string() local 111 digit = union_ull.ui[0] % 10; in longlong_to_string() 114 buf[--pos] = digit + '0'; in longlong_to_string() 119 digit = union_ull.ui[1] % 10; in longlong_to_string() 122 buf[--pos] = digit + '0'; in longlong_to_string() 150 unsigned int digit = u % 16; in longlong_to_hexstring() local 153 buf[--pos] = table[digit]; in longlong_to_hexstring() 197 buf[--i] = digit + '0'; in exponent_to_string() 295 buf[--i] = digit + '0'; in double_to_string() 387 if (digit == 0) { in double_to_hexstring() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/platform/ |
A D | stdlib_patch.c | 128 char digit; in _vsscanf_patch() local 310 digit = *str; in _vsscanf_patch() 312 if(is_sign && digit == '-') in _vsscanf_patch() 313 digit = *(str + 1); in _vsscanf_patch() 315 if(!digit in _vsscanf_patch() 316 || (base == 16 && !isxdigit(digit)) in _vsscanf_patch() 317 || (base == 10 && !isdigit(digit)) in _vsscanf_patch() 318 || (base == 8 && (!isdigit(digit) || digit > '7')) in _vsscanf_patch() 319 || (base == 0 && !isdigit(digit))) { in _vsscanf_patch()
|
/AliOS-Things-master/components/jsoncpp/test/data/ |
A D | legacy_test_real_08.expected | 2 // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in
|
A D | legacy_test_real_08.json | 2 // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in
|
A D | legacy_test_real_09.json | 2 // as ULONG_MAX in base 10 and digit less than ULONG_MAX's last digit in order
|
A D | legacy_test_real_09.expected | 2 // as ULONG_MAX in base 10 and digit less than ULONG_MAX's last digit in order
|
A D | legacy_test_real_10.expected | 2 // the same as INT_MIN in base 10 and digit less than INT_MIN's last digit in
|
A D | legacy_test_real_10.json | 2 // the same as INT_MIN in base 10 and digit less than INT_MIN's last digit in
|
A D | legacy_test_real_11.json | 2 // the same as LONG_MIN in base 10 and digit less than LONG_MIN's last digit in
|
A D | legacy_test_real_11.expected | 2 // the same as LONG_MIN in base 10 and digit less than LONG_MIN's last digit in
|
/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_utils.c | 59 char digit = num % 10; in lv_utils_num_to_str() local 60 buf[digitCount++] = digit + 48; in lv_utils_num_to_str()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/ |
A D | micro_string.cc | 76 int32_t digit = i % base; in FastUInt32ToBufferLeft() local 78 if (digit < 10) { in FastUInt32ToBufferLeft() 79 character = '0' + digit; in FastUInt32ToBufferLeft() 81 character = 'a' + (digit - 10); in FastUInt32ToBufferLeft()
|
/AliOS-Things-master/components/minilibc/libc/ |
A D | printf.c | 334 const char digit = (char)(value % base); in _ntoa_long() local 335 buf[len++] = digit < 10 ? '0' + digit : (flags & FLAGS_UPPERCASE ? 'A' : 'a') + digit - 10; in _ntoa_long() 359 const char digit = (char)(value % base); in _ntoa_long_long() local 360 buf[len++] = digit < 10 ? '0' + digit : (flags & FLAGS_UPPERCASE ? 'A' : 'a') + digit - 10; in _ntoa_long_long()
|
/AliOS-Things-master/components/oss/src/external/tinyxml2/ |
A D | tinyxml2.cpp | 490 unsigned int digit = 0; in GetCharacterRef() local 493 digit = *q - '0'; in GetCharacterRef() 496 digit = *q - 'a' + 10; in GetCharacterRef() 499 digit = *q - 'A' + 10; in GetCharacterRef() 504 TIXMLASSERT( digit < 16 ); in GetCharacterRef() 505 TIXMLASSERT( digit == 0 || mult <= UINT_MAX / digit ); in GetCharacterRef() 506 const unsigned int digitScaled = mult * digit; in GetCharacterRef() 533 const unsigned int digit = *q - '0'; in GetCharacterRef() local 534 TIXMLASSERT( digit < 10 ); in GetCharacterRef() 535 TIXMLASSERT( digit == 0 || mult <= UINT_MAX / digit ); in GetCharacterRef() [all …]
|
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A D | ecc.c | 130 uECC_word_t digit; in uECC_vli_numBits() local 137 digit = vli[num_digits - 1]; in uECC_vli_numBits() 138 for (i = 0; digit; ++i) { in uECC_vli_numBits() 139 digit >>= 1; in uECC_vli_numBits()
|
/AliOS-Things-master/components/jsoncpp/src/lib_json/ |
A D | json_reader.cpp | 566 auto digit(static_cast<Value::UInt>(c - '0')); in decodeNumber() local 573 digit > maxIntegerValue % 10) { in decodeNumber() 577 value = value * 10 + digit; in decodeNumber() 1608 const auto digit(static_cast<Value::UInt>(c - '0')); in decodeNumber() local 1616 digit > max_last_digit) { in decodeNumber() 1620 value = value * 10 + digit; in decodeNumber()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | libbf.c | 3572 int digit, i; in limb_to_a() local 3579 buf[i] = digit + '0'; in limb_to_a() 3585 if (digit < 10) in limb_to_a() 3586 digit += '0'; in limb_to_a() 3589 buf[i] = digit; in limb_to_a() 3597 int digit, i; in limb_to_a2() local 3602 digit = n & mask; in limb_to_a2() 3604 if (digit < 10) in limb_to_a2() 3605 digit += '0'; in limb_to_a2() 3607 digit += 'a' - 10; in limb_to_a2() [all …]
|
A D | quickjs.c | 11120 int digit, is_neg; in i64toa() local 11129 digit = (uint64_t)n % base; in i64toa() 11131 if (digit < 10) in i64toa() 11132 digit += '0'; in i64toa() 11134 digit += 'a' - 10; in i64toa() 11135 *--q = digit; in i64toa()
|
/AliOS-Things-master/components/oss/src/external/json/ |
A D | jsoncpp.cpp | 807 Value::UInt digit(static_cast<Value::UInt>(c - '0')); in decodeNumber() local 814 digit > maxIntegerValue % 10) { in decodeNumber() 818 value = value * 10 + digit; in decodeNumber() 1815 Value::UInt digit(static_cast<Value::UInt>(c - '0')); in decodeNumber() local 1822 digit > maxIntegerValue % 10) { in decodeNumber() 1826 value = value * 10 + digit; in decodeNumber()
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/doc/ |
A D | rfc1950.txt | 187 significant digit on the left, we also write bytes with the most-
|
A D | rfc1952.txt | 197 significant digit on the left, we also write bytes with the most-
|
A D | rfc1951.txt | 251 significant digit on the left, we also write bytes with the most-
|