Home
last modified time | relevance | path

Searched refs:spread (Results 1 - 25 of 47) sorted by relevance

12

/third_party/musl/src/math/
H A Dfmal.c172 int spread; in fmal() local
192 spread = ex + ey - ez; in fmal()
199 if (spread < -LDBL_MANT_DIG) { in fmal()
233 if (spread <= LDBL_MANT_DIG * 2) in fmal()
234 zs = scalbnl(zs, -spread); in fmal()
251 spread = ex + ey; in fmal()
260 return xy.hi + vzs + scalbnl(xy.lo, spread); in fmal()
277 ret = scalbnl(r.hi + adj, spread); in fmal()
288 if (spread + ilogbl(r.hi) > -16383) in fmal()
289 return scalbnl(r.hi + adj, spread); in fmal()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dfmal.c172 int spread; in fmal() local
192 spread = ex + ey - ez; in fmal()
199 if (spread < -LDBL_MANT_DIG) { in fmal()
233 if (spread <= LDBL_MANT_DIG * 2) in fmal()
234 zs = scalbnl(zs, -spread); in fmal()
251 spread = ex + ey; in fmal()
260 return xy.hi + vzs + scalbnl(xy.lo, spread); in fmal()
277 ret = scalbnl(r.hi + adj, spread); in fmal()
288 if (spread + ilogbl(r.hi) > -16383) in fmal()
289 return scalbnl(r.hi + adj, spread); in fmal()
[all...]
/third_party/skia/third_party/externals/freetype/src/sdf/
H A Dftsdfrend.c69 if ( ft_strcmp( property_name, "spread" ) == 0 ) in sdf_property_set()
77 " the `spread' property can have a value\n" )); in sdf_property_set()
86 render->spread = (FT_UInt)val; in sdf_property_set()
88 " updated property `spread' to %d\n", val )); in sdf_property_set()
143 if ( ft_strcmp( property_name, "spread" ) == 0 ) in sdf_property_get()
148 *val = render->spread; in sdf_property_get()
229 sdf_render->spread = DEFAULT_SPREAD; in ft_sdf_init()
311 /* the padding will simply be equal to the `spread' */ in ft_sdf_render()
312 x_pad = sdf_module->spread; in ft_sdf_render()
313 y_pad = sdf_module->spread; in ft_sdf_render()
[all...]
H A Dftbsdf.c452 /* Since our spread cannot be 0, this condition */ in compute_edge_distance()
1101 FT_16D16 spread; in finalize_sdf() local
1122 spread = FT_INT_16D16( worker->params.spread * in finalize_sdf()
1123 worker->params.spread ); in finalize_sdf()
1125 spread = FT_INT_16D16( worker->params.spread ); in finalize_sdf()
1141 if ( dist < 0 || dist > spread ) in finalize_sdf()
1142 dist = spread; in finalize_sdf()
1157 final_dist = map_fixed_to_sdf( dist * sign, spread ); in finalize_sdf()
[all...]
H A Dftsdf.c3008 * spread ::
3022 FT_UInt spread, in sdf_generate()
3031 FT_UInt sp_sq = 0; /* `spread` [* `spread`] as a 16.16 fixed value */ in sdf_generate()
3042 if ( spread < MIN_SPREAD || spread > MAX_SPREAD ) in sdf_generate()
3053 sp_sq = FT_INT_16D16( spread * spread ); in sdf_generate()
3055 sp_sq = FT_INT_16D16( spread ); in sdf_generate()
3113 /* the value to spread t in sdf_generate()
3020 sdf_generate( const SDF_Params internal_params, const SDF_Shape* shape, FT_UInt spread, const FT_Bitmap* bitmap ) sdf_generate() argument
3190 sdf_generate_bounding_box( const SDF_Params internal_params, const SDF_Shape* shape, FT_UInt spread, const FT_Bitmap* bitmap ) sdf_generate_bounding_box() argument
3414 sdf_generate_subdivision( const SDF_Params internal_params, SDF_Shape* shape, FT_UInt spread, const FT_Bitmap* bitmap ) sdf_generate_subdivision() argument
3492 sdf_generate_with_overlaps( SDF_Params internal_params, SDF_Shape* shape, FT_UInt spread, const FT_Bitmap* bitmap ) sdf_generate_with_overlaps() argument
[all...]
H A Dftsdf.h47 * spread ::
49 * `spread` defines the maximum unsigned value that is present in the
78 FT_UInt spread; member
H A Dftsdfrend.h46 * spread ::
48 * `spread` defines the maximum unsigned value that is present in the
77 FT_UInt spread; member
/third_party/typescript/tests/baselines/reference/
H A DobjectSpreadNegative.js23 let spread = { ...{ b: true }, ...{s: "foo" } };
24 spread = { s: "foo" }; // error, missing 'b'
26 spread = b; // error, missing 's'
28 // literal repeats are not allowed, but spread repeats are fine
108 var spread = __assign({ b: true }, { s: "foo" });
109 spread = { s: "foo" }; // error, missing 'b'
111 spread = b; // error, missing 's'
112 // literal repeats are not allowed, but spread repeats are fine
H A DtemplateLiteralTypes3.js179 declare function spread<P extends DotString>(...args: P[]): P;
184 spread(`1.${'2'}.3`, `1.${'2'}.4`);
185 spread(`1.${'2' as string}.3`, `1.${'2' as string}.4`);
188 spread(`1.${t}.3`, `1.${t}.4`);
189 spread(`1.${u}.3`, `1.${u}.4`);
190 spread(u1, u2);
281 spread("1.".concat('2', ".3"), "1.".concat('2', ".4"));
282 spread("1.".concat('2', ".3"), "1.".concat('2', ".4"));
284 spread("1.".concat(t, ".3"), "1.".concat(t, ".4"));
285 spread("
[all...]
H A DnarrowingDestructuring.js20 const { f: { a, ...spread } } = value;
23 const { g: { c, ...spread } } = value;
67 var _a = value.f, a = _a.a, spread = __rest(_a, ["a"]);
71 var _b = value.g, c = _b.c, spread = __rest(_b, ["c"]);
H A DdeclarationEmitReadonlyComputedProperty.js19 export const spread = {
49 exports.spread = void 0;
51 exports.spread = __assign({}, (0, bug_1.createInstance)());
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-call-gen.cc355 TNode<Object> spread, TNode<Int32T> args_count, TNode<Context> context) { in CallOrConstructWithSpread()
363 GotoIf(TaggedIsSmi(spread), &if_generic); in CallOrConstructWithSpread()
364 TNode<Map> spread_map = LoadMap(CAST(spread)); in CallOrConstructWithSpread()
366 TNode<JSArray> spread_array = CAST(spread); in CallOrConstructWithSpread()
382 // The fast-path accesses the {spread} elements directly. in CallOrConstructWithSpread()
388 // Check elements kind of {spread}. in CallOrConstructWithSpread()
405 GotoIf(IsNullOrUndefined(spread), &if_iterator_is_null_or_undefined); in CallOrConstructWithSpread()
408 GetProperty(context, spread, IteratorSymbolConstant()); in CallOrConstructWithSpread()
412 spread, iterator_fn)); in CallOrConstructWithSpread()
433 spread); in CallOrConstructWithSpread()
353 CallOrConstructWithSpread( TNode<Object> target, base::Optional<TNode<Object>> new_target, TNode<Object> spread, TNode<Int32T> args_count, TNode<Context> context) CallOrConstructWithSpread() argument
527 auto spread = Parameter<Object>(Descriptor::kSpread); TF_BUILTIN() local
536 auto spread = Parameter<Object>(Descriptor::kSpread); TF_BUILTIN() local
551 auto spread = Parameter<Object>(Descriptor::kSpread); TF_BUILTIN() local
[all...]
H A Dbuiltins-constructor-gen.cc120 auto spread = Parameter<Object>(Descriptor::kSpread); in TF_BUILTIN() local
124 CallOrConstructWithSpread(target, new_target, spread, args_count, context); in TF_BUILTIN()
130 auto spread = Parameter<Object>(Descriptor::kSpread); in TF_BUILTIN() local
135 target, new_target, spread, args_count, in TF_BUILTIN()
144 auto spread = Parameter<Object>(Descriptor::kSpread); in TF_BUILTIN() local
152 target, new_target, spread, args_count, [=] { return context; }, in TF_BUILTIN()
158 TNode<Object> target, TNode<Object> new_target, TNode<Object> spread, in BuildConstructWithSpread()
174 CallOrConstructWithSpread(target, new_target, spread, argc, eager_context); in BuildConstructWithSpread()
157 BuildConstructWithSpread( TNode<Object> target, TNode<Object> new_target, TNode<Object> spread, TNode<Int32T> argc, const LazyNode<Context>& context, const LazyNode<HeapObject>& feedback_vector, TNode<UintPtrT> slot, UpdateFeedbackMode mode) BuildConstructWithSpread() argument
H A Dbuiltins-call-gen.h30 TNode<Object> spread, TNode<Int32T> args_count,
55 TNode<Object> spread, TNode<Int32T> argc,
/third_party/ffmpeg/libavfilter/
H A Daf_aspectralstats.c36 float spread; member
172 set_meta(metadata, ch + 1, "spread", "%g", stats->spread); in set_metadata()
245 static float spectral_skewness(const float *const spectral, int size, int max_freq, float centroid, float spread) in spectral_skewness() argument
255 den *= cbrf(spread); in spectral_skewness()
261 static float spectral_kurtosis(const float *const spectral, int size, int max_freq, float centroid, float spread) in spectral_kurtosis() argument
271 den *= sqrf(sqrf(spread)); in spectral_kurtosis()
430 stats->spread = spectral_spread(magnitude, s->win_size / 2, in->sample_rate / 2, stats->centroid); in filter_channel()
431 stats->skewness = spectral_skewness(magnitude, s->win_size / 2, in->sample_rate / 2, stats->centroid, stats->spread); in filter_channel()
432 stats->kurtosis = spectral_kurtosis(magnitude, s->win_size / 2, in->sample_rate / 2, stats->centroid, stats->spread); in filter_channel()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DGCNILPSched.cpp170 int spread = (int)left->getDepth() - (int)right->getDepth(); in pickBest() local
171 if (std::abs(spread) > MaxReorderWindow) { in pickBest()
181 int spread = (int)left->getHeight() - (int)right->getHeight(); in pickBest() local
182 if (std::abs(spread) > MaxReorderWindow) in pickBest()
/third_party/skia/modules/svg/src/
H A DSkSVGGradient.cpp101 bool SkSVGAttributeParser::parse(SkSVGSpreadMethod* spread) { in parse() argument
114 *spread = SkSVGSpreadMethod(gSpreadInfo[i].fType); in parse()
/third_party/ffmpeg/libavcodec/
H A Dopus_pvq.c111 enum CeltSpread spread, const int encode) in celt_exp_rotation()
118 if (2*K >= len || spread == CELT_SPREAD_NONE) in celt_exp_rotation()
121 gain = (float)len / (len + (20 - 5*spread) * K); in celt_exp_rotation()
418 enum CeltSpread spread, uint32_t blocks, float gain, in celt_alg_quant()
423 celt_exp_rotation(X, N, blocks, K, spread, 1); in celt_alg_quant()
427 celt_exp_rotation(X, N, blocks, K, spread, 0); in celt_alg_quant()
434 enum CeltSpread spread, uint32_t blocks, float gain, in celt_alg_unquant()
441 celt_exp_rotation(X, N, blocks, K, spread, 0); in celt_alg_unquant()
805 f->spread, blocks, gain, pvq); in quant_band_template()
808 f->spread, block in quant_band_template()
109 celt_exp_rotation(float *X, uint32_t len, uint32_t stride, uint32_t K, enum CeltSpread spread, const int encode) celt_exp_rotation() argument
417 celt_alg_quant(OpusRangeCoder *rc, float *X, uint32_t N, uint32_t K, enum CeltSpread spread, uint32_t blocks, float gain, CeltPVQ *pvq) celt_alg_quant() argument
433 celt_alg_unquant(OpusRangeCoder *rc, float *X, uint32_t N, uint32_t K, enum CeltSpread spread, uint32_t blocks, float gain, CeltPVQ *pvq) celt_alg_unquant() argument
[all...]
H A Daaccoder.c55 /* Parameter of f(x) = a*(lambda/100), defines the maximum fourier spread
587 float sfb_energy = 0.0f, threshold = 0.0f, spread = 2.0f; in search_for_pns() local
600 spread = FFMIN(spread, band->spread); in search_for_pns()
614 * 1. high spread energy (noise-like band) in search_for_pns()
621 ((sce->zeroes[w*16+g] || !sce->band_alt[w*16+g]) && sfb_energy < threshold*sqrtf(1.0f/freq_boost)) || spread < spread_threshold || in search_for_pns()
630 pns_tgt_energy = sfb_energy*FFMIN(1.0f, spread*spread); in search_for_pns()
662 /* Estimate rd on average as 5 bits for SF, 4 for the CB, plus spread energ in search_for_pns()
718 float sfb_energy = 0.0f, threshold = 0.0f, spread = 2.0f; mark_pns() local
[all...]
H A Dpsymodel.h54 float spread; /* Energy spread over the band */ member
H A Dopus_celt.h124 enum CeltSpread spread; member
H A Daaccoder_twoloop.h222 float uplim = 0.0f, energy = 0.0f, spread = 0.0f; in search_for_quantizers_twoloop() local
241 spread += band->spread; in search_for_quantizers_twoloop()
251 spread_thr_r[w*16+g] = energy * nz / (uplim * spread); in search_for_quantizers_twoloop()
517 * Zero the bands in the lowest 1.25% spread-energy-threshold ranking in search_for_quantizers_twoloop()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/
H A Dcpuset_memory_spread_testset.sh221 tst_resm TFAIL "set spread value failed."
281 tst_resm TPASS "Cpuset memory spread page test succeeded."
287 # test general spread page cache in a cpuset
290 while read spread cpus nodes exp_nodes
292 base_test "$spread" "$cpus" "$nodes" "$exp_nodes"
301 # while read spread cpus nodes exp_nodes
334 tst_resm TPASS "Cpuset memory spread page test succeeded."
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_fs_dead_code_eliminate.cpp101 inst->dst = fs_reg(spread(retype(brw_null_reg(), inst->dst.type), in dead_code_eliminate()
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
H A DMultiChannelResampler.h196 static float hammingWindow(float radians, float spread);

Completed in 20 milliseconds

12