Home
last modified time | relevance | path

Searched refs:vector (Results 1 - 25 of 8639) sorted by relevance

12345678910>>...346

/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/
H A Decdsa.js16 testVectors.forEach(function(vector) {
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
[all...]
H A Dhmac.js15 testVectors.forEach(function(vector) {
16 var promise = importVectorKeys(vector, ["verify", "sign"])
17 .then(function(vector) {
19 var operation = subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, vector.signature, vector.plaintext)
23 assert_unreached("Verification should not throw error " + vector.name + ": " + err.message + "'");
27 }, vector.name + " verification");
33 assert_unreached("importVectorKeys failed for " + vector
[all...]
H A Drsa.js15 testVectors.forEach(function(vector) {
16 var promise = importVectorKeys(vector, ["verify"], ["sign"])
19 var operation = subtle.verify(vector.algorithm, vector.publicKey, vector.signature, vector.plaintext)
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
[all...]
H A Deddsa.js15 testVectors.forEach(function(vector) {
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
[all...]
H A Decdsa_vectors.js9 // Each test vector has the following fields:
10 // name - a unique name for this vector
63 var vector = {
78 vectors.push(vector);
91 const vector = structuredClone(validVector);
92 vector.name = `${vector.name} - The signature was truncated by 1 byte`;
93 vector.signature = vector.signature.subarray(0, vector
[all...]
/third_party/ffmpeg/libavcodec/ppc/
H A 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()
73 /* Calculate the average vector in sad16_x2_altivec()
[all...]
H A Dmpegvideoencdsp.c36 const vector unsigned int zero = in pix_norm1_altivec()
37 (const vector unsigned int) vec_splat_u32(0); in pix_norm1_altivec()
38 vector unsigned int sv = (vector unsigned int) vec_splat_u32(0); in pix_norm1_altivec()
39 vector signed int sum; in pix_norm1_altivec()
43 //vector unsigned char pixl = vec_ld(0, pix); in pix_norm1_altivec()
44 //vector unsigned char pixr = vec_ld(15, pix); in pix_norm1_altivec()
45 //vector unsigned char pixv = vec_perm(pixl, pixr, perm); in pix_norm1_altivec()
46 vector unsigned char pixv = vec_vsx_ld(0, pix); in pix_norm1_altivec()
54 sum = vec_sums((vector signe in pix_norm1_altivec()
[all...]
H A Dhpeldsp_altivec.c38 register vector unsigned char pixelsv1; in ff_put_pixels16_altivec()
39 register vector unsigned char pixelsv1B; in ff_put_pixels16_altivec()
40 register vector unsigned char pixelsv1C; in ff_put_pixels16_altivec()
41 register vector unsigned char pixelsv1D; in ff_put_pixels16_altivec()
71 register vector unsigned char pixelsv, blockv; in ff_avg_pixels16_altivec()
87 register vector unsigned char pixelsv, blockv; in avg_pixels8_altivec()
117 register vector unsigned char pixelsv1, pixelsv2, pixelsavg; in put_pixels8_xy2_altivec()
118 register vector unsigned char blockv; in put_pixels8_xy2_altivec()
119 register vector unsigned short pixelssum1, pixelssum2, temp3; in put_pixels8_xy2_altivec()
120 register const vector unsigne in put_pixels8_xy2_altivec()
[all...]
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/
H A Daes.js16 passingVectors.forEach(function(vector) {
17 var promise = importVectorKey(vector, ["encrypt", "decrypt"])
18 .then(function(vector) {
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
[all...]
H A Drsa.js15 passingVectors.forEach(function(vector) {
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
[all...]
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
H A 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, in TEST()
389 Vector<const char> vector; TEST() local
659 Vector<const char> vector; TEST() local
885 Vector<const char> vector; TEST() local
[all...]
/third_party/ffmpeg/libpostproc/
H A Dpostprocess_altivec_template.c63 vector by assuming (stride % 16) == 0, unfortunately in vertClassify_altivec()
76 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 signe in vertClassify_altivec()
[all...]
/third_party/mesa3d/src/util/
H A 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 in u_vector_add()
102 u_vector_remove(struct u_vector *vector) u_vector_remove() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Dcontainers_test.cpp27 marl::containers::vector<std::string, 4> vector(allocator); in TEST_F()
28 ASSERT_EQ(vector.size(), size_t(0)); in TEST_F()
32 marl::containers::vector<std::string, 4> vector(allocator); in TEST_F()
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[ in TEST_F()
[all...]
/third_party/gn/src/gn/
H A Dninja_c_binary_target_writer.h29 void WriteCompilerVars(const std::vector<ModuleDep>& module_dep_info);
34 const std::vector<ModuleDep>& module_dep_info,
44 void WritePCHCommands(const std::vector<OutputFile>& input_deps,
45 const std::vector<OutputFile>& order_only_deps,
46 std::vector<OutputFile>* object_files,
47 std::vector<OutputFile>* other_files);
53 const std::vector<OutputFile>& input_deps,
54 const std::vector<OutputFile>& order_only_deps,
55 std::vector<OutputFile>* object_files,
56 std::vector<OutputFil
[all...]
H A Dconfig_values.h9 #include <vector>
26 const std::vector<std::string>& name() const { return name##_; } \
27 std::vector<std::string>& name() { return name##_; }
29 const std::vector<SourceDir>& name() const { return name##_; } \
30 std::vector<SourceDir>& name() { return name##_; }
61 const std::vector<SourceFile>& inputs() const { return inputs_; } in inputs()
62 std::vector<SourceFile>& inputs() { return inputs_; } in inputs()
64 const std::vector<LibFile>& libs() const { return libs_; } in libs()
65 std::vector<LibFile>& libs() { return libs_; } in libs()
67 const std::vector<st
[all...]
H A Dcommands.h12 #include <vector>
34 using CommandRunner = int (*)(const std::vector<std::string>&);
39 int RunAnalyze(const std::vector<std::string>& args);
44 int RunArgs(const std::vector<std::string>& args);
49 int RunCheck(const std::vector<std::string>& args);
54 int RunClean(const std::vector<std::string>& args);
59 int RunDesc(const std::vector<std::string>& args);
64 int RunGen(const std::vector<std::string>& args);
69 int RunFormat(const std::vector<std::string>& args);
74 int RunHelp(const std::vector<st
[all...]
/third_party/ffmpeg/libswscale/ppc/
H A Dyuv2yuv_altivec.c50 const vector unsigned char yperm = vec_lvsl(0, ysrc); in yv12toyuy2_unscaled_altivec()
66 vector unsigned char v_yA = vec_ld(i, ysrc); in yv12toyuy2_unscaled_altivec()
67 vector unsigned char v_yB = vec_ld(i + 16, ysrc); in yv12toyuy2_unscaled_altivec()
68 vector unsigned char v_yC = vec_ld(i + 32, ysrc); in yv12toyuy2_unscaled_altivec()
69 vector unsigned char v_y1 = vec_perm(v_yA, v_yB, yperm); in yv12toyuy2_unscaled_altivec()
70 vector unsigned char v_y2 = vec_perm(v_yB, v_yC, yperm); in yv12toyuy2_unscaled_altivec()
71 vector unsigned char v_uA = vec_ld(j, usrc); in yv12toyuy2_unscaled_altivec()
72 vector unsigned char v_uB = vec_ld(j + 16, usrc); in yv12toyuy2_unscaled_altivec()
73 vector unsigned char v_u = vec_perm(v_uA, v_uB, vec_lvsl(j, usrc)); in yv12toyuy2_unscaled_altivec()
74 vector unsigne in yv12toyuy2_unscaled_altivec()
[all...]
H A Dyuv2rgb_altivec.c112 * homogeneous vector registers x0,x1,x2 are interleaved with the
146 static const vector unsigned char
194 _2 = (T) vec_mergeh((vector unsigned short) _0, \
195 (vector unsigned short) _1); \
196 _3 = (T) vec_mergel((vector unsigned short) _0, \
197 (vector unsigned short) _1); \
202 _2 = (T) vec_mergeh((vector unsigned short) _0, \
203 (vector unsigned short) _1); \
204 _3 = (T) vec_mergel((vector unsigned short) _0, \
205 (vector unsigne
[all...]
H A Dswscale_ppc_template.c33 vector signed int vo1, vo2, vo3, vo4; in yuv2planeX_8_16()
34 vector unsigned short vs1, vs2; in yuv2planeX_8_16()
35 vector unsigned char vf; in yuv2planeX_8_16()
36 vector unsigned int altivec_vectorShiftInt19 = in yuv2planeX_8_16()
50 vector unsigned char av_unused perm; in yuv2planeX_8_16()
51 vector signed short l1,vLumFilter; in yuv2planeX_8_16()
122 vector unsigned char src_vF = unaligned_load(srcPos, src); in hScale_real()
123 vector signed short src_v, filter_v; in hScale_real()
124 vector signed int val_vEven, val_s; in hScale_real()
126 (vector signe in hScale_real()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DProgramLinkedResources.h62 void getResults(std::vector<LinkedUniform> *uniforms,
63 std::vector<UnusedUniform> *unusedUniforms,
64 std::vector<VariableLocation> *uniformLocations);
71 std::vector<LinkedUniform> &samplerUniforms,
72 std::vector<LinkedUniform> &imageUniforms,
73 std::vector<LinkedUniform> &atomicCounterUniforms,
74 std::vector<LinkedUniform> &inputAttachmentUniforms,
75 std::vector<UnusedUniform> &unusedUniforms,
90 std::vector<LinkedUniform> mUniforms;
91 std::vector<UnusedUnifor
[all...]
/third_party/skia/third_party/externals/tint/src/utils/
H A Dunique_vector.h21 #include <vector>
33 using ConstIterator = typename std::vector<T>::const_iterator;
35 using ConstReverseIterator = typename std::vector<T>::const_reverse_iterator;
41 /// @param v the vector to construct this UniqueVector with. Duplicate
43 explicit UniqueVector(std::vector<T>&& v) { in UniqueVector()
49 /// add appends the item to the end of the vector, if the vector does not
51 /// @param item the item to append to the end of the vector
55 vector.emplace_back(item); in add()
62 /// @returns true if the vector contain
105 std::vector<T> vector; global() member
[all...]
/third_party/protobuf/src/google/protobuf/util/
H A Dmessage_differencer.h49 #include <vector>
77 // of vector. It significantly speeds up proto comparison (by ~30%) by
79 typedef std::vector<const FieldDescriptor*> FieldDescriptorArray;
222 // argument is a vector of FieldDescriptor pointers which describes the chain
224 // field found in an embedded message, the vector will contain two
248 const std::vector<SpecificField>& field_path) = 0;
253 const std::vector<SpecificField>& field_path) = 0;
258 const std::vector<SpecificField>& field_path) = 0;
267 const std::vector<SpecificField>& /* field_path */) {} in ReportMoved()
275 const std::vector<SpecificFiel in ReportMatched()
[all...]
/third_party/skia/third_party/externals/libpng/powerpc/
H A Dfilter_vsx_intrinsics.c61 vector unsigned char rp_vec; in png_read_filter_row_up_vsx()
62 vector unsigned char pp_vec; in png_read_filter_row_up_vsx()
104 static const vector unsigned char VSX_LEFTSHIFTED1_4 = {16,16,16,16, 0, 1, 2, 3,16,16,16,16,16,16,16,16};
105 static const vector unsigned char VSX_LEFTSHIFTED2_4 = {16,16,16,16,16,16,16,16, 4, 5, 6, 7,16,16,16,16};
106 static const vector unsigned char VSX_LEFTSHIFTED3_4 = {16,16,16,16,16,16,16,16,16,16,16,16, 8, 9,10,11};
108 static const vector unsigned char VSX_LEFTSHIFTED1_3 = {16,16,16, 0, 1, 2,16,16,16,16,16,16,16,16,16,16};
109 static const vector unsigned char VSX_LEFTSHIFTED2_3 = {16,16,16,16,16,16, 3, 4, 5,16,16,16,16,16,16,16};
110 static const vector unsigned char VSX_LEFTSHIFTED3_3 = {16,16,16,16,16,16,16,16,16, 6, 7, 8,16,16,16,16};
111 static const vector unsigned char VSX_LEFTSHIFTED4_3 = {16,16,16,16,16,16,16,16,16,16,16,16, 9,10,11,16};
113 static const vector unsigne
[all...]
/third_party/skia/include/core/
H A DHMSymbol.h18 #include <vector>
54 std::map<std::string, std::vector<float>> properties;
60 std::vector<std::vector<PiecewiseParameter>> groupParameters;
76 std::vector<size_t> layerIndexes;
77 std::vector<size_t> maskIndexes;
81 std::vector<GroupInfo> groupInfos;
86 std::vector<AnimationType> animationTypes;
87 std::vector<GroupSetting> groupSettings;
91 std::vector<GroupInf
[all...]

Completed in 11 milliseconds

12345678910>>...346