Home
last modified time | relevance | path

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

/dports/math/lib2geom/lib2geom-1.1/src/toys/
H A Dpwsbhandle.cpp3 unsigned handles_per_curve, curve_size, segs; member in PWSBHandle
15 for(unsigned i = 0; i < handles_per_curve; i+=curve_size) { in value()
18 for(unsigned j = i; j < i + curve_size; j++) in value()
21 for(unsigned j = i; j < i + curve_size; j++) in value()
50 for(unsigned i = curve_size; i < handles_per_curve; i+=curve_size) { in move_to()
53 for(unsigned i = 0; i < handles_per_curve; i+=curve_size) { in move_to()
54 for(unsigned j = 1; j < (curve_size-1); j++) { in move_to()
55 double t = float(j)/(curve_size-1); in move_to()
56 base[i+j][0] = (1 - t)*base[i][0] + t*base[i+curve_size-1][0]; in move_to()
65 assert(n == curve_size*segs); in load()
[all …]
H A Dpw-toy.py57 self.curve_size = cs
64 for i in range(0, self.handles_per_curve, self.curve_size):
66 for j in range(i, i + self.curve_size):
68 hnd = self.pts[i:i+self.curve_size]
69 pws.push_seg( bez_to_sbasis(hnd, self.curve_size-1));
70 for j in range(i, i + self.curve_size):
93 for i in range(self.curve_size, self.handles_per_curve, self.curve_size):
96 for i in range(0, self.handles_per_curve, self.curve_size):
97 for j in range(1, (self.curve_size-1)):
98 t = float(j)/(self.curve_size-1)
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/src/toys/
H A Dpwsbhandle.cpp3 unsigned handles_per_curve, curve_size, segs; member in PWSBHandle
15 for(unsigned i = 0; i < handles_per_curve; i+=curve_size) { in value()
18 for(unsigned j = i; j < i + curve_size; j++) in value()
21 for(unsigned j = i; j < i + curve_size; j++) in value()
50 for(unsigned i = curve_size; i < handles_per_curve; i+=curve_size) { in move_to()
53 for(unsigned i = 0; i < handles_per_curve; i+=curve_size) { in move_to()
54 for(unsigned j = 1; j < (curve_size-1); j++) { in move_to()
55 double t = float(j)/(curve_size-1); in move_to()
56 base[i+j][0] = (1 - t)*base[i][0] + t*base[i+curve_size-1][0]; in move_to()
65 assert(n == curve_size*segs); in load()
[all …]
H A Dpw-toy.py57 self.curve_size = cs
64 for i in range(0, self.handles_per_curve, self.curve_size):
66 for j in range(i, i + self.curve_size):
68 hnd = self.pts[i:i+self.curve_size]
69 pws.push_seg( bez_to_sbasis(hnd, self.curve_size-1));
70 for j in range(i, i + self.curve_size):
93 for i in range(self.curve_size, self.handles_per_curve, self.curve_size):
96 for i in range(0, self.handles_per_curve, self.curve_size):
97 for j in range(1, (self.curve_size-1)):
98 t = float(j)/(self.curve_size-1)
[all …]
/dports/security/gnutls/gnutls-3.6.16/tests/
H A Dpriorities-groups.c36 unsigned curve_size, const unsigned int *curve_list) in try_prio() argument
63 if ((unsigned)ret != curve_size) { in try_prio()
64 fail("%s: EC curve size (%d) doesn't match expected (%d)\n", prio, ret, curve_size); in try_prio()
67 for (i=0;i<curve_size;i++) { in try_prio()
/dports/security/R-cran-openssl/openssl/R/
H A Dssh2.R132 curve_size <- length(ec_point)/2 functionVar
133 x <- utils::head(ec_point, curve_size)
134 y <- utils::tail(ec_point, curve_size)
150 curve_size <- length(ec_point)/2 functionVar
151 x <- utils::head(ec_point, curve_size)
152 y <- utils::tail(ec_point, curve_size)
/dports/devel/premake5/premake-5.0.0-alpha16-src/contrib/mbedtls/tests/src/drivers/
H A Dkey_management.c165 size_t curve_size = data_length; in test_transparent_validate_key() local
178 curve_size = data_length / 2; in test_transparent_validate_key()
187 grp_id = mbedtls_ecc_group_of_psa( curve, curve_size ); in test_transparent_validate_key()
/dports/x11-clocks/bclock/bclock-1.0/
H A DClockP.h53 float curve_size; member
H A DClock.c76 offset (curve_size), XtRString, "0.1"},
94 #define CURVE_SIZE(w) ((w)->clock.curve_size)
/dports/graphics/blender/blender-2.91.0/intern/cycles/render/
H A Dgeometry.cpp791 size_t curve_size = 0; in mesh_calc_offset() local
834 hair->prim_offset = curve_size; in mesh_calc_offset()
837 curve_size += hair->num_curves(); in mesh_calc_offset()
853 size_t curve_size = 0; in device_update_mesh() local
879 curve_size += hair->num_curves(); in device_update_mesh()
945 if (curve_size != 0) { in device_update_mesh()
949 float4 *curves = dscene->curves.alloc(curve_size); in device_update_mesh()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/third_party/skcms/
H A Dskcms.cc420 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_para() argument
438 if (curve_size) { in read_curve_para()
439 *curve_size = SAFE_FIXED_SIZE(para_Layout) + curve_bytes[function_type]; in read_curve_para()
496 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_curv() argument
508 if (curve_size) { in read_curve_curv()
509 *curve_size = SAFE_FIXED_SIZE(curv_Layout) + value_count * SAFE_SIZEOF(uint16_t); in read_curve_curv()
539 skcms_Curve* curve, uint32_t* curve_size) { in read_curve() argument
546 return read_curve_para(buf, size, curve, curve_size); in read_curve()
548 return read_curve_curv(buf, size, curve, curve_size); in read_curve()
/dports/graphics/libjxl/libjxl-0.6.1/third_party/skcms/
H A Dskcms.cc417 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_para() argument
435 if (curve_size) { in read_curve_para()
436 *curve_size = SAFE_FIXED_SIZE(para_Layout) + curve_bytes[function_type]; in read_curve_para()
493 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_curv() argument
505 if (curve_size) { in read_curve_curv()
506 *curve_size = SAFE_FIXED_SIZE(curv_Layout) + value_count * SAFE_SIZEOF(uint16_t); in read_curve_curv()
536 skcms_Curve* curve, uint32_t* curve_size) { in read_curve() argument
543 return read_curve_para(buf, size, curve, curve_size); in read_curve()
545 return read_curve_curv(buf, size, curve, curve_size); in read_curve()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/third_party/skcms/
H A Dskcms.cc410 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_para() argument
428 if (curve_size) { in read_curve_para()
429 *curve_size = SAFE_FIXED_SIZE(para_Layout) + curve_bytes[function_type]; in read_curve_para()
486 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_curv() argument
498 if (curve_size) { in read_curve_curv()
499 *curve_size = SAFE_FIXED_SIZE(curv_Layout) + value_count * SAFE_SIZEOF(uint16_t); in read_curve_curv()
529 skcms_Curve* curve, uint32_t* curve_size) { in read_curve() argument
536 return read_curve_para(buf, size, curve, curve_size); in read_curve()
538 return read_curve_curv(buf, size, curve, curve_size); in read_curve()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/third_party/skcms/
H A Dskcms.cc433 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_para() argument
451 if (curve_size) { in read_curve_para()
452 *curve_size = SAFE_FIXED_SIZE(para_Layout) + curve_bytes[function_type]; in read_curve_para()
509 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_curv() argument
521 if (curve_size) { in read_curve_curv()
522 *curve_size = SAFE_FIXED_SIZE(curv_Layout) + value_count * SAFE_SIZEOF(uint16_t); in read_curve_curv()
552 skcms_Curve* curve, uint32_t* curve_size) { in read_curve() argument
559 return read_curve_para(buf, size, curve, curve_size); in read_curve()
561 return read_curve_curv(buf, size, curve, curve_size); in read_curve()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/third_party/skcms/
H A Dskcms.cc430 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_para() argument
448 if (curve_size) { in read_curve_para()
449 *curve_size = SAFE_FIXED_SIZE(para_Layout) + curve_bytes[function_type]; in read_curve_para()
506 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_curv() argument
518 if (curve_size) { in read_curve_curv()
519 *curve_size = SAFE_FIXED_SIZE(curv_Layout) + value_count * SAFE_SIZEOF(uint16_t); in read_curve_curv()
549 skcms_Curve* curve, uint32_t* curve_size) { in read_curve() argument
556 return read_curve_para(buf, size, curve, curve_size); in read_curve()
558 return read_curve_curv(buf, size, curve, curve_size); in read_curve()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/third_party/skcms/
H A Dskcms.cc420 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_para() argument
438 if (curve_size) { in read_curve_para()
439 *curve_size = SAFE_FIXED_SIZE(para_Layout) + curve_bytes[function_type]; in read_curve_para()
496 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_curv() argument
508 if (curve_size) { in read_curve_curv()
509 *curve_size = SAFE_FIXED_SIZE(curv_Layout) + value_count * SAFE_SIZEOF(uint16_t); in read_curve_curv()
539 skcms_Curve* curve, uint32_t* curve_size) { in read_curve() argument
546 return read_curve_para(buf, size, curve, curve_size); in read_curve()
548 return read_curve_curv(buf, size, curve, curve_size); in read_curve()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/third_party/skcms/
H A Dskcms.cc420 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_para() argument
438 if (curve_size) { in read_curve_para()
439 *curve_size = SAFE_FIXED_SIZE(para_Layout) + curve_bytes[function_type]; in read_curve_para()
496 skcms_Curve* curve, uint32_t* curve_size) { in read_curve_curv() argument
508 if (curve_size) { in read_curve_curv()
509 *curve_size = SAFE_FIXED_SIZE(curv_Layout) + value_count * SAFE_SIZEOF(uint16_t); in read_curve_curv()
539 skcms_Curve* curve, uint32_t* curve_size) { in read_curve() argument
546 return read_curve_para(buf, size, curve, curve_size); in read_curve()
548 return read_curve_curv(buf, size, curve, curve_size); in read_curve()
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/plugins/
H A Dgate.cpp75 size_t curve_size = (gate_base_metadata::CURVE_MESH_SIZE) * sizeof(float); in init() local
77 … size_t allocate = buf_size * channels * 5 + curve_size + history_size + DEFAULT_ALIGN; in init()
84 ptr += curve_size; in init()
H A Dexpander.cpp75 size_t curve_size = (expander_base_metadata::CURVE_MESH_SIZE) * sizeof(float); in init() local
77 … size_t allocate = buf_size * channels * 5 + curve_size + history_size + DEFAULT_ALIGN; in init()
84 ptr += curve_size; in init()
H A Ddyna_processor.cpp75 size_t curve_size = (dyna_processor_base_metadata::CURVE_MESH_SIZE) * sizeof(float); in init() local
77 … size_t allocate = buf_size * channels * 5 + curve_size + history_size + DEFAULT_ALIGN; in init()
84 ptr += curve_size; in init()
H A Dcompressor.cpp75 size_t curve_size = (compressor_base_metadata::CURVE_MESH_SIZE) * sizeof(float); in init() local
77 … size_t allocate = buf_size * channels * 5 + curve_size + history_size + DEFAULT_ALIGN; in init()
84 ptr += curve_size; in init()
/dports/security/dropbear/dropbear-2020.81/
H A Dkeyimport.c1139 const long curve_size = (*eck)->dp->size; in openssh_write() local
1142 unsigned long pubkey_size = 2*curve_size+1; in openssh_write()
1154 dropbear_assert(k_size <= curve_size); in openssh_write()
/dports/devel/premake5/premake-5.0.0-alpha16-src/contrib/mbedtls/library/
H A Dpsa_crypto.c757 size_t curve_size = data_length; in psa_load_ecp_representation() local
770 curve_size = data_length / 2; in psa_load_ecp_representation()
787 curve_size ); in psa_load_ecp_representation()
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/ext/mbedtls/
H A Dpsa_crypto.c757 size_t curve_size = data_length; in psa_load_ecp_representation() local
770 curve_size = data_length / 2; in psa_load_ecp_representation()
787 curve_size ); in psa_load_ecp_representation()
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/ext/mbedtls/
H A Dpsa_crypto.c757 size_t curve_size = data_length; in psa_load_ecp_representation() local
770 curve_size = data_length / 2; in psa_load_ecp_representation()
787 curve_size ); in psa_load_ecp_representation()