Home
last modified time | relevance | path

Searched refs:beforeEach (Results 1 – 12 of 12) sorted by relevance

/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/spec/gl-matrix/
Dvec3-spec.js28 beforeEach(function() { vecA = [1, 2, 3]; vecB = [4, 5, 6]; out = [0, 0, 0]; });
32beforeEach(function(){ vecA = [0, 1, 0]; vecB = [0, 0, 0]; result = vec3.rotateX(out, vecA, vecB, …
36beforeEach(function(){ vecA = [2, 7, 0]; vecB = [2, 5, 0]; result = vec3.rotateX(out, vecA, vecB, …
43beforeEach(function(){ vecA = [1, 0, 0]; vecB = [0, 0, 0]; result = vec3.rotateY(out, vecA, vecB, …
47beforeEach(function(){ vecA = [-2, 3, 10]; vecB = [-4, 3, 10]; result = vec3.rotateY(out, vecA, ve…
54beforeEach(function(){ vecA = [0, 1, 0]; vecB = [0, 0, 0]; result = vec3.rotateZ(out, vecA, vecB, …
58beforeEach(function(){ vecA = [0, 6, -5]; vecB = [0, 0, -5]; result = vec3.rotateZ(out, vecA, vecB…
66 beforeEach(function() { matr = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ] });
68 beforeEach(function() { result = vec3.transformMat4(out, vecA, matr); });
78beforeEach(function() { matr = mat4.lookAt(mat4.create(), [5, 6, 7], [2, 6, 7], [0, 1, 0]); });
[all …]
Dvec2-spec.js26 beforeEach(function() { vecA = [1, 2]; vecB = [3, 4]; out = [0, 0]; });
29 beforeEach(function() { result = vec2.create(); });
34 beforeEach(function() { result = vec2.clone(vecA); });
39 beforeEach(function() { result = vec2.fromValues(1, 2); });
44 beforeEach(function() { result = vec2.copy(out, vecA); });
50 beforeEach(function() { result = vec2.set(out, 1, 2); });
57 beforeEach(function() { result = vec2.add(out, vecA, vecB); });
66 beforeEach(function() { result = vec2.add(vecA, vecA, vecB); });
74 beforeEach(function() { result = vec2.add(vecB, vecA, vecB); });
86 beforeEach(function() { result = vec2.subtract(out, vecA, vecB); });
[all …]
Dvec4-spec.js27 beforeEach(function() { vecA = [1, 2, 3, 4]; vecB = [5, 6, 7, 8]; out = [0, 0, 0, 0]; });
30 beforeEach(function() { result = vec4.create(); });
35 beforeEach(function() { result = vec4.clone(vecA); });
40 beforeEach(function() { result = vec4.fromValues(1, 2, 3, 4); });
45 beforeEach(function() { result = vec4.copy(out, vecA); });
51 beforeEach(function() { result = vec4.set(out, 1, 2, 3, 4); });
58 beforeEach(function() { result = vec4.add(out, vecA, vecB); });
67 beforeEach(function() { result = vec4.add(vecA, vecA, vecB); });
75 beforeEach(function() { result = vec4.add(vecB, vecA, vecB); });
87 beforeEach(function() { result = vec4.subtract(out, vecA, vecB); });
[all …]
Dquat-spec.js30 beforeEach(function() {
41 beforeEach(function() {
52 beforeEach(function() {
63 beforeEach(function() {
74 beforeEach(function() {
86 beforeEach(function() {
98 beforeEach(function() {
110 beforeEach(function() {
125 beforeEach(function() {
138 beforeEach(function() {
[all …]
Dmat3-spec.js28 beforeEach(function() {
47 beforeEach(function() {
58 beforeEach(function() {
72 beforeEach(function() {
90 beforeEach(function() {
107 beforeEach(function() {
123 beforeEach(function() { result = mat3.scale(out, matA, [2,2]); });
133 beforeEach(function() { result = mat3.create(); });
138 beforeEach(function() { result = mat3.clone(matA); });
143 beforeEach(function() { result = mat3.copy(out, matA); });
[all …]
Dmat4-spec.js27 beforeEach(function() {
51 beforeEach(function() { result = mat4.create(); });
56 beforeEach(function() { result = mat4.clone(matA); });
61 beforeEach(function() { result = mat4.copy(out, matA); });
67 beforeEach(function() { result = mat4.identity(out); });
74 beforeEach(function() { result = mat4.transpose(out, matA); });
96 beforeEach(function() { result = mat4.transpose(matA, matA); });
112 beforeEach(function() { result = mat4.invert(out, matA); });
134 beforeEach(function() { result = mat4.invert(matA, matA); });
150 beforeEach(function() { result = mat4.adjoint(out, matA); });
[all …]
Dmat2d-spec.js26 beforeEach(function() {
53 beforeEach(function() { result = mat2d.create(); });
58 beforeEach(function() { result = mat2d.clone(matA); });
63 beforeEach(function() { result = mat2d.copy(out, matA); });
69 beforeEach(function() { result = mat2d.identity(out); });
76 beforeEach(function() { result = mat2d.invert(out, matA); });
84 beforeEach(function() { result = mat2d.invert(matA, matA); });
92 beforeEach(function() { result = mat2d.determinant(matA); });
101 beforeEach(function() { result = mat2d.multiply(out, matA, matB); });
110 beforeEach(function() { result = mat2d.multiply(matA, matA, matB); });
[all …]
Dmat2-spec.js26 beforeEach(function() {
41 beforeEach(function() { result = mat2.create(); });
46 beforeEach(function() { result = mat2.clone(matA); });
51 beforeEach(function() { result = mat2.copy(out, matA); });
57 beforeEach(function() { result = mat2.identity(out); });
64 beforeEach(function() { result = mat2.transpose(out, matA); });
72 beforeEach(function() { result = mat2.transpose(matA, matA); });
81 beforeEach(function() { result = mat2.invert(out, matA); });
89 beforeEach(function() { result = mat2.invert(matA, matA); });
98 beforeEach(function() { result = mat2.adjoint(out, matA); });
[all …]
Dcommon-spec.js11 beforeEach(function(){ result = glMatrix.toRadian(180); });
/external/v8/test/promises-aplus/lib/
Dmocha.js35 var beforeEach; variable
183 described.beforeEach,
256 beforeEach = function(fn) { function
257 context.beingDescribed.beforeEach = fn;
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/spec/helpers/
Dspec-helper.js27 beforeEach(function() {
/external/chromium-trace/trace-viewer/tracing/third_party/mocha/
Dmocha.js975 context.beforeEach = common.beforeEach;
1096 beforeEach: function (name, fn) {
1097 suites[0].beforeEach(name, fn);
1163 suites[0].beforeEach(fn);
1237 context.beforeEach = common.beforeEach;
1333 context.setup = common.beforeEach;
1498 exports.beforeEach = context.beforeEach || context.setup;
1502 exports.setup = context.setup || context.beforeEach;
5514 Suite.prototype.beforeEach = function(title, fn){ method in Suite