Home
last modified time | relevance | path

Searched refs:cutoff (Results 1 – 25 of 35) sorted by relevance

12

/external/openssh/openbsd-compat/
Dstrtoll.c53 long long acc, cutoff; in strtoll() local
101 cutoff = neg ? LLONG_MIN : LLONG_MAX; in strtoll()
102 cutlim = cutoff % base; in strtoll()
103 cutoff /= base; in strtoll()
107 cutoff += 1; in strtoll()
123 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
133 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
Dstrtoul.c51 unsigned long acc, cutoff; in strtoul() local
79 cutoff = ULONG_MAX / (unsigned long)base; in strtoul()
92 if (acc > cutoff || acc == cutoff && c > cutlim) { in strtoul()
Dstrtoull.c53 unsigned long long acc, cutoff; in strtoull() local
81 cutoff = ULLONG_MAX / (unsigned long long)base; in strtoull()
94 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoull()
/external/dbus/tools/
Dstrtoll.c70 unsigned long long cutoff; in strtoll() local
123 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX in strtoll()
125 cutlim = cutoff % base; in strtoll()
126 cutoff /= base; in strtoll()
138 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoll()
Dstrtoull.c71 unsigned long long cutoff; in strtoull() local
104 cutoff = ULLONG_MAX / base; in strtoull()
117 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoull()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
DSemiVariance.java234 public double evaluate(final double[] values, final double cutoff) { in evaluate() argument
235 return evaluate(values, cutoff, varianceDirection, biasCorrected, 0, values.length); in evaluate()
251 … public double evaluate(final double[] values, final double cutoff, final Direction direction) { in evaluate() argument
252 return evaluate(values, cutoff, direction, biasCorrected, 0, values.length); in evaluate()
273 public double evaluate (final double[] values, final double cutoff, final Direction direction, in evaluate() argument
288 if ((values[i] > cutoff) == booleanDirection) { in evaluate()
289 dev = values[i] - cutoff; in evaluate()
/external/sonivox/arm-wt-22k/lib_src/
Deas_wtsynth.c1013 EAS_I32 cutoff; in WT_UpdateFilter() local
1023 cutoff = MULT_EG1_EG1(pWTVoice->eg2Value, pArt->eg2ToFc); in WT_UpdateFilter()
1024 cutoff += pArt->filterCutoff; in WT_UpdateFilter()
1027 cutoff -= FILTER_CUTOFF_FREQ_ADJUST + A5_PITCH_OFFSET_IN_CENTS; in WT_UpdateFilter()
1030 if (cutoff > FILTER_CUTOFF_MAX_PITCH_CENTS) in WT_UpdateFilter()
1031 cutoff = FILTER_CUTOFF_MAX_PITCH_CENTS; in WT_UpdateFilter()
1032 else if (cutoff < FILTER_CUTOFF_MIN_PITCH_CENTS) in WT_UpdateFilter()
1033 cutoff = FILTER_CUTOFF_MIN_PITCH_CENTS; in WT_UpdateFilter()
1035 WT_SetFilterCoeffs(pIntFrame, cutoff, pArt->filterQ); in WT_UpdateFilter()
1238 void WT_SetFilterCoeffs (S_WT_INT_FRAME *pIntFrame, EAS_I32 cutoff, EAS_I32 resonance) in WT_SetFilterCoeffs() argument
[all …]
Deas_dlssynth.c249 EAS_I32 cutoff; in DLS_UpdateFilter() local
260 cutoff = pDLSArt->filterCutoff; in DLS_UpdateFilter()
274 cutoff += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue); in DLS_UpdateFilter()
277 cutoff += FMUL_15x15(pWTVoice->eg2Value, pDLSArt->eg2ToFc); in DLS_UpdateFilter()
281 cutoff += (pVoice->velocity * pDLSArt->velToFc) >> 7; in DLS_UpdateFilter()
285 cutoff += (pVoice->note * pDLSArt->keyNumToFc) >> 7; in DLS_UpdateFilter()
288 cutoff -= FILTER_CUTOFF_FREQ_ADJUST + A5_PITCH_OFFSET_IN_CENTS; in DLS_UpdateFilter()
291 if (cutoff > FILTER_CUTOFF_MAX_PITCH_CENTS) in DLS_UpdateFilter()
292 cutoff = FILTER_CUTOFF_MAX_PITCH_CENTS; in DLS_UpdateFilter()
293 else if (cutoff < FILTER_CUTOFF_MIN_PITCH_CENTS) in DLS_UpdateFilter()
[all …]
Deas_wtsynth.h61 void WT_SetFilterCoeffs (S_WT_INT_FRAME *pIntFrame, EAS_I32 cutoff, EAS_I32 resonance);
/external/chromium-trace/catapult/experimental/heatmap/
Dmath.js14 var cutoff = values.length * percentile;
15 return values.slice(cutoff, cutoff + 1)[0];
Ddraw.js22 var cutoff = percentile(counts, 0.9);
23 if (cutoff < 2)
24 cutoff = 2;
40 var brightness = mapRange(count / cutoff, 0, 1, 2, 0.5);
Drenderer.js106 var cutoff = percentile(counts, 0.9);
107 if (cutoff < 2)
108 cutoff = 2;
124 var brightness = mapRange(count / cutoff, 0, 1, 2, 0);
/external/autotest/site_utils/
Dcount_jobs.py24 cutoff = datetime.now() - delta
25 return models.Job.objects.filter(created_on__gt=cutoff).count()
Ddiagnosis_utils.py165 cutoff = datetime.now() - time_delta_hours
168 host__id=host.id, started_on__gte=str(cutoff))
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tnl.c259 float cutoff = MAX2(a3, 1 / (1 - l->_CosCutoff)); in nv10_get_spot_coeff() local
261 k[0] = MAX2(0, a0 + b0 * cutoff); in nv10_get_spot_coeff()
263 k[2] = a2 + b2 * cutoff; in nv10_get_spot_coeff()
264 k[3] = - cutoff * l->_NormSpotDirection[0]; in nv10_get_spot_coeff()
265 k[4] = - cutoff * l->_NormSpotDirection[1]; in nv10_get_spot_coeff()
266 k[5] = - cutoff * l->_NormSpotDirection[2]; in nv10_get_spot_coeff()
267 k[6] = 1 - cutoff; in nv10_get_spot_coeff()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DParticleDepositionHeightMap.java134 float cutoff; in load() local
229 cutoff = calderaStartPoint * (1.0f - caldera); in load()
260 if (tempBuffer[calderaX][calderaY] > cutoff in load()
267 2 * cutoff - tempBuffer[calderaX][calderaY]; in load()
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.h249 inline std::pair<uint32, bool> ReadTagWithCutoff(uint32 cutoff)
890 uint32 cutoff) { in ReadTagWithCutoff() argument
902 return make_pair(tag, cutoff >= kMax1ByteVarint || tag <= cutoff); in ReadTagWithCutoff()
907 if (cutoff >= 0x80 && in ReadTagWithCutoff()
919 bool at_or_below_cutoff = cutoff >= kMax2ByteVarint || tag <= cutoff; in ReadTagWithCutoff()
925 return make_pair(last_tag_, static_cast<uint32>(last_tag_ - 1) < cutoff); in ReadTagWithCutoff()
/external/autotest/contrib/
Dsheriff_host_utils.py124 cutoff = django_timezone.now().date() - datetime.timedelta(days=days_back)
133 started_on__gte=cutoff).order_by('-started_on')[:limit_jobs])
144 cutoff)
/external/bison/lib/
Dstrtol.c242 register unsigned LONG int cutoff; in INTERNAL() local
345 cutoff = STRTOL_ULONG_MAX / (unsigned LONG int) base; in INTERNAL()
363 if (i > cutoff || (i == cutoff && c > cutlim)) in INTERNAL()
/external/speex/libspeex/
Dresample.c128 float cutoff; member
276 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) in sinc() argument
279 float xx = x * cutoff; in sinc()
281 return WORD2INT(32768.*cutoff); in sinc()
285 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func)); in sinc()
289 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) in sinc() argument
292 float xx = x * cutoff; in sinc()
294 return cutoff; in sinc()
298 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func); in sinc()
567 st->cutoff = quality_map[st->quality].downsample_bandwidth * st->den_rate / st->num_rate; in update_filter()
[all …]
/external/autotest/server/cros/
Drepair_utils.py76 cutoff = (datetime.datetime.today() -
81 started_on__gte=str(cutoff))
/external/autotest/frontend/health/
Dcomplete_failures.py138 cutoff = (datetime.datetime.today() -
140 return [name for name, last_pass in tests.items() if last_pass < cutoff]
/external/autotest/site_utils/admin/
Dclean_staged_images.py56 cutoff = time.time() - max_age_hours * _HOURS_TO_SECONDS
60 if age < cutoff:
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
DShaderUtils.java194 float cutoff = ShaderUtils.clamp(0.5f / swidth, 0, maxFreq); in sinValue() local
196 for (f = minFreq; f < 0.5 * cutoff; f *= 2) { in sinValue()
199 float fade = ShaderUtils.clamp(2 * (cutoff - f) / cutoff, 0, 1); in sinValue()
/external/apache-http/src/org/apache/http/impl/conn/
DSingleClientConnManager.java357 final long cutoff =
359 if (lastReleaseTime <= cutoff) {

12