/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavformat/ |
H A D | dash.c | 101 const char *t_cur = template; in ff_dash_fill_tmpl_params() local 102 while (dst_pos < buffer_size - 1 && *t_cur) { in ff_dash_fill_tmpl_params() 108 int num_copy_bytes = FFMIN(t_next - t_cur, buffer_size - dst_pos - 1); in ff_dash_fill_tmpl_params() 109 av_strlcpy(&dst[dst_pos], t_cur, num_copy_bytes + 1); in ff_dash_fill_tmpl_params() 112 t_cur = t_next; in ff_dash_fill_tmpl_params() 114 av_strlcpy(&dst[dst_pos], t_cur, buffer_size - dst_pos); in ff_dash_fill_tmpl_params() 118 if (dst_pos >= buffer_size - 1 || !*t_cur) in ff_dash_fill_tmpl_params() 122 id_type = dash_read_tmpl_id(t_cur, format_tag, sizeof(format_tag), &t_next); in ff_dash_fill_tmpl_params() 142 av_strlcpy(&dst[dst_pos], t_cur, 2); in ff_dash_fill_tmpl_params() 144 t_next = &t_cur[1]; in ff_dash_fill_tmpl_params() [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavformat/ |
H A D | dash.c | 101 const char *t_cur = template; in ff_dash_fill_tmpl_params() local 102 while (dst_pos < buffer_size - 1 && *t_cur) { in ff_dash_fill_tmpl_params() 108 int num_copy_bytes = FFMIN(t_next - t_cur, buffer_size - dst_pos - 1); in ff_dash_fill_tmpl_params() 109 av_strlcpy(&dst[dst_pos], t_cur, num_copy_bytes + 1); in ff_dash_fill_tmpl_params() 112 t_cur = t_next; in ff_dash_fill_tmpl_params() 114 av_strlcpy(&dst[dst_pos], t_cur, buffer_size - dst_pos); in ff_dash_fill_tmpl_params() 118 if (dst_pos >= buffer_size - 1 || !*t_cur) in ff_dash_fill_tmpl_params() 122 id_type = dash_read_tmpl_id(t_cur, format_tag, sizeof(format_tag), &t_next); in ff_dash_fill_tmpl_params() 142 av_strlcpy(&dst[dst_pos], t_cur, 2); in ff_dash_fill_tmpl_params() 144 t_next = &t_cur[1]; in ff_dash_fill_tmpl_params() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavformat/ |
H A D | dash.c | 101 const char *t_cur = template; in ff_dash_fill_tmpl_params() local 102 while (dst_pos < buffer_size - 1 && *t_cur) { in ff_dash_fill_tmpl_params() 108 int num_copy_bytes = FFMIN(t_next - t_cur, buffer_size - dst_pos - 1); in ff_dash_fill_tmpl_params() 109 av_strlcpy(&dst[dst_pos], t_cur, num_copy_bytes + 1); in ff_dash_fill_tmpl_params() 112 t_cur = t_next; in ff_dash_fill_tmpl_params() 114 av_strlcpy(&dst[dst_pos], t_cur, buffer_size - dst_pos); in ff_dash_fill_tmpl_params() 118 if (dst_pos >= buffer_size - 1 || !*t_cur) in ff_dash_fill_tmpl_params() 122 id_type = dash_read_tmpl_id(t_cur, format_tag, sizeof(format_tag), &t_next); in ff_dash_fill_tmpl_params() 142 av_strlcpy(&dst[dst_pos], t_cur, 2); in ff_dash_fill_tmpl_params() 144 t_next = &t_cur[1]; in ff_dash_fill_tmpl_params() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavformat/ |
H A D | dash.c | 101 const char *t_cur = template; in ff_dash_fill_tmpl_params() local 102 while (dst_pos < buffer_size - 1 && *t_cur) { in ff_dash_fill_tmpl_params() 108 int num_copy_bytes = FFMIN(t_next - t_cur, buffer_size - dst_pos - 1); in ff_dash_fill_tmpl_params() 109 av_strlcpy(&dst[dst_pos], t_cur, num_copy_bytes + 1); in ff_dash_fill_tmpl_params() 112 t_cur = t_next; in ff_dash_fill_tmpl_params() 114 av_strlcpy(&dst[dst_pos], t_cur, buffer_size - dst_pos); in ff_dash_fill_tmpl_params() 118 if (dst_pos >= buffer_size - 1 || !*t_cur) in ff_dash_fill_tmpl_params() 122 id_type = dash_read_tmpl_id(t_cur, format_tag, sizeof(format_tag), &t_next); in ff_dash_fill_tmpl_params() 142 av_strlcpy(&dst[dst_pos], t_cur, 2); in ff_dash_fill_tmpl_params() 144 t_next = &t_cur[1]; in ff_dash_fill_tmpl_params() [all …]
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavformat/ |
H A D | dash.c | 101 const char *t_cur = template; in ff_dash_fill_tmpl_params() local 102 while (dst_pos < buffer_size - 1 && *t_cur) { in ff_dash_fill_tmpl_params() 108 int num_copy_bytes = FFMIN(t_next - t_cur, buffer_size - dst_pos - 1); in ff_dash_fill_tmpl_params() 109 av_strlcpy(&dst[dst_pos], t_cur, num_copy_bytes + 1); in ff_dash_fill_tmpl_params() 112 t_cur = t_next; in ff_dash_fill_tmpl_params() 114 av_strlcpy(&dst[dst_pos], t_cur, buffer_size - dst_pos); in ff_dash_fill_tmpl_params() 118 if (dst_pos >= buffer_size - 1 || !*t_cur) in ff_dash_fill_tmpl_params() 122 id_type = dash_read_tmpl_id(t_cur, format_tag, sizeof(format_tag), &t_next); in ff_dash_fill_tmpl_params() 142 av_strlcpy(&dst[dst_pos], t_cur, 2); in ff_dash_fill_tmpl_params() 144 t_next = &t_cur[1]; in ff_dash_fill_tmpl_params() [all …]
|
/dports/deskutils/cairo-dock-plugins/cairo-dock-plug-ins-3.4.1/logout/src/ |
H A D | applet-timer.c | 32 time_t t_cur = (time_t) time (NULL); in _timer() local 33 if (t_cur >= myConfig.iShutdownTime) in _timer() 46 cd_debug ("shutdown in %d minutes", (int) (myConfig.iShutdownTime - t_cur) / 60); in _timer() 47 …QUICK_INFO_ON_MY_ICON_PRINTF ("%dmn", (int) ceil ((double)(myConfig.iShutdownTime - t_cur) / 60.)); in _timer() 49 if (t_cur >= myConfig.iShutdownTime - 60) in _timer() 57 time_t t_cur = (time_t) time (NULL); in cd_logout_set_timer() local 58 if (myConfig.iShutdownTime > t_cur) in cd_logout_set_timer() 81 time_t t_cur = (time_t) time (NULL); in _on_program_shutdown() local 82 myConfig.iShutdownTime = (int) (t_cur + iDeltaT); in _on_program_shutdown()
|
/dports/science/code_saturne/code_saturne-7.1.0/src/base/ |
H A D | cs_time_step.c | 255 .t_cur = 0., 292 double **t_cur, 338 double **t_cur, in cs_f_time_step_get_pointers() argument 347 *t_cur = &(_time_step.t_cur); in cs_f_time_step_get_pointers() 532 _time_step.t_cur = t_prev; in cs_time_step_define_prev() 551 double t = _time_step.t_cur + z; in cs_time_step_increment() 553 _update_kahan_compensation(&t, &_time_step.t_cur, &z); in cs_time_step_increment() 555 _time_step.t_cur = t; in cs_time_step_increment() 563 _time_step.nt_cur, _time_step.t_cur); in cs_time_step_increment() 580 double t_cur) in cs_time_step_redefine_cur() argument [all …]
|
H A D | cs_timer_stats.c | 108 cs_timer_counter_t t_cur; /* Counter since last output */ member 265 vals[stats_count] = s->t_cur.nsec*1e-9; in _output_time_plot() 416 cs_timer_counter_add_diff(&(s->t_cur), &(s->t_start), &t_incr); in cs_timer_stats_increment_time_step() 434 CS_TIMER_COUNTER_ADD(s->t_tot, s->t_tot, s->t_cur); in cs_timer_stats_increment_time_step() 435 CS_TIMER_COUNTER_INIT(s->t_cur); in cs_timer_stats_increment_time_step() 538 CS_TIMER_COUNTER_INIT(s->t_cur); in cs_timer_stats_create() 688 cs_timer_counter_add_diff(&(s->t_cur), &(s->t_start), &t_stop); in cs_timer_stats_stop() 736 cs_timer_counter_add_diff(&(s->t_cur), &(s->t_start), &t_switch); in cs_timer_stats_switch() 783 cs_timer_counter_add_diff(&(s->t_cur), t0, t1); in cs_timer_stats_add_diff()
|
H A D | cs_time_step.h | 80 double t_cur; /* current absolute time */ member 235 double t_cur);
|
H A D | cs_time_control.c | 180 double delta_t = ts->t_cur - tc->last_t; in cs_time_control_is_active() 184 if (tc->start_t > ts->t_cur) in cs_time_control_is_active() 209 tc->last_t = ts->t_cur; in cs_time_control_is_active()
|
/dports/devel/tex-web2c/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splinefill.c | 169 real os = (3*osp->a*e->t_cur+2*osp->b)*e->t_cur+osp->c, in SlopeLess() 170 ps = (3*psp->a*p->t_cur+2*psp->b)*p->t_cur+psp->c; in SlopeLess() 171 real ms = (3*msp->a*e->t_cur+2*msp->b)*e->t_cur+msp->c, in SlopeLess() 172 qs = (3*qsp->a*p->t_cur+2*qsp->b)*p->t_cur+qsp->c; in SlopeLess() 180 qs = (3*qsp->a*(p->t_cur+.0001)+2*qsp->b)*(p->t_cur+.0001)+qsp->c; in SlopeLess() 181 ps = (3*psp->a*(p->t_cur+.0001)+2*psp->b)*(p->t_cur+.0001)+psp->c; in SlopeLess() 189 ms = (3*msp->a*(e->t_cur+.0001)+2*msp->b)*(e->t_cur+.0001)+msp->c; in SlopeLess() 193 if ( e->t_cur-e->tmin > e->tmax-e->t_cur ) { os = -os; ms = -ms; } in SlopeLess() 194 if ( p->t_cur-p->tmin > p->tmax-p->t_cur ) { ps = -ps; qs = -qs; } in SlopeLess() 278 e->o_cur = ( ((osp->a*e->t_cur+osp->b)*e->t_cur+osp->c)*e->t_cur + osp->d ) * es->scale; in AddEdge() [all …]
|
/dports/devel/tex-synctex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splinefill.c | 169 real os = (3*osp->a*e->t_cur+2*osp->b)*e->t_cur+osp->c, in SlopeLess() 170 ps = (3*psp->a*p->t_cur+2*psp->b)*p->t_cur+psp->c; in SlopeLess() 171 real ms = (3*msp->a*e->t_cur+2*msp->b)*e->t_cur+msp->c, in SlopeLess() 172 qs = (3*qsp->a*p->t_cur+2*qsp->b)*p->t_cur+qsp->c; in SlopeLess() 180 qs = (3*qsp->a*(p->t_cur+.0001)+2*qsp->b)*(p->t_cur+.0001)+qsp->c; in SlopeLess() 181 ps = (3*psp->a*(p->t_cur+.0001)+2*psp->b)*(p->t_cur+.0001)+psp->c; in SlopeLess() 189 ms = (3*msp->a*(e->t_cur+.0001)+2*msp->b)*(e->t_cur+.0001)+msp->c; in SlopeLess() 193 if ( e->t_cur-e->tmin > e->tmax-e->t_cur ) { os = -os; ms = -ms; } in SlopeLess() 194 if ( p->t_cur-p->tmin > p->tmax-p->t_cur ) { ps = -ps; qs = -qs; } in SlopeLess() 278 e->o_cur = ( ((osp->a*e->t_cur+osp->b)*e->t_cur+osp->c)*e->t_cur + osp->d ) * es->scale; in AddEdge() [all …]
|
/dports/japanese/tex-ptex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splinefill.c | 169 real os = (3*osp->a*e->t_cur+2*osp->b)*e->t_cur+osp->c, in SlopeLess() 170 ps = (3*psp->a*p->t_cur+2*psp->b)*p->t_cur+psp->c; in SlopeLess() 171 real ms = (3*msp->a*e->t_cur+2*msp->b)*e->t_cur+msp->c, in SlopeLess() 172 qs = (3*qsp->a*p->t_cur+2*qsp->b)*p->t_cur+qsp->c; in SlopeLess() 180 qs = (3*qsp->a*(p->t_cur+.0001)+2*qsp->b)*(p->t_cur+.0001)+qsp->c; in SlopeLess() 181 ps = (3*psp->a*(p->t_cur+.0001)+2*psp->b)*(p->t_cur+.0001)+psp->c; in SlopeLess() 189 ms = (3*msp->a*(e->t_cur+.0001)+2*msp->b)*(e->t_cur+.0001)+msp->c; in SlopeLess() 193 if ( e->t_cur-e->tmin > e->tmax-e->t_cur ) { os = -os; ms = -ms; } in SlopeLess() 194 if ( p->t_cur-p->tmin > p->tmax-p->t_cur ) { ps = -ps; qs = -qs; } in SlopeLess() 278 e->o_cur = ( ((osp->a*e->t_cur+osp->b)*e->t_cur+osp->c)*e->t_cur + osp->d ) * es->scale; in AddEdge() [all …]
|
/dports/print/tex-basic-engines/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splinefill.c | 169 real os = (3*osp->a*e->t_cur+2*osp->b)*e->t_cur+osp->c, in SlopeLess() 170 ps = (3*psp->a*p->t_cur+2*psp->b)*p->t_cur+psp->c; in SlopeLess() 171 real ms = (3*msp->a*e->t_cur+2*msp->b)*e->t_cur+msp->c, in SlopeLess() 172 qs = (3*qsp->a*p->t_cur+2*qsp->b)*p->t_cur+qsp->c; in SlopeLess() 180 qs = (3*qsp->a*(p->t_cur+.0001)+2*qsp->b)*(p->t_cur+.0001)+qsp->c; in SlopeLess() 181 ps = (3*psp->a*(p->t_cur+.0001)+2*psp->b)*(p->t_cur+.0001)+psp->c; in SlopeLess() 189 ms = (3*msp->a*(e->t_cur+.0001)+2*msp->b)*(e->t_cur+.0001)+msp->c; in SlopeLess() 193 if ( e->t_cur-e->tmin > e->tmax-e->t_cur ) { os = -os; ms = -ms; } in SlopeLess() 194 if ( p->t_cur-p->tmin > p->tmax-p->t_cur ) { ps = -ps; qs = -qs; } in SlopeLess() 278 e->o_cur = ( ((osp->a*e->t_cur+osp->b)*e->t_cur+osp->c)*e->t_cur + osp->d ) * es->scale; in AddEdge() [all …]
|
/dports/print/tex-aleph/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splinefill.c | 169 real os = (3*osp->a*e->t_cur+2*osp->b)*e->t_cur+osp->c, in SlopeLess() 170 ps = (3*psp->a*p->t_cur+2*psp->b)*p->t_cur+psp->c; in SlopeLess() 171 real ms = (3*msp->a*e->t_cur+2*msp->b)*e->t_cur+msp->c, in SlopeLess() 172 qs = (3*qsp->a*p->t_cur+2*qsp->b)*p->t_cur+qsp->c; in SlopeLess() 180 qs = (3*qsp->a*(p->t_cur+.0001)+2*qsp->b)*(p->t_cur+.0001)+qsp->c; in SlopeLess() 181 ps = (3*psp->a*(p->t_cur+.0001)+2*psp->b)*(p->t_cur+.0001)+psp->c; in SlopeLess() 189 ms = (3*msp->a*(e->t_cur+.0001)+2*msp->b)*(e->t_cur+.0001)+msp->c; in SlopeLess() 193 if ( e->t_cur-e->tmin > e->tmax-e->t_cur ) { os = -os; ms = -ms; } in SlopeLess() 194 if ( p->t_cur-p->tmin > p->tmax-p->t_cur ) { ps = -ps; qs = -qs; } in SlopeLess() 278 e->o_cur = ( ((osp->a*e->t_cur+osp->b)*e->t_cur+osp->c)*e->t_cur + osp->d ) * es->scale; in AddEdge() [all …]
|
/dports/print/tex-luatex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splinefill.c | 169 real os = (3*osp->a*e->t_cur+2*osp->b)*e->t_cur+osp->c, in SlopeLess() 170 ps = (3*psp->a*p->t_cur+2*psp->b)*p->t_cur+psp->c; in SlopeLess() 171 real ms = (3*msp->a*e->t_cur+2*msp->b)*e->t_cur+msp->c, in SlopeLess() 172 qs = (3*qsp->a*p->t_cur+2*qsp->b)*p->t_cur+qsp->c; in SlopeLess() 180 qs = (3*qsp->a*(p->t_cur+.0001)+2*qsp->b)*(p->t_cur+.0001)+qsp->c; in SlopeLess() 181 ps = (3*psp->a*(p->t_cur+.0001)+2*psp->b)*(p->t_cur+.0001)+psp->c; in SlopeLess() 189 ms = (3*msp->a*(e->t_cur+.0001)+2*msp->b)*(e->t_cur+.0001)+msp->c; in SlopeLess() 193 if ( e->t_cur-e->tmin > e->tmax-e->t_cur ) { os = -os; ms = -ms; } in SlopeLess() 194 if ( p->t_cur-p->tmin > p->tmax-p->t_cur ) { ps = -ps; qs = -qs; } in SlopeLess() 278 e->o_cur = ( ((osp->a*e->t_cur+osp->b)*e->t_cur+osp->c)*e->t_cur + osp->d ) * es->scale; in AddEdge() [all …]
|
/dports/print/tex-xetex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splinefill.c | 169 real os = (3*osp->a*e->t_cur+2*osp->b)*e->t_cur+osp->c, in SlopeLess() 170 ps = (3*psp->a*p->t_cur+2*psp->b)*p->t_cur+psp->c; in SlopeLess() 171 real ms = (3*msp->a*e->t_cur+2*msp->b)*e->t_cur+msp->c, in SlopeLess() 172 qs = (3*qsp->a*p->t_cur+2*qsp->b)*p->t_cur+qsp->c; in SlopeLess() 180 qs = (3*qsp->a*(p->t_cur+.0001)+2*qsp->b)*(p->t_cur+.0001)+qsp->c; in SlopeLess() 181 ps = (3*psp->a*(p->t_cur+.0001)+2*psp->b)*(p->t_cur+.0001)+psp->c; in SlopeLess() 189 ms = (3*msp->a*(e->t_cur+.0001)+2*msp->b)*(e->t_cur+.0001)+msp->c; in SlopeLess() 193 if ( e->t_cur-e->tmin > e->tmax-e->t_cur ) { os = -os; ms = -ms; } in SlopeLess() 194 if ( p->t_cur-p->tmin > p->tmax-p->t_cur ) { ps = -ps; qs = -qs; } in SlopeLess() 278 e->o_cur = ( ((osp->a*e->t_cur+osp->b)*e->t_cur+osp->c)*e->t_cur + osp->d ) * es->scale; in AddEdge() [all …]
|
/dports/devel/fstrm/fstrm-0.6.1/t/ |
H A D | test_writer_hello.c | 53 static struct test_buf *t_cur = &t_head; variable 104 t_cur->next = my_calloc(1, sizeof(struct test_buf)); in test_rdwr_write() 105 t_cur = t_cur->next; in test_rdwr_write() 106 t_cur->len = iov[i].iov_len; in test_rdwr_write() 107 t_cur->data = my_calloc(1, t_cur->len); in test_rdwr_write() 108 memmove(t_cur->data, iov[i].iov_base, iov[i].iov_len); in test_rdwr_write()
|
/dports/science/code_saturne/code_saturne-7.1.0/src/cdo/ |
H A D | cs_domain_op.c | 294 cs_property_get_fourier(pty, time_step->t_cur, time_step->dt[0], fourier); in _post_fourier_number() 435 cs_advection_field_update(domain->time_step->t_cur, true); in cs_domain_post() 691 cs_real_t t_cur = 0; in cs_domain_read_restart() local 697 &t_cur); in cs_domain_read_restart() 704 domain->time_step->t_cur = t_cur; in cs_domain_read_restart() 705 cs_time_step_redefine_cur(nt_cur, t_cur); in cs_domain_read_restart() 706 cs_time_step_define_prev(nt_cur, t_cur); in cs_domain_read_restart() 839 cs_real_t ttcabs = domain->time_step->t_cur; in cs_domain_write_restart()
|
H A D | cs_cdo_main.c | 119 if (ts->t_cur + ts->dt[0] >= ts->t_max) in _is_last_iter() 423 const double t_cur = ts->t_cur; in _define_current_time_step() local 427 ts->dt[0] = cs_property_get_cell_value(0, t_cur, cs_dt_pty); in _define_current_time_step() 466 const double t_cur = ts->t_cur; in _solve_domain() local 472 nt_cur + 1, t_cur, t_cur + dt_cur, dt_cur); in _solve_domain()
|
H A D | cs_domain.c | 373 if (ts->t_cur >= ts->t_max) in cs_domain_needs_iteration() 443 double t = ts->t_cur + z; in cs_domain_increment_time() 445 cs_domain_kahan_time_compensation = (t - ts->t_cur) - z; in cs_domain_increment_time() 446 ts->t_cur = t; in cs_domain_increment_time()
|
H A D | cs_cdofb_scaleq.c | 1804 const cs_real_t t_cur = ts->t_cur; in cs_cdofb_scaleq_solve_implicit() local 2116 const cs_real_t t_cur = ts->t_cur; in cs_cdofb_scaleq_solve_theta() local 2127 cb->t_bc_eval = t_cur + dt_cur; in cs_cdofb_scaleq_solve_theta() 2128 cb->t_st_eval = t_cur + dt_cur; in cs_cdofb_scaleq_solve_theta() 2435 const cs_real_t t_cur = ts->t_cur; in cs_cdofb_scaleq_balance() local 2444 cb->t_pty_eval = t_cur; in cs_cdofb_scaleq_balance() 2445 cb->t_bc_eval = t_cur; in cs_cdofb_scaleq_balance() 2446 cb->t_st_eval = t_cur; in cs_cdofb_scaleq_balance() 2450 cb->t_bc_eval = t_cur + dt_cur; in cs_cdofb_scaleq_balance() 2451 cb->t_st_eval = t_cur + dt_cur; in cs_cdofb_scaleq_balance() [all …]
|
H A D | cs_gwf.c | 141 cs_real_t time_eval = ts->t_cur; in _get_time_eval() 165 time_eval = ts->t_cur + theta*dt_cur; in _get_time_eval() 167 time_eval = ts->t_cur; in _get_time_eval() 172 time_eval = ts->t_cur + theta*dt_cur; in _get_time_eval() 730 cs_real_t time_eval = ts->t_cur; in _sspf_updates() 1101 cs_real_t time_eval = ts->t_cur; in _uspf_updates() 1572 cs_real_t time_eval = ts->t_cur; in _mtpf_updates() 2575 time_step->t_cur, in cs_gwf_compute_steady_state() 2825 cs_property_eval_at_cells(time_step->t_cur, in cs_gwf_extra_post_sspf() 2851 cs_property_eval_at_cells(time_step->t_cur, in cs_gwf_extra_post_sspf() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/util/ |
H A D | numinput.c | 404 int t_cur = cur = n->str_cur; in handleNumInput() local 408 BLI_str_cursor_step_utf8(n->str, strlen(n->str), &t_cur, dir, mode, true); in handleNumInput() 409 if (t_cur != cur) { in handleNumInput() 410 if (t_cur < cur) { in handleNumInput() 411 SWAP(int, t_cur, cur); in handleNumInput() 415 memmove(&n->str[cur], &n->str[t_cur], strlen(&n->str[t_cur]) + 1); in handleNumInput()
|
/dports/print/fontforge/fontforge-20201107/fontforge/ |
H A D | splinefill.c | 138 real os = (3*osp->a*e->t_cur+2*osp->b)*e->t_cur+osp->c, in SlopeLess() 139 ps = (3*psp->a*p->t_cur+2*psp->b)*p->t_cur+psp->c; in SlopeLess() 140 real ms = (3*msp->a*e->t_cur+2*msp->b)*e->t_cur+msp->c, in SlopeLess() 141 qs = (3*qsp->a*p->t_cur+2*qsp->b)*p->t_cur+qsp->c; in SlopeLess() 149 qs = (3*qsp->a*(p->t_cur+.0001)+2*qsp->b)*(p->t_cur+.0001)+qsp->c; in SlopeLess() 150 ps = (3*psp->a*(p->t_cur+.0001)+2*psp->b)*(p->t_cur+.0001)+psp->c; in SlopeLess() 158 ms = (3*msp->a*(e->t_cur+.0001)+2*msp->b)*(e->t_cur+.0001)+msp->c; in SlopeLess() 162 if ( e->t_cur-e->tmin > e->tmax-e->t_cur ) { os = -os; ms = -ms; } in SlopeLess() 163 if ( p->t_cur-p->tmin > p->tmax-p->t_cur ) { ps = -ps; qs = -qs; } in SlopeLess() 247 e->o_cur = ( ((osp->a*e->t_cur+osp->b)*e->t_cur+osp->c)*e->t_cur + osp->d ) * es->scale; in AddEdge() [all …]
|