/lvgl-3.4.0/src/misc/ |
D | lv_utils.c | 54 void * _lv_utils_bsearch(const void * key, const void * base, uint32_t n, uint32_t size, in _lv_utils_bsearch() argument 60 for(middle = base; n != 0;) { in _lv_utils_bsearch() 61 middle += (n / 2) * size; in _lv_utils_bsearch() 63 n = (n / 2) - ((n & 1) == 0); in _lv_utils_bsearch() 67 n /= 2; in _lv_utils_bsearch()
|
D | lv_gc.h | 35 #define LV_DISPATCH(f, t, n) f(t, n) argument 36 #define LV_DISPATCH_COND(f, t, n, m, v) LV_CONCAT3(LV_DISPATCH, m, v)(f, t, n) argument 38 #define LV_DISPATCH00(f, t, n) LV_DISPATCH(f, t, n) argument 39 #define LV_DISPATCH01(f, t, n) argument 40 #define LV_DISPATCH10(f, t, n) argument 41 #define LV_DISPATCH11(f, t, n) LV_DISPATCH(f, t, n) argument
|
D | lv_tlsf.c | 57 …#define TLSF_FLS(n) ((n) & 0xffffffff00000000ull ? 32 + TLSF_FLS32((size_t)(n) >> 32) : TLSF_FLS32… argument 59 #define TLSF_FLS(n) TLSF_FLS32(n) argument 62 #define TLSF_FLS32(n) ((n) & 0xffff0000 ? 16 + TLSF_FLS16((n) >> 16) : TLSF_FLS16(n)) argument 63 #define TLSF_FLS16(n) ((n) & 0xff00 ? 8 + TLSF_FLS8 ((n) >> 8) : TLSF_FLS8 (n)) argument 64 #define TLSF_FLS8(n) ((n) & 0xf0 ? 4 + TLSF_FLS4 ((n) >> 4) : TLSF_FLS4 (n)) argument 65 #define TLSF_FLS4(n) ((n) & 0xc ? 2 + TLSF_FLS2 ((n) >> 2) : TLSF_FLS2 (n)) argument 66 #define TLSF_FLS2(n) ((n) & 0x2 ? 1 + TLSF_FLS1 ((n) >> 1) : TLSF_FLS1 (n)) argument 67 #define TLSF_FLS1(n) ((n) & 0x1 ? 1 : 0) argument 73 #define TLSF_LOG2_CEIL(n) ((n) & (n - 1) ? TLSF_FLS(n) : TLSF_FLS(n) - 1) argument
|
D | lv_utils.h | 47 void * _lv_utils_bsearch(const void * key, const void * base, uint32_t n, uint32_t size,
|
D | lv_printf.c | 552 unsigned int flags, width, precision, n; in _vsnprintf() local 580 n = 1U; in _vsnprintf() 585 n = 1U; in _vsnprintf() 590 n = 1U; in _vsnprintf() 595 n = 1U; in _vsnprintf() 600 n = 1U; in _vsnprintf() 603 n = 0U; in _vsnprintf() 606 } while(n); in _vsnprintf()
|
/lvgl-3.4.0/examples/event/ |
D | lv_example_event_4.c | 5 static int n = 3; variable 10 if (n < 3 || n > 32) { in timer_cb() 11 n = 3; in timer_cb() 19 n++; in timer_cb() 20 lv_label_set_text_fmt(label, "%d sides", n); in timer_cb() 38 for (i = 0; i < n; i++) { in event_cb() 39 int angle = i * 360 / n + ((tick % 36000) / 100); in event_cb() 45 lv_draw_polygon(draw_ctx, &draw_dsc, points, n); in event_cb() 58 lv_label_set_text_fmt(label, "%d sides", n); in lv_example_event_4()
|
/lvgl-3.4.0/src/hal/ |
D | lv_hal.h | 29 #define _LV_DPX_CALC(dpi, n) ((n) == 0 ? 0 :LV_MAX((( (dpi) * (n) + 80) / 160), 1)) /*+80 for rou… argument 30 #define LV_DPX(n) _LV_DPX_CALC(lv_disp_get_dpi(NULL), n) argument
|
/lvgl-3.4.0/src/core/ |
D | lv_disp.h | 221 static inline lv_coord_t lv_dpx(lv_coord_t n) in lv_dpx() argument 223 return LV_DPX(n); in lv_dpx() 235 static inline lv_coord_t lv_disp_dpx(const lv_disp_t * disp, lv_coord_t n) in lv_disp_dpx() argument 237 return _LV_DPX_CALC(lv_disp_get_dpi(disp), n); in lv_disp_dpx()
|
D | lv_obj.h | 377 static inline lv_coord_t lv_obj_dpx(const lv_obj_t * obj, lv_coord_t n) in lv_obj_dpx() argument 379 return _LV_DPX_CALC(lv_disp_get_dpi(lv_obj_get_disp(obj)), n); in lv_obj_dpx()
|
/lvgl-3.4.0/src/extra/libs/qrcode/ |
D | qrcodegen.h | 139 #define qrcodegen_BUFFER_LEN_FOR_VERSION(n) ((((n) * 4 + 17) * ((n) * 4 + 17) + 7) / 8 + 1) argument
|
D | qrcodegen.c | 727 unsigned char n = runHistory[1]; in hasFinderLikePattern() local 730 return n > 0 && runHistory[2] == n && runHistory[4] == n && runHistory[5] == n in hasFinderLikePattern() 731 && runHistory[3] == n * 3 && (runHistory[0] >= n * 4 || runHistory[6] >= n * 4); in hasFinderLikePattern()
|
/lvgl-3.4.0/examples/widgets/chart/ |
D | lv_example_chart_8.c | 54 static int32_t round_fixed_point(int32_t n, int8_t shift) in round_fixed_point() argument 63 int32_t decimal_part = n & mask; in round_fixed_point() 69 return (decimal_part < rounding_boundary) ? (n & ~mask) : ((n >> shift) + 1) << shift; in round_fixed_point()
|
D | lv_example_chart_8.py | 54 def round_fixed_point(n, shift): argument 60 decimal_part = n & mask 67 return (n & ~mask) 68 return ((n >> shift) + 1) << shift
|
/lvgl-3.4.0/src/draw/sdl/ |
D | lv_draw_sdl_composite.c | 216 lv_coord_t n = 128; in next_pow_of_2() local 217 while(n < num && n < 16384) { in next_pow_of_2() 218 n = n << 1; in next_pow_of_2() 220 return n; in next_pow_of_2()
|
/lvgl-3.4.0/tests/unity/ |
D | unity.c | 373 UNITY_INT32 n_int = 0, n; in UnityPrintFloat() local 420 n = ((UNITY_INT32)(number + number) + 1) / 2; in UnityPrintFloat() 424 if ((n & 1) && (((UNITY_DOUBLE)n - number) == 0.5f)) in UnityPrintFloat() 425 n--; in UnityPrintFloat() 428 n += n_int; in UnityPrintFloat() 430 if (n >= max_scaled) in UnityPrintFloat() 432 n = min_scaled; in UnityPrintFloat() 441 while ((decimals > 0) && ((n % 10) == 0)) in UnityPrintFloat() 443 n /= 10; in UnityPrintFloat() 449 while ((n != 0) || (digits < (decimals + 1))) in UnityPrintFloat() [all …]
|
D | unity_internals.h | 212 #define isinf(n) (isnan((n) - (n)) && !isnan(n)) argument 218 #define isnan(n) ((n != n) ? 1 : 0) argument
|
/lvgl-3.4.0/ |
D | Kconfig | 242 default n 947 default n 966 default n 976 default n 979 default n 983 default n 996 default n 1000 default n 1004 default n 1008 default n [all …]
|
/lvgl-3.4.0/zephyr/ |
D | Kconfig | 4 default n
|
/lvgl-3.4.0/src/extra/libs/sjpg/ |
D | tjpgd.c | 938 unsigned int n = rx * ry; in mcu_output() local 945 } while (--n); in mcu_output() 972 unsigned int n, i, ofs; in jd_prepare() local 1062 n = i ? 1 : 0; /* Component class */ in jd_prepare() 1063 if (!jd->huffbits[n][0] || !jd->huffbits[n][1]) { /* Check huffman table for this component */ in jd_prepare() 1072 n = jd->msy * jd->msx; /* Number of Y blocks in the MCU */ in jd_prepare() 1073 if (!n) return JDR_FMT1; /* Err: SOF0 has not been loaded */ in jd_prepare() 1074 len = n * 64 * 2 + 64; /* Allocate buffer for IDCT and RGB output */ in jd_prepare() 1078 jd->mcubuf = alloc_pool(jd, (n + 2) * 64 * sizeof (jd_yuv_t)); /* Allocate MCU working buffer */ in jd_prepare()
|
/lvgl-3.4.0/src/extra/libs/png/ |
D | lodepng.c | 815 unsigned bits, n; in HuffmanTree_makeFromLengths2() local 823 for(n = 0; n != tree->maxbitlen + 1; n++) blcount[n] = nextcode[n] = 0; in HuffmanTree_makeFromLengths2() 831 for(n = 0; n != tree->numcodes; ++n) { in HuffmanTree_makeFromLengths2() 832 if(tree->lengths[n] != 0) { in HuffmanTree_makeFromLengths2() 833 tree->codes[n] = nextcode[tree->lengths[n]]++; in HuffmanTree_makeFromLengths2() 835 tree->codes[n] &= ((1u << tree->lengths[n]) - 1u); in HuffmanTree_makeFromLengths2() 1135 unsigned n, HLIT, HDIST, HCLEN, i; in getTreeInflateDynamic() local 1202 for(n = 0; n < replength; ++n) { in getTreeInflateDynamic() 1213 for(n = 0; n < replength; ++n) { in getTreeInflateDynamic() 1225 for(n = 0; n < replength; ++n) { in getTreeInflateDynamic() [all …]
|
/lvgl-3.4.0/docs/widgets/core/ |
D | roller.md | 19 …ons, LV_ROLLER_MODE_NORMAL/INFINITE)`. The options should be separated by `\n`. For example: `"Fir…
|
D | btnmatrix.md | 25 Use `"\n"` in the map to insert a **line break**. E.g. `{"btn1", "btn2", "\n", "btn3", ""}`. Each l…
|
D | label.md | 31 …automatically by the label object. You can use `\n` to make a line break. For example: `"line1\nli…
|
/lvgl-3.4.0/demos/widgets/ |
D | lv_demo_widgets.py | 45 def LV_DPX(n): argument 46 if n == 0: 47 return n 52 tmp = (dpi*n+80)//160
|
/lvgl-3.4.0/docs/overview/ |
D | timer.md | 25 printf("my_timer called with user data: %d\n", *user_data);
|