Home
last modified time | relevance | path

Searched refs:prev_x (Results 1 – 25 of 671) sorted by relevance

12345678910>>...27

/dports/comms/nanovna-saver/nanovna-saver-0.3.8/NanoVNASaver/Charts/
H A DPermeability.py219 prev_x = self.getXPosition(self.data[i - 1])
227 qp.drawLine(x, y_re, prev_x, prev_y_re)
229 new_x, new_y = self.getPlotable(x, y_re, prev_x, prev_y_re)
233 qp.drawLine(prev_x, prev_y_re, new_x, new_y)
239 qp.drawLine(x, y_im, prev_x, prev_y_im)
245 qp.drawLine(prev_x, prev_y_im, new_x, new_y)
279 prev_x = self.getXPosition(self.reference[i - 1])
287 qp.drawLine(x, y_re, prev_x, prev_y_re)
293 qp.drawLine(prev_x, prev_y_re, new_x, new_y)
299 qp.drawLine(x, y_im, prev_x, prev_y_im)
[all …]
H A DRI.py301 prev_x = self.getXPosition(self.data[i - 1])
309 qp.drawLine(x, y_re, prev_x, prev_y_re)
311 new_x, new_y = self.getPlotable(x, y_re, prev_x, prev_y_re)
315 qp.drawLine(prev_x, prev_y_re, new_x, new_y)
321 qp.drawLine(x, y_im, prev_x, prev_y_im)
327 qp.drawLine(prev_x, prev_y_im, new_x, new_y)
361 prev_x = self.getXPosition(self.reference[i - 1])
369 qp.drawLine(x, y_re, prev_x, prev_y_re)
375 qp.drawLine(prev_x, prev_y_re, new_x, new_y)
381 qp.drawLine(x, y_im, prev_x, prev_y_im)
[all …]
/dports/math/faiss/faiss-1.7.1/faiss/
H A DIndexPreTransform.cpp68 const float* prev_x = x; in train() local
88 ltrans->train(n, prev_x); in train()
94 index->train(n, prev_x); in train()
104 if (prev_x != x) in train()
105 delete[] prev_x; in train()
106 prev_x = xt; in train()
114 const float* prev_x = x; in apply_chain() local
121 prev_x = xt; in apply_chain()
124 return prev_x; in apply_chain()
134 ScopeDeleter<float> del2((prev_x == x) ? nullptr : prev_x); in reverse_chain()
[all …]
/dports/net-im/telegram-purple/telegram-purple-1.4.3/tgl/crypto/
H A Daes_altern.c71 unsigned char *prev_x = buf; in do_ige_encrypt() local
73 memcpy (prev_x, ivec + 16, 16); in do_ige_encrypt()
88 do_xor_block (tmp, prev_x, out); in do_ige_encrypt()
94 cur_x = prev_x; in do_ige_encrypt()
95 prev_x = tmp_x; in do_ige_encrypt()
100 memcpy (ivec + 16, prev_x, 16); in do_ige_encrypt()
113 const unsigned char *prev_x = ivec + 16; in do_ige_decrypt() local
122 do_xor_block (in, prev_x, out); in do_ige_decrypt()
128 prev_x = out; // decrypted is in 'out' in do_ige_decrypt()
/dports/net-im/telegram-cli/tg-20200106/tgl/crypto/
H A Daes_altern.c71 unsigned char *prev_x = buf; in do_ige_encrypt() local
73 memcpy (prev_x, ivec + 16, 16); in do_ige_encrypt()
88 do_xor_block (tmp, prev_x, out); in do_ige_encrypt()
94 cur_x = prev_x; in do_ige_encrypt()
95 prev_x = tmp_x; in do_ige_encrypt()
100 memcpy (ivec + 16, prev_x, 16); in do_ige_encrypt()
113 const unsigned char *prev_x = ivec + 16; in do_ige_decrypt() local
122 do_xor_block (in, prev_x, out); in do_ige_decrypt()
128 prev_x = out; // decrypted is in 'out' in do_ige_decrypt()
/dports/cad/openroad/OpenROAD-2.0/src/OpenDB/src/defin/
H A Dcreate_box.cpp43 int prev_x, in create_box() argument
57 if ((cur_x == prev_x) && (cur_y == prev_y)) // single point in create_box()
62 prev_x, in create_box()
67 } else if (cur_x == prev_x) // vert. path in create_box()
100 if (cur_x > prev_x) { in create_box()
102 x1 = prev_x - prev_ext; in create_box()
104 x1 = prev_x; in create_box()
117 x2 = prev_x + prev_ext; in create_box()
119 x2 = prev_x; in create_box()
122 } else if (abs(cur_x - prev_x) == abs(cur_y - prev_y)) { // 45-degree path in create_box()
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/usvg-0.11.0/src/tree/
H A Dpathdata.rs341 let mut prev_x = 0.0; in calc_bbox() localVariable
349 prev_x = x; in calc_bbox()
361 prev_x = x; in calc_bbox()
396 let mut prev_x = 0.0; in calc_bbox_with_transform() localVariable
404 prev_x = x; in calc_bbox_with_transform()
416 prev_x = x; in calc_bbox_with_transform()
457 let mut prev_x = 0.0; in has_bbox() localVariable
465 prev_x = x; in has_bbox()
477 prev_x = x; in has_bbox()
519 let start_x = prev_x; in calc_length()
[all …]
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/usvg-0.9.0/src/tree/
H A Dpathdata.rs341 let mut prev_x = 0.0; in calc_bbox() localVariable
349 prev_x = x; in calc_bbox()
361 prev_x = x; in calc_bbox()
396 let mut prev_x = 0.0; in calc_bbox_with_transform() localVariable
404 prev_x = x; in calc_bbox_with_transform()
416 prev_x = x; in calc_bbox_with_transform()
457 let mut prev_x = 0.0; in has_bbox() localVariable
465 prev_x = x; in has_bbox()
477 prev_x = x; in has_bbox()
519 let start_x = prev_x; in calc_length()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/tools/cargo/crates/cargo-test-support/src/
H A Ddiff.rs28 for (prev_x, prev_y, x, y) in backtrack(&a, &b) { in diff()
29 if x == prev_x { in diff()
32 diff.push(Change::Remove(prev_x + 1, &a[prev_x])); in diff()
34 diff.push(Change::Keep(prev_x + 1, prev_y + 1, &a[prev_x])); in diff()
89 let prev_x = v[max - d + prev_k]; in backtrack() localVariable
90 let prev_y = (prev_x + d).saturating_sub(prev_k); in backtrack()
91 while x > prev_x && y > prev_y { in backtrack()
97 result.push((prev_x, prev_y, x, y)); in backtrack()
99 x = prev_x; in backtrack()
/dports/graphics/sswf/sswf-1.8.4/samples/libya/
H A Dlibya.sswf2714 dx = prev_x - next_x;
2721 matrix { translate: prev_x + (next_x - prev_x) * i * 1.0 / cnt,
2733 list { prev_x = 218; prev_y = 4; next_x = 181; next_y = 88; move; };
2909 list { prev_x = 316; prev_y = 0; next_x = 368; next_y = 83; move; };
2910 list { prev_x = 368; prev_y = 83; next_x = 476; next_y = 97; move; };
3039 list { prev_x = 181; prev_y = 88; next_x = 194; next_y = 66; move; };
3045 list { prev_x = 194; prev_y = 66; next_x = 210; next_y = 75; move; };
3046 list { prev_x = 210; prev_y = 75; next_x = 231; next_y = 77; move; };
3047 list { prev_x = 231; prev_y = 77; next_x = 239; next_y = 85; move; };
3053 list { prev_x = 239; prev_y = 85; next_x = 231; next_y = 77; move; };
[all …]
/dports/graphics/pstoedit/pstoedit-3.70/src/
H A Dfillpoly.cpp143 double prev_x = curr_x; in inside() local
165 const double dx = prev_x - curr_x, in inside()
169 if (prev_x >= -curr_x) in inside()
172 distance = (prev_x * dy) / dx - prev_y; in inside()
177 distance = prev_x - (prev_y * dx) / dy; in inside()
193 const double dx = curr_x - prev_x, in inside()
197 if (-prev_x >= curr_x) in inside()
221 const double dx = prev_x - curr_x, in inside()
224 if (prev_x >= -curr_x) in inside()
248 const double dx = curr_x - prev_x, in inside()
[all …]
/dports/x11-wm/mutter/mutter-41.1/src/backends/native/
H A Dmeta-barrier-native.c218 .x = prev_x, in maybe_release_barriers()
307 .x = prev_x, in get_closest_barrier()
337 float prev_x; member
455 data->prev_x, in maybe_emit_barrier_event()
510 float prev_x; in meta_barrier_manager_native_process_in_impl() local
524 prev_x = prev_pos.x; in meta_barrier_manager_native_process_in_impl()
528 if (prev_x < *x) in meta_barrier_manager_native_process_in_impl()
530 else if (prev_x > *x) in meta_barrier_manager_native_process_in_impl()
542 prev_x, prev_y, in meta_barrier_manager_native_process_in_impl()
557 .prev_x = prev_x, in meta_barrier_manager_native_process_in_impl()
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/svgtypes-0.5.0/src/path/
H A Dmod.rs30 let mut prev_x = 0.0; in conv_to_absolute() localVariable
42 prev_x = prev_mx; in conv_to_absolute()
56 offset_x = prev_x; in conv_to_absolute()
76 prev_x = seg.x().unwrap(); in conv_to_absolute()
80 prev_x = seg.x().unwrap(); in conv_to_absolute()
95 let mut prev_x = 0.0; in conv_to_relative() localVariable
107 prev_x = prev_mx; in conv_to_relative()
121 offset_x = prev_x; in conv_to_relative()
132 prev_x = seg.x().unwrap(); in conv_to_relative()
136 prev_x = seg.x().unwrap(); in conv_to_relative()
[all …]
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/svgtypes-0.5.0/src/path/
H A Dmod.rs30 let mut prev_x = 0.0; in conv_to_absolute() localVariable
42 prev_x = prev_mx; in conv_to_absolute()
56 offset_x = prev_x; in conv_to_absolute()
76 prev_x = seg.x().unwrap(); in conv_to_absolute()
80 prev_x = seg.x().unwrap(); in conv_to_absolute()
95 let mut prev_x = 0.0; in conv_to_relative() localVariable
107 prev_x = prev_mx; in conv_to_relative()
121 offset_x = prev_x; in conv_to_relative()
132 prev_x = seg.x().unwrap(); in conv_to_relative()
136 prev_x = seg.x().unwrap(); in conv_to_relative()
[all …]
/dports/emulators/mess/mame-mame0226/src/devices/bus/dmv/
H A Dk806.cpp87 save_item(NAME(m_mouse.prev_x)); in device_start()
105 m_mouse.prev_x = m_mouse.prev_y = 0; in device_reset()
218 m_mouse.xa = m_mouse.x > m_mouse.prev_x ? CLEAR_LINE : ASSERT_LINE; in TIMER_DEVICE_CALLBACK_MEMBER()
219 m_mouse.xb = m_mouse.x < m_mouse.prev_x ? CLEAR_LINE : ASSERT_LINE; in TIMER_DEVICE_CALLBACK_MEMBER()
224 m_mouse.xa = m_mouse.xb = m_mouse.x != m_mouse.prev_x ? CLEAR_LINE : ASSERT_LINE; in TIMER_DEVICE_CALLBACK_MEMBER()
228 m_mouse.xa = m_mouse.x < m_mouse.prev_x ? CLEAR_LINE : ASSERT_LINE; in TIMER_DEVICE_CALLBACK_MEMBER()
229 m_mouse.xb = m_mouse.x > m_mouse.prev_x ? CLEAR_LINE : ASSERT_LINE; in TIMER_DEVICE_CALLBACK_MEMBER()
236 m_mouse.prev_x = m_mouse.x; in TIMER_DEVICE_CALLBACK_MEMBER()
/dports/emulators/mame/mame-mame0226/src/devices/bus/dmv/
H A Dk806.cpp87 save_item(NAME(m_mouse.prev_x)); in device_start()
105 m_mouse.prev_x = m_mouse.prev_y = 0; in device_reset()
218 m_mouse.xa = m_mouse.x > m_mouse.prev_x ? CLEAR_LINE : ASSERT_LINE; in TIMER_DEVICE_CALLBACK_MEMBER()
219 m_mouse.xb = m_mouse.x < m_mouse.prev_x ? CLEAR_LINE : ASSERT_LINE; in TIMER_DEVICE_CALLBACK_MEMBER()
224 m_mouse.xa = m_mouse.xb = m_mouse.x != m_mouse.prev_x ? CLEAR_LINE : ASSERT_LINE; in TIMER_DEVICE_CALLBACK_MEMBER()
228 m_mouse.xa = m_mouse.x < m_mouse.prev_x ? CLEAR_LINE : ASSERT_LINE; in TIMER_DEVICE_CALLBACK_MEMBER()
229 m_mouse.xb = m_mouse.x > m_mouse.prev_x ? CLEAR_LINE : ASSERT_LINE; in TIMER_DEVICE_CALLBACK_MEMBER()
236 m_mouse.prev_x = m_mouse.x; in TIMER_DEVICE_CALLBACK_MEMBER()
/dports/science/py-dlib/dlib-19.22/dlib/optimization/
H A Doptimization_search_strategies.h102 delta = (x-prev_x); in get_next_direction()
136 prev_x = x; in get_next_direction()
145 matrix<double,0,1> prev_x; variable
170 prev_x = item.prev_x; in lbfgs_search_strategy()
202 dh_temp.s = x - prev_x; in get_next_direction()
249 prev_x = x; in get_next_direction()
273 matrix<double,0,1> prev_x; variable
/dports/science/dlib-cpp/dlib-19.22/dlib/optimization/
H A Doptimization_search_strategies.h102 delta = (x-prev_x); in get_next_direction()
136 prev_x = x; in get_next_direction()
145 matrix<double,0,1> prev_x; variable
170 prev_x = item.prev_x; in lbfgs_search_strategy()
202 dh_temp.s = x - prev_x; in get_next_direction()
249 prev_x = x; in get_next_direction()
273 matrix<double,0,1> prev_x; variable
/dports/graphics/gle/gle-3.1.0/src/
H A Dtexgen.c64 retval -> prev_x = 0.0; in gleCreateGC()
138 #define prev_x (_gle_gc -> prev_x) macro
179 prev_x = phi; in sphere_texgen()
194 if ((prev_x - phi) > 0.6) { in sphere_texgen()
196 } else if ((prev_x - phi) < -0.6) { in sphere_texgen()
199 prev_x = phi; in sphere_texgen()
273 prev_x = phi; in cylinder_texgen()
277 if ((prev_x - phi) > 0.6) { in cylinder_texgen()
279 } else if ((prev_x - phi) < -0.6) { in cylinder_texgen()
282 prev_x = phi; in cylinder_texgen()
/dports/graphics/freeimage/FreeImage/Source/LibWebP/src/enc/
H A Dpredictor_enc.c549 if ((uint8_t)green_to_red == prev_x.green_to_red_) { in GetPredictionCostCrossColorRed()
569 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenToRed()
593 VP8LMultipliers prev_x, VP8LMultipliers prev_y, in GetPredictionCostCrossColorBlue() argument
602 if ((uint8_t)green_to_blue == prev_x.green_to_blue_) { in GetPredictionCostCrossColorBlue()
608 if ((uint8_t)red_to_blue == prev_x.red_to_blue_) { in GetPredictionCostCrossColorBlue()
640 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenRedToBlue()
675 VP8LMultipliers prev_x, in GetBestColorTransformForTile() argument
723 VP8LMultipliers prev_x, prev_y; in VP8LColorSpaceTransform() local
725 MultipliersClear(&prev_x); in VP8LColorSpaceTransform()
738 prev_x, prev_y, in VP8LColorSpaceTransform()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libwebp/src/enc/
H A Dpredictor_enc.c551 if ((uint8_t)green_to_red == prev_x.green_to_red_) { in GetPredictionCostCrossColorRed()
571 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenToRed()
595 VP8LMultipliers prev_x, VP8LMultipliers prev_y, in GetPredictionCostCrossColorBlue() argument
604 if ((uint8_t)green_to_blue == prev_x.green_to_blue_) { in GetPredictionCostCrossColorBlue()
610 if ((uint8_t)red_to_blue == prev_x.red_to_blue_) { in GetPredictionCostCrossColorBlue()
642 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenRedToBlue()
677 VP8LMultipliers prev_x, in GetBestColorTransformForTile() argument
725 VP8LMultipliers prev_x, prev_y; in VP8LColorSpaceTransform() local
727 MultipliersClear(&prev_x); in VP8LColorSpaceTransform()
740 prev_x, prev_y, in VP8LColorSpaceTransform()
[all …]
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libwebp-sys2-0.1.2/c_src/src/enc/
H A Dpredictor_enc.c551 if ((uint8_t)green_to_red == prev_x.green_to_red_) { in GetPredictionCostCrossColorRed()
571 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenToRed()
595 VP8LMultipliers prev_x, VP8LMultipliers prev_y, in GetPredictionCostCrossColorBlue() argument
604 if ((uint8_t)green_to_blue == prev_x.green_to_blue_) { in GetPredictionCostCrossColorBlue()
610 if ((uint8_t)red_to_blue == prev_x.red_to_blue_) { in GetPredictionCostCrossColorBlue()
642 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenRedToBlue()
677 VP8LMultipliers prev_x, in GetBestColorTransformForTile() argument
725 VP8LMultipliers prev_x, prev_y; in VP8LColorSpaceTransform() local
727 MultipliersClear(&prev_x); in VP8LColorSpaceTransform()
740 prev_x, prev_y, in VP8LColorSpaceTransform()
[all …]
/dports/devel/godot/godot-3.2.3-stable/thirdparty/libwebp/src/enc/
H A Dpredictor_enc.c551 if ((uint8_t)green_to_red == prev_x.green_to_red_) { in GetPredictionCostCrossColorRed()
571 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenToRed()
595 VP8LMultipliers prev_x, VP8LMultipliers prev_y, in GetPredictionCostCrossColorBlue() argument
604 if ((uint8_t)green_to_blue == prev_x.green_to_blue_) { in GetPredictionCostCrossColorBlue()
610 if ((uint8_t)red_to_blue == prev_x.red_to_blue_) { in GetPredictionCostCrossColorBlue()
642 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenRedToBlue()
677 VP8LMultipliers prev_x, in GetBestColorTransformForTile() argument
725 VP8LMultipliers prev_x, prev_y; in VP8LColorSpaceTransform() local
727 MultipliersClear(&prev_x); in VP8LColorSpaceTransform()
740 prev_x, prev_y, in VP8LColorSpaceTransform()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/libwebp/src/enc/
H A Dpredictor_enc.c551 if ((uint8_t)green_to_red == prev_x.green_to_red_) { in GetPredictionCostCrossColorRed()
571 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenToRed()
595 VP8LMultipliers prev_x, VP8LMultipliers prev_y, in GetPredictionCostCrossColorBlue() argument
604 if ((uint8_t)green_to_blue == prev_x.green_to_blue_) { in GetPredictionCostCrossColorBlue()
610 if ((uint8_t)red_to_blue == prev_x.red_to_blue_) { in GetPredictionCostCrossColorBlue()
642 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenRedToBlue()
677 VP8LMultipliers prev_x, in GetBestColorTransformForTile() argument
725 VP8LMultipliers prev_x, prev_y; in VP8LColorSpaceTransform() local
727 MultipliersClear(&prev_x); in VP8LColorSpaceTransform()
740 prev_x, prev_y, in VP8LColorSpaceTransform()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libwebp/src/enc/
H A Dpredictor_enc.c551 if ((uint8_t)green_to_red == prev_x.green_to_red_) { in GetPredictionCostCrossColorRed()
571 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenToRed()
595 VP8LMultipliers prev_x, VP8LMultipliers prev_y, in GetPredictionCostCrossColorBlue() argument
604 if ((uint8_t)green_to_blue == prev_x.green_to_blue_) { in GetPredictionCostCrossColorBlue()
610 if ((uint8_t)red_to_blue == prev_x.red_to_blue_) { in GetPredictionCostCrossColorBlue()
642 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenRedToBlue()
677 VP8LMultipliers prev_x, in GetBestColorTransformForTile() argument
725 VP8LMultipliers prev_x, prev_y; in VP8LColorSpaceTransform() local
727 MultipliersClear(&prev_x); in VP8LColorSpaceTransform()
740 prev_x, prev_y, in VP8LColorSpaceTransform()
[all …]

12345678910>>...27