/titanic_44/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_44/usr/src/lib/libast/common/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 reg Dtmethod_t* oldmeth = dt->meth; 41 if(!meth || meth->type == oldmeth->type) 45 (*disc->eventf)(dt,DT_METH,(Void_t*)meth,disc) < 0) 63 dt->data->type = (dt->data->type&~(DT_METHODS|DT_FLATTEN)) | meth->type; 64 dt->meth = meth; 66 dt->searchf = meth->searchf; 68 if(meth->type&(DT_LIST|DT_STACK|DT_QUEUE) ) [all …]
|
H A D | dtopen.c | 31 Dt_t* dtopen(Dtdisc_t* disc, Dtmethod_t* meth) in dtopen() argument 33 Dt_t* dtopen(disc, meth) in dtopen() 35 Dtmethod_t* meth; 42 if(!disc || !meth) 51 dt->meth = NIL(Dtmethod_t*); 66 { if(data->type&meth->type) 78 dt->meth = NIL(Dtmethod_t*); 94 data->type = meth->type; 102 dt->searchf = meth->searchf; 103 dt->meth = meth;
|
H A D | dtview.c | 46 return (*(dt->meth->searchf))(dt,obj,type); 49 ((type&(DT_FIRST|DT_LAST)) && !(dt->meth->type&(DT_OBAG|DT_OSET)) ) ) 51 if((o = (*(d->meth->searchf))(d,obj,type)) ) 57 if(dt->meth->type & (DT_OBAG|DT_OSET) ) 63 { if(!(o = (*d->meth->searchf)(d, obj, type)) ) 91 if((o = (*(d->meth->searchf))(d, obj, DT_SEARCH)) ) 98 for(d = dt->walk, obj = (*d->meth->searchf)(d, obj, type);; ) 103 if((*(p->meth->searchf))(p, obj, DT_SEARCH) ) 106 obj = (*d->meth->searchf)(d, obj, type); 112 obj = (*(d->meth->searchf))(d,NIL(Void_t*),DT_FIRST); [all …]
|
/titanic_44/usr/src/lib/libast/common/vmalloc/ |
H A D | malloc.c | 217 Vmregion->meth.meth == VM_MTDEBUG) \ 256 return VMRECORD((*Vmregion->meth.resizef)(Vmregion,NIL(Void_t*),n_obj*s_obj,VM_RSZERO)); 267 return VMRECORD((*Vmregion->meth.allocf)(Vmregion,size)); 290 if(data && Vmregion->meth.meth != VM_MTDEBUG && 294 (*Vmregion->meth.addrf)(Vmregion,data) != 0 ) 300 if((newdata = (*Vmregion->meth.allocf)(Vmregion,size)) ) 309 if (newdata = (*Vmregion->meth.resizef)(Vmregion,data,size,VM_RSCOPY|VM_RSMOVE)) 314 return VMRECORD((*Vmregion->meth.resizef)(Vmregion,data,size,VM_RSCOPY|VM_RSMOVE)); 337 if(data && Vmregion->meth.meth != VM_MTDEBUG && 341 (*Vmregion->meth.addrf)(Vmregion,data) != 0) [all …]
|
H A D | vmopen.c | 48 Vmalloc_t* vmopen(Vmdisc_t* disc, Vmethod_t* meth, int mode) in vmopen() argument 50 Vmalloc_t* vmopen(disc, meth, mode) in vmopen() 52 Vmethod_t* meth; /* method to manage space */ 65 if(!meth || !disc || !(memoryf = disc->memoryf) ) 74 vm->meth = *meth; 91 if((vd->mode&meth->meth) != 0) 120 vd->mode = (mode&VM_FLAGS) | meth->meth;
|
/titanic_44/usr/src/lib/libast/common/include/ |
H A D | vmalloc.h | 71 unsigned short meth; member 75 { Vmethod_t meth; /* method for allocation */ member 225 (*(_VM_(vm)->meth.allocf))((vm),(sz)) ) 227 (*(_VM_(vm)->meth.resizef))\ 230 (*(_VM_(vm)->meth.freef))((vm),(Void_t*)(d)) ) 232 (*(_VM_(vm)->meth.alignf))((vm),(sz),(align)) ) 296 #define vmalloc(vm,sz) (*(_VM_(vm)->meth.allocf))((vm),(sz)) 300 #define vmresize(vm,d,sz,type) (*(_VM_(vm)->meth.resizef))\ 305 #define vmfree(vm,d) (*(_VM_(vm)->meth.freef))((vm),(Void_t*)(d)) 309 #define vmalign(vm,sz,align) (*(_VM_(vm)->meth.alignf))((vm),(sz),(align)) [all …]
|