/lvgl-latest/src/libs/thorvg/ |
D | tvgMath.h | 88 Matrix operator*(const Matrix& lhs, const Matrix& rhs); 89 bool operator==(const Matrix& lhs, const Matrix& rhs); 154 static inline bool operator!=(const Matrix& lhs, const Matrix& rhs) 156 return !(lhs == rhs); 160 static inline void operator*=(Matrix& lhs, const Matrix& rhs) 162 lhs = lhs * rhs; 180 static inline float cross(const Point& lhs, const Point& rhs) in cross() argument 182 return lhs.x * rhs.y - rhs.x * lhs.y; in cross() 210 static inline bool operator==(const Point& lhs, const Point& rhs) 212 return tvg::equal(lhs.x, rhs.x) && tvg::equal(lhs.y, rhs.y); [all …]
|
D | tvgLottieCommon.h | 83 static inline RGB24 operator-(const RGB24& lhs, const RGB24& rhs) 85 return {lhs.rgb[0] - rhs.rgb[0], lhs.rgb[1] - rhs.rgb[1], lhs.rgb[2] - rhs.rgb[2]}; 89 static inline RGB24 operator+(const RGB24& lhs, const RGB24& rhs) 91 return {lhs.rgb[0] + rhs.rgb[0], lhs.rgb[1] + rhs.rgb[1], lhs.rgb[2] + rhs.rgb[2]}; 95 static inline RGB24 operator*(const RGB24& lhs, float rhs) 97 …return {(int32_t)nearbyintf(lhs.rgb[0] * rhs), (int32_t)nearbyintf(lhs.rgb[1] * rhs), (int32_t)nea…
|
D | tvgMath.cpp | 169 Matrix operator*(const Matrix& lhs, const Matrix& rhs) in operator *() argument 173 m.e11 = lhs.e11 * rhs.e11 + lhs.e12 * rhs.e21 + lhs.e13 * rhs.e31; in operator *() 174 m.e12 = lhs.e11 * rhs.e12 + lhs.e12 * rhs.e22 + lhs.e13 * rhs.e32; in operator *() 175 m.e13 = lhs.e11 * rhs.e13 + lhs.e12 * rhs.e23 + lhs.e13 * rhs.e33; in operator *() 177 m.e21 = lhs.e21 * rhs.e11 + lhs.e22 * rhs.e21 + lhs.e23 * rhs.e31; in operator *() 178 m.e22 = lhs.e21 * rhs.e12 + lhs.e22 * rhs.e22 + lhs.e23 * rhs.e32; in operator *() 179 m.e23 = lhs.e21 * rhs.e13 + lhs.e22 * rhs.e23 + lhs.e23 * rhs.e33; in operator *() 181 m.e31 = lhs.e31 * rhs.e11 + lhs.e32 * rhs.e21 + lhs.e33 * rhs.e31; in operator *() 182 m.e32 = lhs.e31 * rhs.e12 + lhs.e32 * rhs.e22 + lhs.e33 * rhs.e32; in operator *() 183 m.e33 = lhs.e31 * rhs.e13 + lhs.e32 * rhs.e23 + lhs.e33 * rhs.e33; in operator *() [all …]
|
D | tvgStr.cpp | 225 char* strAppend(char* lhs, const char* rhs, size_t n) in strAppend() argument 227 if (!rhs) return lhs; in strAppend() 228 if (!lhs) return strDuplicate(rhs, n); in strAppend() 229 lhs = (char*)realloc(lhs, strlen(lhs) + n + 1); in strAppend() 230 return strncat(lhs, rhs, n); in strAppend()
|
D | tvgStr.h | 36 char* strAppend(char* lhs, const char* rhs, size_t n); //append the rhs to the lhs
|
/lvgl-latest/src/draw/vg_lite/ |
D | lv_vg_lite_stroke.c | 70 static lv_cache_compare_res_t stroke_compare_cb(const stroke_item_t * lhs, const stroke_item_t * rh… 293 static lv_cache_compare_res_t dash_pattern_compare(const stroke_item_t * lhs, const stroke_item_t *… in dash_pattern_compare() argument 296 const lv_array_t * lhs_dash_pattern = lhs->dash_pattern_type == DASH_PATTERN_TYPE_LV ? in dash_pattern_compare() 297 &lhs->lv.dash_pattern : in dash_pattern_compare() 298 &lhs->vg.dash_pattern; in dash_pattern_compare() 331 static lv_cache_compare_res_t path_compare(const stroke_item_t * lhs, const stroke_item_t * rhs) in path_compare() argument 334 const vg_lite_path_t * lhs_path = lhs->vg.path ? in path_compare() 335 lv_vg_lite_path_get_path(lhs->vg.path) : in path_compare() 336 lv_vg_lite_path_get_path(lhs->lv.path); in path_compare() 356 static lv_cache_compare_res_t stroke_compare_cb(const stroke_item_t * lhs, const stroke_item_t * rh… in stroke_compare_cb() argument [all …]
|
D | lv_vg_lite_grad.c | 60 static lv_cache_compare_res_t grad_compare_cb(const grad_item_t * lhs, const grad_item_t * rhs); 615 static lv_cache_compare_res_t grad_compare_cb(const grad_item_t * lhs, const grad_item_t * rhs) in grad_compare_cb() argument 618 if(lhs->type != rhs->type) { in grad_compare_cb() 619 return lhs->type > rhs->type ? 1 : -1; in grad_compare_cb() 623 if(lhs->lv.spread != rhs->lv.spread) { in grad_compare_cb() 624 return lhs->lv.spread > rhs->lv.spread ? 1 : -1; in grad_compare_cb() 628 switch(lhs->type) { in grad_compare_cb() 634 if(!math_equal(lhs->lv.x1, rhs->lv.x1)) { in grad_compare_cb() 635 return lhs->lv.x1 > rhs->lv.x1 ? 1 : -1; in grad_compare_cb() 638 if(!math_equal(lhs->lv.y1, rhs->lv.y1)) { in grad_compare_cb() [all …]
|
/lvgl-latest/tests/src/test_cases/cache/ |
D | test_cache.c | 25 static lv_cache_compare_res_t compare_cb(const test_data * lhs, const test_data * rhs) in compare_cb() argument 27 if(lhs->key1 != rhs->key1) { in compare_cb() 28 return lhs->key1 > rhs->key1 ? 1 : -1; in compare_cb() 30 if(lhs->key2 != rhs->key2) { in compare_cb() 31 return lhs->key2 > rhs->key2 ? 1 : -1; in compare_cb()
|
/lvgl-latest/src/libs/freetype/ |
D | lv_freetype_image.c | 43 static lv_cache_compare_res_t freetype_image_compare_cb(const lv_freetype_image_cache_data_t * lhs, 201 static lv_cache_compare_res_t freetype_image_compare_cb(const lv_freetype_image_cache_data_t * lhs, in freetype_image_compare_cb() argument 204 if(lhs->glyph_index != rhs->glyph_index) { in freetype_image_compare_cb() 205 return lhs->glyph_index > rhs->glyph_index ? 1 : -1; in freetype_image_compare_cb() 207 if(lhs->size != rhs->size) { in freetype_image_compare_cb() 208 return lhs->size > rhs->size ? 1 : -1; in freetype_image_compare_cb()
|
D | lv_freetype_glyph.c | 40 static lv_cache_compare_res_t freetype_glyph_compare_cb(const lv_freetype_glyph_cache_data_t * lhs, 215 static lv_cache_compare_res_t freetype_glyph_compare_cb(const lv_freetype_glyph_cache_data_t * lhs, in freetype_glyph_compare_cb() argument 218 if(lhs->unicode != rhs->unicode) { in freetype_glyph_compare_cb() 219 return lhs->unicode > rhs->unicode ? 1 : -1; in freetype_glyph_compare_cb() 221 if(lhs->size != rhs->size) { in freetype_glyph_compare_cb() 222 return lhs->size > rhs->size ? 1 : -1; in freetype_glyph_compare_cb()
|
D | lv_freetype.c | 51 static lv_cache_compare_res_t cache_node_cache_compare_cb(const lv_freetype_cache_node_t * lhs, 400 static lv_cache_compare_res_t cache_node_cache_compare_cb(const lv_freetype_cache_node_t * lhs, in cache_node_cache_compare_cb() argument 403 if(lhs->render_mode != rhs->render_mode) { in cache_node_cache_compare_cb() 404 return lhs->render_mode > rhs->render_mode ? 1 : -1; in cache_node_cache_compare_cb() 406 if(lhs->style != rhs->style) { in cache_node_cache_compare_cb() 407 return lhs->style > rhs->style ? 1 : -1; in cache_node_cache_compare_cb() 410 int32_t cmp_res = lv_strcmp(lhs->pathname, rhs->pathname); in cache_node_cache_compare_cb()
|
/lvgl-latest/src/misc/cache/ |
D | lv_image_header_cache.c | 33 …atic lv_cache_compare_res_t image_header_cache_compare_cb(const lv_image_header_cache_data_t * lhs, 139 const lv_image_header_cache_data_t * lhs, in image_header_cache_compare_cb() argument 142 return image_cache_common_compare(lhs->src, lhs->src_type, rhs->src, rhs->src_type); in image_header_cache_compare_cb()
|
D | lv_image_cache.c | 35 static lv_cache_compare_res_t image_cache_compare_cb(const lv_image_cache_data_t * lhs, 144 const lv_image_cache_data_t * lhs, in image_cache_compare_cb() argument 147 return image_cache_common_compare(lhs->src, lhs->src_type, rhs->src, rhs->src_type); in image_cache_compare_cb()
|
/lvgl-latest/src/libs/tiny_ttf/ |
D | lv_tiny_ttf.c | 98 …tic lv_cache_compare_res_t tiny_ttf_glyph_cache_compare_cb(const tiny_ttf_glyph_cache_data_t * lhs, 103 static lv_cache_compare_res_t tiny_ttf_draw_data_cache_compare_cb(const tiny_ttf_cache_data_t * lhs, 495 …tic lv_cache_compare_res_t tiny_ttf_glyph_cache_compare_cb(const tiny_ttf_glyph_cache_data_t * lhs, in tiny_ttf_glyph_cache_compare_cb() argument 498 if(lhs->unicode != rhs->unicode) { in tiny_ttf_glyph_cache_compare_cb() 499 return lhs->unicode > rhs->unicode ? 1 : -1; in tiny_ttf_glyph_cache_compare_cb() 544 static lv_cache_compare_res_t tiny_ttf_draw_data_cache_compare_cb(const tiny_ttf_cache_data_t * lhs, in tiny_ttf_draw_data_cache_compare_cb() argument 547 if(lhs->glyph_index != rhs->glyph_index) { in tiny_ttf_draw_data_cache_compare_cb() 548 return lhs->glyph_index > rhs->glyph_index ? 1 : -1; in tiny_ttf_draw_data_cache_compare_cb() 551 if(lhs->size != rhs->size) { in tiny_ttf_draw_data_cache_compare_cb() 552 return lhs->size > rhs->size ? 1 : -1; in tiny_ttf_draw_data_cache_compare_cb()
|
/lvgl-latest/src/draw/opengles/ |
D | lv_draw_opengles.c | 62 static lv_cache_compare_res_t opengles_texture_cache_compare_cb(const cache_data_t * lhs, const cac… 141 static lv_cache_compare_res_t opengles_texture_cache_compare_cb(const cache_data_t * lhs, const cac… in opengles_texture_cache_compare_cb() argument 143 if(lhs == rhs) return 0; in opengles_texture_cache_compare_cb() 145 if(lhs->w != rhs->w) { in opengles_texture_cache_compare_cb() 146 return lhs->w > rhs->w ? 1 : -1; in opengles_texture_cache_compare_cb() 148 if(lhs->h != rhs->h) { in opengles_texture_cache_compare_cb() 149 return lhs->h > rhs->h ? 1 : -1; in opengles_texture_cache_compare_cb() 152 uint32_t lhs_dsc_size = lhs->draw_dsc->dsc_size; in opengles_texture_cache_compare_cb() 159 const uint8_t * left_draw_dsc = (const uint8_t *)lhs->draw_dsc; in opengles_texture_cache_compare_cb() 164 …int cmp_res = lv_memcmp(left_draw_dsc, right_draw_dsc, lhs->draw_dsc->dsc_size - sizeof(lv_draw_ds… in opengles_texture_cache_compare_cb()
|
/lvgl-latest/src/draw/sdl/ |
D | lv_draw_sdl.c | 84 static lv_cache_compare_res_t sdl_texture_cache_compare_cb(const cache_data_t * lhs, const cache_da… in sdl_texture_cache_compare_cb() argument 86 if(lhs == rhs) return 0; in sdl_texture_cache_compare_cb() 88 if(lhs->w != rhs->w) { in sdl_texture_cache_compare_cb() 89 return lhs->w > rhs->w ? 1 : -1; in sdl_texture_cache_compare_cb() 91 if(lhs->h != rhs->h) { in sdl_texture_cache_compare_cb() 92 return lhs->h > rhs->h ? 1 : -1; in sdl_texture_cache_compare_cb() 95 uint32_t lhs_dsc_size = lhs->draw_dsc->dsc_size; in sdl_texture_cache_compare_cb() 102 const uint8_t * left_draw_dsc = (const uint8_t *)lhs->draw_dsc; in sdl_texture_cache_compare_cb() 107 …int cmp_res = lv_memcmp(left_draw_dsc, right_draw_dsc, lhs->draw_dsc->dsc_size - sizeof(lv_draw_ds… in sdl_texture_cache_compare_cb()
|
/lvgl-latest/src/libs/thorvg/rapidjson/ |
D | document.h | 1099 …al::IsGenericValue<T>), (bool)) operator==(const T& lhs, const GenericValue& rhs) { return rhs == … 1104 …l::IsGenericValue<T>), (bool)) operator!=(const T& lhs, const GenericValue& rhs) { return !(rhs ==…
|