| /titanic_53/usr/src/common/crypto/ecc/ |
| H A D | ec2_mont.c | 70 MP_CHECKOK(group->meth->field_sqr(x, x, group->meth)); in gf2m_Mdouble() 71 MP_CHECKOK(group->meth->field_sqr(z, &t1, group->meth)); in gf2m_Mdouble() 72 MP_CHECKOK(group->meth->field_mul(x, &t1, z, group->meth)); in gf2m_Mdouble() 73 MP_CHECKOK(group->meth->field_sqr(x, x, group->meth)); in gf2m_Mdouble() 74 MP_CHECKOK(group->meth->field_sqr(&t1, &t1, group->meth)); in gf2m_Mdouble() 75 MP_CHECKOK(group->meth-> in gf2m_Mdouble() 76 field_mul(&group->curveb, &t1, &t1, group->meth)); in gf2m_Mdouble() 77 MP_CHECKOK(group->meth->field_add(x, &t1, x, group->meth)); in gf2m_Mdouble() 101 MP_CHECKOK(group->meth->field_mul(x1, z2, x1, group->meth)); in gf2m_Madd() 102 MP_CHECKOK(group->meth->field_mul(z1, x2, z1, group->meth)); in gf2m_Madd() [all …]
|
| H A D | ecp_jm.c | 89 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth)); in ec_GFp_pt_dbl_jm() 90 MP_CHECKOK(group->meth->field_add(t0, t0, M, group->meth)); in ec_GFp_pt_dbl_jm() 91 MP_CHECKOK(group->meth->field_add(t0, M, t0, group->meth)); in ec_GFp_pt_dbl_jm() 92 MP_CHECKOK(group->meth->field_add(t0, paz4, M, group->meth)); in ec_GFp_pt_dbl_jm() 95 MP_CHECKOK(group->meth->field_mul(py, pz, S, group->meth)); in ec_GFp_pt_dbl_jm() 96 MP_CHECKOK(group->meth->field_add(S, S, rz, group->meth)); in ec_GFp_pt_dbl_jm() 99 MP_CHECKOK(group->meth->field_sqr(py, t0, group->meth)); in ec_GFp_pt_dbl_jm() 100 MP_CHECKOK(group->meth->field_add(t0, t0, t0, group->meth)); in ec_GFp_pt_dbl_jm() 101 MP_CHECKOK(group->meth->field_sqr(t0, t1, group->meth)); in ec_GFp_pt_dbl_jm() 102 MP_CHECKOK(group->meth->field_add(t1, t1, t1, group->meth)); in ec_GFp_pt_dbl_jm() [all …]
|
| H A D | ecp_jac.c | 77 if (group->meth->field_enc) { in ec_GFp_pt_aff2jac() 78 MP_CHECKOK(group->meth->field_enc(rz, rz, group->meth)); in ec_GFp_pt_aff2jac() 114 MP_CHECKOK(group->meth->field_div(NULL, pz, &z1, group->meth)); in ec_GFp_pt_jac2aff() 115 MP_CHECKOK(group->meth->field_sqr(&z1, &z2, group->meth)); in ec_GFp_pt_jac2aff() 116 MP_CHECKOK(group->meth->field_mul(&z1, &z2, &z3, group->meth)); in ec_GFp_pt_jac2aff() 117 MP_CHECKOK(group->meth->field_mul(px, &z2, rx, group->meth)); in ec_GFp_pt_jac2aff() 118 MP_CHECKOK(group->meth->field_mul(py, &z3, ry, group->meth)); in ec_GFp_pt_jac2aff() 187 MP_CHECKOK(group->meth->field_sqr(pz, &A, group->meth)); in ec_GFp_pt_add_jac_aff() 188 MP_CHECKOK(group->meth->field_mul(&A, pz, &B, group->meth)); in ec_GFp_pt_add_jac_aff() 189 MP_CHECKOK(group->meth->field_mul(&A, qx, &A, group->meth)); in ec_GFp_pt_add_jac_aff() [all …]
|
| H A D | ecl_gf.c | 61 GFMethod *meth; in GFMethod_new() local 63 meth = (GFMethod *) kmem_alloc(sizeof(GFMethod), kmflag); in GFMethod_new() 65 meth = (GFMethod *) malloc(sizeof(GFMethod)); in GFMethod_new() 66 if (meth == NULL) in GFMethod_new() 69 meth->constructed = MP_YES; in GFMethod_new() 70 MP_DIGITS(&meth->irr) = 0; in GFMethod_new() 71 meth->extra_free = NULL; in GFMethod_new() 72 MP_CHECKOK(mp_init(&meth->irr, kmflag)); in GFMethod_new() 76 GFMethod_free(meth); in GFMethod_new() 79 return meth; in GFMethod_new() [all …]
|
| H A D | ecp_mont.c | 67 GFMethod *meth = NULL; in GFMethod_consGFp_mont() local 70 meth = GFMethod_consGFp(irr); in GFMethod_consGFp_mont() 71 if (meth == NULL) in GFMethod_consGFp_mont() 85 meth->field_mul = &ec_GFp_mul_mont; in GFMethod_consGFp_mont() 86 meth->field_sqr = &ec_GFp_sqr_mont; in GFMethod_consGFp_mont() 87 meth->field_div = &ec_GFp_div_mont; in GFMethod_consGFp_mont() 88 meth->field_enc = &ec_GFp_enc_mont; in GFMethod_consGFp_mont() 89 meth->field_dec = &ec_GFp_dec_mont; in GFMethod_consGFp_mont() 90 meth->extra1 = mmm; in GFMethod_consGFp_mont() 91 meth->extra2 = NULL; in GFMethod_consGFp_mont() [all …]
|
| H A D | ec2_aff.c | 109 MP_CHECKOK(group->meth->field_add(py, qy, &tempy, group->meth)); in ec_GF2m_pt_add_aff() 110 MP_CHECKOK(group->meth->field_add(px, qx, &tempx, group->meth)); in ec_GF2m_pt_add_aff() 111 MP_CHECKOK(group->meth-> in ec_GF2m_pt_add_aff() 112 field_div(&tempy, &tempx, &lambda, group->meth)); in ec_GF2m_pt_add_aff() 113 MP_CHECKOK(group->meth->field_sqr(&lambda, &tempx, group->meth)); in ec_GF2m_pt_add_aff() 114 MP_CHECKOK(group->meth-> in ec_GF2m_pt_add_aff() 115 field_add(&tempx, &lambda, &tempx, group->meth)); in ec_GF2m_pt_add_aff() 116 MP_CHECKOK(group->meth-> in ec_GF2m_pt_add_aff() 117 field_add(&tempx, &group->curvea, &tempx, group->meth)); in ec_GF2m_pt_add_aff() 118 MP_CHECKOK(group->meth-> in ec_GF2m_pt_add_aff() [all …]
|
| H A D | ecp_aff.c | 116 MP_CHECKOK(group->meth->field_sub(py, qy, &tempy, group->meth)); in ec_GFp_pt_add_aff() 117 MP_CHECKOK(group->meth->field_sub(px, qx, &tempx, group->meth)); in ec_GFp_pt_add_aff() 118 MP_CHECKOK(group->meth-> in ec_GFp_pt_add_aff() 119 field_div(&tempy, &tempx, &lambda, group->meth)); in ec_GFp_pt_add_aff() 129 MP_CHECKOK(group->meth->field_sqr(qx, &tempx, group->meth)); in ec_GFp_pt_add_aff() 131 if (group->meth->field_enc) { in ec_GFp_pt_add_aff() 132 MP_CHECKOK(group->meth->field_enc(&temp, &temp, group->meth)); in ec_GFp_pt_add_aff() 134 MP_CHECKOK(group->meth-> in ec_GFp_pt_add_aff() 135 field_mul(&tempx, &temp, &tempx, group->meth)); in ec_GFp_pt_add_aff() 136 MP_CHECKOK(group->meth-> in ec_GFp_pt_add_aff() [all …]
|
| H A D | ecl-priv.h | 133 const GFMethod *meth); 134 mp_err (*field_neg) (const mp_int *a, mp_int *r, const GFMethod *meth); 136 const GFMethod *meth); 137 mp_err (*field_mod) (const mp_int *a, mp_int *r, const GFMethod *meth); 139 const GFMethod *meth); 140 mp_err (*field_sqr) (const mp_int *a, mp_int *r, const GFMethod *meth); 142 const GFMethod *meth); 143 mp_err (*field_enc) (const mp_int *a, mp_int *r, const GFMethod *meth); 144 mp_err (*field_dec) (const mp_int *a, mp_int *r, const GFMethod *meth); 149 void (*extra_free) (GFMethod *meth); [all …]
|
| H A D | ecl_mult.c | 89 if (group->meth->field_enc) { in ECPoint_mul() 90 MP_CHECKOK(group->meth->field_enc(px, rx, group->meth)); in ECPoint_mul() 91 MP_CHECKOK(group->meth->field_enc(py, ry, group->meth)); in ECPoint_mul() 97 if (group->meth->field_dec) { in ECPoint_mul() 98 MP_CHECKOK(group->meth->field_dec(rx, rx, group->meth)); in ECPoint_mul() 99 MP_CHECKOK(group->meth->field_dec(ry, ry, group->meth)); in ECPoint_mul() 141 if (group->meth->field_enc) { in ec_pts_mul_basic() 142 MP_CHECKOK(group->meth->field_enc(&sx, &sx, group->meth)); in ec_pts_mul_basic() 143 MP_CHECKOK(group->meth->field_enc(&sy, &sy, group->meth)); in ec_pts_mul_basic() 144 MP_CHECKOK(group->meth->field_enc(rx, rx, group->meth)); in ec_pts_mul_basic() [all …]
|
| H A D | ecp_521.c | 61 ec_GFp_nistp521_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp521_mod() argument 84 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp521_mod() 118 ec_GFp_nistp521_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp521_sqr() argument 123 MP_CHECKOK(ec_GFp_nistp521_mod(r, r, meth)); in ec_GFp_nistp521_sqr() 133 const GFMethod *meth) in ec_GFp_nistp521_mul() argument 138 MP_CHECKOK(ec_GFp_nistp521_mod(r, r, meth)); in ec_GFp_nistp521_mul() 147 const GFMethod *meth) in ec_GFp_nistp521_div() argument 154 return mp_invmod(b, &meth->irr, r); in ec_GFp_nistp521_div() 159 MP_CHECKOK(mp_invmod(b, &meth->irr, &t)); in ec_GFp_nistp521_div() 161 MP_CHECKOK(ec_GFp_nistp521_mod(r, r, meth)); in ec_GFp_nistp521_div() [all …]
|
| H A D | ecp_test.c | 168 if (group->meth->field_dec) { in ectest_curve_GFp() 169 MP_CHECKOK(group->meth->field_dec(&group->genx, &gx, group->meth)); in ectest_curve_GFp() 170 MP_CHECKOK(group->meth->field_dec(&group->geny, &gy, group->meth)); in ectest_curve_GFp() 182 if (group->meth->field_enc) { in ectest_curve_GFp() 203 MP_CHECKOK(group->meth->field_neg(&ry, &ry, group->meth)); in ectest_curve_GFp() 224 MP_CHECKOK(group->meth->field_neg(&ry, &ry, group->meth)); in ectest_curve_GFp() 243 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry)); in ectest_curve_GFp() 260 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry)); in ectest_curve_GFp() 347 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry)); in ectest_curve_GFp() 369 size = mpl_significant_bits(&group->meth->irr); in ectest_curve_GFp() [all …]
|
| H A D | ecp_192.c | 61 ec_GFp_nistp192_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp192_mod() argument 88 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp192_mod() 301 const GFMethod *meth) in ec_GFp_nistp192_add() argument 382 const GFMethod *meth) in ec_GFp_nistp192_sub() argument 460 ec_GFp_nistp192_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp192_sqr() argument 465 MP_CHECKOK(ec_GFp_nistp192_mod(r, r, meth)); in ec_GFp_nistp192_sqr() 475 const GFMethod *meth) in ec_GFp_nistp192_mul() argument 480 MP_CHECKOK(ec_GFp_nistp192_mod(r, r, meth)); in ec_GFp_nistp192_mul() 489 const GFMethod *meth) in ec_GFp_nistp192_div() argument 496 return mp_invmod(b, &meth->irr, r); in ec_GFp_nistp192_div() [all …]
|
| H A D | ec2_test.c | 169 if (group->meth->field_dec) { in ectest_curve_GF2m() 170 MP_CHECKOK(group->meth->field_dec(&group->genx, &gx, group->meth)); in ectest_curve_GF2m() 171 MP_CHECKOK(group->meth->field_dec(&group->geny, &gy, group->meth)); in ectest_curve_GF2m() 184 if (group->meth->field_enc) { in ectest_curve_GF2m() 205 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() 225 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() 245 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() 264 MP_CHECKOK(ec_GF2m_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() 281 MP_CHECKOK(ec_GF2m_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() 385 MP_CHECKOK(ec_GF2m_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() [all …]
|
| H A D | ec2_163.c | 61 ec_GF2m_163_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_163_mod() argument 133 ec_GF2m_163_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_163_sqr() argument 142 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_163_sqr() 150 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_163_sqr() 173 return ec_GF2m_163_mod(r, r, meth); in ec_GF2m_163_sqr() 183 const GFMethod *meth) in ec_GF2m_163_mul() argument 194 return ec_GF2m_163_sqr(a, r, meth); in ec_GF2m_163_mul() 254 return ec_GF2m_163_mod(r, r, meth); in ec_GF2m_163_mul() 265 group->meth->field_mod = &ec_GF2m_163_mod; in ec_group_set_gf2m163() 266 group->meth->field_mul = &ec_GF2m_163_mul; in ec_group_set_gf2m163() [all …]
|
| H A D | ecp_384.c | 59 ec_GFp_nistp384_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp384_mod() argument 90 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp384_mod() 185 MP_CHECKOK(mp_submod(r, &m[9], &meth->irr, r)); in ec_GFp_nistp384_mod() 192 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp384_mod() 254 MP_CHECKOK(mp_submod(r, &m[9], &meth->irr, r)); in ec_GFp_nistp384_mod() 267 ec_GFp_nistp384_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp384_sqr() argument 272 MP_CHECKOK(ec_GFp_nistp384_mod(r, r, meth)); in ec_GFp_nistp384_sqr() 282 const GFMethod *meth) in ec_GFp_nistp384_mul() argument 287 MP_CHECKOK(ec_GFp_nistp384_mod(r, r, meth)); in ec_GFp_nistp384_mul() 298 group->meth->field_mod = &ec_GFp_nistp384_mod; in ec_group_set_gfp384() [all …]
|
| H A D | ec2_193.c | 61 ec_GF2m_193_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_193_mod() argument 141 ec_GF2m_193_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_193_sqr() argument 150 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_193_sqr() 158 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_193_sqr() 182 return ec_GF2m_193_mod(r, r, meth); in ec_GF2m_193_sqr() 192 const GFMethod *meth) in ec_GF2m_193_mul() argument 203 return ec_GF2m_193_sqr(a, r, meth); in ec_GF2m_193_mul() 271 return ec_GF2m_193_mod(r, r, meth); in ec_GF2m_193_mul() 282 group->meth->field_mod = &ec_GF2m_193_mod; in ec_group_set_gf2m193() 283 group->meth->field_mul = &ec_GF2m_193_mul; in ec_group_set_gf2m193() [all …]
|
| H A D | ec2_233.c | 61 ec_GF2m_233_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_233_mod() argument 157 ec_GF2m_233_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_233_sqr() argument 166 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_233_sqr() 174 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_233_sqr() 200 return ec_GF2m_233_mod(r, r, meth); in ec_GF2m_233_sqr() 210 const GFMethod *meth) in ec_GF2m_233_mul() argument 222 return ec_GF2m_233_sqr(a, r, meth); in ec_GF2m_233_mul() 294 return ec_GF2m_233_mod(r, r, meth); in ec_GF2m_233_mul() 305 group->meth->field_mod = &ec_GF2m_233_mod; in ec_group_set_gf2m233() 306 group->meth->field_mul = &ec_GF2m_233_mul; in ec_group_set_gf2m233() [all …]
|
| H A D | ecl.c | 72 group->meth = NULL; in ECGroup_new() 112 group->meth = GFMethod_consGFp(irr); in ECGroup_consGFp() 113 if (group->meth == NULL) { in ECGroup_consGFp() 153 group->meth = GFMethod_consGFp_mont(irr); in ECGroup_consGFp_mont() 154 if (group->meth == NULL) { in ECGroup_consGFp_mont() 158 MP_CHECKOK(group->meth-> in ECGroup_consGFp_mont() 159 field_enc(curvea, &group->curvea, group->meth)); in ECGroup_consGFp_mont() 160 MP_CHECKOK(group->meth-> in ECGroup_consGFp_mont() 161 field_enc(curveb, &group->curveb, group->meth)); in ECGroup_consGFp_mont() 162 MP_CHECKOK(group->meth->field_enc(genx, &group->genx, group->meth)); in ECGroup_consGFp_mont() [all …]
|
| H A D | ecp_224.c | 61 ec_GFp_nistp224_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp224_mod() argument 86 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp224_mod() 320 ec_GFp_nistp224_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp224_sqr() argument 325 MP_CHECKOK(ec_GFp_nistp224_mod(r, r, meth)); in ec_GFp_nistp224_sqr() 335 const GFMethod *meth) in ec_GFp_nistp224_mul() argument 340 MP_CHECKOK(ec_GFp_nistp224_mod(r, r, meth)); in ec_GFp_nistp224_mul() 349 const GFMethod *meth) in ec_GFp_nistp224_div() argument 356 return mp_invmod(b, &meth->irr, r); in ec_GFp_nistp224_div() 361 MP_CHECKOK(mp_invmod(b, &meth->irr, &t)); in ec_GFp_nistp224_div() 363 MP_CHECKOK(ec_GFp_nistp224_mod(r, r, meth)); in ec_GFp_nistp224_div() [all …]
|
| /titanic_53/usr/src/contrib/ast/src/lib/libast/cdt/ |
| H A D | dtmethod.c | 30 Dtmethod_t* dtmethod(Dt_t* dt, Dtmethod_t* meth) in dtmethod() argument 32 Dtmethod_t* dtmethod(dt, meth) in dtmethod() 34 Dtmethod_t* meth; 39 Dtmethod_t *oldmt = dt->meth; 42 if(!meth || meth == oldmt) 46 if(disc->eventf && (*disc->eventf)(dt,DT_METH,(Void_t*)meth,disc) < 0) 53 dt->searchf = meth->searchf; 54 dt->meth = meth; 56 if((*dt->meth->eventf)(dt, DT_OPEN, NIL(Void_t*)) < 0 ) 61 if(dt->searchf == meth->searchf) [all …]
|
| H A D | dtopen.c | 33 if (type == DT_DELETE && (dt->meth->type&(DT_OBAG|DT_BAG))) in _dttype2005() 39 Dt_t* _dtopen(Dtdisc_t* disc, Dtmethod_t* meth, unsigned long version) in _dtopen() argument 41 Dt_t* _dtopen(disc, meth, version) in _dtopen() 43 Dtmethod_t* meth; 51 if(!disc || !meth) 56 type = meth->type; 59 pdt.searchf = meth->searchf; 60 pdt.meth = meth; 68 { if((data->type & DT_METHODS) != meth->type) 82 if((*meth->eventf)(&pdt, DT_OPEN, NIL(Void_t*)) < 0 || !pdt.data ) [all …]
|
| H A D | dtview.c | 48 return (*(dt->meth->searchf))(dt,obj,type); 54 ((type & (DT_FIRST|DT_LAST|DT_ATLEAST|DT_ATMOST)) && !(dt->meth->type&DT_ORDERED) ) ) 56 if((o = (*(d->meth->searchf))(d,obj,type)) ) 62 if(dt->meth->type & DT_ORDERED) /* ordered sets/bags */ 69 { if(!(o = (*d->meth->searchf)(d, obj, type)) ) 97 if((o = (*(d->meth->searchf))(d, obj, DT_SEARCH)) ) 104 for(d = dt->walk, obj = (*d->meth->searchf)(d, obj, type);; ) 109 if((*(p->meth->searchf))(p, obj, DT_SEARCH) ) 112 obj = (*d->meth->searchf)(d, obj, type); 118 obj = (*(d->meth->searchf))(d,NIL(Void_t*),DT_FIRST); [all …]
|
| /titanic_53/usr/src/contrib/ast/src/lib/libast/aso/ |
| H A D | aso.c | 112 Asometh_t* meth; 191 Asometh_t* meth; 196 if (!(meth = (Asometh_t*)data)) 199 if (meth == method[i]) 214 return state.meth; 233 if (state.meth && state.meth->initf && state.data && state.pid == getpid()) 236 state.meth->initf(state.data, 0); 246 asoinit(const char* details, Asometh_t* meth, Asodisc_t* disc) 258 if (!meth) 260 if (!meth->lockf && !(meth->type & ASO_INTRINSIC)) [all …]
|
| /titanic_53/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
| H A D | vmopen.c | 56 Vmalloc_t* vmopen(Vmdisc_t* disc, Vmethod_t* meth, int mode) in vmopen() argument 58 Vmalloc_t* vmopen(disc, meth, mode) in vmopen() 60 Vmethod_t* meth; /* method to manage space */ 73 if(!meth || !disc || !disc->memoryf ) 80 memcpy(&vmp->meth, meth, sizeof(Vmethod_t)); 115 vd->mode = mode | meth->meth;
|
| H A D | malloc.c | 240 Vmregion->meth.meth == VM_MTDEBUG) \ 336 if(CAUTIOUS || Vmregion->meth.meth != VM_MTBEST ) in regionof() 390 { (void)(*vm->meth.freef)(vm, (Void_t*)list, 1); in clrfreelist() 500 addr = (*vm->meth.resizef)(vm, NIL(Void_t*), n_obj*s_obj, VM_RSZERO, local); 521 addr = (*vm->meth.allocf)(vm, size, local); 546 { addr = (*vm->meth.resizef)(vm, data, size, VM_RSCOPY|VM_RSMOVE, 0); 550 { addr = (*vm->meth.resizef)(vm, data, size, VM_RSCOPY|VM_RSMOVE, 1); 562 { addr = (*vm->meth.resizef)(vm, data, size, VM_RSCOPY|VM_RSMOVE, 0); 597 (void)(*vm->meth.freef)(vm, data, 0); 641 addr = (*vm->meth.alignf)(vm, size, align, local); [all …]
|