/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Print.hpp | 155 // vals is a helper to build composite value lists. 156 // vals returns the full, sequential list of printf argument values used 158 // vals() is intended to be used by implementations of 159 // PrintValue::Ty<>::vals() to help declare aggregate types. 177 // return PrintValue::vals(v.a, v.b, v.c, v.d); 182 static std::vector<Value *> vals(ARGS... v) in vals() function in rr::PrintValue 340 // VPrintf emits a call to printf() using vals[0] as the format string, 341 // and vals[1..n] as the args. 342 void VPrintf(const std::vector<Value *> &vals); 347 void Printv(const char *function, const char *file, int line, const char *msg, std::initializer_list<PrintValue> vals); 359 Printv(const char *msg, std::initializer_list<PrintValue> vals) Printv() argument 367 Print(const char *msg, const ARGS &...vals) Print() argument 375 Print(const char *function, const char *file, int line, const char *msg, const ARGS &...vals) Print() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | velocity_tracker.cpp | 45 std::optional<bool> GetMononicity(const std::vector<double>& vals, uint32_t valSize) in GetMononicity() argument 48 for (uint32_t i = vals.size() - valSize + 1; i < vals.size(); ++i) { in GetMononicity() 49 double delta = vals[i] - vals[i - 1]; in GetMononicity()
|
/third_party/ffmpeg/libavcodec/ |
H A D | lsp.c | 228 void ff_sort_nearly_sorted_floats(float *vals, int len) in ff_sort_nearly_sorted_floats() argument 233 for (j = i; j >= 0 && vals[j] > vals[j+1]; j--) in ff_sort_nearly_sorted_floats() 234 FFSWAP(float, vals[j], vals[j+1]); in ff_sort_nearly_sorted_floats()
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A D | psintrp.c | 342 CF2_Fixed vals[14]; in cf2_doFlex() local 348 vals[0] = *curX; in cf2_doFlex() 349 vals[1] = *curY; in cf2_doFlex() 356 vals[i + 2] = vals[i]; in cf2_doFlex() 358 vals[i + 2] = ADD_INT32( vals[i + 2], cf2_stack_getReal( opStack, in cf2_doFlex() 363 vals[9 + 2] = *curY; in cf2_doFlex() 368 cf2_fixedAbs( SUB_INT32( vals[10], *curX ) ) > in cf2_doFlex() 369 cf2_fixedAbs( SUB_INT32( vals[1 in cf2_doFlex() [all...] |
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | bash.rs | 200 if let Some(vals) = crate::generator::utils::possible_values(o) { in vals_for() 203 vals.iter() in vals_for() 227 if let Some(vals) = utils::possible_values(pos) { in all_options_for_path() 228 for value in vals { in all_options_for_path()
|
/third_party/rust/crates/nix/src/ |
H A D | macros.rs | 291 $($vals:tt)* 303 $($vals)* 311 $($vals:tt)* 325 $($vals)*
|
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | rnndec.c | 50 if (!strcasecmp(en->vals[i]->name, variant)) { in rnndec_varadd() 131 struct rnnvalue **vals, int valsnum, uint64_t value) in rnndec_decode_enum_val() 135 if (rnndec_varmatch(ctx, &vals[i]->varinfo) && in rnndec_decode_enum_val() 136 vals[i]->valvalid && vals[i]->value == value) in rnndec_decode_enum_val() 137 return vals[i]->name; in rnndec_decode_enum_val() 145 return rnndec_decode_enum_val(ctx, en->vals, en->valsnum, enumval); in rnndec_decode_enum() 163 struct rnnvalue **vals; in rnndec_decodeval() local 179 vals = ti->eenum->vals; in rnndec_decodeval() 130 rnndec_decode_enum_val(struct rnndeccontext *ctx, struct rnnvalue **vals, int valsnum, uint64_t value) rnndec_decode_enum_val() argument [all...] |
H A D | headergen2.c | 223 printvalue(ti->vals[i], ti->low); in printtypeinfo() 284 if (elem->index->vals[j]->value == i) { in printdelem() 285 val = elem->index->vals[j]; in printdelem() 473 dst = findfout(db->enums[i]->vals[j]->file); in main() 476 if (0xffff0000 & db->enums[i]->vals[j]->value) in main() 477 fprintf(dst, "\t%s = 0x%08"PRIx64",\n", db->enums[i]->vals[j]->name, in main() 478 db->enums[i]->vals[j]->value); in main() 480 fprintf(dst, "\t%s = %"PRIu64",\n", db->enums[i]->vals[j]->name, in main() 481 db->enums[i]->vals[j]->value); in main()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | SortUtils.cpp | 21 unsigned *vals = &indices[0];
in SortFileNames() local 23 vals[i] = i;
in SortFileNames()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | gen_disasm.py | 136 for i, (_, vals) in enumerate(desc.get('derived', [])): 137 for j, val in enumerate(vals): 173 def evaluate_forward_derived(vals, ctx, ordering): 174 for j, expr in enumerate(vals): 186 for vals in derivf: 187 evaled = evaluate_forward_derived(vals, ctx, ordering)
|
/third_party/skia/src/core/ |
H A D | SkVM.cpp | 2658 std::vector<llvm::Value*> vals(instructions.size()); 2698 vals[i] = b->CreateSub(b->CreateVectorSplat(K, n), 2701 vals[i] = n; 2709 vals[i] = b->CreateZExt( 2714 case Op::splat: vals[i] = llvm::ConstantInt::get(I32, immA); break; 2722 vals[i] = I32->isVectorTy() ? b->CreateVectorSplat(K, val) 2736 llvm::Value* ptr = b->CreateInBoundsGEP(t, base, vals[x]); 2746 vals[i] = b->CreateZExt(gathered, I32); 2753 llvm::Value* val = b->CreateTrunc(vals[x], t); 2756 vals[ [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | abs_rdb_predicates.cpp | 231 std::vector<std::string> vals;
in In() local 232 vals.reserve(values.size());
in In() 238 vals.emplace_back(std::move(*val));
in In() 240 predicates_.AddOperation(DistributedRdb::IN, field, vals);
in In() 314 std::vector<std::string> vals;
in NotIn() local 315 vals.reserve(values.size());
in NotIn() 321 vals.emplace_back(std::move(*val));
in NotIn() 323 predicates_.AddOperation(DistributedRdb::NOT_IN, field, vals);
in NotIn()
|
/third_party/skia/tools/viewer/ |
H A D | ParticlesSlide.cpp | 333 float* vals = data + uni.fSlot; in draw() 344 vals[0] = mousePos.fX; in draw() 345 vals[1] = mousePos.fY; in draw() 350 for (int c = 0; c < uni.fColumns; ++c, vals += uni.fRows) { in draw() 351 for (int r = 0; r < uni.fRows; ++r, ++vals) { in draw() 358 (unsigned int*)vals, ~0); in draw() 374 for (int c = 0; c < uni.fColumns; ++c, vals += uni.fRows) { in draw() 376 ImGui::DragScalarN(uni.fName.c_str(), dataType, vals, uni.fRows, 1.0f); in draw()
|
/third_party/skia/bench/ |
H A D | DashBench.cpp | 184 SkScalar vals[] = { SkIntToScalar(4), SkIntToScalar(4) }; in MakeDashBench() local 185 fPE = SkDashPathEffect::Make(vals, 2, 0); in MakeDashBench() 222 SkScalar vals[] = { SK_Scalar1, SK_Scalar1 }; in DashLineBench() local 223 fPE = SkDashPathEffect::Make(vals, 2, 0); in DashLineBench() 261 SkScalar vals[] = { SkIntToScalar(dashLength), SkIntToScalar(dashLength) }; in DrawPointsDashingBench() local 262 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DrawPointsDashingBench() 386 SkScalar vals[] = { SkIntToScalar(dashLength), SkIntToScalar(dashLength) }; in DashGridBench() local 387 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DashGridBench()
|
/third_party/googletest/googlemock/test/ |
H A D | gmock-matchers-misc_test.cc | 219 static const int vals[] = {1, 1, 2, 3, 5, 8}; in TYPED_TEST() local 220 TypeParam my_set(vals, vals + 6); in TYPED_TEST() 228 static const int vals[] = {1, 1, 2, 3, 5, 8}; in TYPED_TEST() local 230 TypeParam my_set(vals, vals + 6); in TYPED_TEST() 240 static const int vals[] = {1, 1, 2, 3, 5, 8}; in TYPED_TEST() local 242 TypeParam my_set(vals, vals + 6); in TYPED_TEST() 251 static const int vals[] in TYPED_TEST() local 265 static const int vals[] = {1, 1, 2, 3, 5, 8}; TYPED_TEST() local 279 static const int vals[] = {1, 1, 2, 3, 5, 8}; TEST() local 292 static const int vals[] = {1, 1, 2, 3, 5, 8}; TEST() local 304 static const int vals[] = {1, 1, 2, 3, 5, 8}; TEST() local 319 static const int vals[] = {1, 1, 2, 3, 5, 8}; TEST() local [all...] |
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | path_effect_test.cpp | 29 scalar vals[] = { 10.0, 20.0 }; in TestDrawDashPathEffect() local 31 pen.SetPathEffect(PathEffect::CreateDashPathEffect(vals, 2, 25)); in TestDrawDashPathEffect()
|
/third_party/ltp/tools/sparse/sparse-src/validation/backend/ |
H A D | pointer-param.c | 12 static int vals[5], valt[5], valr[5]; in foo() local 19 usei(vals); in foo()
|
/third_party/rust/crates/clap/examples/ |
H A D | escaped-positional.rs | 27 .map(|vals| vals.collect::<Vec<_>>()) in main()
|
/third_party/astc-encoder/Source/ |
H A D | astcenc_color_quantize.cpp | 1208 float vals[4]; in quantize_hdr_rgbo() variable 1209 vals[0] = color_bak.lane<0>(); in quantize_hdr_rgbo() 1210 vals[1] = color_bak.lane<1>(); in quantize_hdr_rgbo() 1211 vals[2] = color_bak.lane<2>(); in quantize_hdr_rgbo() 1212 vals[3] = color_bak.lane<3>(); in quantize_hdr_rgbo() 1219 vals[i] = astc::clamp(vals[i], 0.0f, 65020.0f); in quantize_hdr_rgbo() 1220 ivals[i] = astc::flt2int_rtn(vals[i] * (1.0f / 512.0f)); in quantize_hdr_rgbo() 1224 float rgb_errorsum = (cvals[0] - vals[0]) + (cvals[1] - vals[ in quantize_hdr_rgbo() [all...] |
H A D | astcenc_vecmathlib_neon_4.h | 640 alignas(16) int vals[4]; in gatheri() local 641 vals[0] = base[idx[0]]; in gatheri() 642 vals[1] = base[idx[1]]; in gatheri() 643 vals[2] = base[idx[2]]; in gatheri() 644 vals[3] = base[idx[3]]; in gatheri() 645 return vint4(vals); in gatheri() 850 alignas(16) float vals[4]; in gatherf() local 851 vals[0] = base[idx[0]]; in gatherf() 852 vals[1] = base[idx[1]]; in gatherf() 853 vals[ in gatherf() [all...] |
/third_party/node/test/parallel/ |
H A D | test-buffer-inheritance.js | 23 const vals = [new T(4), T(4)]; 25 vals.forEach(function(t) {
|
/third_party/spirv-tools/source/util/ |
H A D | hash_combine.h | 35 inline size_t hash_combine(std::size_t hash, const std::vector<T>& vals) { in hash_combine() argument 36 for (const T& val : vals) { in hash_combine()
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_pci.c | 243 STACK_OF(CONF_VALUE) *vals; in r2i_pci() 249 vals = X509V3_parse_list(value); in r2i_pci() 250 for (i = 0; i < sk_CONF_VALUE_num(vals); i++) { in r2i_pci() 251 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); in r2i_pci() 319 sk_CONF_VALUE_pop_free(vals, X509V3_conf_free); in r2i_pci()
|
/third_party/skia/src/codec/ |
H A D | SkAndroidCodec.cpp | 28 float sum = xyz.vals[rgbIdx][0] + xyz.vals[rgbIdx][1] + xyz.vals[rgbIdx][2]; in load_gamut() 29 rgb[rgbIdx].fX = xyz.vals[rgbIdx][0] / sum; in load_gamut() 30 rgb[rgbIdx].fY = xyz.vals[rgbIdx][1] / sum; in load_gamut()
|
/third_party/openssl/crypto/x509/ |
H A D | v3_pci.c | 243 STACK_OF(CONF_VALUE) *vals; in r2i_pci() 249 vals = X509V3_parse_list(value); in r2i_pci() 250 for (i = 0; i < sk_CONF_VALUE_num(vals); i++) { in r2i_pci() 251 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); in r2i_pci() 319 sk_CONF_VALUE_pop_free(vals, X509V3_conf_free); in r2i_pci()
|