Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 8627) sorted by relevance

12345678910>>...346

/third_party/icu/vendor/double-conversion/upstream/test/cctest/
Dtest-strtod.cc65 Vector<const char> vector; in TEST() local
67 vector = StringToVector("0"); in TEST()
68 CHECK_EQ(0.0, Strtod(vector, 1)); in TEST()
69 CHECK_EQ(0.0, Strtod(vector, 2)); in TEST()
70 CHECK_EQ(0.0, Strtod(vector, -2)); in TEST()
71 CHECK_EQ(0.0, Strtod(vector, -999)); in TEST()
72 CHECK_EQ(0.0, Strtod(vector, +999)); in TEST()
74 vector = StringToVector("1"); in TEST()
75 CHECK_EQ(1.0, Strtod(vector, 0)); in TEST()
76 CHECK_EQ(10.0, Strtod(vector, 1)); in TEST()
[all …]
/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/
Decdsa.js16 testVectors.forEach(function(vector) { argument
17 var promise = importVectorKeys(vector, ["verify"], ["sign"])
19 var algorithm = {name: vector.algorithmName, hash: vector.hashName};
21 … var operation = subtle.verify(algorithm, vector.publicKey, vector.signature, vector.plaintext)
25 … assert_unreached("Verification should not throw error " + vector.name + ": " + err.message + "'");
29 }, vector.name + " verification");
35 …assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "'…
36 }, "importVectorKeys step: " + vector.name + " verification");
43 testVectors.forEach(function(vector) { argument
44 var promise = importVectorKeys(vector, ["verify"], ["sign"])
[all …]
Drsa.js15 testVectors.forEach(function(vector) { argument
16 var promise = importVectorKeys(vector, ["verify"], ["sign"])
19 …var operation = subtle.verify(vector.algorithm, vector.publicKey, vector.signature, vector.plainte…
23 … assert_unreached("Verification should not throw error " + vector.name + ": " + err.message + "'");
27 }, vector.name + " verification");
33 …assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "'…
34 }, "importVectorKeys step: " + vector.name + " verification");
41 testVectors.forEach(function(vector) { argument
42 var promise = importVectorKeys(vector, ["verify"], ["sign"])
45 var signature = copyBuffer(vector.signature);
[all …]
Dhmac.js15 testVectors.forEach(function(vector) { argument
16 var promise = importVectorKeys(vector, ["verify", "sign"])
17 .then(function(vector) { argument
19 …var operation = subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, vector.signature, vec…
23 … assert_unreached("Verification should not throw error " + vector.name + ": " + err.message + "'");
27 }, vector.name + " verification");
33 …assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "'…
34 }, "importVectorKeys step: " + vector.name + " verification");
41 testVectors.forEach(function(vector) { argument
42 var promise = importVectorKeys(vector, ["verify", "sign"])
[all …]
Deddsa.js15 testVectors.forEach(function(vector) { argument
16 var promise = importVectorKeys(vector, ["verify"], ["sign"])
18 var algorithm = {name: vector.algorithmName};
20 … var operation = subtle.verify(algorithm, vector.publicKey, vector.signature, vector.data)
24 … assert_unreached("Verification should not throw error " + vector.name + ": " + err.message + "'");
28 }, vector.name + " verification");
34 …assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "'…
35 }, "importVectorKeys step: " + vector.name + " verification");
42 testVectors.forEach(function(vector) { argument
43 var promise = importVectorKeys(vector, ["verify"], ["sign"])
[all …]
/third_party/ffmpeg/libavcodec/ppc/
Dme_cmp.c42 vector unsigned char pix2l = vec_ld(0, pix);\
43 vector unsigned char pix2r = vec_ld(16, pix);\
59 const vector unsigned char zero = in sad16_x2_altivec()
60 (const vector unsigned char) vec_splat_u8(0); in sad16_x2_altivec()
61 vector unsigned int sad = (vector unsigned int) vec_splat_u32(0); in sad16_x2_altivec()
62 vector signed int sumdiffs; in sad16_x2_altivec()
63 vector unsigned char perm1, perm2, pix2v, pix2iv; in sad16_x2_altivec()
70 vector unsigned char pix1v = vec_ld(0, pix1); in sad16_x2_altivec()
74 vector unsigned char avgv = vec_avg(pix2v, pix2iv); in sad16_x2_altivec()
77 vector unsigned char t5 = vec_sub(vec_max(pix1v, avgv), in sad16_x2_altivec()
[all …]
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/
Daes.js16 passingVectors.forEach(function(vector) { argument
17 var promise = importVectorKey(vector, ["encrypt", "decrypt"])
18 .then(function(vector) { argument
20 return subtle.encrypt(vector.algorithm, vector.key, vector.plaintext)
22 … assert_true(equalBuffers(result, vector.result), "Should return expected result");
24 assert_unreached("encrypt error for test " + vector.name + ": " + err.message);
26 }, vector.name);
31 assert_unreached("importKey failed for " + vector.name);
32 }, "importKey step: " + vector.name);
39 passingVectors.forEach(function(vector) { argument
[all …]
Drsa.js15 passingVectors.forEach(function(vector) { argument
16 var promise = importVectorKeys(vector, ["encrypt"], ["decrypt"])
19 if (!("ciphertext" in vector)) {
24 return subtle.decrypt(vector.algorithm, vector.privateKey, vector.ciphertext)
26 assert_true(equalBuffers(plaintext, vector.plaintext, "Decryption works"));
28 … assert_unreached("Decryption should not throw error " + vector.name + ": " + err.message + "'");
30 }, vector.name + " decryption");
36 …assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "'…
37 }, "importVectorKeys step: " + vector.name + " decryption");
44 passingVectors.forEach(function(vector) { argument
[all …]
/third_party/ffmpeg/libpostproc/
Dpostprocess_altivec_template.c76 vector signed short v_dcOffset; in vertClassify_altivec()
77 vector signed short v2QP; in vertClassify_altivec()
78 vector unsigned short v4QP; in vertClassify_altivec()
79 vector unsigned short v_dcThreshold; in vertClassify_altivec()
83 const vector signed int zero = vec_splat_s32(0); in vertClassify_altivec()
84 const vector signed short mask = vec_splat_s16(1); in vertClassify_altivec()
85 vector signed int v_numEq = vec_splat_s32(0); in vertClassify_altivec()
86 vector signed short v_data = vec_ld(0, data); in vertClassify_altivec()
87 vector signed short v_srcAss0, v_srcAss1, v_srcAss2, v_srcAss3, in vertClassify_altivec()
98 vector unsigned char v_srcA0, v_srcA1, v_srcA2, v_srcA3, in vertClassify_altivec()
[all …]
/third_party/glslang/Test/baseResults/
Dhlsl.wavequad.comp.out7 0:13 'dti' ( in 3-component vector of uint)
9 0:14 move second child to first child ( temp 4-component vector of uint)
10 0:14 u: direct index for structure ( temp 4-component vector of uint)
11 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
12 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
13 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
17 0:14 'dti' ( in 3-component vector of uint)
22 0:14 subgroupQuadBroadcast ( temp 4-component vector of uint)
23 0:14 u: direct index for structure ( temp 4-component vector of uint)
24 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
[all …]
Dglsl.450.subgroup.frag.out109 0:3 Function Definition: undeclared_errors(vf4; ( global 4-component vector of float)
111 0:3 'f4' ( in 4-component vector of float)
131 0:19 'f4' ( in 4-component vector of float)
132 0:21 'gl_SubgroupEqMask' ( flat in 4-component vector of uint SubgroupEqMask)
133 0:22 'gl_SubgroupGeMask' ( flat in 4-component vector of uint SubgroupGeMask)
134 0:23 'gl_SubgroupGtMask' ( flat in 4-component vector of uint SubgroupGtMask)
135 0:24 'gl_SubgroupLeMask' ( flat in 4-component vector of uint SubgroupLeMask)
136 0:25 'gl_SubgroupLtMask' ( flat in 4-component vector of uint SubgroupLtMask)
137 0:26 subgroupBroadcast ( global 4-component vector of float)
138 0:26 'f4' ( in 4-component vector of float)
[all …]
Dhlsl.waveprefix.comp.out7 0:13 'dti' ( in 3-component vector of uint)
9 0:14 move second child to first child ( temp 4-component vector of uint)
10 0:14 u: direct index for structure ( temp 4-component vector of uint)
11 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
12 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
13 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
17 0:14 'dti' ( in 3-component vector of uint)
22 0:14 subgroupInclusiveAdd ( temp 4-component vector of uint)
23 0:14 u: direct index for structure ( temp 4-component vector of uint)
24 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
[all …]
DnewTexture.frag.out8 0:38 move second child to first child ( temp 4-component vector of float)
9 0:38 'v' ( temp 4-component vector of float)
10 0:38 texture ( global 4-component vector of float)
12 0:38 'c2D' ( smooth in 2-component vector of float)
13 0:39 add second child into first child ( temp 4-component vector of float)
14 0:39 'v' ( temp 4-component vector of float)
15 0:39 textureProj ( global 4-component vector of float)
17 0:39 'c4D' ( smooth in 4-component vector of float)
18 0:40 add second child into first child ( temp 4-component vector of float)
19 0:40 'v' ( temp 4-component vector of float)
[all …]
Dhlsl.wavebroadcast.comp.out7 0:13 'dti' ( in 3-component vector of uint)
9 0:14 move second child to first child ( temp 4-component vector of uint)
10 0:14 u: direct index for structure ( temp 4-component vector of uint)
11 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
12 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
13 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
17 0:14 'dti' ( in 3-component vector of uint)
22 0:14 subgroupShuffle ( temp 4-component vector of uint)
23 0:14 u: direct index for structure ( temp 4-component vector of uint)
24 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
[all …]
Dhlsl.wavereduction.comp.out7 0:13 'dti' ( in 3-component vector of uint)
9 0:14 move second child to first child ( temp 4-component vector of uint)
10 0:14 u: direct index for structure ( temp 4-component vector of uint)
11 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
12 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
13 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
17 0:14 'dti' ( in 3-component vector of uint)
22 0:14 subgroupAdd ( temp 4-component vector of uint)
23 0:14 u: direct index for structure ( temp 4-component vector of uint)
24 …{ temp 4-component vector of uint u, temp 4-component vector of int i, temp 4-component vector o…
[all …]
Dtexture.frag.out36 0:24 move second child to first child ( temp 3-component vector of float)
37 0:24 'coords3D' ( temp 3-component vector of float)
43 0:25 move second child to first child ( temp 4-component vector of float)
44 0:25 'coords4D' ( temp 4-component vector of float)
51 0:26 move second child to first child ( temp 4-component vector of float)
52 0:26 'color' ( temp 4-component vector of float)
58 0:28 add second child into first child ( temp 4-component vector of float)
59 0:28 'color' ( temp 4-component vector of float)
60 0:28 texture ( global 4-component vector of float)
63 0:29 add second child into first child ( temp 4-component vector of float)
[all …]
D300BuiltIns.frag.out15 0:29 move second child to first child ( temp mediump 3-component vector of float)
16 0:29 'v' ( temp mediump 3-component vector of float)
17 0:29 mix ( global mediump 3-component vector of float)
18 0:29 'x' ( global mediump 3-component vector of float)
19 0:29 'y' ( global mediump 3-component vector of float)
20 0:29 'bv' ( global 3-component vector of bool)
22 0:30 move second child to first child ( temp mediump 4-component vector of int)
23 0:30 'iv10' ( temp mediump 4-component vector of int)
24 0:30 Absolute value ( global mediump 4-component vector of int)
25 0:30 'iv4a' ( global mediump 4-component vector of int)
[all …]
Dglsl.460.subgroup.rint.out108 0:5 Function Definition: undeclared_errors(vf4; ( global 4-component vector of float)
110 0:5 'f4' ( in 4-component vector of float)
130 0:21 'f4' ( in 4-component vector of float)
131 0:23 'gl_SubgroupEqMask' ( volatile in 4-component vector of uint SubgroupEqMask)
132 0:24 'gl_SubgroupGeMask' ( volatile in 4-component vector of uint SubgroupGeMask)
133 0:25 'gl_SubgroupGtMask' ( volatile in 4-component vector of uint SubgroupGtMask)
134 0:26 'gl_SubgroupLeMask' ( volatile in 4-component vector of uint SubgroupLeMask)
135 0:27 'gl_SubgroupLtMask' ( volatile in 4-component vector of uint SubgroupLtMask)
136 0:28 subgroupBroadcast ( global 4-component vector of float)
137 0:28 'f4' ( in 4-component vector of float)
[all …]
Dglsl.460.subgroup.rmiss.out108 0:5 Function Definition: undeclared_errors(vf4; ( global 4-component vector of float)
110 0:5 'f4' ( in 4-component vector of float)
130 0:21 'f4' ( in 4-component vector of float)
131 0:23 'gl_SubgroupEqMask' ( volatile in 4-component vector of uint SubgroupEqMask)
132 0:24 'gl_SubgroupGeMask' ( volatile in 4-component vector of uint SubgroupGeMask)
133 0:25 'gl_SubgroupGtMask' ( volatile in 4-component vector of uint SubgroupGtMask)
134 0:26 'gl_SubgroupLeMask' ( volatile in 4-component vector of uint SubgroupLeMask)
135 0:27 'gl_SubgroupLtMask' ( volatile in 4-component vector of uint SubgroupLtMask)
136 0:28 subgroupBroadcast ( global 4-component vector of float)
137 0:28 'f4' ( in 4-component vector of float)
[all …]
Dhlsl.gatherRGBA.offsetarray.dx10.frag.out6 0:33 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp f…
10 0:40 move second child to first child ( temp 4-component vector of float)
11 0:40 'txval001' ( temp 4-component vector of float)
12 0:40 textureGatherOffset ( temp 4-component vector of float)
16 0:40 c3: direct index for structure ( uniform 3-component vector of float)
17vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float …
20 0:40 o2: direct index for structure ( uniform 2-component vector of int)
21vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float …
27 0:41 move second child to first child ( temp 4-component vector of int)
28 0:41 'txval011' ( temp 4-component vector of int)
[all …]
Dhlsl.gatherRGBA.offset.dx10.frag.out6 0:39 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp f…
10 0:46 move second child to first child ( temp 4-component vector of float)
11 0:46 'txval001' ( temp 4-component vector of float)
12 0:46 textureGatherOffset ( temp 4-component vector of float)
16 0:46 c2: direct index for structure ( uniform 2-component vector of float)
17vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float …
20 0:46 o2: direct index for structure ( uniform 2-component vector of int)
21vector of float c2, uniform 3-component vector of float c3, uniform 4-component vector of float …
27 0:47 move second child to first child ( temp 4-component vector of int)
28 0:47 'txval011' ( temp 4-component vector of int)
[all …]
Dglsl.460.subgroup.rcall.out108 0:4 Function Definition: undeclared_errors(vf4; ( global 4-component vector of float)
110 0:4 'f4' ( in 4-component vector of float)
130 0:20 'f4' ( in 4-component vector of float)
131 0:22 'gl_SubgroupEqMask' ( volatile in 4-component vector of uint SubgroupEqMask)
132 0:23 'gl_SubgroupGeMask' ( volatile in 4-component vector of uint SubgroupGeMask)
133 0:24 'gl_SubgroupGtMask' ( volatile in 4-component vector of uint SubgroupGtMask)
134 0:25 'gl_SubgroupLeMask' ( volatile in 4-component vector of uint SubgroupLeMask)
135 0:26 'gl_SubgroupLtMask' ( volatile in 4-component vector of uint SubgroupLtMask)
136 0:27 subgroupBroadcast ( global 4-component vector of float)
137 0:27 'f4' ( in 4-component vector of float)
[all …]
Dglsl.450.subgroup.tese.out110 0:3 Function Definition: undeclared_errors(vf4; ( global 4-component vector of float)
112 0:3 'f4' ( in 4-component vector of float)
132 0:19 'f4' ( in 4-component vector of float)
133 0:21 'gl_SubgroupEqMask' ( in 4-component vector of uint SubgroupEqMask)
134 0:22 'gl_SubgroupGeMask' ( in 4-component vector of uint SubgroupGeMask)
135 0:23 'gl_SubgroupGtMask' ( in 4-component vector of uint SubgroupGtMask)
136 0:24 'gl_SubgroupLeMask' ( in 4-component vector of uint SubgroupLeMask)
137 0:25 'gl_SubgroupLtMask' ( in 4-component vector of uint SubgroupLtMask)
138 0:26 subgroupBroadcast ( global 4-component vector of float)
139 0:26 'f4' ( in 4-component vector of float)
[all …]
/third_party/mesa3d/src/util/
Du_vector.c41 u_vector_init_pow2(struct u_vector *vector, in u_vector_init_pow2() argument
48 vector->head = 0; in u_vector_init_pow2()
49 vector->tail = 0; in u_vector_init_pow2()
50 vector->element_size = element_size; in u_vector_init_pow2()
51 vector->size = element_size * initial_element_count; in u_vector_init_pow2()
52 vector->data = malloc(vector->size); in u_vector_init_pow2()
54 return vector->data != NULL; in u_vector_init_pow2()
58 u_vector_add(struct u_vector *vector) in u_vector_add() argument
63 if (vector->head - vector->tail == vector->size) { in u_vector_add()
64 size = vector->size * 2; in u_vector_add()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dcontainers_test.cpp27 marl::containers::vector<std::string, 4> vector(allocator); in TEST_F() local
28 ASSERT_EQ(vector.size(), size_t(0)); in TEST_F()
32 marl::containers::vector<std::string, 4> vector(allocator); in TEST_F() local
33 vector.resize(4); in TEST_F()
34 vector[0] = "A"; in TEST_F()
35 vector[1] = "B"; in TEST_F()
36 vector[2] = "C"; in TEST_F()
37 vector[3] = "D"; in TEST_F()
39 ASSERT_EQ(vector[0], "A"); in TEST_F()
40 ASSERT_EQ(vector[1], "B"); in TEST_F()
[all …]

12345678910>>...346