Searched refs:digits (Results 1 – 6 of 6) sorted by relevance
420 char digits[LV_SPINBOX_MAX_DIGIT_COUNT_WITH_4BYTES]; in lv_spinbox_updatevalue() local421 …lv_snprintf(digits, LV_SPINBOX_MAX_DIGIT_COUNT_WITH_4BYTES, "%" LV_PRId32, LV_ABS(spinbox->value)); in lv_spinbox_updatevalue()425 const size_t digits_len = lv_strlen(digits); in lv_spinbox_updatevalue()430 digits[i + leading_zeros_cnt] = digits[i]; in lv_spinbox_updatevalue()434 digits[i] = '0'; in lv_spinbox_updatevalue()440 for(i = 0; i < (int32_t)intDigits && digits[i] != '\0'; i++) { in lv_spinbox_updatevalue()441 (*buf_p) = digits[i]; in lv_spinbox_updatevalue()450 for(/*Leave i*/; i < spinbox->digit_count && digits[i] != '\0'; i++) { in lv_spinbox_updatevalue()451 (*buf_p) = digits[i]; in lv_spinbox_updatevalue()
12 decimal point position and a configurable number of digits. The value can be50 sets the number format. ``digit_count`` is the total number of digits to display.51 ``separator_position`` is the number of leading digits before the decimal point.
373 int digits; in UnityPrintFloat() local446 digits = 0; in UnityPrintFloat()447 while ((n != 0) || (digits <= decimals)) in UnityPrintFloat()449 buf[digits++] = (char)('0' + n % 10); in UnityPrintFloat()454 while (digits > 0) in UnityPrintFloat()456 if (digits == decimals) in UnityPrintFloat()460 UNITY_OUTPUT_CHAR(buf[--digits]); in UnityPrintFloat()478 digits = 0; in UnityPrintFloat()479 while ((exponent != 0) || (digits < 2)) in UnityPrintFloat()481 buf[digits++] = (char)('0' + exponent % 10); in UnityPrintFloat()[all …]
275 struct qrcodegen_Segment qrcodegen_makeNumeric(const char * digits, uint8_t buf[]);
934 struct qrcodegen_Segment qrcodegen_makeNumeric(const char * digits, uint8_t buf[]) in qrcodegen_makeNumeric() argument936 LV_ASSERT(digits != NULL); in qrcodegen_makeNumeric()938 size_t len = strlen(digits); in qrcodegen_makeNumeric()949 for(; *digits != '\0'; digits++) { in qrcodegen_makeNumeric()950 char c = *digits; in qrcodegen_makeNumeric()
38 /* From 3 digits. Same as lv_color_hex(0x112233) */