Searched refs:ws (Results 1 – 3 of 3) sorted by relevance
| /xnu-11215.61.5/osfmk/corecrypto/ |
| H A D | cc_memory.h | 60 cc_unit *(*CC_SPTR(cc_ws, alloc))(cc_ws_t ws, cc_size n); 61 void(*CC_SPTR(cc_ws, free))(cc_ws_t ws); 79 cc_unit *cc_counted_by(n) cc_ws_alloc(cc_ws_t ws, cc_size n); 80 void cc_ws_free(cc_ws_t ws); 83 void cc_ws_free_stack(cc_ws_t ws); 86 void cc_ws_free_null(cc_ws_t ws); 91 #define CC_DECL_WORKSPACE_TEST(ws) \ argument 92 int ws##_rv; \ 93 CC_DECL_WORKSPACE_RV(ws, ccn_nof_size(1024 * 1024), ws##_rv); \ 94 cc_try_abort_if(ws##_rv != CCERR_OK, "alloc ws"); [all …]
|
| H A D | ccn_internal.h | 335 size_t ccn_gcd_ws(cc_ws_t ws, cc_size rn, cc_unit *cc_counted_by(rn) r, cc_size sn, const cc_unit *… 346 void ccn_lcm_ws(cc_ws_t ws, cc_size n, cc_unit *cc_unsafe_indexable r2n, const cc_unit *cc_counted_… 379 void ccn_mul_ws(cc_ws_t ws, cc_size count, cc_unit *cc_unsafe_indexable r, const cc_unit *cc_counte… 384 void ccn_sqr_ws(cc_ws_t ws, cc_size n, cc_unit *cc_unsafe_indexable r, const cc_unit *cc_counted_by… 398 #define ccn_mod_ws(ws, na, a, n, r, d) ccn_divmod_ws(ws, na, a, 0, NULL, n, r, d) argument 451 void ccn_div_exact_ws(cc_ws_t ws, cc_size n, cc_unit *cc_counted_by(n) q, const cc_unit *cc_counted… 514 int ccn_invmod_ws(cc_ws_t ws, cc_size n, cc_unit *cc_counted_by(n) r, cc_size xn, const cc_unit *cc… 547 void ccn_divmod_ws(cc_ws_t ws, cc_size na, const cc_unit *cc_counted_by(na) a, cc_size nq, cc_unit … 553 cc_unit ccn_add_ws(cc_ws_t ws, cc_size count, cc_unit *r, const cc_unit *s, const cc_unit *t); 556 cc_unit ccn_sub_ws(cc_ws_t ws, cc_size count, cc_unit *r, const cc_unit *s, const cc_unit *t); [all …]
|
| /xnu-11215.61.5/tests/recount/ |
| H A D | recount_test_utils.c | 253 struct wait_start *ws = arg; in wait_role() local 254 semaphore_wait_signal(ws->ws_wait, ws->ws_start); in wait_role() 288 struct wait_start ws = { 0 }; in scene_start() local 289 kern_return_t kr = semaphore_create(mach_task_self(), &ws.ws_wait, in scene_start() 292 kr = semaphore_create(mach_task_self(), &ws.ws_start, in scene_start() 306 sync = &ws; in scene_start() 318 semaphore_wait(ws.ws_start); in scene_start() 320 semaphore_destroy(mach_task_self(), ws.ws_start); in scene_start() 321 scene->scn_wait_sync = (void *)(uintptr_t)ws.ws_wait; in scene_start()
|