Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 6356) sorted by relevance

12345678910>>...255

/external/mesa3d/src/glsl/builtins/glsl/
Dinverse.glsl24 mat2 inverse(mat2 m)
27 adj[0][0] = m[1][1];
28 adj[0][1] = -m[0][1];
29 adj[1][0] = -m[1][0];
30 adj[1][1] = m[0][0];
31 float det = m[0][0] * m[1][1] - m[1][0] * m[0][1];
35 mat3 inverse(mat3 m)
38 adj[0][0] = + (m[1][1] * m[2][2] - m[2][1] * m[1][2]);
39 adj[1][0] = - (m[1][0] * m[2][2] - m[2][0] * m[1][2]);
40 adj[2][0] = + (m[1][0] * m[2][1] - m[2][0] * m[1][1]);
[all …]
/external/libcxx/test/std/re/re.alg/re.alg.match/
Decma.pass.cpp33 std::cmatch m; in main() local
35 assert(std::regex_match(s, m, std::regex("a"))); in main()
36 assert(m.size() == 1); in main()
37 assert(!m.empty()); in main()
38 assert(!m.prefix().matched); in main()
39 assert(m.prefix().first == s); in main()
40 assert(m.prefix().second == m[0].first); in main()
41 assert(!m.suffix().matched); in main()
42 assert(m.suffix().first == m[0].second); in main()
43 assert(m.suffix().second == s+1); in main()
[all …]
Dextended.pass.cpp33 std::cmatch m; in main() local
35 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::extended))); in main()
36 assert(m.size() == 1); in main()
37 assert(!m.empty()); in main()
38 assert(!m.prefix().matched); in main()
39 assert(m.prefix().first == s); in main()
40 assert(m.prefix().second == m[0].first); in main()
41 assert(!m.suffix().matched); in main()
42 assert(m.suffix().first == m[0].second); in main()
43 assert(m.suffix().second == s+1); in main()
[all …]
Dbasic.pass.cpp33 std::cmatch m; in main() local
34 assert(!std::regex_match("a", m, std::regex())); in main()
35 assert(m.size() == 0); in main()
36 assert(m.empty()); in main()
39 std::cmatch m; in main() local
41 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::basic))); in main()
42 assert(m.size() == 1); in main()
43 assert(!m.empty()); in main()
44 assert(!m.prefix().matched); in main()
45 assert(m.prefix().first == s); in main()
[all …]
/external/libcxx/test/std/re/re.alg/re.alg.search/
Dbasic.pass.cpp33 std::cmatch m; in main() local
34 assert(!std::regex_search("a", m, std::regex())); in main()
35 assert(m.size() == 0); in main()
36 assert(m.empty()); in main()
39 std::cmatch m; in main() local
41 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::basic))); in main()
42 assert(m.size() == 1); in main()
43 assert(!m.empty()); in main()
44 assert(!m.prefix().matched); in main()
45 assert(m.prefix().first == s); in main()
[all …]
Decma.pass.cpp33 std::cmatch m; in main() local
35 assert(std::regex_search(s, m, std::regex("a"))); in main()
36 assert(m.size() == 1); in main()
37 assert(!m.empty()); in main()
38 assert(!m.prefix().matched); in main()
39 assert(m.prefix().first == s); in main()
40 assert(m.prefix().second == m[0].first); in main()
41 assert(!m.suffix().matched); in main()
42 assert(m.suffix().first == m[0].second); in main()
43 assert(m.suffix().second == s+1); in main()
[all …]
Dawk.pass.cpp33 std::cmatch m; in main() local
35 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::awk))); in main()
36 assert(m.size() == 1); in main()
37 assert(!m.empty()); in main()
38 assert(!m.prefix().matched); in main()
39 assert(m.prefix().first == s); in main()
40 assert(m.prefix().second == m[0].first); in main()
41 assert(!m.suffix().matched); in main()
42 assert(m.suffix().first == m[0].second); in main()
43 assert(m.suffix().second == s+1); in main()
[all …]
Dextended.pass.cpp33 std::cmatch m; in main() local
35 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::extended))); in main()
36 assert(m.size() == 1); in main()
37 assert(!m.empty()); in main()
38 assert(!m.prefix().matched); in main()
39 assert(m.prefix().first == s); in main()
40 assert(m.prefix().second == m[0].first); in main()
41 assert(!m.suffix().matched); in main()
42 assert(m.suffix().first == m[0].second); in main()
43 assert(m.suffix().second == s+1); in main()
[all …]
/external/vulkan-validation-layers/libs/glm/gtc/
Dmatrix_inverse.inl38 detail::tmat3x3<T, P> const & m argument
41 detail::tmat3x3<T, P> Result(m);
44 …detail::tvec3<T, P> Translation = Result * detail::tvec3<T, P>(-detail::tvec2<T, P>(m[2]), m[2][2]…
52 detail::tmat4x4<T, P> const & m argument
55 detail::tmat4x4<T, P> Result(m);
58 …detail::tvec4<T, P> Translation = Result * detail::tvec4<T, P>(-detail::tvec3<T, P>(m[3]), m[3][3]…
66 detail::tmat2x2<T, P> const & m argument
69 T Determinant = m[0][0] * m[1][1] - m[1][0] * m[0][1];
72 + m[1][1] / Determinant,
73 - m[0][1] / Determinant,
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
Dfilelist.objc1 ANTLRBaseMapElement.m
2 ANTLRBaseRecognizer.m
3 ANTLRBaseStack.m
4 ANTLRBaseTree.m
5 ANTLRBaseTreeAdaptor.m
6 ANTLRBitSet.m
7 ANTLRBufferedTokenStream.m
8 ANTLRBufferedTreeNodeStream.m
10 ANTLRCharStreamState.m
11 ANTLRCommonErrorNode.m
[all …]
/external/libcxx/test/std/containers/associative/map/map.ops/
Dlower_bound.pass.cpp42 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
43 R r = m.lower_bound(5); in main()
44 assert(r == m.begin()); in main()
45 r = m.lower_bound(7); in main()
46 assert(r == next(m.begin())); in main()
47 r = m.lower_bound(9); in main()
48 assert(r == next(m.begin(), 2)); in main()
49 r = m.lower_bound(11); in main()
50 assert(r == next(m.begin(), 3)); in main()
51 r = m.lower_bound(13); in main()
[all …]
Dupper_bound.pass.cpp41 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
42 R r = m.upper_bound(5); in main()
43 assert(r == next(m.begin(), 1)); in main()
44 r = m.upper_bound(7); in main()
45 assert(r == next(m.begin(), 2)); in main()
46 r = m.upper_bound(9); in main()
47 assert(r == next(m.begin(), 3)); in main()
48 r = m.upper_bound(11); in main()
49 assert(r == next(m.begin(), 4)); in main()
50 r = m.upper_bound(13); in main()
[all …]
Dequal_range.pass.cpp42 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
43 R r = m.equal_range(5); in main()
44 assert(r.first == next(m.begin(), 0)); in main()
45 assert(r.second == next(m.begin(), 1)); in main()
46 r = m.equal_range(7); in main()
47 assert(r.first == next(m.begin(), 1)); in main()
48 assert(r.second == next(m.begin(), 2)); in main()
49 r = m.equal_range(9); in main()
50 assert(r.first == next(m.begin(), 2)); in main()
51 assert(r.second == next(m.begin(), 3)); in main()
[all …]
/external/v8/test/cctest/compiler/
Dtest-run-machops.cc25 RawMachineAssemblerTester<int32_t> m; in TEST() local
26 Node* add = m.Int32Add(m.Int32Constant(0), m.Int32Constant(1)); in TEST()
27 m.Return(add); in TEST()
28 CHECK_EQ(1, m.Call()); in TEST()
33 BufferedRawMachineAssemblerTester<int32_t> m(MachineType::Uint32()); in TEST() local
34 if (!m.machine()->Word32Ctz().IsSupported()) { in TEST()
38 m.Return(m.AddNode(m.machine()->Word32Ctz().op(), m.Parameter(0))); in TEST()
40 CHECK_EQ(32, m.Call(uint32_t(0x00000000))); in TEST()
41 CHECK_EQ(31, m.Call(uint32_t(0x80000000))); in TEST()
42 CHECK_EQ(30, m.Call(uint32_t(0x40000000))); in TEST()
[all …]
/external/libcxx/test/std/containers/associative/set/
Dupper_bound.pass.cpp41 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
42 R r = m.upper_bound(5); in main()
43 assert(r == next(m.begin(), 1)); in main()
44 r = m.upper_bound(7); in main()
45 assert(r == next(m.begin(), 2)); in main()
46 r = m.upper_bound(9); in main()
47 assert(r == next(m.begin(), 3)); in main()
48 r = m.upper_bound(11); in main()
49 assert(r == next(m.begin(), 4)); in main()
50 r = m.upper_bound(13); in main()
[all …]
Dlower_bound.pass.cpp41 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
42 R r = m.lower_bound(5); in main()
43 assert(r == m.begin()); in main()
44 r = m.lower_bound(7); in main()
45 assert(r == next(m.begin())); in main()
46 r = m.lower_bound(9); in main()
47 assert(r == next(m.begin(), 2)); in main()
48 r = m.lower_bound(11); in main()
49 assert(r == next(m.begin(), 3)); in main()
50 r = m.lower_bound(13); in main()
[all …]
Dequal_range.pass.cpp41 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
42 R r = m.equal_range(5); in main()
43 assert(r.first == next(m.begin(), 0)); in main()
44 assert(r.second == next(m.begin(), 1)); in main()
45 r = m.equal_range(7); in main()
46 assert(r.first == next(m.begin(), 1)); in main()
47 assert(r.second == next(m.begin(), 2)); in main()
48 r = m.equal_range(9); in main()
49 assert(r.first == next(m.begin(), 2)); in main()
50 assert(r.second == next(m.begin(), 3)); in main()
[all …]
Derase_iter.pass.cpp46 M m(ar, ar + sizeof(ar)/sizeof(ar[0])); in main() local
47 assert(m.size() == 8); in main()
48 I i = m.erase(next(m.cbegin(), 3)); in main()
49 assert(m.size() == 7); in main()
50 assert(i == next(m.begin(), 3)); in main()
51 assert(*next(m.begin(), 0) == 1); in main()
52 assert(*next(m.begin(), 1) == 2); in main()
53 assert(*next(m.begin(), 2) == 3); in main()
54 assert(*next(m.begin(), 3) == 5); in main()
55 assert(*next(m.begin(), 4) == 6); in main()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/
Dis_many.pass.cpp35 std::vector<F::mask> m(in.size()); in main() local
36 const wchar_t* h = f.is(in.data(), in.data() + in.size(), m.data()); in main()
40 assert(!(m[0] & F::space)); in main()
41 assert( (m[0] & F::print)); in main()
42 assert(!(m[0] & F::cntrl)); in main()
43 assert( (m[0] & F::upper)); in main()
44 assert(!(m[0] & F::lower)); in main()
45 assert( (m[0] & F::alpha)); in main()
46 assert(!(m[0] & F::digit)); in main()
47 assert(!(m[0] & F::punct)); in main()
[all …]
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Derase_iter.pass.cpp46 M m(ar, ar + sizeof(ar)/sizeof(ar[0])); in main() local
47 assert(m.size() == 8); in main()
48 I i = m.erase(next(m.cbegin(), 3)); in main()
49 assert(m.size() == 7); in main()
50 assert(i == next(m.begin(), 3)); in main()
51 assert(m.begin()->first == 1); in main()
52 assert(m.begin()->second == 1.5); in main()
53 assert(next(m.begin())->first == 2); in main()
54 assert(next(m.begin())->second == 2.5); in main()
55 assert(next(m.begin(), 2)->first == 3); in main()
[all …]
Derase_key.pass.cpp38 M m(ar, ar + sizeof(ar)/sizeof(ar[0])); in main() local
39 assert(m.size() == 8); in main()
40 R s = m.erase(9); in main()
42 assert(m.size() == 8); in main()
43 assert(m.begin()->first == 1); in main()
44 assert(m.begin()->second == 1.5); in main()
45 assert(next(m.begin())->first == 2); in main()
46 assert(next(m.begin())->second == 2.5); in main()
47 assert(next(m.begin(), 2)->first == 3); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
[all …]
/external/icu/icu4c/source/data/curr/
Dksf.txt13 "mɔni mǝ á bǝlɔŋ bǝ kaksa bɛ táatáaŋzǝn",
17 "mɔni mǝ á angóla",
21 "mɔni mǝ á ɔstralí",
25 "mɔni mǝ á barǝ́n",
29 "mɔni mǝ á burundí",
33 "mɔni mǝ á botswana",
37 "mɔni mǝ á kanada",
41 "mɔni mǝ á kɔngó",
45 "mɔni mǝ á swís",
49 "mɔni mǝ á cín",
[all …]
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Derase_iter.pass.cpp47 M m(ar, ar + sizeof(ar)/sizeof(ar[0])); in main() local
48 assert(m.size() == 9); in main()
49 I i = m.erase(next(m.cbegin(), 3)); in main()
50 assert(m.size() == 8); in main()
51 assert(i == next(m.begin(), 3)); in main()
52 assert(m.begin()->first == 1); in main()
53 assert(m.begin()->second == 1); in main()
54 assert(next(m.begin())->first == 1); in main()
55 assert(next(m.begin())->second == 1.5); in main()
56 assert(next(m.begin(), 2)->first == 1); in main()
[all …]
/external/libcxx/test/std/containers/associative/multiset/
Derase_iter.pass.cpp46 M m(ar, ar + sizeof(ar)/sizeof(ar[0])); in main() local
47 assert(m.size() == 8); in main()
48 I i = m.erase(next(m.cbegin(), 3)); in main()
49 assert(m.size() == 7); in main()
50 assert(i == next(m.begin(), 3)); in main()
51 assert(*next(m.begin(), 0) == 1); in main()
52 assert(*next(m.begin(), 1) == 2); in main()
53 assert(*next(m.begin(), 2) == 3); in main()
54 assert(*next(m.begin(), 3) == 5); in main()
55 assert(*next(m.begin(), 4) == 6); in main()
[all …]
/external/valgrind/none/tests/ppc32/
Dtw.c33 static void tw_0 ( long n, long m ) { in tw_0() argument
35 : /*out*/ : /*in*/ "r" (n), "r" (m) ); in tw_0()
37 static void tw_1 ( long n, long m ) { in tw_1() argument
39 : /*out*/ : /*in*/ "r" (n), "r" (m) ); in tw_1()
41 static void tw_2 ( long n, long m ) { in tw_2() argument
43 : /*out*/ : /*in*/ "r" (n), "r" (m) ); in tw_2()
45 static void tw_3 ( long n, long m ) { in tw_3() argument
47 : /*out*/ : /*in*/ "r" (n), "r" (m) ); in tw_3()
49 static void tw_4 ( long n, long m ) { in tw_4() argument
51 : /*out*/ : /*in*/ "r" (n), "r" (m) ); in tw_4()
[all …]

12345678910>>...255