/dports/graphics/openfx-misc/openfx-misc-3ab0531/Distortion/ |
H A D | DistortionModel.h | 202 OfxPointD p_unit; in map_pix_to_dn() local 204 map_unit_to_dn(p_unit, p_dn); in map_pix_to_dn() 211 OfxPointD p_unit; in map_dn_to_pix() local 212 map_dn_to_unit(p_dn, &p_unit); in map_dn_to_pix() 213 map_unit_to_pix(p_unit, p_pix); in map_dn_to_pix() 230 p_unit->x = p_cm_x / _w_fb_cm; in map_dn_to_unit() 231 p_unit->y = p_cm_y / _h_fb_cm; in map_dn_to_unit() 245 p_unit->x = map_in_fov_x(x_s); 246 p_unit->y = map_in_fov_y(y_s); 263 p_unit->x = map_in_fov_x(x_s); in map_pix_to_unit() [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/contrib/python-bindings/tests/ |
H A D | mapping_wrapper.py | 28 p_unit = Point([0.5, 0.5]) 31 p_real = mapping.transform_unit_to_real_cell(cell, p_unit) 34 self.assertTrue(p_unit.distance(p_unit_back) < 1e-10) 45 p_unit = Point([0.5, 0.5]) 48 p_real = mapping.transform_unit_to_real_cell(cell, p_unit) 51 self.assertTrue(p_unit.distance(p_unit_back) < 1e-10)
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/base/ |
H A D | function_lib.cc | 2411 (void)p_unit; in gradient_interpolate() 2431 ((1 - p_unit[1]) * (u01 - u00) + p_unit[1] * (u11 - u10)) / dx[0]; in gradient_interpolate() 2433 ((1 - p_unit[0]) * (u10 - u00) + p_unit[0] * (u11 - u01)) / dx[1]; in gradient_interpolate() 2456 ((1 - p_unit[1]) * (u001 - u000) + p_unit[1] * (u011 - u010)) + in gradient_interpolate() 2457 p_unit[2] * in gradient_interpolate() 2462 ((1 - p_unit[0]) * (u010 - u000) + p_unit[0] * (u011 - u001)) + in gradient_interpolate() 2463 p_unit[2] * in gradient_interpolate() 2468 ((1 - p_unit[0]) * (u100 - u000) + p_unit[0] * (u101 - u001)) + in gradient_interpolate() 2469 p_unit[1] * in gradient_interpolate() 2593 p_unit[d] = in gradient() [all …]
|
/dports/astro/oskar/OSKAR-2.8.0/oskar/vis/src/ |
H A D | oskar_vis_header_write_ms.c | 69 double p_unit[3], q_unit[3], meridian_normal[3]; in projection_matrix() local 74 cross(q_unit, r_unit, p_unit); in projection_matrix() 75 norm(p_unit); in projection_matrix() 76 m[0] = p_unit[0]; m[1] = q_unit[0]; m[2] = r_unit[0]; in projection_matrix() 77 m[3] = p_unit[1]; m[4] = q_unit[1]; m[5] = r_unit[1]; in projection_matrix() 78 m[6] = p_unit[2]; m[7] = q_unit[2]; m[8] = r_unit[2]; in projection_matrix()
|
/dports/astro/py-astropy/astropy-5.0/astropy/units/tests/ |
H A D | test_structured.py | 20 self.p_unit = u.km 46 assert su['p'] is self.p_unit 50 assert su2['pv']['p'] is self.p_unit 69 assert su['pv']['p'] is self.p_unit 75 assert su2['p_v']['p'] is self.p_unit 299 su2 = StructuredUnit((self.p_unit, self.v_unit), 309 self.pv_t['pv']['p'] * self.p_unit) 332 assert pv_times_au['p'] == self.p_unit * u.AU 349 assert pv_by_s['p'] == self.p_unit / u.s 437 assert q2['p'].unit == self.p_unit [all …]
|
/dports/misc/otter/otter-3.3f/mace2/ |
H A D | dp.c | 199 p_unit(lit); in unit_enqueue() 240 p_unit(lit); in unit_dequeue() 278 p_unit(-(c->neg[j])); in MACE_pp_clause() 280 p_unit(c->pos[j]); in MACE_pp_clause() 297 p_unit(-atom); in MACE_pp_clause_active() 302 p_unit(atom); in MACE_pp_clause_active() 701 p_unit(Assignments[i]); in print_initial_assignments() 720 p_unit(Assignments[k]); in print_assignments() 818 p_unit(lit); printf("\n"); in assign() 1022 p_unit(lit); in dp() [all …]
|
/dports/databases/mantis/mantisbt-2.25.2/admin/check/ |
H A D | check_api.php | 274 * @param string $p_unit Printed after number 277 function check_format_number( $p_number, $p_unit = 'bytes' ) { argument 278 return number_format( (float)$p_number ) . ' ' . $p_unit;
|
/dports/net-mgmt/zabbix5-proxy/zabbix-5.0.19/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix4-proxy/zabbix-4.0.30/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix5-agent/zabbix-5.0.19/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix54-server/zabbix-5.4.9/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix54-agent/zabbix-5.4.9/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix5-server/zabbix-5.0.19/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix54-proxy/zabbix-5.4.9/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix5-java/zabbix-5.0.19/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix4-server/zabbix-4.0.30/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix5-frontend/zabbix-5.0.19/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix54-java/zabbix-5.4.9/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix54-frontend/zabbix-5.4.9/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix3-proxy/zabbix-3.0.32/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 256 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 286 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 292 *p_unit++ = '\0'; in byte_value_from_proc_file() 303 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 305 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 307 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 309 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 311 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix3-java/zabbix-3.0.32/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 256 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 286 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 292 *p_unit++ = '\0'; in byte_value_from_proc_file() 303 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 305 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 307 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 309 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 311 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix3-server/zabbix-3.0.32/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 256 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 286 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 292 *p_unit++ = '\0'; in byte_value_from_proc_file() 303 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 305 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 307 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 309 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 311 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix4-frontend/zabbix-4.0.30/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix4-java/zabbix-4.0.30/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 261 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 297 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 303 *p_unit++ = '\0'; in byte_value_from_proc_file() 314 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 316 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 318 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 320 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 322 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|
/dports/net-mgmt/zabbix3-agent/zabbix-3.0.32/src/libs/zbxsysinfo/linux/ |
H A D | proc.c | 256 char buf[MAX_STRING_LEN], *p_value, *p_unit; in byte_value_from_proc_file() local 286 if (NULL == (p_unit = strrchr(p_value, ' '))) in byte_value_from_proc_file() 292 *p_unit++ = '\0'; in byte_value_from_proc_file() 303 zbx_rtrim(p_unit, "\n"); in byte_value_from_proc_file() 305 if (0 == strcasecmp(p_unit, "kB")) in byte_value_from_proc_file() 307 else if (0 == strcasecmp(p_unit, "mB")) in byte_value_from_proc_file() 309 else if (0 == strcasecmp(p_unit, "GB")) in byte_value_from_proc_file() 311 else if (0 == strcasecmp(p_unit, "TB")) in byte_value_from_proc_file()
|