Home
last modified time | relevance | path

Searched refs:right (Results 1 – 25 of 3190) sorted by relevance

12345678910>>...128

/external/v8/src/compiler/
Dmachine-operator-reducer.cc170 if (m.right().Is(0)) return Replace(m.left().node()); // x ror 0 => x in Reduce()
173 base::bits::RotateRight32(m.left().Value(), m.right().Value())); in Reduce()
180 return ReplaceBool(m.left().Value() == m.right().Value()); in Reduce()
182 if (m.left().IsInt32Sub() && m.right().Is(0)) { // x - y == 0 => x == y in Reduce()
185 node->ReplaceInput(1, msub.right().node()); in Reduce()
195 return ReplaceBool(m.left().Value() == m.right().Value()); in Reduce()
197 if (m.left().IsInt64Sub() && m.right().Is(0)) { // x - y == 0 => x == y in Reduce()
200 node->ReplaceInput(1, msub.right().node()); in Reduce()
217 if (m.right().Is(0)) return Replace(m.right().node()); // x * 0 => 0 in Reduce()
218 if (m.right().Is(1)) return Replace(m.left().node()); // x * 1 => x in Reduce()
[all …]
/external/guava/guava/src/com/google/common/collect/
DComparisonChain.java75 Comparable left, Comparable right) {
76 return classify(left.compareTo(right));
79 @Nullable T left, @Nullable T right, Comparator<T> comparator) {
80 return classify(comparator.compare(left, right));
82 @Override public ComparisonChain compare(int left, int right) {
83 return classify(Ints.compare(left, right));
85 @Override public ComparisonChain compare(long left, long right) {
86 return classify(Longs.compare(left, right));
88 @Override public ComparisonChain compare(float left, float right) {
89 return classify(Float.compare(left, right));
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESEngine.java408 int work, right, left; in desFunc() local
415 right = (in[inOff + 4] & 0xff) << 24; in desFunc()
416 right |= (in[inOff + 5] & 0xff) << 16; in desFunc()
417 right |= (in[inOff + 6] & 0xff) << 8; in desFunc()
418 right |= (in[inOff + 7] & 0xff); in desFunc()
420 work = ((left >>> 4) ^ right) & 0x0f0f0f0f; in desFunc()
421 right ^= work; in desFunc()
423 work = ((left >>> 16) ^ right) & 0x0000ffff; in desFunc()
424 right ^= work; in desFunc()
426 work = ((right >>> 2) ^ left) & 0x33333333; in desFunc()
[all …]
/external/v8/tools/
Dsplaytree.js81 node.right = this.root_.right;
82 this.root_.right = null;
84 node.right = this.root_;
110 this.root_ = this.root_.right;
112 var right = this.root_.right;
118 this.root_.right = right;
163 while (current.right) {
164 current = current.right;
233 var dummy, left, right;
234 dummy = left = right = new SplayTree.Node(null, null);
[all …]
/external/pdfium/core/fxcrt/
Dfx_coordinates.cpp30 if (left > right) in Normalize()
31 std::swap(left, right); in Normalize()
42 right = std::min(right, src_n.right); in Intersect()
44 if (left > right || top > bottom) { in Intersect()
45 left = top = right = bottom = 0; in Intersect()
52 right = rect.right; in CFX_FloatRect()
75 if (left > right) in Normalize()
76 std::swap(left, right); in Normalize()
83 right = 0.0f; in Reset()
94 right = std::min(right, other.right); in Intersect()
[all …]
Dfx_coordinates_unittest.cpp15 EXPECT_FLOAT_EQ(0.0f, rect.right); in TEST()
23 EXPECT_FLOAT_EQ(0.0f, rect.right); in TEST()
28 EXPECT_FLOAT_EQ(0.0f, rect.right); in TEST()
36 EXPECT_FLOAT_EQ(2.5f, rect.right); in TEST()
42 EXPECT_FLOAT_EQ(2.5f, rect.right); in TEST()
49 EXPECT_FLOAT_EQ(2.5f, rect.right); in TEST()
56 EXPECT_FLOAT_EQ(2.5f, rect.right); in TEST()
63 EXPECT_FLOAT_EQ(4.0f, rect.right); in TEST()
72 EXPECT_FLOAT_EQ(0.0f, rect.right); in TEST()
79 EXPECT_FLOAT_EQ(4.5f, rect.right); in TEST()
[all …]
/external/v8/benchmarks/spinning-balls/
Dsplay-tree.js79 node.right = this.root_.right;
80 this.root_.right = null;
82 node.right = this.root_;
108 this.root_ = this.root_.right;
110 var right = this.root_.right;
116 this.root_.right = right;
146 while (current.right) {
147 current = current.right;
207 var dummy, left, right;
208 dummy = left = right = new SplayTree.Node(null, null);
[all …]
/external/v8/benchmarks/
Dsplay.js58 right: GeneratePayloadTree(depth - 1, tag)
174 node.right = this.root_.right;
175 this.root_.right = null;
177 node.right = this.root_;
203 this.root_ = this.root_.right;
205 var right = this.root_.right;
211 this.root_.right = right;
241 while (current.right) {
242 current = current.right;
302 var dummy, left, right;
[all …]
/external/libvncserver/common/
Dd3des.c336 register unsigned long fval, work, right, leftt; in desfunc() local
340 right = block[1]; in desfunc()
341 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL; in desfunc()
342 right ^= work; in desfunc()
344 work = ((leftt >> 16) ^ right) & 0x0000ffffL; in desfunc()
345 right ^= work; in desfunc()
347 work = ((right >> 2) ^ leftt) & 0x33333333L; in desfunc()
349 right ^= (work << 2); in desfunc()
350 work = ((right >> 8) ^ leftt) & 0x00ff00ffL; in desfunc()
352 right ^= (work << 8); in desfunc()
[all …]
/external/toybox/kconfig/
Dexpr.c39 e->right.expr = e2; in expr_alloc_two()
49 e->right.sym = s2; in expr_alloc_comp()
86 e->right.sym = org->right.sym; in expr_copy()
92 e->right.expr = expr_copy(org->right.expr); in expr_copy()
121 expr_free(e->right.expr); in expr_free()
139 __expr_eliminate_eq(type, &e1->right.expr, &e2); in __expr_eliminate_eq()
144 __expr_eliminate_eq(type, &e1, &e2->right.expr); in __expr_eliminate_eq()
203 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq()
243 e->right.expr = expr_eliminate_yn(e->right.expr); in expr_eliminate_yn()
247 expr_free(e->right.expr); in expr_eliminate_yn()
[all …]
/external/ltp/utils/ffsb-6.0-rc2/
Drbt.c44 node->parent = node->right = node->left = NULL; in rbnode_construct()
56 rbnode_destruct(node->right, d); in rbnode_destruct()
68 int irightdepth = (node->right) ? rbnode_depth(node->right) : 0; in rbnode_depth()
89 while (node->right) in rbnode_maximum()
90 node = node->right; in rbnode_maximum()
110 if (node->right) { in rbnode_successor()
117 succ_node = node->right; in rbnode_successor()
128 while (succ_node && prev_node == succ_node->right) { in rbnode_successor()
151 while (pred_node->right) in rbnode_predecessor()
152 pred_node = pred_node->right; in rbnode_predecessor()
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DNFAFactory.java86 while ( s!=alt.right ) { in optimizeAlternative()
120 NFAState right = newState(); in build_Atom() local
122 right.associatedASTNode = associatedAST; in build_Atom()
123 transitionBetweenStates(left, right, label); in build_Atom()
124 StateCluster g = new StateCluster(left, right); in build_Atom()
138 NFAState right = newState(); in build_Set() local
140 right.associatedASTNode = associatedAST; in build_Set()
142 Transition e = new Transition(label,right); in build_Set()
144 StateCluster g = new StateCluster(left, right); in build_Set()
165 NFAState right = newState(); in build_Range() local
[all …]
/external/wpa_supplicant_8/src/crypto/
Ddes-internal.c320 u32 work, right, leftt; in desfunc() local
324 right = block[1]; in desfunc()
326 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL; in desfunc()
327 right ^= work; in desfunc()
330 work = ((leftt >> 16) ^ right) & 0x0000ffffL; in desfunc()
331 right ^= work; in desfunc()
334 work = ((right >> 2) ^ leftt) & 0x33333333L; in desfunc()
336 right ^= (work << 2); in desfunc()
338 work = ((right >> 8) ^ leftt) & 0x00ff00ffL; in desfunc()
340 right ^= (work << 8); in desfunc()
[all …]
/external/ImageMagick/MagickCore/
Dsplay-tree.c79 *right; member
199 node->right=(NodeInfo *) NULL; in AddValueToSplayTree()
205 node->right=node->left->right; in AddValueToSplayTree()
206 node->left->right=(NodeInfo *) NULL; in AddValueToSplayTree()
210 node->right=splay_tree->root; in AddValueToSplayTree()
211 node->left=node->right->left; in AddValueToSplayTree()
212 node->right->left=(NodeInfo *) NULL; in AddValueToSplayTree()
262 node->right=(NodeInfo *) NULL; in LinkSplayTreeNodes()
264 node->right=LinkSplayTreeNodes(nodes,bisect+1,high); in LinkSplayTreeNodes()
374 node=splay_tree->root->right; in CloneSplayTree()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowRect.java14 public void __constructor__(int left, int top, int right, int bottom) { in __constructor__() argument
17 realRect.right = right; in __constructor__()
24 realRect.right = otherRect.right; in __constructor__()
30 set(rect.left, rect.top, rect.right, rect.bottom); in set()
34 public void set(int left, int top, int right, int bottom) { in set() argument
37 realRect.right = right; in set()
43 return realRect.right - realRect.left; in width()
60 return realRect.left == r.left && realRect.top == r.top && realRect.right == r.right in equals()
72 sb.append(realRect.right); in toString()
81 return x > realRect.left && x < realRect.right in contains()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java119 private final ByteString right; field in RopeByteString
132 private RopeByteString(ByteString left, ByteString right) { in RopeByteString() argument
134 this.right = right; in RopeByteString()
136 totalLength = leftLength + right.size(); in RopeByteString()
137 treeDepth = Math.max(left.getTreeDepth(), right.getTreeDepth()) + 1; in RopeByteString()
155 static ByteString concatenate(ByteString left, ByteString right) { in concatenate() argument
156 if (right.size() == 0) { in concatenate()
161 return right; in concatenate()
164 final int newLength = left.size() + right.size(); in concatenate()
168 return concatenateBytes(left, right); in concatenate()
[all …]
/external/eigen/unsupported/test/
Dcxx11_tensor_concatenation.cpp20 Tensor<int, 3, DataLayout> right(3, 3, 1); in test_dimension_failures() local
22 right.setRandom(); in test_dimension_failures()
25 Tensor<int, 3, DataLayout> concatenation = left.concatenate(right, 0); in test_dimension_failures()
28 VERIFY_RAISES_ASSERT(concatenation = left.concatenate(right, 1)); in test_dimension_failures()
29 VERIFY_RAISES_ASSERT(concatenation = left.concatenate(right, 2)); in test_dimension_failures()
32 VERIFY_RAISES_ASSERT(concatenation = left.concatenate(right, 3)); in test_dimension_failures()
33 VERIFY_RAISES_ASSERT(concatenation = left.concatenate(right, -1)); in test_dimension_failures()
40 Tensor<int, 3, DataLayout> right(2, 3, 1); in test_static_dimension_failure() local
45 Tensor<int, 3, DataLayout> concatenation = left.concatenate(right, 0); in test_static_dimension_failure()
51 .concatenate(right, 0); in test_static_dimension_failure()
[all …]
/external/syslinux/com32/sysdump/
Drbtree.c60 tree = tree->right; in rb_search()
73 struct rbtree *x = h->right; in rotate_left()
74 h->right = x->left; in rotate_left()
84 h->left = x->right; in rotate_right()
85 x->right = h; in rotate_right()
86 x->red = x->right->red; in rotate_right()
87 x->right->red = true; in rotate_right()
95 h->right->red = !h->right->red; in color_flip()
100 node->left = node->right = NULL; in rb_insert()
108 if (is_red(tree->left) && is_red(tree->right)) in rb_insert()
[all …]
/external/e2fsprogs/lib/support/
Ddict.c58 #define right dict_right macro
93 lower = upper->right; in rotate_left()
94 upper->right = lowleft = lower->left; in rotate_left()
105 dict_assert (upper == upparent->right); in rotate_left()
106 upparent->right = lower; in rotate_left()
123 upper->left = lowright = lower->right; in rotate_right()
128 if (upper == upparent->right) { in rotate_right()
129 upparent->right = lower; in rotate_right()
135 lower->right = upper; in rotate_right()
149 free_nodes(dict, node->right, nil); in free_nodes()
[all …]
/external/f2fs-tools/fsck/
Ddict.c53 #define right dict_right macro
87 lower = upper->right; in rotate_left()
88 upper->right = lowleft = lower->left; in rotate_left()
99 dict_assert(upper == upparent->right); in rotate_left()
100 upparent->right = lower; in rotate_left()
116 upper->left = lowright = lower->right; in rotate_right()
121 if (upper == upparent->right) { in rotate_right()
122 upparent->right = lower; in rotate_right()
128 lower->right = upper; in rotate_right()
141 free_nodes(dict, node->right, nil); in free_nodes()
[all …]
/external/aac/libAACenc/src/
Dtonality.cpp138 FIXP_DBL right; in FDKaacEnc_CalculateFullTonality() local
140 right = chaosMeasurePerLine[j]; in FDKaacEnc_CalculateFullTonality()
141 right = right - (right >> 2); in FDKaacEnc_CalculateFullTonality()
142 left = right + (left >> 2); in FDKaacEnc_CalculateFullTonality()
145 right = chaosMeasurePerLine[j + 1]; in FDKaacEnc_CalculateFullTonality()
146 right = right - (right >> 2); in FDKaacEnc_CalculateFullTonality()
147 left = right + (left >> 2); in FDKaacEnc_CalculateFullTonality()
151 right = chaosMeasurePerLine[j]; in FDKaacEnc_CalculateFullTonality()
152 right = right - (right >> 2); in FDKaacEnc_CalculateFullTonality()
153 left = right + (left >> 2); in FDKaacEnc_CalculateFullTonality()
/external/skqp/src/core/
DSkTSort.h120 template <typename T, typename C> static void SkTInsertionSort(T* left, T* right, C lessThan) { in SkTInsertionSort() argument
121 for (T* next = left + 1; next <= right; ++next) { in SkTInsertionSort()
138 static T* SkTQSort_Partition(T* left, T* right, T* pivot, C lessThan) { in SkTQSort_Partition() argument
140 SkTSwap(*pivot, *right); in SkTQSort_Partition()
142 while (left < right) { in SkTQSort_Partition()
149 SkTSwap(*newPivot, *right); in SkTQSort_Partition()
165 template <typename T, typename C> void SkTIntroSort(int depth, T* left, T* right, C lessThan) { in SkTIntroSort() argument
167 if (right - left < 32) { in SkTIntroSort()
168 SkTInsertionSort(left, right, lessThan); in SkTIntroSort()
173 SkTHeapSort<T>(left, right - left + 1, lessThan); in SkTIntroSort()
[all …]
/external/skia/src/core/
DSkTSort.h120 template <typename T, typename C> static void SkTInsertionSort(T* left, T* right, C lessThan) { in SkTInsertionSort() argument
121 for (T* next = left + 1; next <= right; ++next) { in SkTInsertionSort()
138 static T* SkTQSort_Partition(T* left, T* right, T* pivot, C lessThan) { in SkTQSort_Partition() argument
140 SkTSwap(*pivot, *right); in SkTQSort_Partition()
142 while (left < right) { in SkTQSort_Partition()
149 SkTSwap(*newPivot, *right); in SkTQSort_Partition()
165 template <typename T, typename C> void SkTIntroSort(int depth, T* left, T* right, C lessThan) { in SkTIntroSort() argument
167 if (right - left < 32) { in SkTIntroSort()
168 SkTInsertionSort(left, right, lessThan); in SkTIntroSort()
173 SkTHeapSort<T>(left, right - left + 1, lessThan); in SkTIntroSort()
[all …]
/external/clang/test/SemaCXX/
Dcxx1y-variable-templates_in_class.cpp14 template<typename T, typename T0> static CONST T right = T(100); member in A
15 template<typename T> static CONST T right<T,int> = 5; member in A
16 …template<typename T> CONST int right<int,T>; // expected-error {{member 'right' declared as a tem… member in A
17 …template<typename T> CONST float right<float,T> = 5; // expected-error {{member 'right' declared … member in A
18 …template<> static CONST int right<int,int> = 7; // expected-error {{explicit specialization … member in A
19 …template<> static CONST float right<float,int>; // expected-error {{explicit specialization … member in A
20 …template static CONST int right<int,int>; // expected-error {{template specialization requires… member in A
26 template<typename T, typename T0> static CONST T right = T(100); member in out_of_line::B0
27 template<typename T> static CONST T right<T,int> = T(5); member in out_of_line::B0
29 template<> CONST int B0::right<int,int> = 7; member in out_of_line::B0
[all …]
/external/libmojo/ui/gfx/geometry/
Drect.cc28 size_(std::abs(r.right - r.left), std::abs(r.bottom - r.top)) { in Rect()
40 r.right = right(); in ToRECT()
102 void Rect::SetByBounds(int left, int top, int right, int bottom) { in SetByBounds() argument
105 SaturatedClampRange(left, right, &x, &width); in SetByBounds()
112 Inset(insets.left(), insets.top(), insets.right(), insets.bottom()); in Inset()
115 void Rect::Inset(int left, int top, int right, int bottom) { in Inset() argument
120 base::SaturatedAddition(left, right))); in Inset()
147 right() - inner.right()); in InsetsFrom()
163 return (point_x >= x()) && (point_x < right()) && (point_y >= y()) && in Contains()
168 return (rect.x() >= x() && rect.right() <= right() && rect.y() >= y() && in Contains()
[all …]

12345678910>>...128