/external/iproute2/tc/ |
q_netem.c | 174 struct tc_netem_corr cor; local 184 memset(&cor, 0, sizeof(cor)); 215 if (get_percent(&cor.delay_corr, *argv)) { 243 if (get_percent(&cor.loss_corr, *argv)) { 373 if (get_percent(&cor.dup_corr, *argv)) { 450 addattr_l(n, 1024, TCA_NETEM_CORR, &cor, sizeof(cor)) < 0) 498 const struct tc_netem_corr *cor = NULL; local 523 if (RTA_PAYLOAD(tb[TCA_NETEM_CORR]) < sizeof(*cor)) [all...] |
/external/aac/libPCMutils/src/ |
limiter.cpp | 101 FIXP_DBL cor, max; member in struct:TDLimiter 181 limiter->cor = FL2FXCONST_DBL(1.0f/(1<<1)); 244 FIXP_DBL cor = limiter->cor; local 328 cor = fMin(cor, fMultDiv2((gain - fMultDiv2(FL2FXCONST_SGL(0.1f*(1<<1)),smoothState0)), FL2FXCONST_SGL(1.11111111f/(1<<1)))<<2); 331 cor = gain; 335 if (cor < smoothState0) { 336 smoothState0 = fMult(attackConst,(smoothState0 - cor)) + cor; /* attack * [all...] |
/external/libnl/lib/route/sch/ |
netem.c | 104 struct tc_netem_corr cor; local 106 nla_memcpy(&cor, tb[TCA_NETEM_CORR], sizeof(cor)); 107 netem->qnm_corr.nmc_delay = cor.delay_corr; 108 netem->qnm_corr.nmc_loss = cor.loss_corr; 109 netem->qnm_corr.nmc_duplicate = cor.dup_corr; 175 struct tc_netem_corr cor; local 184 memset(&cor, 0, sizeof(cor)); 262 cor.delay_corr = netem->qnm_corr.nmc_delay [all...] |