Home
last modified time | relevance | path

Searched refs:T (Results 1 – 25 of 5590) sorted by relevance

12345678910>>...224

/external/chromium_org/v8/test/cctest/compiler/
Dtest-run-jsops.cc13 FunctionTester T("(function(a,b) { return a + b; })"); in TEST() local
15 T.CheckCall(3, 1, 2); in TEST()
16 T.CheckCall(-11, -2, -9); in TEST()
17 T.CheckCall(-11, -1.5, -9.5); in TEST()
18 T.CheckCall(T.Val("AB"), T.Val("A"), T.Val("B")); in TEST()
19 T.CheckCall(T.Val("A11"), T.Val("A"), T.Val(11)); in TEST()
20 T.CheckCall(T.Val("12B"), T.Val(12), T.Val("B")); in TEST()
21 T.CheckCall(T.Val("38"), T.Val("3"), T.Val("8")); in TEST()
22 T.CheckCall(T.Val("31"), T.Val("3"), T.NewObject("([1])")); in TEST()
23 T.CheckCall(T.Val("3[object Object]"), T.Val("3"), T.NewObject("({})")); in TEST()
[all …]
Dtest-run-jsbranches.cc13 FunctionTester T("(function(a) { return a ? 23 : 42; })"); in TEST() local
15 T.CheckCall(T.Val(23), T.true_value(), T.undefined()); in TEST()
16 T.CheckCall(T.Val(42), T.false_value(), T.undefined()); in TEST()
17 T.CheckCall(T.Val(42), T.undefined(), T.undefined()); in TEST()
18 T.CheckCall(T.Val(42), T.Val(0.0), T.undefined()); in TEST()
19 T.CheckCall(T.Val(23), T.Val(999), T.undefined()); in TEST()
20 T.CheckCall(T.Val(23), T.Val("x"), T.undefined()); in TEST()
25 FunctionTester T("(function(a,b) { return a && b; })"); in TEST() local
27 T.CheckCall(T.true_value(), T.true_value(), T.true_value()); in TEST()
28 T.CheckCall(T.false_value(), T.false_value(), T.true_value()); in TEST()
[all …]
Dtest-run-intrinsics.cc14 FunctionTester T("(function(a) { return %_IsSmi(a); })"); in TEST() local
16 T.CheckTrue(T.Val(1)); in TEST()
17 T.CheckFalse(T.Val(1.1)); in TEST()
18 T.CheckFalse(T.Val(-0.0)); in TEST()
19 T.CheckTrue(T.Val(-2)); in TEST()
20 T.CheckFalse(T.Val(-2.3)); in TEST()
21 T.CheckFalse(T.undefined()); in TEST()
26 FunctionTester T("(function(a) { return %_IsNonNegativeSmi(a); })"); in TEST() local
28 T.CheckTrue(T.Val(1)); in TEST()
29 T.CheckFalse(T.Val(1.1)); in TEST()
[all …]
Dtest-run-jscalls.cc13 FunctionTester T("(function(foo,a) { return foo(a); })"); in TEST() local
14 Handle<JSFunction> foo = T.NewFunction("(function(a) { return a; })"); in TEST()
16 T.CheckCall(T.Val(3), foo, T.Val(3)); in TEST()
17 T.CheckCall(T.Val(3.1), foo, T.Val(3.1)); in TEST()
18 T.CheckCall(foo, foo, foo); in TEST()
19 T.CheckCall(T.Val("Abba"), foo, T.Val("Abba")); in TEST()
24 FunctionTester T("(function(foo,a) { return foo(a); })"); in TEST() local
25 Handle<JSFunction> foo = T.NewFunction("(function(a) { return a; })"); in TEST()
26 T.Compile(foo); in TEST()
28 T.CheckCall(T.Val(3), foo, T.Val(3)); in TEST()
[all …]
/external/clang/test/SemaCXX/
Dcxx1y-variable-templates_top_level.cpp11 template<typename T>
12 T pi = T(3.1415926535897932385); // expected-note {{template is declared here}}
14 template<typename T>
15 CONST T cpi = T(3.1415926535897932385); // expected-note {{template is declared here}}
17 template<typename T> extern CONST T vc;
37 template<typename T>
38 T circular_area(T r) { in circular_area()
39 return pi<T> * r * r; in circular_area()
42 template<typename T>
43 CONST T const_circular_area(T r) { in const_circular_area()
[all …]
Dcxx1y-variable-templates_in_class.cpp12 …template<typename T> CONST T wrong; // expected-error {{member 'wrong' declared as a tem…
13 …template<typename T> CONST T wrong_init = 5; // expected-error {{member 'wrong_init' declared…
14 template<typename T, typename T0> static CONST T right = T(100);
15 template<typename T> static CONST T right<T,int> = 5;
16 …template<typename T> CONST int right<int,T>; // expected-error {{member 'right' declared as a tem…
17 …template<typename T> CONST float right<float,T> = 5; // expected-error {{member 'right' declared …
26 template<typename T, typename T0> static CONST T right = T(100);
27 template<typename T> static CONST T right<T,int> = T(5);
35 template<typename T, typename T0> static CONST T right;
36 template<typename T> static CONST T right<T,int>;
[all …]
Dunknown-type-name.cpp27 template<typename T>
29 typedef T type;
37 static int h(T::type, int); // expected-error{{missing 'typename'}}
38 static int h(T::type x, char); // expected-error{{missing 'typename'}}
41 template<typename T>
42 A<T>::type g(T t) { return t; } // expected-error{{missing 'typename'}} in g()
44 template<typename T>
45 A<T>::type A<T>::f() { return type(); } // expected-error{{missing 'typename'}} in f()
47 template<typename T>
48 void f(T::type) { } // expected-error{{missing 'typename'}} in f()
[all …]
/external/clang/test/PCH/
Dcxx1y-variable-templates.cpp33 template<typename T> T var0a = T();
34 template<typename T> extern T var0b;
37 template<typename T> T va = T(100);
38 template<typename T> extern T vb;
42 template<typename T> extern float err0;
43 template<typename T> extern T err1;
45 template<typename T> extern T def;
51 template<typename T> constexpr T va = T(10);
55 template<typename T> T vb = T();
58 template<typename T> T vc = T();
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dtype_traits.h69 template <class T> struct is_integral;
70 template <class T> struct is_floating_point;
71 template <class T> struct is_pointer;
75 template <class T> struct is_enum;
77 template <class T> struct is_reference;
78 template <class T> struct is_pod;
79 template <class T> struct has_trivial_constructor;
80 template <class T> struct has_trivial_copy;
81 template <class T> struct has_trivial_assign;
82 template <class T> struct has_trivial_destructor;
[all …]
/external/ceres-solver/include/ceres/
Drotation.h67 template <typename T, int row_stride, int col_stride>
73 template <typename T>
74 MatrixAdapter<T, 1, 3> ColumnMajorAdapter3x3(T* pointer);
76 template <typename T>
77 MatrixAdapter<T, 3, 1> RowMajorAdapter3x3(T* pointer);
85 template<typename T>
86 void AngleAxisToQuaternion(const T* angle_axis, T* quaternion);
94 template<typename T>
95 void QuaternionToAngleAxis(const T* quaternion, T* angle_axis);
100 template <typename T>
[all …]
Djet.h169 template <typename T, int N>
183 explicit Jet(const T& value) { in Jet()
189 Jet(const T& value, int k) { in Jet()
192 v[k] = T(1.0); in Jet()
200 Jet(const T& value, const Eigen::DenseBase<Derived> &vIn) in Jet()
207 Jet<T, N>& operator+=(const Jet<T, N> &y) {
212 Jet<T, N>& operator-=(const Jet<T, N> &y) {
217 Jet<T, N>& operator*=(const Jet<T, N> &y) {
222 Jet<T, N>& operator/=(const Jet<T, N> &y) {
228 T a;
[all …]
/external/chromium_org/v8/test/cctest/
Dtest-types.cc345 TypesInstance T; member
351 T(Rep::ToRegion(&zone, isolate), isolate) { in Tests()
401 for (TypeIterator it = T.types.begin(); it != T.types.end(); ++it) { in IsSomeType()
411 CHECK(this->IsBitset(T.None)); in Bitset()
412 CHECK(this->IsBitset(T.Any)); in Bitset()
414 CHECK(bitset(0) == this->AsBitset(T.None)); in Bitset()
415 CHECK(bitset(0xfffffffeu) == this->AsBitset(T.Any)); in Bitset()
418 for (TypeIterator it1 = T.types.begin(); it1 != T.types.end(); ++it1) { in Bitset()
419 for (TypeIterator it2 = T.types.begin(); it2 != T.types.end(); ++it2) { in Bitset()
422 TypeHandle union12 = T.Union(type1, type2); in Bitset()
[all …]
/external/deqp/framework/common/
DtcuMatrix.hpp32 template <typename T, int Size>
39 inline T operator[] (int ndx) const { return m_data[ndx]; } in operator []()
40 inline T& operator[] (int ndx) { return m_data[ndx]; } in operator []()
42 inline const T* getPtr (void) const { return m_data; } in getPtr()
43 inline T* getPtr (void) { return m_data; } in getPtr()
46 T m_data[Size];
50 template <typename T, int Rows, int Cols>
54 typedef Vector<T, Rows> Element;
55 typedef T Scalar;
65 explicit Matrix (const T& src);
[all …]
DtcuVector.hpp36 template <typename T, int VecSize, int Size>
40 explicit VecAccess (Vector<T, VecSize>& v, int x, int y);
41 explicit VecAccess (Vector<T, VecSize>& v, int x, int y, int z);
42 explicit VecAccess (Vector<T, VecSize>& v, int x, int y, int z, int w);
44 VecAccess& operator= (const Vector<T, Size>& v);
46 operator Vector<T, Size> (void) const;
49 Vector<T, VecSize>& m_vector;
53 template <typename T, int VecSize, int Size>
54 VecAccess<T, VecSize, Size>::VecAccess (Vector<T, VecSize>& v, int x, int y) in VecAccess() argument
62 template <typename T, int VecSize, int Size>
[all …]
/external/chromium_org/base/
Dbind_helpers.h223 template <typename T>
239 struct Base : public T, public BaseMixin {
259 template <bool IsClasstype, typename T>
263 template <typename T>
264 struct UnsafeBindtoRefCountedArgHelper<true, T>
265 : integral_constant<bool, SupportsAddRefAndRelease<T>::value> {
268 template <typename T>
272 template <typename T>
273 struct UnsafeBindtoRefCountedArg<T*>
274 : UnsafeBindtoRefCountedArgHelper<is_class<T>::value, T> {
[all …]
/external/clang/test/SemaTemplate/
Dms-lookup-template-base-classes.cpp4 template <class T>
7 …void f(T a) { }// expected-note {{must qualify identifier to find this declaration in dependent ba… in f()
11 template <class T>
12 class B : public A<T> {
14 void z(T a) in z()
31 template<class T> void f(T) { in f()
57 template<class T> class A {
63 template<class T>
64 class B : public A<T> {
79 template <class T>
[all …]
Dtemp_class_spec.cpp2 template<typename T>
7 template<typename T>
8 struct is_pointer<T*> {
12 template<typename T>
13 struct is_pointer<const T*> {
21 template<typename T>
26 template<typename T>
27 struct is_lvalue_reference<T&> {
34 template<typename T>
39 template<typename T>
[all …]
/external/valgrind/main/exp-bbv/tests/amd64-linux/
Dclone_test.post.exp1 T 4 996 5 2 3 98991
2 T 100000
3 T 100000
4 T 100000
5 T 100000
6 T 100000
7 T 100000
8 T 100000
9 T 100000
10 T 100000
[all …]
/external/valgrind/main/exp-bbv/tests/x86-linux/
Dclone_test.post.exp1 T 4 996 5 2 3 98991
2 T 100000
3 T 100000
4 T 100000
5 T 100000
6 T 100000
7 T 100000
8 T 100000
9 T 100000
10 T 100000
[all …]
/external/deqp/framework/delibs/decpp/
DdeUniquePtr.hpp41 template<typename T, class D>
44 PtrData (T* p, D d) : ptr(p), deleter(d) {} in PtrData()
49 T* ptr;
53 template<typename T, class D>
57 typedef T element_type;
60 T* get (void) const throw() { return m_data.ptr; } //!< Get stored pointer. in get()
62 T* operator-> (void) const throw() { return get(); } //!< Get stored pointer. in operator ->()
63 T& operator* (void) const throw() { return *get(); } //!< De-reference stored pointer. in operator *()
67 UniqueBase (T* ptr, D deleter) : m_data(ptr, deleter) {} in UniqueBase()
68 UniqueBase (PtrData<T, D> data) : m_data(data) {} in UniqueBase() argument
[all …]
DdePoolArray.hpp38 template<typename T, deUint32 Alignment>
41 template<typename T, deUint32 Alignment>
51 template<typename T, deUint32 Alignment = (sizeof(T) > 4 ? 4 : sizeof(T))>
55 typedef PoolArrayIterator<T, Alignment> Iterator;
56 typedef PoolArrayConstIterator<T, Alignment> ConstIterator;
59 PoolArray (MemPool* pool, const PoolArray<T, Alignment>& other);
66 void resize (deUintptr size, const T& value);
71 void pushBack (const T& value);
72 T popBack (void);
74 const T& at (deIntptr ndx) const { return *getPtr(ndx); } in at()
[all …]
/external/guava/guava/src/com/google/common/collect/
DIterables.java64 public static <T> Iterable<T> unmodifiableIterable( in unmodifiableIterable()
65 final Iterable<T> iterable) { in unmodifiableIterable()
71 return new UnmodifiableIterable<T>(iterable); in unmodifiableIterable()
85 private static final class UnmodifiableIterable<T> implements Iterable<T> {
86 private final Iterable<T> iterable;
88 private UnmodifiableIterable(Iterable<T> iterable) { in UnmodifiableIterable()
93 public Iterator<T> iterator() { in iterator()
181 public static <T> boolean removeIf( in removeIf()
182 Iterable<T> removeFrom, Predicate<? super T> predicate) { in removeIf()
185 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf()
[all …]
DIterators.java83 public static <T> UnmodifiableIterator<T> emptyIterator() { in emptyIterator()
84 return (UnmodifiableIterator<T>) EMPTY_ITERATOR; in emptyIterator()
110 static <T> Iterator<T> emptyModifiableIterator() { in emptyModifiableIterator()
111 return (Iterator<T>) EMPTY_MODIFIABLE_ITERATOR; in emptyModifiableIterator()
115 public static <T> UnmodifiableIterator<T> unmodifiableIterator( in unmodifiableIterator()
116 final Iterator<T> iterator) { in unmodifiableIterator()
119 return (UnmodifiableIterator<T>) iterator; in unmodifiableIterator()
121 return new UnmodifiableIterator<T>() { in unmodifiableIterator()
127 public T next() { in unmodifiableIterator()
139 @Deprecated public static <T> UnmodifiableIterator<T> unmodifiableIterator(
[all …]
/external/openfst/src/include/fst/
Dfloat-weight.h37 template <class T>
40 static const T PosInfinity() { in PosInfinity()
41 static const T pos_infinity = numeric_limits<T>::infinity(); in PosInfinity()
45 static const T NegInfinity() { in NegInfinity()
46 static const T neg_infinity = -PosInfinity(); in NegInfinity()
50 static const T NumberBad() { in NumberBad()
51 static const T number_bad = numeric_limits<T>::quiet_NaN(); in NumberBad()
58 template <class T = float>
63 FloatWeightTpl(T f) : value_(f) {} in FloatWeightTpl()
65 FloatWeightTpl(const FloatWeightTpl<T> &w) : value_(w.value_) {} in FloatWeightTpl()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterables.java61 public static <T> Iterable<T> unmodifiableIterable( in unmodifiableIterable()
62 final Iterable<T> iterable) { in unmodifiableIterable()
68 return new UnmodifiableIterable<T>(iterable); in unmodifiableIterable()
82 private static final class UnmodifiableIterable<T> implements Iterable<T> {
83 private final Iterable<T> iterable;
85 private UnmodifiableIterable(Iterable<T> iterable) { in UnmodifiableIterable()
90 public Iterator<T> iterator() { in iterator()
178 public static <T> boolean removeIf( in removeIf()
179 Iterable<T> removeFrom, Predicate<? super T> predicate) { in removeIf()
182 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf()
[all …]

12345678910>>...224