/dports/graphics/vips/vips-8.12.0/libvips/resample/ |
H A D | transform.c | 55 double det = trn->a * trn->d - trn->b * trn->c; in vips__transform_calc_inverse() 66 trn->ia = tmp * trn->d; in vips__transform_calc_inverse() 67 trn->ib = -tmp * trn->b; in vips__transform_calc_inverse() 68 trn->ic = -tmp * trn->c; in vips__transform_calc_inverse() 69 trn->id = tmp * trn->a; in vips__transform_calc_inverse() 150 trn->a, trn->b, trn->c, trn->d ); in vips__transform_print() 152 trn->odx, trn->ody, trn->idx, trn->idy ); in vips__transform_print() 165 *ox = trn->a * x + trn->b * y + trn->odx; in vips__transform_forward_point() 166 *oy = trn->c * x + trn->d * y + trn->ody; in vips__transform_forward_point() 179 *ox = trn->ia * x + trn->ib * y - trn->idx; in vips__transform_invert_point() [all …]
|
H A D | affine.c | 157 VipsTransformation trn; member 338 ix = affine->trn.ia * ox + affine->trn.ib * oy; in vips_affine_gen() 339 iy = affine->trn.ic * ox + affine->trn.id * oy; in vips_affine_gen() 454 affine->trn.idx = 0; in vips_affine_build() 455 affine->trn.idy = 0; in vips_affine_build() 456 affine->trn.odx = 0; in vips_affine_build() 457 affine->trn.ody = 0; in vips_affine_build() 530 affine->trn.idx -= 1; in vips_affine_build() 531 affine->trn.idy -= 1; in vips_affine_build() 596 t[4]->Xoffset = affine->trn.odx - affine->trn.oarea.left; in vips_affine_build() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/maria/ |
H A D | trnman.c | 307 if (!(trn= tmp.trn)) in trnman_new_trn() 342 active_list_max.prev= trn->prev->next= trn; in trnman_new_trn() 353 trn->min_read_from= trn->trid + 1; in trnman_new_trn() 358 trn->rec_lsn= trn->undo_lsn= trn->first_undo_lsn= 0; in trnman_new_trn() 370 trn->short_id= get_short_trid(trn); in trnman_new_trn() 382 trn, (ulong) trn->trid, (ulong) trn->min_read_from)); in trnman_new_trn() 422 trn->next->prev= trn->prev; in trnman_end_trn() 423 trn->prev->next= trn->next; in trnman_end_trn() 710 for (trn= active_list_min.next; trn != &active_list_max; trn= trn->next) in trnman_collect_transactions() 784 trn= trn->next) in trnman_collect_transactions() [all …]
|
H A D | ma_commit.c | 30 int ma_commit(TRN *trn) in ma_commit() argument 37 DBUG_ASSERT(trn->rec_lsn == LSN_IMPOSSIBLE); in ma_commit() 39 DBUG_RETURN(trnman_rollback_trn(trn)); in ma_commit() 63 trn, NULL, 0, in ma_commit() 73 res|= trnman_commit_trn(trn); in ma_commit() 97 TRN *trn; in maria_commit() local 100 trn= info->trn; in maria_commit() 102 return ma_commit(trn); in maria_commit() 126 TRN *trn= trnman_new_trn(0); in maria_begin() local 127 if (unlikely(!trn)) in maria_begin() [all …]
|
H A D | ma_trnman.h | 30 tbl, tbl->trn, newtrn)); in _ma_set_trn_for_table() 35 tbl->trn= newtrn; in _ma_set_trn_for_table() 53 tbl, tbl->trn, newtrn)); in _ma_set_tmp_trn_for_table() 54 tbl->trn= newtrn; in _ma_set_tmp_trn_for_table() 66 DBUG_PRINT("info",("table: %p trn: %p -> NULL", tbl, tbl->trn)); in _ma_reset_trn_for_table() 77 tbl->trn= 0; in _ma_reset_trn_for_table() 86 static inline void relink_trn_used_instances(MARIA_HA **used_tables, TRN *trn) in relink_trn_used_instances() argument 88 if (likely(*used_tables= (MARIA_HA*) trn->used_instances)) in relink_trn_used_instances() 91 DBUG_ASSERT((*used_tables)->trn_prev == (MARIA_HA **)&trn->used_instances); in relink_trn_used_instances() 95 trn->used_instances= 0; in relink_trn_used_instances()
|
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/maria/ |
H A D | trnman.c | 307 if (!(trn= tmp.trn)) in trnman_new_trn() 342 active_list_max.prev= trn->prev->next= trn; in trnman_new_trn() 353 trn->min_read_from= trn->trid + 1; in trnman_new_trn() 358 trn->rec_lsn= trn->undo_lsn= trn->first_undo_lsn= 0; in trnman_new_trn() 370 trn->short_id= get_short_trid(trn); in trnman_new_trn() 382 trn, (ulong) trn->trid, (ulong) trn->min_read_from)); in trnman_new_trn() 422 trn->next->prev= trn->prev; in trnman_end_trn() 423 trn->prev->next= trn->next; in trnman_end_trn() 710 for (trn= active_list_min.next; trn != &active_list_max; trn= trn->next) in trnman_collect_transactions() 784 trn= trn->next) in trnman_collect_transactions() [all …]
|
H A D | ma_commit.c | 30 int ma_commit(TRN *trn) in ma_commit() argument 37 DBUG_ASSERT(trn->rec_lsn == LSN_IMPOSSIBLE); in ma_commit() 39 DBUG_RETURN(trnman_rollback_trn(trn)); in ma_commit() 63 trn, NULL, 0, in ma_commit() 73 res|= trnman_commit_trn(trn); in ma_commit() 97 TRN *trn; in maria_commit() local 100 trn= info->trn; in maria_commit() 102 return ma_commit(trn); in maria_commit() 126 TRN *trn= trnman_new_trn(0); in maria_begin() local 127 if (unlikely(!trn)) in maria_begin() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/maria/ |
H A D | trnman.c | 307 if (!(trn= tmp.trn)) in trnman_new_trn() 342 active_list_max.prev= trn->prev->next= trn; in trnman_new_trn() 353 trn->min_read_from= trn->trid + 1; in trnman_new_trn() 358 trn->rec_lsn= trn->undo_lsn= trn->first_undo_lsn= 0; in trnman_new_trn() 370 trn->short_id= get_short_trid(trn); in trnman_new_trn() 382 trn, (ulong) trn->trid, (ulong) trn->min_read_from)); in trnman_new_trn() 422 trn->next->prev= trn->prev; in trnman_end_trn() 423 trn->prev->next= trn->next; in trnman_end_trn() 710 for (trn= active_list_min.next; trn != &active_list_max; trn= trn->next) in trnman_collect_transactions() 784 trn= trn->next) in trnman_collect_transactions() [all …]
|
H A D | ma_commit.c | 30 int ma_commit(TRN *trn) in ma_commit() argument 37 DBUG_ASSERT(trn->rec_lsn == LSN_IMPOSSIBLE); in ma_commit() 39 DBUG_RETURN(trnman_rollback_trn(trn)); in ma_commit() 63 trn, NULL, 0, in ma_commit() 73 res|= trnman_commit_trn(trn); in ma_commit() 97 TRN *trn; in maria_commit() local 100 trn= info->trn; in maria_commit() 102 return ma_commit(trn); in maria_commit() 126 TRN *trn= trnman_new_trn(0); in maria_begin() local 127 if (unlikely(!trn)) in maria_begin() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/maria/ |
H A D | trnman.c | 307 if (!(trn= tmp.trn)) in trnman_new_trn() 342 active_list_max.prev= trn->prev->next= trn; in trnman_new_trn() 353 trn->min_read_from= trn->trid + 1; in trnman_new_trn() 358 trn->rec_lsn= trn->undo_lsn= trn->first_undo_lsn= 0; in trnman_new_trn() 370 trn->short_id= get_short_trid(trn); in trnman_new_trn() 382 trn, (ulong) trn->trid, (ulong) trn->min_read_from)); in trnman_new_trn() 422 trn->next->prev= trn->prev; in trnman_end_trn() 423 trn->prev->next= trn->next; in trnman_end_trn() 710 for (trn= active_list_min.next; trn != &active_list_max; trn= trn->next) in trnman_collect_transactions() 784 trn= trn->next) in trnman_collect_transactions() [all …]
|
H A D | ma_commit.c | 30 int ma_commit(TRN *trn) in ma_commit() argument 37 DBUG_ASSERT(trn->rec_lsn == LSN_IMPOSSIBLE); in ma_commit() 39 DBUG_RETURN(trnman_rollback_trn(trn)); in ma_commit() 63 trn, NULL, 0, in ma_commit() 73 res|= trnman_commit_trn(trn); in ma_commit() 97 TRN *trn; in maria_commit() local 100 trn= info->trn; in maria_commit() 102 return ma_commit(trn); in maria_commit() 126 TRN *trn= trnman_new_trn(0); in maria_begin() local 127 if (unlikely(!trn)) in maria_begin() [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/maria/ |
H A D | trnman.c | 307 if (!(trn= tmp.trn)) in trnman_new_trn() 342 active_list_max.prev= trn->prev->next= trn; in trnman_new_trn() 353 trn->min_read_from= trn->trid + 1; in trnman_new_trn() 358 trn->rec_lsn= trn->undo_lsn= trn->first_undo_lsn= 0; in trnman_new_trn() 370 trn->short_id= get_short_trid(trn); in trnman_new_trn() 382 trn, (ulong) trn->trid, (ulong) trn->min_read_from)); in trnman_new_trn() 421 trn->next->prev= trn->prev; in trnman_end_trn() 422 trn->prev->next= trn->next; in trnman_end_trn() 707 for (trn= active_list_min.next; trn != &active_list_max; trn= trn->next) in trnman_collect_transactions() 781 trn= trn->next) in trnman_collect_transactions() [all …]
|
H A D | ma_commit.c | 30 int ma_commit(TRN *trn) in ma_commit() argument 37 DBUG_ASSERT(trn->rec_lsn == LSN_IMPOSSIBLE); in ma_commit() 39 DBUG_RETURN(trnman_rollback_trn(trn)); in ma_commit() 63 trn, NULL, 0, in ma_commit() 73 res|= trnman_commit_trn(trn); in ma_commit() 97 TRN *trn; in maria_commit() local 100 trn= info->trn; in maria_commit() 102 return ma_commit(trn); in maria_commit() 126 TRN *trn= trnman_new_trn(0); in maria_begin() local 127 if (unlikely(!trn)) in maria_begin() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/maria/ |
H A D | trnman.c | 307 if (!(trn= tmp.trn)) in trnman_new_trn() 342 active_list_max.prev= trn->prev->next= trn; in trnman_new_trn() 353 trn->min_read_from= trn->trid + 1; in trnman_new_trn() 358 trn->rec_lsn= trn->undo_lsn= trn->first_undo_lsn= 0; in trnman_new_trn() 370 trn->short_id= get_short_trid(trn); in trnman_new_trn() 382 trn, (ulong) trn->trid, (ulong) trn->min_read_from)); in trnman_new_trn() 421 trn->next->prev= trn->prev; in trnman_end_trn() 422 trn->prev->next= trn->next; in trnman_end_trn() 707 for (trn= active_list_min.next; trn != &active_list_max; trn= trn->next) in trnman_collect_transactions() 781 trn= trn->next) in trnman_collect_transactions() [all …]
|
H A D | ma_commit.c | 30 int ma_commit(TRN *trn) in ma_commit() argument 37 DBUG_ASSERT(trn->rec_lsn == LSN_IMPOSSIBLE); in ma_commit() 39 DBUG_RETURN(trnman_rollback_trn(trn)); in ma_commit() 63 trn, NULL, 0, in ma_commit() 73 res|= trnman_commit_trn(trn); in ma_commit() 97 TRN *trn; in maria_commit() local 100 trn= info->trn; in maria_commit() 102 return ma_commit(trn); in maria_commit() 126 TRN *trn= trnman_new_trn(0); in maria_begin() local 127 if (unlikely(!trn)) in maria_begin() [all …]
|
/dports/games/openomf/libShadowDive-b2c34a6/src/ |
H A D | tournament.c | 14 if(trn == NULL) { in sd_tournament_create() 23 if(trn->enemies[i]) { in free_enemies() 33 if(trn->locales[i]) { in free_locales() 54 snprintf(trn->bk_name, sizeof(trn->bk_name), "%s", bk_name); in sd_tournament_set_bk_name() 60 trn->pic_file = realloc(trn->pic_file, strlen(pic_name)+1); in sd_tournament_set_pic_name() 182 free_locales(trn); in sd_tournament_load() 185 free_enemies(trn); in sd_tournament_load() 313 if(trn == NULL) return; in sd_tournament_free() 314 free_locales(trn); in sd_tournament_free() 315 free_enemies(trn); in sd_tournament_free() [all …]
|
/dports/games/nazghul/nazghul-0.7.1/worlds/haxima-1.002/ |
H A D | terrains.scm | 69 (define trn 0) ;; transparent unknown 269 trn 0 nil)) 336 (list 't_bulwark_v_ne "bulwark" pclass-boulder trn s_bulwark_sw) 337 (list 't_bulwark_v_nw "bulwark" pclass-boulder trn s_bulwark_se) 338 (list 't_bulwark_v_se "bulwark" pclass-boulder trn s_bulwark_nw) 339 (list 't_bulwark_v_sw "bulwark" pclass-boulder trn s_bulwark_ne) 346 (list 't_stair_un "stairs" pclass-grass trn s_stair_n) 347 (list 't_stair_uw "stairs" pclass-grass trn s_stair_w) 348 (list 't_stair_ue "stairs" pclass-grass trn s_stair_e) 349 (list 't_stair_us "stairs" pclass-grass trn s_stair_s) [all …]
|
/dports/graphics/tachyon/tachyon/src/ |
H A D | triangle.c | 296 CROSS((*N), trn->edge1, trn->edge2); in tri_normal() 316 CROSS(norm, trn->edge1, trn->edge2); in stri_normal() 329 N->x = W*trn->n0.x + U*trn->n1.x + V*trn->n2.x; in stri_normal() 330 N->y = W*trn->n0.y + U*trn->n1.y + V*trn->n2.y; in stri_normal() 331 N->z = W*trn->n0.z + U*trn->n1.z + V*trn->n2.z; in stri_normal() 396 N->x = W*trn->n0.x + U*trn->n1.x + V*trn->n2.x; in stri_normal_reverse() 397 N->y = W*trn->n0.y + U*trn->n1.y + V*trn->n2.y; in stri_normal_reverse() 398 N->z = W*trn->n0.z + U*trn->n1.z + V*trn->n2.z; in stri_normal_reverse() 436 N->x = W*trn->n0.x + U*trn->n1.x + V*trn->n2.x; in stri_normal_guess() 437 N->y = W*trn->n0.y + U*trn->n1.y + V*trn->n2.y; in stri_normal_guess() [all …]
|
/dports/www/wt/wt-4.6.1/test/private/ |
H A D | I18n.C | 33 std::string trn(const std::string &key, int n) in trn() function 103 BOOST_REQUIRE(trn("file", 0) == "0 files"); in BOOST_AUTO_TEST_CASE() 104 BOOST_REQUIRE(trn("file", 1) == "1 file"); in BOOST_AUTO_TEST_CASE() 105 BOOST_REQUIRE(trn("file", 6) == "6 files"); in BOOST_AUTO_TEST_CASE() 116 BOOST_REQUIRE(trn("file", 1) == "1 plik"); in BOOST_AUTO_TEST_CASE() 117 BOOST_REQUIRE(trn("file", 2) == "2 pliki"); in BOOST_AUTO_TEST_CASE() 130 BOOST_REQUIRE(trn("file", 0) == "0 files"); in BOOST_AUTO_TEST_CASE() 131 BOOST_REQUIRE(trn("file", 1) == "1 file"); in BOOST_AUTO_TEST_CASE() 132 BOOST_REQUIRE(trn("file", 6) == "6 files"); in BOOST_AUTO_TEST_CASE() 150 Wt::WString::trn("file", 1).toUTF8(); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/finance/gnucash/gnucash-4.9/libgnucash/backend/xml/ |
H A D | gnc-transaction-xml-v2.cpp | 422 func (trn, tmp); in set_tran_string() 435 func (trn, time); in set_tran_time64() 445 func (trn, time); in set_tran_date() 583 Transaction* trn = NULL; in gnc_transaction_end_handler() local 603 if (trn != NULL) in gnc_transaction_end_handler() 610 return trn != NULL; in gnc_transaction_end_handler() 616 Transaction* trn; in dom_tree_to_transaction() local 625 xaccTransBeginEdit (trn); in dom_tree_to_transaction() 627 pdata.trans = trn; in dom_tree_to_transaction() 640 trn = NULL; in dom_tree_to_transaction() [all …]
|
/dports/graphics/vips/vips-8.12.0/libvips/mosaicing/ |
H A D | mosaic1.c | 82 trn->a = a; in apply_similarity() 83 trn->b = -b; in apply_similarity() 84 trn->c = b; in apply_similarity() 85 trn->d = a; in apply_similarity() 86 trn->idx = 0; in apply_similarity() 125 -trn.oarea.left, -trn.oarea.top, mwidth ) ) in vips__lrmerge1() 171 -trn.oarea.left, -trn.oarea.top, mwidth ) ) in vips__tbmerge1() 279 xs3 - trn.oarea.left, ys3 - trn.oarea.top, in rotjoin_search() 283 xs4 - trn.oarea.left, ys4 - trn.oarea.top, in rotjoin_search() 289 xs3 - trn.oarea.left, ys3 - trn.oarea.top, in rotjoin_search() [all …]
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/parallel_for/tachyon/src/ |
H A D | triangle.cpp | 172 CROSS(pvec, ry->d, trn->edge2); in tri_intersect() 175 det = DOT(trn->edge1, pvec); in tri_intersect() 183 SUB(tvec, ry->o, trn->v0); in tri_intersect() 207 CROSS((*N), trn->edge1, trn->edge2); in tri_normal() 222 CROSS(norm, trn->edge1, trn->edge2); in stri_normal() 225 VSUB((*pnt), trn->v0, P); in stri_normal() 227 CROSS(tmp, P, trn->edge2); in stri_normal() 230 CROSS(tmp, trn->edge1, P); in stri_normal() 235 N->x = W*trn->n0.x + U*trn->n1.x + V*trn->n2.x; in stri_normal() 236 N->y = W*trn->n0.y + U*trn->n1.y + V*trn->n2.y; in stri_normal() [all …]
|
/dports/devel/tbb/oneTBB-2020.3/examples/parallel_for/tachyon/src/ |
H A D | triangle.cpp | 172 CROSS(pvec, ry->d, trn->edge2); in tri_intersect() 175 det = DOT(trn->edge1, pvec); in tri_intersect() 183 SUB(tvec, ry->o, trn->v0); in tri_intersect() 207 CROSS((*N), trn->edge1, trn->edge2); in tri_normal() 222 CROSS(norm, trn->edge1, trn->edge2); in stri_normal() 225 VSUB((*pnt), trn->v0, P); in stri_normal() 227 CROSS(tmp, P, trn->edge2); in stri_normal() 230 CROSS(tmp, trn->edge1, P); in stri_normal() 235 N->x = W*trn->n0.x + U*trn->n1.x + V*trn->n2.x; in stri_normal() 236 N->y = W*trn->n0.y + U*trn->n1.y + V*trn->n2.y; in stri_normal() [all …]
|
/dports/devel/onetbb/oneTBB-2021.4.0/examples/parallel_for/tachyon/src/ |
H A D | triangle.cpp | 165 det = DOT(trn->edge1, pvec); in tri_intersect() 173 SUB(tvec, ry->o, trn->v0); in tri_intersect() 181 CROSS(qvec, tvec, trn->edge1); in tri_intersect() 195 CROSS((*N), trn->edge1, trn->edge2); in tri_normal() 210 CROSS(norm, trn->edge1, trn->edge2); in stri_normal() 213 VSUB((*pnt), trn->v0, P); in stri_normal() 215 CROSS(tmp, P, trn->edge2); in stri_normal() 218 CROSS(tmp, trn->edge1, P); in stri_normal() 223 N->x = W * trn->n0.x + U * trn->n1.x + V * trn->n2.x; in stri_normal() 224 N->y = W * trn->n0.y + U * trn->n1.y + V * trn->n2.y; in stri_normal() [all …]
|
/dports/games/hinversi/hinversi-0.8.2/lib/ |
H A D | matador.c | 130 int trn = 0; in matador_setMaxDepth() local 132 trn = turn + 1; in matador_setMaxDepth() 136 maxdepth[trn]++; in matador_setMaxDepth() 139 maxdepth[trn]--; in matador_setMaxDepth() 142 maxdepth[trn]++; in matador_setMaxDepth() 145 maxdepth[trn]--; in matador_setMaxDepth() 148 maxdepth[trn]++; in matador_setMaxDepth() 154 maxdepth[trn] = min(MATADOR_MAXDEPTH, maxdepth[trn]); in matador_setMaxDepth() 155 maxdepth[trn] = max(MATADOR_MINDEPTH, maxdepth[trn]); in matador_setMaxDepth() 167 int trn = 0; in matador_aiMove() local [all …]
|