Home
last modified time | relevance | path

Searched refs:R (Results 1 – 25 of 2960) sorted by relevance

12345678910>>...119

/external/v8/test/cctest/compiler/
Dtest-machine-operator-reducer.cc224 ReducerTester R; in TEST() local
225 R.binop = R.machine.Word32And(); in TEST()
230 R.CheckFoldBinop<int32_t>(x & y, x, y); in TEST()
234 R.CheckPutConstantOnRight(33); in TEST()
235 R.CheckPutConstantOnRight(44000); in TEST()
237 Node* x = R.Parameter(); in TEST()
238 Node* zero = R.Constant<int32_t>(0); in TEST()
239 Node* minus_1 = R.Constant<int32_t>(-1); in TEST()
241 R.CheckBinop(zero, x, zero); // x & 0 => 0 in TEST()
242 R.CheckBinop(zero, zero, x); // 0 & x => 0 in TEST()
[all …]
Dtest-instruction.cc110 InstructionTester R; in TEST() local
113 R.Int32Constant(i); // Add some nodes to the graph. in TEST()
116 BasicBlock* last = R.schedule.start(); in TEST()
118 BasicBlock* block = R.schedule.NewBasicBlock(); in TEST()
119 R.schedule.AddGoto(last, block); in TEST()
123 R.allocCode(); in TEST()
125 BasicBlockVector* blocks = R.schedule.rpo_order(); in TEST()
126 CHECK_EQ(static_cast<int>(blocks->size()), R.code->InstructionBlockCount()); in TEST()
129 CHECK_EQ(block->rpo_number(), R.BlockAt(block)->rpo_number().ToInt()); in TEST()
136 InstructionTester R; in TEST() local
[all …]
Dtest-js-typed-lowering.cc244 JSTypedLoweringTester R;
247 Node* p0 = R.Parameter(kStringTypes[i], 0);
250 Node* p1 = R.Parameter(kStringTypes[j], 1);
252 Node* add = R.Binop(R.javascript.Add(language_mode), p0, p1);
253 Node* r = R.reduce(add);
255 R.CheckBinop(IrOpcode::kStringAdd, r);
265 JSTypedLoweringTester R; in TEST_WITH_STRONG() local
267 Node* p0 = R.Parameter(kNumberTypes[i], 0); in TEST_WITH_STRONG()
268 Node* p1 = R.Parameter(kNumberTypes[i], 1); in TEST_WITH_STRONG()
269 Node* add = R.Binop( in TEST_WITH_STRONG()
[all …]
/external/v8/test/cctest/interpreter/
Dtest-bytecode-generator.cc96 #define R(x) static_cast<uint8_t>(-(x) & 0xff) macro
97 #define A(x, n) R(helper.kLastParamIndex - (n) + 1 + (x))
292 B(Star), R(0), // in TEST()
300 B(Star), R(0), // in TEST()
301 B(Star), R(1), // in TEST()
303 B(Add), R(1), // in TEST()
311 B(Star), R(0), // in TEST()
312 B(Star), R(1), // in TEST()
314 B(Sub), R(1), // in TEST()
322 B(Star), R(0), // in TEST()
[all …]
/external/libcxx/test/std/utilities/function.objects/func.require/
Dbullet_1_and_2.pass.cpp66 typedef void*& R; typedef
68 R f(__VA_ARGS__) { return MethodID<R(MemFun03::*)(__VA_ARGS__)>::setUncheckedCall(); } \
69R f(__VA_ARGS__) const { return MethodID<R(MemFun03::*)(__VA_ARGS__) const>::setUncheckedCall(); }…
70R f(__VA_ARGS__) volatile { return MethodID<R(MemFun03::*)(__VA_ARGS__) volatile>::setUncheckedCal…
71R f(__VA_ARGS__) const volatile { return MethodID<R(MemFun03::*)(__VA_ARGS__) const volatile>::set…
95 typedef void*& R; typedef
98 R f(__VA_ARGS__) & { return MethodID<R(C::*)(__VA_ARGS__) &>::setUncheckedCall(); } \
99R f(__VA_ARGS__) const & { return MethodID<R(C::*)(__VA_ARGS__) const &>::setUncheckedCall(); } \
100R f(__VA_ARGS__) volatile & { return MethodID<R(C::*)(__VA_ARGS__) volatile &>::setUncheckedCall()…
101R f(__VA_ARGS__) const volatile & { return MethodID<R(C::*)(__VA_ARGS__) const volatile &>::setUnc…
[all …]
Dbullet_5.pass.cpp98 typedef void*& R; typedef
101 __VA_ARGS__ R operator() Args { return MethodID<R(C::*) Args>::setUncheckedCall(); } \
102 … __VA_ARGS__ R operator() Args const { return MethodID<R(C::*) Args const>::setUncheckedCall(); } \
103 …__VA_ARGS__ R operator() Args volatile { return MethodID<R(C::*) Args volatile>::setUncheckedCall(…
104 …__VA_ARGS__ R operator() Args const volatile { return MethodID<R(C::*) Args const volatile>::setUn…
136 typedef void*& R; typedef
141 R operator()(Args&&...) CV { return MethodID<R(C::*)(Args&&...) CV>::setUncheckedCall(); }
252 typedef void*& R; in main() typedef
256 runTestCase< R(), 0, LValueCaster >(); in main()
257 runTestCase< R(A&), 1, LValueCaster >(); in main()
[all …]
/external/clang/include/clang/Format/
DFormat.h589 bool operator==(const FormatStyle &R) const {
590 return AccessModifierOffset == R.AccessModifierOffset &&
591 AlignAfterOpenBracket == R.AlignAfterOpenBracket &&
592 AlignConsecutiveAssignments == R.AlignConsecutiveAssignments &&
593 AlignConsecutiveDeclarations == R.AlignConsecutiveDeclarations &&
594 AlignEscapedNewlinesLeft == R.AlignEscapedNewlinesLeft &&
595 AlignOperands == R.AlignOperands &&
596 AlignTrailingComments == R.AlignTrailingComments &&
598 R.AllowAllParametersOfDeclarationOnNextLine &&
599 AllowShortBlocksOnASingleLine == R.AllowShortBlocksOnASingleLine &&
[all …]
/external/llvm/unittests/IR/
DPatternMatch.cpp71 Value *R = ConstantFP::get(FltTy, 2.0); in TEST_F() local
76 .match(IRB.CreateSelect(IRB.CreateFCmpOLT(L, R), L, R))); in TEST_F()
78 EXPECT_EQ(R, MatchR); in TEST_F()
82 .match(IRB.CreateSelect(IRB.CreateFCmpOLE(L, R), L, R))); in TEST_F()
84 EXPECT_EQ(R, MatchR); in TEST_F()
88 .match(IRB.CreateSelect(IRB.CreateFCmpOGE(L, R), L, R))); in TEST_F()
92 .match(IRB.CreateSelect(IRB.CreateFCmpOGT(L, R), L, R))); in TEST_F()
96 .match(IRB.CreateSelect(IRB.CreateFCmpOGE(L, R), R, L))); in TEST_F()
98 EXPECT_EQ(R, MatchR); in TEST_F()
102 .match(IRB.CreateSelect(IRB.CreateFCmpOGT(L, R), R, L))); in TEST_F()
[all …]
/external/llvm/include/llvm/Object/
DRelocVisitor.h52 RelocToApply visit(uint32_t RelocType, RelocationRef R, uint64_t Value = 0) {
54 return visitELF(RelocType, R, Value);
56 return visitCOFF(RelocType, R, Value);
58 return visitMachO(RelocType, R, Value);
70 RelocToApply visitELF(uint32_t RelocType, RelocationRef R, uint64_t Value) { in visitELF() argument
76 return visitELF_X86_64_NONE(R); in visitELF()
78 return visitELF_X86_64_64(R, Value); in visitELF()
80 return visitELF_X86_64_PC32(R, Value); in visitELF()
82 return visitELF_X86_64_32(R, Value); in visitELF()
84 return visitELF_X86_64_32S(R, Value); in visitELF()
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-arabic-table.hh21 #define R JOINING_TYPE_R macro
37 /* 0620 */ D,U,R,R,R,R,D,R,D,R,D,D,D,D,D,R,R,R,R,D,D,D,D,D,D,D,D,D,D,D,D,D,
38 /* 0640 */ C,D,D,D,D,D,D,D,R,D,D,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
39 /* 0660 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,D,D,X,R,R,R,U,R,R,R,D,D,D,D,D,D,D,D,
40 /* 0680 */ D,D,D,D,D,D,D,D,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,D,D,D,D,D,D,
42 /* 06C0 */ R,D,D,R,R,R,R,R,R,R,R,R,D,R,D,R,D,D,R,R,X,R,X,X,X,X,X,X,X,U,X,X,
43 /* 06E0 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,R,R,X,X,X,X,X,X,X,X,X,X,D,D,D,X,X,D,
47 /* 0700 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,A,X,D,D,D,DR,DR,R,R,R,D,D,D,D,R,D,
48 /* 0720 */ D,D,D,D,D,D,D,D,R,D,DR,D,R,D,D,DR,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
49 /* 0740 */ X,X,X,X,X,X,X,X,X,X,X,X,X,R,D,D,
[all …]
/external/eigen/doc/
DAsciiQuickReference.txt10 Matrix3f P, Q, R; // 3x3 float matrix.
85 R.row(i) = P.col(j); // R(i, :) = P(:, i)
86 R.col(j1).swap(mat1.col(j2)); // R(:, [j1 j2]) = R(:, [j2, j1])
90 R.adjoint() // R'
91 R.transpose() // R.' or conj(R')
92 R.diagonal() // diag(R)
94 R.transpose().colwise().reverse(); // rot90(R)
95 R.conjugate() // conj(R)
99 y = M*x; R = P*Q; R = P*s;
100 a = b*M; R = P - Q; R = s*P;
[all …]
/external/guava/guava/src/com/google/common/collect/
DImmutableTable.java48 public abstract class ImmutableTable<R, C, V> extends AbstractTable<R, C, V> {
56 public static <R, C, V> ImmutableTable<R, C, V> of() { in of()
57 return (ImmutableTable<R, C, V>) EMPTY; in of()
61 public static <R, C, V> ImmutableTable<R, C, V> of(R rowKey, in of()
63 return new SingletonImmutableTable<R, C, V>(rowKey, columnKey, value); in of()
80 public static <R, C, V> ImmutableTable<R, C, V> copyOf( in copyOf()
81 Table<? extends R, ? extends C, ? extends V> table) { in copyOf() argument
84 ImmutableTable<R, C, V> parameterizedTable in copyOf()
85 = (ImmutableTable<R, C, V>) table; in copyOf()
93 Cell<? extends R, ? extends C, ? extends V> onlyCell in copyOf()
[all …]
DTables.java65 public static <R, C, V> Cell<R, C, V> immutableCell( in immutableCell()
66 @Nullable R rowKey, @Nullable C columnKey, @Nullable V value) { in immutableCell()
67 return new ImmutableCell<R, C, V>(rowKey, columnKey, value); in immutableCell()
70 static final class ImmutableCell<R, C, V>
71 extends AbstractCell<R, C, V> implements Serializable {
72 private final R rowKey;
77 @Nullable R rowKey, @Nullable C columnKey, @Nullable V value) { in ImmutableCell()
84 public R getRowKey() { in getRowKey()
99 abstract static class AbstractCell<R, C, V> implements Cell<R, C, V> {
139 public static <R, C, V> Table<C, R, V> transpose(Table<R, C, V> table) { in transpose() argument
[all …]
DStandardRowSortedTable.java49 class StandardRowSortedTable<R, C, V> extends StandardTable<R, C, V>
50 implements RowSortedTable<R, C, V> {
57 StandardRowSortedTable(SortedMap<R, Map<C, V>> backingMap, in StandardRowSortedTable() argument
62 private SortedMap<R, Map<C, V>> sortedBackingMap() { in sortedBackingMap()
63 return (SortedMap<R, Map<C, V>>) backingMap; in sortedBackingMap()
72 @Override public SortedSet<R> rowKeySet() { in rowKeySet()
73 return (SortedSet<R>) rowMap().keySet(); in rowKeySet()
82 @Override public SortedMap<R, Map<C, V>> rowMap() { in rowMap()
83 return (SortedMap<R, Map<C, V>>) super.rowMap(); in rowMap()
87 SortedMap<R, Map<C, V>> createRowMap() { in createRowMap()
[all …]
DRegularImmutableTable.java34 abstract class RegularImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
37 abstract Cell<R, C, V> getCell(int iterationIndex); in getCell()
40 final ImmutableSet<Cell<R, C, V>> createCellSet() { in createCellSet()
41 return isEmpty() ? ImmutableSet.<Cell<R, C, V>>of() : new CellSet(); in createCellSet()
44 private final class CellSet extends ImmutableSet<Cell<R, C, V>> {
51 public UnmodifiableIterator<Cell<R, C, V>> iterator() { in iterator()
56 ImmutableList<Cell<R, C, V>> createAsList() { in createAsList()
57 return new ImmutableAsList<Cell<R, C, V>>() { in createAsList()
59 public Cell<R, C, V> get(int index) { in createAsList()
64 ImmutableCollection<Cell<R, C, V>> delegateCollection() { in createAsList()
[all …]
/external/libcxx/test/std/utilities/ratio/ratio.arithmetic/
Dratio_add.pass.cpp19 typedef std::ratio_add<R1, R2>::type R; in main() typedef
20 static_assert(R::num == 2 && R::den == 1, ""); in main()
25 typedef std::ratio_add<R1, R2>::type R; in main() typedef
26 static_assert(R::num == 3 && R::den == 2, ""); in main()
31 typedef std::ratio_add<R1, R2>::type R; in main() typedef
32 static_assert(R::num == 1 && R::den == 2, ""); in main()
37 typedef std::ratio_add<R1, R2>::type R; in main() typedef
38 static_assert(R::num == 1 && R::den == 2, ""); in main()
43 typedef std::ratio_add<R1, R2>::type R; in main() typedef
44 static_assert(R::num == -1 && R::den == 2, ""); in main()
[all …]
Dratio_subtract.pass.cpp19 typedef std::ratio_subtract<R1, R2>::type R; in main() typedef
20 static_assert(R::num == 0 && R::den == 1, ""); in main()
25 typedef std::ratio_subtract<R1, R2>::type R; in main() typedef
26 static_assert(R::num == -1 && R::den == 2, ""); in main()
31 typedef std::ratio_subtract<R1, R2>::type R; in main() typedef
32 static_assert(R::num == -3 && R::den == 2, ""); in main()
37 typedef std::ratio_subtract<R1, R2>::type R; in main() typedef
38 static_assert(R::num == -3 && R::den == 2, ""); in main()
43 typedef std::ratio_subtract<R1, R2>::type R; in main() typedef
44 static_assert(R::num == 3 && R::den == 2, ""); in main()
[all …]
Dratio_divide.pass.cpp19 typedef std::ratio_divide<R1, R2>::type R; in main() typedef
20 static_assert(R::num == 1 && R::den == 1, ""); in main()
25 typedef std::ratio_divide<R1, R2>::type R; in main() typedef
26 static_assert(R::num == 1 && R::den == 2, ""); in main()
31 typedef std::ratio_divide<R1, R2>::type R; in main() typedef
32 static_assert(R::num == -1 && R::den == 2, ""); in main()
37 typedef std::ratio_divide<R1, R2>::type R; in main() typedef
38 static_assert(R::num == -1 && R::den == 2, ""); in main()
43 typedef std::ratio_divide<R1, R2>::type R; in main() typedef
44 static_assert(R::num == -1 && R::den == 2, ""); in main()
[all …]
Dratio_multiply.pass.cpp19 typedef std::ratio_multiply<R1, R2>::type R; in main() typedef
20 static_assert(R::num == 1 && R::den == 1, ""); in main()
25 typedef std::ratio_multiply<R1, R2>::type R; in main() typedef
26 static_assert(R::num == 1 && R::den == 2, ""); in main()
31 typedef std::ratio_multiply<R1, R2>::type R; in main() typedef
32 static_assert(R::num == -1 && R::den == 2, ""); in main()
37 typedef std::ratio_multiply<R1, R2>::type R; in main() typedef
38 static_assert(R::num == -1 && R::den == 2, ""); in main()
43 typedef std::ratio_multiply<R1, R2>::type R; in main() typedef
44 static_assert(R::num == -1 && R::den == 2, ""); in main()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DDrawableResourceLoaderTest.java6 import com.xtremelabs.robolectric.R;
34 extractor.addLocalRClass(R.class); in setup()
35 extractor.addSystemRClass(android.R.class); in setup()
52 assertTrue(resourceLoader.isXml(R.drawable.rainbow)); in testIsXml_rainbow()
57 assertTrue(resourceLoader.isXml(android.R.drawable.ic_popup_sync)); in testIsXml_shouldWorkWithSystem()
62 boolean result = resourceLoader.isXml(R.drawable.l0_red); in testIsXml_red()
68 int[] expected = { R.drawable.l7_white, R.drawable.l0_red, in testGetDrawableIds()
69 R.drawable.l1_orange, R.drawable.l2_yellow, in testGetDrawableIds()
70 R.drawable.l3_green, R.drawable.l4_blue, R.drawable.l5_indigo, in testGetDrawableIds()
71 R.drawable.l6_violet }; in testGetDrawableIds()
[all …]
/external/clang/lib/Headers/
Davx512erintrin.h31 #define _mm512_exp2a23_round_pd(A, R) __extension__ ({ \ argument
34 (__mmask8)-1, (R)); })
36 #define _mm512_mask_exp2a23_round_pd(S, M, A, R) __extension__ ({ \ argument
39 (__mmask8)(M), (R)); })
41 #define _mm512_maskz_exp2a23_round_pd(M, A, R) __extension__ ({ \ argument
44 (__mmask8)(M), (R)); })
55 #define _mm512_exp2a23_round_ps(A, R) __extension__ ({ \ argument
58 (__mmask8)-1, (R)); })
60 #define _mm512_mask_exp2a23_round_ps(S, M, A, R) __extension__ ({ \ argument
63 (__mmask8)(M), (R)); })
[all …]
/external/clang/test/SemaCXX/
Dissue547.cpp9 template<typename R, typename ...Args>
10 struct classify_function<R(Args...)> {
14 template<typename R, typename ...Args>
15 struct classify_function<R(Args...) const> {
19 template<typename R, typename ...Args>
20 struct classify_function<R(Args...) volatile> {
24 template<typename R, typename ...Args>
25 struct classify_function<R(Args...) const volatile> {
29 template<typename R, typename ...Args>
30 struct classify_function<R(Args..., ...)> {
[all …]
/external/bison/lib/
Dverify.h165 # define _GL_VERIFY_TRUE(R, DIAGNOSTIC) \ argument
166 (!!sizeof (_GL_VERIFY_TYPE (R, DIAGNOSTIC)))
176 # define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ argument
177 _gl_verify_type<(R) ? 1 : -1>
179 # define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ argument
181 _Static_assert (R, DIAGNOSTIC); \
185 # define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ argument
186 struct { unsigned int _gl_verify_error_if_negative: (R) ? 1 : -1; }
199 # define _GL_VERIFY(R, DIAGNOSTIC) \ argument
201 [_GL_VERIFY_TRUE (R, DIAGNOSTIC)]
[all …]
/external/llvm/unittests/ADT/
DMapVectorTest.cpp19 std::pair<MapVector<int, int>::iterator, bool> R; in TEST() local
21 R = MV1.insert(std::make_pair(1, 2)); in TEST()
22 ASSERT_EQ(R.first, MV1.begin()); in TEST()
23 EXPECT_EQ(R.first->first, 1); in TEST()
24 EXPECT_EQ(R.first->second, 2); in TEST()
25 EXPECT_TRUE(R.second); in TEST()
44 std::pair<MapVector<int, int>::iterator, bool> R; in TEST() local
46 R = MV.insert(std::make_pair(1, 2)); in TEST()
47 ASSERT_EQ(R.first, MV.begin()); in TEST()
48 EXPECT_EQ(R.first->first, 1); in TEST()
[all …]
/external/llvm/test/MC/Mips/
Drotations64.s2 # RUN: llvm-mc %s -arch=mips -mcpu=mips64r2 -show-encoding | FileCheck %s -check-prefix=CHECK-64R
3 # RUN: llvm-mc %s -arch=mips -mcpu=mips64r3 -show-encoding | FileCheck %s -check-prefix=CHECK-64R
4 # RUN: llvm-mc %s -arch=mips -mcpu=mips64r5 -show-encoding | FileCheck %s -check-prefix=CHECK-64R
5 # RUN: llvm-mc %s -arch=mips -mcpu=mips64r6 -show-encoding | FileCheck %s -check-prefix=CHECK-64R
14 # CHECK-64R: subu $1, $zero, $5 # encoding: [0x00,0x05,0x08,0x23]
15 # CHECK-64R: rotrv $4, $4, $1 # encoding: [0x00,0x24,0x20,0x46]
21 # CHECK-64R: negu $4, $6 # encoding: [0x00,0x06,0x20,0x23]
22 # CHECK-64R: rotrv $4, $5, $4 # encoding: [0x00,0x85,0x20,0x46]
25 # CHECK-64R: rotr $4, $4, 0 # encoding: [0x00,0x24,0x20,0x02]
28 # CHECK-64R: rotr $4, $5, 0 # encoding: [0x00,0x25,0x20,0x02]
[all …]

12345678910>>...119