Home
last modified time | relevance | path

Searched refs:vectors (Results 1 - 25 of 79) sorted by relevance

1234

/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/
H A Decdsa_vectors.js6 // The following function returns an array of test vectors
60 var vectors = []; variable
78 vectors.push(vector);
82 return vectors;
85 // Additional test vectors, using the same format as getTestVectors, but the
88 var vectors = [];
94 vectors.push(vector);
103 vectors.push(vector);
118 vectors.push(vector);
126 vectors
[all...]
H A Decdsa.js18 .then(function(vectors) {
45 .then(function(vectors) {
71 .then(function(vectors) {
97 .then(function(vectors) {
120 .then(function(vectors) {
144 .then(function(vectors) {
166 .then(function(vectors) {
202 .then(function(vectors) {
236 .then(function(vectors) {
268 .then(function(vectors) {
[all...]
H A Drsa.js17 .then(function(vectors) {
43 .then(function(vectors) {
68 .then(function(vectors) {
93 .then(function(vectors) {
115 .then(function(vectors) {
138 .then(function(vectors) {
161 .then(function(vectors) {
219 .then(function(vectors) {
254 .then(function(vectors) {
284 .then(function(vectors) {
[all...]
H A Deddsa.js17 .then(function(vectors) {
44 .then(function(vectors) {
70 .then(function(vectors) {
96 .then(function(vectors) {
119 .then(function(vectors) {
143 .then(function(vectors) {
165 .then(function(vectors) {
201 .then(function(vectors) {
235 .then(function(vectors) {
267 .then(function(vectors) {
[all...]
H A Deddsa_vectors.js5 // The following function returns an array of test vectors
39 var vectors = [];
54 vectors.push(vector);
57 return vectors;
H A Dhmac_vectors.js26 var vectors = [];
28 vectors.push({
38 return vectors;
H A Drsa_pkcs_vectors.js6 // The following function returns an array of test vectors
35 var vectors = [
91 return vectors;
H A Drsa_pss_vectors.js6 // The following function returns an array of test vectors
39 var vectors = [
146 return vectors;
/third_party/skia/docs/examples/
H A DPoint_DotProduct.cpp10 SkVector vectors[][2] = {{{50, 2}, {-14, 20}}, {{0, 50}, {-50, 0}}, {{-20, 25}, {25, -20}}, in REG_FIDDLE() local
15 canvas->drawLine(center[i], center[i] + vectors[i][0], paint); in REG_FIDDLE()
16 canvas->drawLine(center[i], center[i] + vectors[i][1], paint); in REG_FIDDLE()
18 str.printf("dot = %g", SkPoint::DotProduct(vectors[i][0], vectors[i][1])); in REG_FIDDLE()
H A DPoint_dot.cpp10 SkVector vectors[][2] = {{{50, 2}, {-14, 20}}, {{0, 50}, {-50, 0}}, {{-20, 25}, {25, -20}}, in REG_FIDDLE() local
15 canvas->drawLine(center[i], center[i] + vectors[i][0], paint); in REG_FIDDLE()
16 canvas->drawLine(center[i], center[i] + vectors[i][1], paint); in REG_FIDDLE()
18 str.printf("dot = %g", vectors[i][0].dot(vectors[i][1])); in REG_FIDDLE()
H A DPoint_CrossProduct.cpp10 SkVector vectors[][2] = {{{50, 2}, {-14, 20}}, {{0, 50}, {-50, 0}}, {{-20, 25}, {25, -20}}, in REG_FIDDLE() local
16 canvas->drawLine(center[i], center[i] + vectors[i][0], paint); in REG_FIDDLE()
18 canvas->drawLine(center[i], center[i] + vectors[i][1], paint); in REG_FIDDLE()
20 SkScalar cross = SkPoint::CrossProduct(vectors[i][1], vectors[i][0]); in REG_FIDDLE()
H A DPoint_cross.cpp10 SkVector vectors[][2] = {{{50, 2}, {-14, 20}}, {{0, 50}, {-50, 0}}, {{-20, 25}, {25, -20}}, in REG_FIDDLE() local
16 canvas->drawLine(center[i], center[i] + vectors[i][0], paint); in REG_FIDDLE()
18 canvas->drawLine(center[i], center[i] + vectors[i][1], paint); in REG_FIDDLE()
20 SkScalar cross = vectors[i][0].cross(vectors[i][1]); in REG_FIDDLE()
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/
H A Drsa.js10 var vectors = getTestVectors();
11 var passingVectors = vectors.passing;
12 var failingVectors = vectors.failing;
17 .then(function(vectors) {
46 .then(function(vectors) {
78 .then(function(vectors) {
105 .then(function(vectors) {
131 .then(function(vectors) {
176 .then(function(vectors) {
218 .then(function(vectors) {
[all...]
H A Daes.js10 var vectors = getTestVectors();
11 var passingVectors = vectors.passing;
12 var failingVectors = vectors.failing;
13 var decryptionFailingVectors = vectors.decryptionFailing;
/third_party/node/test/fixtures/crypto/
H A Dhmac.js41 const vectors = [];
43 vectors.push({
51 return vectors;
H A Decdsa.js97 const vectors = [];
100 vectors.push({
112 return vectors;
H A Deddsa.js42 const vectors = algorithms.map((algorithm) => ({
50 return vectors;
H A Drsa_pkcs.js102 const vectors = [
137 return vectors;
H A Drsa_pss.js81 const vectors = [
148 return vectors;
/third_party/skia/gm/
H A Dimagescalealigned.cpp26 const SkVector vectors[] = { { 1, 0 }, { 0, 1 } }; variable
28 for (size_t i = 0; i < SK_ARRAY_COUNT(vectors); ++i) {
31 set.fVector = vectors[i];
32 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorGREEN);
34 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorRED);
36 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorGREEN);
/third_party/node/test/parallel/
H A Dtest-webcrypto-keygen.js29 const vectors = {
205 name, ...vectors[name].algorithm
217 vectors[name].result === 'CryptoKeyPair' &&
218 vectors[name].usages.includes('verify')
223 name, ...vectors[name].algorithm
232 if (!vectors[name].usages.includes(usage))
239 name, ...vectors[name].algorithm
242 [...vectors[name].usages, invalidUsage]),
247 const tests = Object.keys(vectors).map(test);
H A Dtest-crypto-psychic-signatures.js16 const vectors = {
45 for (const [encoding, signatures] of Object.entries(vectors)) {
/third_party/mesa3d/src/mesa/main/
H A Duniform_query.cpp838 const unsigned vectors = uni->type->matrix_columns; in _mesa_propagate_uniforms_to_driver_storage() local
850 store->element_stride - (vectors * store->vector_stride); in _mesa_propagate_uniforms_to_driver_storage()
852 (uint8_t *) (&uni->storage[array_index * (dmul * components * vectors)].i); in _mesa_propagate_uniforms_to_driver_storage()
855 printf("%s: %p[%d] components=%u vectors=%u count=%u vector_stride=%u " in _mesa_propagate_uniforms_to_driver_storage()
858 vectors, count, store->vector_stride, extra_stride); in _mesa_propagate_uniforms_to_driver_storage()
871 memcpy(dst, src, src_vector_byte_stride * vectors); in _mesa_propagate_uniforms_to_driver_storage()
872 src += src_vector_byte_stride * vectors; in _mesa_propagate_uniforms_to_driver_storage()
873 dst += store->vector_stride * vectors; in _mesa_propagate_uniforms_to_driver_storage()
879 memcpy(dst, src, src_vector_byte_stride * vectors * count); in _mesa_propagate_uniforms_to_driver_storage()
880 src += src_vector_byte_stride * vectors * coun in _mesa_propagate_uniforms_to_driver_storage()
[all...]
/third_party/skia/src/gpu/tessellate/
H A DWangsFormula.h59 // Represents the upper-left 2x2 matrix of an affine transform for applying to vectors:
98 AI float4 operator()(float4 vectors) const { in operator ()()
101 return vectors; in operator ()()
103 return vectors * fScaleXYXY; in operator ()()
105 return fScaleXYXY * vectors + fSkewXYXY * vectors.yxwz(); in operator ()()
/third_party/cmsis/CMSIS/Core/Include/
H A Dcore_cm0plus.h963 uint32_t *vectors = (uint32_t *) ((uintptr_t) SCB->VTOR); in __NVIC_SetVector() local
964 vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET] = vector; in __NVIC_SetVector()
966 uint32_t *vectors = (uint32_t *)(NVIC_USER_IRQ_OFFSET << 2); /* point to 1st user interrupt */ in __NVIC_SetVector()
967 *(vectors + (int32_t)IRQn) = vector; /* use pointer arithmetic to access vector */ in __NVIC_SetVector()
984 uint32_t *vectors = (uint32_t *) ((uintptr_t) SCB->VTOR); in __NVIC_GetVector() local
985 return vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET]; in __NVIC_GetVector()
987 uint32_t *vectors = (uint32_t *)(NVIC_USER_IRQ_OFFSET << 2); /* point to 1st user interrupt */ in __NVIC_GetVector()
988 return *(vectors + (int32_t)IRQn); /* use pointer arithmetic to access vector */ in __NVIC_GetVector()

Completed in 16 milliseconds

1234