Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 25 of 38) sorted by relevance

12

/AliOS-Things-master/components/freetype/src/base/
A Dfttrigon.c121 x = vec->x; in ft_trig_prenorm()
122 y = vec->y; in ft_trig_prenorm()
153 x = vec->x; in ft_trig_pseudo_rotate()
154 y = vec->y; in ft_trig_pseudo_rotate()
194 vec->x = x; in ft_trig_pseudo_rotate()
195 vec->y = y; in ft_trig_pseudo_rotate()
208 x = vec->x; in ft_trig_pseudo_polarize()
346 vec->x = ( vec->x + 0x80L ) >> 8; in FT_Vector_Unit()
347 vec->y = ( vec->y + 0x80L ) >> 8; in FT_Vector_Unit()
406 v = *vec; in FT_Vector_Length()
[all …]
A Dftoutln.c160 vec.x / 64.0, vec.y / 64.0 )); in FT_Outline_Decompose()
189 vec.x / 64.0, vec.y / 64.0, in FT_Outline_Decompose()
250 vec.x / 64.0, vec.y / 64.0, in FT_Outline_Decompose()
491 vec++; in FT_Outline_Get_CBox()
493 for ( ; vec < limit; vec++ ) in FT_Outline_Get_CBox()
498 x = vec->x; in FT_Outline_Get_CBox()
502 y = vec->y; in FT_Outline_Get_CBox()
523 FT_Vector* vec; in FT_Outline_Translate() local
535 vec++; in FT_Outline_Translate()
708 FT_Vector* vec; in FT_Outline_Transform() local
[all …]
A Dftbbox.c404 FT_Vector* vec; in FT_EXPORT_DEF() local
426 vec = outline->points; in FT_EXPORT_DEF()
427 bbox.xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x; in FT_EXPORT_DEF()
428 bbox.yMin = bbox.yMax = cbox.yMin = cbox.yMax = vec->y; in FT_EXPORT_DEF()
429 vec++; in FT_EXPORT_DEF()
433 FT_Pos x = vec->x; in FT_EXPORT_DEF()
434 FT_Pos y = vec->y; in FT_EXPORT_DEF()
454 vec++; in FT_EXPORT_DEF()
A Dftstroke.c443 vec[0] = *to; in ft_stroke_border_lineto()
471 vec[0] = *control; in ft_stroke_border_conicto()
472 vec[1] = *to; in ft_stroke_border_conicto()
504 vec[0] = *control1; in ft_stroke_border_cubicto()
505 vec[1] = *control2; in ft_stroke_border_cubicto()
506 vec[2] = *to; in ft_stroke_border_cubicto()
2132 FT_Vector vec; in FT_Stroker_ParseOutline() local
2135 vec.x = point->x; in FT_Stroker_ParseOutline()
2151 FT_Vector vec; in FT_Stroker_ParseOutline() local
2159 vec = point[0]; in FT_Stroker_ParseOutline()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/
A Dtest_util.h60 void FillRandom(std::vector<float>* vec, float min, float max);
76 void FillRandom(std::vector<T>* vec, T min, T max) { in FillRandom() argument
77 return FillRandom(std::begin(*vec), std::end(*vec), min, max); in FillRandom()
82 void FillRandom(std::vector<T>* vec) { in FillRandom() argument
83 FillRandom(vec, std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); in FillRandom()
89 void FillRandomSkyscraper(std::vector<T>* vec, int depth, in FillRandomSkyscraper() argument
92 for (auto base_it = std::begin(*vec); base_it != std::end(*vec); in FillRandomSkyscraper()
/AliOS-Things-master/components/freetype/src/smooth/
A Dftsmooth.c275 FT_Vector* vec; in ft_smooth_render_generic() local
279 for ( vec = points; vec < points_end; vec++ ) in ft_smooth_render_generic()
280 vec->x *= 3; in ft_smooth_render_generic()
283 for ( vec = points; vec < points_end; vec++ ) in ft_smooth_render_generic()
284 vec->y *= 3; in ft_smooth_render_generic()
294 FT_Vector* vec; in ft_smooth_render_generic() local
298 for ( vec = points; vec < points_end; vec++ ) in ft_smooth_render_generic()
299 vec->x /= 3; in ft_smooth_render_generic()
302 for ( vec = points; vec < points_end; vec++ ) in ft_smooth_render_generic()
303 vec->y /= 3; in ft_smooth_render_generic()
A Dftgrays.c517 vec++; in gray_compute_cbox()
519 for ( ; vec < limit; vec++ ) in gray_compute_cbox()
521 TPos x = vec->x; in gray_compute_cbox()
522 TPos y = vec->y; in gray_compute_cbox()
1619 FT_Vector vec; in FT_Outline_Decompose() local
1626 vec.x / 64.0, vec.y / 64.0 )); in FT_Outline_Decompose()
1640 FT_Vector vec; in FT_Outline_Decompose() local
1655 vec.x / 64.0, vec.y / 64.0, in FT_Outline_Decompose()
1677 v_control = vec; in FT_Outline_Decompose()
1708 FT_Vector vec; in FT_Outline_Decompose() local
[all …]
/AliOS-Things-master/components/drivers/core/base/include/aos/hal/
A Dinterpt.h22 typedef void (*hal_interpt_t)(int32_t vec, void *para);
39 int32_t hal_interpt_mask(int32_t vec);
49 int32_t hal_interpt_umask(int32_t vec);
63 int32_t hal_interpt_install(int32_t vec, hal_interpt_t handler, void *para, char *name);
/AliOS-Things-master/components/freetype/include/
A Dfttrigon.h244 FT_Vector_Unit( FT_Vector* vec,
266 FT_Vector_Rotate( FT_Vector* vec,
288 FT_Vector_Length( FT_Vector* vec );
312 FT_Vector_Polarize( FT_Vector* vec,
338 FT_Vector_From_Polar( FT_Vector* vec,
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dinterpt.c26 int32_t hal_interpt_mask(int32_t vec) in hal_interpt_mask() argument
39 int32_t hal_interpt_umask(int32_t vec) in hal_interpt_umask() argument
52 int32_t hal_interpt_install(int32_t vec, hal_interpt_t handler, void *para, char *name) in hal_interpt_install() argument
/AliOS-Things-master/hardware/chip/smarth_rv64/smarth_rv64/
A Dtrap_c.c23 uint64_t vec = 0; in trap_c() local
25 vec = __get_MCAUSE() & 0x3FF; in trap_c()
27 printf("CPU Exception: NO.0x%llx", vec); in trap_c()
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dbm_nqueens.py40 for vec in permutations(cols):
41 if queen_count == len(set(vec[i] + i for i in cols)) == len(set(vec[i] - i for i in cols)):
42 yield vec
/AliOS-Things-master/components/freetype/src/pfr/
A Dpfrgload.c182 FT_Vector* vec = outline->points + outline->n_points; in pfr_glyph_curve_to() local
186 vec[0] = *control1; in pfr_glyph_curve_to()
187 vec[1] = *control2; in pfr_glyph_curve_to()
188 vec[2] = *to; in pfr_glyph_curve_to()
784 FT_Vector* vec = base->points + old_points; in pfr_glyph_load_rec() local
787 for ( i = 0; i < num_points; i++, vec++ ) in pfr_glyph_load_rec()
789 vec->x = FT_MulFix( vec->x, subglyph->x_scale ) + in pfr_glyph_load_rec()
791 vec->y = FT_MulFix( vec->y, subglyph->y_scale ) + in pfr_glyph_load_rec()
800 for ( i = 0; i < num_points; i++, vec++ ) in pfr_glyph_load_rec()
802 vec->x += subglyph->x_delta; in pfr_glyph_load_rec()
[all …]
A Dpfrobjs.c430 FT_Vector* vec = outline->points; in pfr_slot_load() local
434 for ( n = 0; n < outline->n_points; n++, vec++ ) in pfr_slot_load()
436 vec->x = FT_MulFix( vec->x, x_scale ); in pfr_slot_load()
437 vec->y = FT_MulFix( vec->y, y_scale ); in pfr_slot_load()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/unused/
A Dcrc32.c49 unsigned long vec));
344 local unsigned long gf2_matrix_times(mat, vec) in gf2_matrix_times() argument
346 unsigned long vec;
351 while (vec) {
352 if (vec & 1)
354 vec >>= 1;
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Dcrc32.c71 unsigned long vec));
350 local unsigned long gf2_matrix_times(mat, vec) in gf2_matrix_times() argument
352 unsigned long vec;
357 while (vec) {
358 if (vec & 1)
360 vec >>= 1;
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/examples/
A Denough.c114 char *vec; /* allocated bit vector */ member
189 free(done[n].vec); in cleanup()
275 if (offset < length && (done[index].vec[offset] & bit) != 0) in beenhere()
287 vector = realloc(done[index].vec, length); in beenhere()
309 done[index].vec = vector; in beenhere()
313 done[index].vec[offset] |= bit; in beenhere()
/AliOS-Things-master/components/oss/src/utils/
A DCrc64.cc182 static uint64_t gf2_matrix_times(uint64_t *mat, uint64_t vec) in gf2_matrix_times() argument
187 while (vec) { in gf2_matrix_times()
188 if (vec & 1) in gf2_matrix_times()
190 vec >>= 1; in gf2_matrix_times()
/AliOS-Things-master/components/freetype/src/cid/
A Dcidgload.c402 FT_Vector* vec = cur->points; in cid_slot_load_glyph() local
409 for ( n = cur->n_points; n > 0; n--, vec++ ) in cid_slot_load_glyph()
411 vec->x = FT_MulFix( vec->x, x_scale ); in cid_slot_load_glyph()
412 vec->y = FT_MulFix( vec->y, y_scale ); in cid_slot_load_glyph()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/
A DEndpointProvider.cc177 std::vector<regionType> vec = allLocalEndpoints[product].regions; in localEndpoint() local
179 it = std::find(vec.begin(), vec.end(), regionId); in localEndpoint()
180 if (it == vec.end()) { in localEndpoint()
/AliOS-Things-master/components/freetype/src/pshinter/
A Dpshalgo.c1198 point->org_u = vec->x; in psh_glyph_load_points()
1199 point->org_v = vec->y; in psh_glyph_load_points()
1203 point->org_u = vec->y; in psh_glyph_load_points()
1204 point->org_v = vec->x; in psh_glyph_load_points()
1208 point->org_x = vec->x; in psh_glyph_load_points()
1209 point->org_y = vec->y; in psh_glyph_load_points()
1230 vec[n].x = point->cur_u; in psh_glyph_save_points()
1337 dxi = vec[n].x - vec[n_prev].x; in psh_glyph_init()
1338 dyi = vec[n].y - vec[n_prev].y; in psh_glyph_init()
1342 dxo = vec[n_next].x - vec[n].x; in psh_glyph_init()
[all …]
/AliOS-Things-master/components/freetype/src/type1/
A Dt1gload.c454 FT_Vector* vec = cur->points; in T1_Load_Glyph() local
461 for ( n = cur->n_points; n > 0; n--, vec++ ) in T1_Load_Glyph()
463 vec->x = FT_MulFix( vec->x, x_scale ); in T1_Load_Glyph()
464 vec->y = FT_MulFix( vec->y, y_scale ); in T1_Load_Glyph()
/AliOS-Things-master/components/freetype/src/autofit/
A Dafhints.c645 FT_Vector* vec = outline->points; in af_glyph_hints_reload() local
652 for ( point = points; point < point_limit; point++, vec++, tag++ ) in af_glyph_hints_reload()
654 point->fx = (FT_Short)vec->x; in af_glyph_hints_reload()
655 point->fy = (FT_Short)vec->y; in af_glyph_hints_reload()
656 point->ox = point->x = FT_MulFix( vec->x, x_scale ) + x_delta; in af_glyph_hints_reload()
657 point->oy = point->y = FT_MulFix( vec->y, y_scale ) + y_delta; in af_glyph_hints_reload()
841 FT_Vector* vec = outline->points; in af_glyph_hints_save() local
845 for ( ; point < limit; point++, vec++, tag++ ) in af_glyph_hints_save()
847 vec->x = point->x; in af_glyph_hints_save()
848 vec->y = point->y; in af_glyph_hints_save()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/powerpc/
A Dfilter_vsx_intrinsics.c29 #define vec_ld_unaligned(vec,data) vec = vec_vsx_ld(0,data) argument
30 #define vec_st_unaligned(vec,data) vec_vsx_st(vec,0,data) argument
165 #define vsx_char_to_short(vec,offset,bpp) (vector unsigned short)vec_perm((vec),VSX_CHAR_ZERO,VSX_C… argument
166 #define vsx_short_to_char(vec,offset,bpp) vec_perm(((vector unsigned char)(vec)),VSX_CHAR_ZERO,VSX_… argument
/AliOS-Things-master/components/freetype/src/truetype/
A Dttgload.c357 FT_Vector *vec, *vec_limit; in TT_Load_Simple_Glyph() local
485 vec = outline->points; in TT_Load_Simple_Glyph()
486 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
493 for ( ; vec < vec_limit; vec++, flag++ ) in TT_Load_Simple_Glyph()
517 vec->x = x; in TT_Load_Simple_Glyph()
525 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
529 for ( ; vec < vec_limit; vec++, flag++ ) in TT_Load_Simple_Glyph()
553 vec->y = x; in TT_Load_Simple_Glyph()
985 for ( ; vec < limit; vec++ ) in TT_Process_Simple_Glyph()
987 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph()
[all …]

Completed in 46 milliseconds

12