Home
last modified time | relevance | path

Searched refs:scalars (Results 1 – 25 of 195) sorted by relevance

12345678

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-cff2-interp-cs.hh92 scalars.init (); in init()
99 scalars.fini (); in fini()
136 if (unlikely (!scalars.resize (region_count))) in process_blend()
140 &scalars[0], region_count); in process_blend()
171 if (likely (scalars.length == arg.deltas.length)) in blend_arg()
174 for (unsigned int i = 0; i < scalars.length; i++) in blend_arg()
176 v += (double)scalars[i] * arg.deltas[i].to_real (); in blend_arg()
190 hb_vector_t<float> scalars; member
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-cff2-interp-cs.hh92 scalars.init (); in init()
99 scalars.fini (); in fini()
136 scalars.resize (region_count); in process_blend()
139 &scalars[0], region_count); in process_blend()
170 if (likely (scalars.length == arg.deltas.length)) in blend_arg()
173 for (unsigned int i = 0; i < scalars.length; i++) in blend_arg()
175 v += (double)scalars[i] * arg.deltas[i].to_real (); in blend_arg()
189 hb_vector_t<float> scalars; member
/third_party/harfbuzz/src/
Dhb-cff2-interp-cs.hh92 scalars.init (); in init()
99 scalars.fini (); in fini()
136 if (unlikely (!scalars.resize (region_count))) in process_blend()
140 &scalars[0], region_count); in process_blend()
171 if (likely (scalars.length == arg.deltas.length)) in blend_arg()
174 for (unsigned int i = 0; i < scalars.length; i++) in blend_arg()
176 v += (double)scalars[i] * arg.deltas[i].to_real (); in blend_arg()
190 hb_vector_t<float> scalars; member
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_sanity.c335 static struct reg scalars[512+1]; variable
351 for (i = 0, tmp = scalar_names ; i < ARRAY_SIZE(scalars) ; i++) { in init_regs()
353 scalars[i].idx = i; in init_regs()
354 scalars[i].closest = tmp; in init_regs()
355 scalars[i].flags = ISFLOAT; in init_regs()
366 scalars[ARRAY_SIZE(scalars)-1].idx = -1; in init_regs()
514 for (i = 0 ; i < ARRAY_SIZE(scalars) ; i++) in dump_state()
515 print_reg( &scalars[i] ); in dump_state()
563 int sz = header.scalars.count; in radeon_emit_scalars()
565 int start = header.scalars.offset; in radeon_emit_scalars()
[all …]
/third_party/PyYAML/tests/data/
Dsloppy-indentation.data8 the parser does not require scalars
12 "the parser does not require scalars
16 bar: 'quoted scalars
Dsloppy-indentation.canonical14 "the parser does not require scalars to be indented with at least one space"
16 "the parser does not require scalars to be indented with at least one space"
18 { ? !!str "foo": { ? !!str "bar" : !!str "quoted scalars may not adhere indentation" } }
/third_party/mindspore/tests/st/numpy_native/
Dutils.py66 for i in range(len(test_case.scalars)):
67 arrs = test_case.scalars[:i]
126 for scalar in test_case.scalars:
130 for scalar1 in test_case.scalars:
131 for scalar2 in test_case.scalars:
147 for arr in test_case.scalars:
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_sanity.c613 static struct reg scalars[512+1]; variable
629 for (i = 0, tmp = scalar_names ; i < ARRAY_SIZE(scalars) ; i++) { in init_regs()
631 scalars[i].idx = i; in init_regs()
632 scalars[i].closest = tmp; in init_regs()
633 scalars[i].flags = ISFLOAT; in init_regs()
644 scalars[ARRAY_SIZE(scalars)-1].idx = -1; in init_regs()
792 for (i = 0 ; i < ARRAY_SIZE(scalars) ; i++) in dump_state()
793 print_reg( &scalars[i] ); in dump_state()
841 int sz = header.scalars.count; in radeon_emit_scalars()
843 int start = header.scalars.offset; in radeon_emit_scalars()
[all …]
Dr200_state_init.c200 h.scalars.cmd_type = RADEON_CMD_SCALARS; in cmdscl()
201 h.scalars.offset = offset; in cmdscl()
202 h.scalars.stride = stride; in cmdscl()
203 h.scalars.count = count; in cmdscl()
211 h.scalars.cmd_type = RADEON_CMD_SCALARS2; in cmdscl2()
212 h.scalars.offset = offset - 0x100; in cmdscl2()
213 h.scalars.stride = stride; in cmdscl2()
214 h.scalars.count = count; in cmdscl2()
312 OUT_BATCH((h.scalars.offset) | (h.scalars.stride << RADEON_SCAL_INDX_DWORD_STRIDE_SHIFT)); \
313 OUT_BATCH(CP_PACKET0_ONE(R200_SE_TCL_SCALAR_DATA_REG, h.scalars.count - 1)); \
[all …]
/third_party/openssl/test/
Dectest.c66 const BIGNUM *scalars[6]; in group_order_tests() local
104 scalars[0] = scalars[1] = BN_value_one(); in group_order_tests()
107 if (!TEST_true(EC_POINTs_mul(group, R, NULL, 2, points, scalars, ctx)) in group_order_tests()
112 scalars[0] = n1; in group_order_tests()
114 scalars[1] = n2; in group_order_tests()
116 scalars[2] = n1; in group_order_tests()
118 scalars[3] = n2; in group_order_tests()
120 scalars[4] = n1; in group_order_tests()
122 scalars[5] = n2; in group_order_tests()
124 if (!TEST_true(EC_POINTs_mul(group, P, NULL, 6, points, scalars, ctx)) in group_order_tests()
[all …]
/third_party/flutter/skia/experimental/svg/model/
DSkSVGAttributeParser.cpp303 SkScalar scalars[6]; in parseMatrixToken() local
305 if (!(this->parseScalarToken(scalars + i) && in parseMatrixToken()
311 m->setAll(scalars[0], scalars[2], scalars[4], scalars[1], scalars[3], scalars[5], 0, 0, 1); in parseMatrixToken()
/third_party/skia/tests/sksl/errors/
DConstructorArgumentCount.glsl3 error: 1: invalid arguments to 'float3' constructor (expected 3 scalars, but found 2)
4 error: 2: invalid arguments to 'float3' constructor (expected 3 scalars, but found 4)
/third_party/glslang/Test/
Dhlsl.intrinsics.negative.frag23 length(inF0); // expected error: invalid on scalars
25 normalize(inF0); // expected error: invalid on scalars
26 reflect(inF0, inF1); // expected error: invalid on scalars
27 refract(inF0, inF1, inF2); // expected error: invalid on scalars
47 CheckAccessFullyMapped(inF0); // expected error: only valid on scalars
64 CheckAccessFullyMapped(inF0); // expected error: only valid on scalars
81 CheckAccessFullyMapped(inF0); // expected error: only valid on scalars
Dhlsl.intrinsics.negative.comp42 // length(inF0); // expect error: invalid on scalars
44 // normalize(inF0); // expect error: invalid on scalars
45 // reflect(inF0, inF1); // expect error: invalid on scalars
46 // refract(inF0, inF1, inF2); // expect error: invalid on scalars
70 // CheckAccessFullyMapped(inF0); // expect error: only valid on scalars
116 … CheckAccessFullyMapped(inF0); // expect error: only valid on scalars
161 … CheckAccessFullyMapped(inF0); // expect error: only valid on scalars
Dhlsl.intrinsics.negative.vert60 // length(inF0); // expect error: invalid on scalars
62 // normalize(inF0); // expect error: invalid on scalars
63 // reflect(inF0, inF1); // expect error: invalid on scalars
64 // refract(inF0, inF1, inF2); // expect error: invalid on scalars
88 … CheckAccessFullyMapped(inF0); // expect error: only valid on scalars
134 … CheckAccessFullyMapped(inF0); // expect error: only valid on scalars
179 … CheckAccessFullyMapped(inF0); // expect error: only valid on scalars
/third_party/vk-gl-cts/modules/gles2/scripts/
Dgenutil.py596 def __init__ (self, numCols, numRows, scalars): argument
597 assert len(scalars) == numRows*numCols
600 self.scalars = scalars
604 scalars = []
607 scalars.append(1.0 if col == row else 0.0)
608 return Mat(numCols, numRows, scalars)
613 return self.scalars[colNdx*self.numRows + rowNdx]
618 self.scalars[colNdx*self.numRows + rowNdx] = scalar
644 return "%s(%s)" % (self.typeString(), ", ".join([str(s) for s in self.scalars]))
651 return (self.scalars == other.scalars)
[all …]
Dgen-conversions.py82 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps])
84 res.append(Vec.fromScalarList(scalars))
102 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps])
103 res.append(Mat(numCols, numRows, scalars))
/third_party/skia/modules/svg/src/
DSkSVGAttributeParser.cpp418 SkScalar scalars[6]; in parseMatrixToken() local
420 if (!(this->parseScalarToken(scalars + i) && in parseMatrixToken()
426 m->setAll(scalars[0], scalars[2], scalars[4], scalars[1], scalars[3], scalars[5], 0, 0, 1); in parseMatrixToken()
/third_party/flatbuffers/tests/
Doptional_scalars.fbs9 // This table tests optional scalars in tables. It should be integrated with
10 // the main monster test once most languages support optional scalars.
/third_party/openssl/crypto/ec/
Dec_local.h140 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
342 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
505 const EC_POINT *points[], const BIGNUM *scalars[],
510 const BIGNUM *scalars[], BN_CTX *ctx);
525 const EC_POINT *points[], const BIGNUM *scalars[],
530 const BIGNUM *scalars[], BN_CTX *ctx);
545 const EC_POINT *points[], const BIGNUM *scalars[],
550 const BIGNUM *scalars[], BN_CTX *ctx);
Decp_nistz256.c624 const BIGNUM **scalars = NULL; in ecp_nistz256_windowed_mul() local
633 || (scalars = OPENSSL_malloc(num * sizeof(BIGNUM *))) == NULL) { in ecp_nistz256_windowed_mul()
654 scalars[i] = mod; in ecp_nistz256_windowed_mul()
656 scalars[i] = scalar[i]; in ecp_nistz256_windowed_mul()
658 for (j = 0; j < bn_get_top(scalars[i]) * BN_BYTES; j += BN_BYTES) { in ecp_nistz256_windowed_mul()
659 BN_ULONG d = bn_get_words(scalars[i])[j / BN_BYTES]; in ecp_nistz256_windowed_mul()
780 OPENSSL_free(scalars); in ecp_nistz256_windowed_mul()
952 const BIGNUM *scalars[], BN_CTX *ctx) in ecp_nistz256_points_mul() argument
1131 memcpy(new_scalars, scalars, num * sizeof(BIGNUM *)); in ecp_nistz256_points_mul()
1136 scalars = new_scalars; in ecp_nistz256_points_mul()
[all …]
/third_party/mindspore/tests/st/ops/gpu/
Dtest_matmul_op.py99 scalars = [np.random.randn(1).astype(np.float32), np.random.randn(1).astype(np.float32),
102 for x in scalars:
103 for y in scalars:
/third_party/vk-gl-cts/modules/gles3/scripts/
Dgenutil.py739 def __init__ (self, numCols, numRows, scalars): argument
740 assert len(scalars) == numRows*numCols
743 self.scalars = scalars
747 scalars = []
750 scalars.append(scalar if col == row else 0.0)
751 return Mat(numCols, numRows, scalars)
760 return self.scalars[colNdx*self.numRows + rowNdx]
765 self.scalars[colNdx*self.numRows + rowNdx] = scalar
791 return "%s(%s)" % (self.typeString(), ", ".join(["%s" % s for s in self.scalars]))
798 return (self.scalars == other.scalars)
[all …]
/third_party/vk-gl-cts/modules/gles31/scripts/
Dgenutil.py741 def __init__ (self, numCols, numRows, scalars): argument
742 assert len(scalars) == numRows*numCols
745 self.scalars = scalars
749 scalars = []
752 scalars.append(scalar if col == row else 0.0)
753 return Mat(numCols, numRows, scalars)
762 return self.scalars[colNdx*self.numRows + rowNdx]
767 self.scalars[colNdx*self.numRows + rowNdx] = scalar
793 return "%s(%s)" % (self.typeString(), ", ".join(["%s" % s for s in self.scalars]))
800 return (self.scalars == other.scalars)
[all …]
/third_party/mesa3d/src/asahi/lib/
Dagx_device.c414 uint64_t scalars[2] = { in agx_create_command_queue() local
421 scalars, 2, NULL, NULL); in agx_create_command_queue()
427 uint64_t scalars[2] = { in agx_create_command_queue() local
434 scalars, 2, NULL, NULL); in agx_create_command_queue()

12345678