Home
last modified time | relevance | path

Searched +full:- +full:m (Results 1 – 25 of 1221) sorted by relevance

12345678910>>...49

/external/swiftshader/src/Renderer/
DMatrix.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
40 Matrix Matrix::operator-() const in operator -()
42 const Matrix &M = *this; in operator -() local
44 return Matrix(-M(1, 1), -M(1, 2), -M(1, 3), -M(1, 4), in operator -()
45 -M(2, 1), -M(2, 2), -M(2, 3), -M(2, 4), in operator -()
46 -M(3, 1), -M(3, 2), -M(3, 3), -M(3, 4), in operator -()
47 -M(4, 1), -M(4, 2), -M(4, 3), -M(4, 4)); in operator -()
52 const Matrix &M = *this; in operator !() local
55 float M3344 = M(3, 3) * M(4, 4) - M(4, 3) * M(3, 4); in operator !()
56 float M2344 = M(2, 3) * M(4, 4) - M(4, 3) * M(2, 4); in operator !()
[all …]
/external/swiftshader/src/Device/
DMatrix.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
40 Matrix Matrix::operator-() const in operator -()
42 const Matrix &M = *this; in operator -() local
44 return Matrix(-M(1, 1), -M(1, 2), -M(1, 3), -M(1, 4), in operator -()
45 -M(2, 1), -M(2, 2), -M(2, 3), -M(2, 4), in operator -()
46 -M(3, 1), -M(3, 2), -M(3, 3), -M(3, 4), in operator -()
47 -M(4, 1), -M(4, 2), -M(4, 3), -M(4, 4)); in operator -()
52 const Matrix &M = *this; in operator !() local
55 float M3344 = M(3, 3) * M(4, 4) - M(4, 3) * M(3, 4); in operator !()
56 float M2344 = M(2, 3) * M(4, 4) - M(4, 3) * M(2, 4); in operator !()
[all …]
/external/python/cpython2/Tools/pybench/
DTuples.py18 m = t[50:]
19 m = t[:25]
20 m = t[50:55]
21 m = t[:-1]
22 m = t[1:]
23 m = t[-10:]
24 m = t[:10]
26 m = t[50:]
27 m = t[:25]
28 m = t[50:55]
[all …]
/external/libcxx/test/std/re/re.alg/re.alg.search/
Decma.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
13 // REQUIRES: locale.cs_CZ.ISO8859-2
20 // match_results<BidirectionalIterator, Allocator>& m,
25 // XFAIL: linux-gnu
37 std::cmatch m; in main() local
39 assert(std::regex_search(s, m, std::regex("a"))); in main()
40 assert(m.size() == 1); in main()
41 assert(!m.empty()); in main()
42 assert(!m.prefix().matched); in main()
[all …]
Dextended.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
13 // REQUIRES: locale.cs_CZ.ISO8859-2
20 // match_results<BidirectionalIterator, Allocator>& m,
25 // XFAIL: linux-gnu
37 std::cmatch m; in main() local
39 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::extended))); in main()
40 assert(m.size() == 1); in main()
41 assert(!m.empty()); in main()
42 assert(!m.prefix().matched); in main()
[all …]
Dbasic.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
13 // REQUIRES: locale.cs_CZ.ISO8859-2
20 // match_results<BidirectionalIterator, Allocator>& m,
25 // XFAIL: linux-gnu
37 std::cmatch m; in main() local
38 assert(!std::regex_search("a", m, std::regex())); in main()
39 assert(m.size() == 0); in main()
40 assert(m.empty()); in main()
43 std::cmatch m; in main() local
[all …]
Dawk.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
13 // REQUIRES: locale.cs_CZ.ISO8859-2
20 // match_results<BidirectionalIterator, Allocator>& m,
25 // XFAIL: linux-gnu
37 std::cmatch m; in main() local
39 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::awk))); in main()
40 assert(m.size() == 1); in main()
41 assert(!m.empty()); in main()
42 assert(!m.prefix().matched); in main()
[all …]
/external/libcxx/test/std/re/re.alg/re.alg.match/
Decma.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
13 // REQUIRES: locale.cs_CZ.ISO8859-2
20 // match_results<BidirectionalIterator, Allocator>& m,
25 // XFAIL: linux-gnu
37 std::cmatch m; in main() local
39 assert(std::regex_match(s, m, std::regex("a"))); in main()
40 assert(m.size() == 1); in main()
41 assert(!m.empty()); in main()
42 assert(!m.prefix().matched); in main()
[all …]
Dextended.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
13 // REQUIRES: locale.cs_CZ.ISO8859-2
20 // match_results<BidirectionalIterator, Allocator>& m,
25 // XFAIL: linux-gnu
37 std::cmatch m; in main() local
39 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::extended))); in main()
40 assert(m.size() == 1); in main()
41 assert(!m.empty()); in main()
42 assert(!m.prefix().matched); in main()
[all …]
Dawk.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
15 // match_results<BidirectionalIterator, Allocator>& m,
31 std::cmatch m; in main()
33 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk))); in main()
34 assert(m.size() == 1); in main()
35 assert(!m.empty()); in main()
36 assert(!m.prefix().matched); in main()
37 assert(m.prefix().first == s); in main()
38 assert(m.prefix().second == m[0].first); in main()
[all …]
Dbasic.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
13 // REQUIRES: locale.cs_CZ.ISO8859-2
20 // match_results<BidirectionalIterator, Allocator>& m,
25 // XFAIL: linux-gnu
37 std::cmatch m; in main() local
38 assert(!std::regex_match("a", m, std::regex())); in main()
39 assert(m.size() == 0); in main()
40 assert(m.empty()); in main()
43 std::cmatch m; in main() local
[all …]
/external/libcxx/test/std/containers/associative/map/map.ops/
Dlower_bound.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
29 typedef std::map<int, double> M; in main() typedef
31 typedef M::iterator R; in main()
43 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
44 R r = m.lower_bound(5); in main()
45 assert(r == m.begin()); in main()
46 r = m.lower_bound(7); in main()
47 assert(r == next(m.begin())); in main()
48 r = m.lower_bound(9); in main()
[all …]
Dupper_bound.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
28 typedef std::map<int, double> M; in main() typedef
30 typedef M::iterator R; in main()
42 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
43 R r = m.upper_bound(5); in main()
44 assert(r == next(m.begin(), 1)); in main()
45 r = m.upper_bound(7); in main()
46 assert(r == next(m.begin(), 2)); in main()
47 r = m.upper_bound(9); in main()
[all …]
Dequal_range.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
29 typedef std::map<int, double> M; in main() typedef
31 typedef std::pair<M::iterator, M::iterator> R; in main()
43 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
44 R r = m.equal_range(5); in main()
45 assert(r.first == next(m.begin(), 0)); in main()
46 assert(r.second == next(m.begin(), 1)); in main()
47 r = m.equal_range(7); in main()
48 assert(r.first == next(m.begin(), 1)); in main()
[all …]
Dfind.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
29 typedef std::map<int, double> M; in main() typedef
31 typedef M::iterator R; in main()
43 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
44 R r = m.find(5); in main()
45 assert(r == m.begin()); in main()
46 r = m.find(6); in main()
47 assert(r == next(m.begin())); in main()
48 r = m.find(7); in main()
[all …]
/external/libcxx/test/std/containers/associative/set/
Dlower_bound.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
28 typedef std::set<int> M; in main() typedef
30 typedef M::iterator R; in main()
42 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()
[all …]
Dupper_bound.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
28 typedef std::set<int> M; in main() typedef
30 typedef M::iterator R; in main()
42 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
43 R r = m.upper_bound(5); in main()
44 assert(r == next(m.begin(), 1)); in main()
45 r = m.upper_bound(7); in main()
46 assert(r == next(m.begin(), 2)); in main()
47 r = m.upper_bound(9); in main()
[all …]
Dequal_range.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
28 typedef std::set<int> M; in main() typedef
30 typedef std::pair<M::iterator, M::iterator> R; in main()
42 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()
[all …]
Dfind.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
28 typedef std::set<int> M; in main() typedef
30 typedef M::iterator R; in main()
42 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
43 R r = m.find(5); in main()
44 assert(r == m.begin()); in main()
45 r = m.find(6); in main()
46 assert(r == next(m.begin())); in main()
47 r = m.find(7); in main()
[all …]
Derase_iter.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
32 typedef std::set<int> M; in main() typedef
34 typedef M::iterator I; in main()
46 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()
[all …]
/external/adhd/cras/src/common/
Dcras_messages.h2 * Use of this source code is governed by a BSD-style license that can be
30 /* Client -> Server*/
62 /* Server -> Client */
132 static inline void cras_fill_connect_message(struct cras_connect_message *m, in cras_fill_connect_message() argument
143 m->proto_version = CRAS_PROTO_VER; in cras_fill_connect_message()
144 m->direction = direction; in cras_fill_connect_message()
145 m->stream_id = stream_id; in cras_fill_connect_message()
146 m->stream_type = stream_type; in cras_fill_connect_message()
147 m->buffer_frames = buffer_frames; in cras_fill_connect_message()
148 m->cb_threshold = cb_threshold; in cras_fill_connect_message()
[all …]
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Derase_iter.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
32 typedef std::multimap<int, double> M; in main() typedef
34 typedef M::iterator I; in main()
47 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()
[all …]
/external/libcxx/test/std/containers/associative/multiset/
Dequal_range.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
28 typedef std::multiset<int> M; in main() typedef
30 typedef std::pair<M::iterator, M::iterator> R; in main()
43 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
44 R r = m.equal_range(4); in main()
45 assert(r.first == next(m.begin(), 0)); in main()
46 assert(r.second == next(m.begin(), 0)); in main()
47 r = m.equal_range(5); in main()
48 assert(r.first == next(m.begin(), 0)); in main()
[all …]
Dfind.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
28 typedef std::multiset<int> M; in main() typedef
30 typedef M::iterator R; in main()
42 M m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main() local
43 R r = m.find(5); in main()
44 assert(r == m.begin()); in main()
45 r = m.find(6); in main()
46 assert(r == next(m.begin())); in main()
47 r = m.find(7); in main()
[all …]
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Derase_iter.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
32 typedef std::map<int, double> M; in main() typedef
34 typedef M::iterator I; in main()
46 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()
[all …]

12345678910>>...49