Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/os/src/android/os/cts/
DWorkSourceTest.java207 private void doTestCombineTwoUids(int[] lhs, int[] rhs, int[] expected, int[] newbs, in doTestCombineTwoUids() argument
210 WorkSource ws2 = wsNew(rhs); in doTestCombineTwoUids()
219 checkWorkSource("SetReturning result", ws1, rhs); in doTestCombineTwoUids()
239 int[] rhs = makeRepeatingIntArray(rhsnames, 0); in doTestCombineTwoNames() local
243 doTestCombineTwoUidsNames(lhs, lhsnames, rhs, rhsnames, expected, expectednames, in doTestCombineTwoNames()
247 … private void doTestCombineTwoUidsNames(int[] lhs, String[] lhsnames, int[] rhs, String[] rhsnames, in doTestCombineTwoUidsNames() argument
251 WorkSource ws2 = wsNew(rhs, rhsnames); in doTestCombineTwoUidsNames()
260 checkWorkSource("SetReturning result", ws1, rhs, rhsnames); in doTestCombineTwoUidsNames()
287 private void doTestCombineTwo(int[] lhs, int[] rhs, int[] expected, int[] newbs, in doTestCombineTwo() argument
289 doTestCombineTwoUids(lhs, rhs, expected, newbs, gones); in doTestCombineTwo()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1SetOf.java53 byte[] rhs = keyMaker.getPaddedBytes(); in encodePerImpl()
54 for (int i = 0; i < lhs.length && i < rhs.length; in encodePerImpl()
56 if ((lhs[i] & 0xFF) < (rhs[i] & 0xFF)) { in encodePerImpl()
59 if ((lhs[i] & 0xFF) > (rhs[i] & 0xFF)) { in encodePerImpl()
63 if (lhs.length < rhs.length) { in encodePerImpl()
66 if (lhs.length > rhs.length) { in encodePerImpl()
/cts/tools/dasm/src/java_cup/
Dproduction.java175 public production_part rhs(int indx) throws internal_error in rhs() method in production
438 production_part rhs[], in translate_labels() argument
452 if (!rhs[pos].is_action()) in translate_labels()
454 part = (symbol_part)rhs[pos]; in translate_labels()
472 if (rhs[pos].is_action()) in translate_labels()
474 act_part = (action_part)rhs[pos]; in translate_labels()
589 if (rhs(act_loc).is_action()) in remove_embedded_actions()
596 ((action_part)rhs(act_loc)).code_string()); in remove_embedded_actions()
629 part = rhs(pos); in check_nullable()
673 if (!rhs(part).is_action()) in check_first_set()
[all …]
Dlr_item_core.java56 part = _the_production.rhs(_dot_pos); in lr_item_core()
227 if (_the_production.rhs(i) == null) in to_simple_string()
233 part = _the_production.rhs(i); in to_simple_string()
Dlalr_item.java191 part = the_production().rhs(pos); in calc_lookahead()
243 part = the_production().rhs(pos); in lookahead_visible()
Dparser.cup175 prod_part, new_term_id, new_non_term_id, rhs_list, rhs, empty;
433 /* reset the rhs accumulation */
447 rhs_list ::= rhs_list BAR rhs | rhs;
451 rhs ::=
476 /* reset the rhs accumulation in any case */
DMain.java809 if (prod.rhs(i).is_action())
813 ((symbol_part)prod.rhs(i)).the_symbol().name() + " ");
Dlalr_state.java182 part = itm.the_production().rhs(i); in dump_state()
/cts/tests/tests/view/src/android/view/cts/
DPrecompiledLayoutTest.java44 private void assertEquivalentLayouts(View lhs, View rhs) { in assertEquivalentLayouts() argument
46 Assert.assertEquals(lhs == null, rhs == null); in assertEquivalentLayouts()
53 Assert.assertSame(lhs.getClass(), rhs.getClass()); in assertEquivalentLayouts()
54 Assert.assertEquals(lhs.getId(), rhs.getId()); in assertEquivalentLayouts()
59 ViewGroup rhsGroup = (ViewGroup) rhs; in assertEquivalentLayouts()
/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java90 public int compare(Camera.Size lhs, Camera.Size rhs) { in compare() argument
91 return compareSizes(lhs.width, lhs.height, rhs.width, rhs.height); in compare()
/cts/tests/openglperf2/jni/graphics/
DMatrix.cpp108 float const* const rhs = r.mData; in multiply() local
118 const float e = rhs[i4 + j]; in multiply()
318 const float* rhs) { in multiplyVector() argument
320 const float x = rhs[0]; in multiplyVector()
321 const float y = rhs[1]; in multiplyVector()
322 const float z = rhs[2]; in multiplyVector()
323 const float w = rhs[3]; in multiplyVector()
DMatrix.h55 const float* rhs);
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrix2fTest.java143 Matrix2f rhs = new Matrix2f(rhsData); in testMultiply() local
146 loadMul.loadMultiply(lhs, rhs); in testMultiply()
149 lhs.multiply(rhs); in testMultiply()
DMatrix4fTest.java209 Matrix4f rhs = new Matrix4f(rhsData); in testMultiply() local
212 loadMul.loadMultiply(lhs, rhs); in testMultiply()
215 lhs.multiply(rhs); in testMultiply()
DMatrix3fTest.java202 Matrix3f rhs = new Matrix3f(rhsData); in testMultiply() local
205 loadMul.loadMultiply(lhs, rhs); in testMultiply()
208 lhs.multiply(rhs); in testMultiply()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DJavaClientTest.java244 public void assertPolygonEquals(RegularPolygon lhs, RegularPolygon rhs) { in assertPolygonEquals() argument
245 assertEquals(lhs.name, rhs.name); in assertPolygonEquals()
246 assertEquals(lhs.numSides, rhs.numSides); in assertPolygonEquals()
247 assertEquals(lhs.sideLength, rhs.sideLength, 0.0f); in assertPolygonEquals()
249 public void assertPolygonEquals(RegularPolygon[] lhs, RegularPolygon[] rhs) { in assertPolygonEquals() argument
250 assertEquals(lhs.length, rhs.length); in assertPolygonEquals()
252 assertPolygonEquals(lhs[i], rhs[i]); in assertPolygonEquals()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp383 inline bool operator==(const RegularPolygon& lhs, const RegularPolygon& rhs) { in operator ==() argument
384 return lhs.name == rhs.name && lhs.numSides == rhs.numSides && lhs.sideLength == rhs.sideLength; in operator ==()
387 const std::vector<RegularPolygon>& rhs) { in operator ==() argument
388 if (lhs.size() != rhs.size()) return false; in operator ==()
390 if (!(lhs[i] == rhs[i])) return false; in operator ==()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java194 public int compare(Camera.Size lhs, Camera.Size rhs) { in setUpCamera() argument
195 if (lhs.width < rhs.width) return -1; in setUpCamera()
196 if (lhs.width > rhs.width) return 1; in setUpCamera()
197 if (lhs.height < rhs.height) return -1; in setUpCamera()
198 if (lhs.height > rhs.height) return 1; in setUpCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java335 private void assertLessThan(String message, double lhs, double rhs) { in assertLessThan() argument
336 Assert.assertTrue(String.format("%s - expected %.4f < %.4f", message, lhs, rhs), in assertLessThan()
337 lhs < rhs); in assertLessThan()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java1137 private void assertContactInfoEquals(ContactInfo lhs, ContactInfo rhs) { in assertContactInfoEquals() argument
1139 assertNull(rhs); in assertContactInfoEquals()
1141 assertNotNull(rhs); in assertContactInfoEquals()
1142 assertEquals(lhs.contactId, rhs.contactId); in assertContactInfoEquals()
1143 assertEquals(lhs.displayName, rhs.displayName); in assertContactInfoEquals()
1144 assertEquals(lhs.photoId, rhs.photoId); in assertContactInfoEquals()
1145 assertEquals(lhs.photoThumbnailUri, rhs.photoThumbnailUri); in assertContactInfoEquals()
1146 assertEquals(lhs.photoUri, rhs.photoUri); in assertContactInfoEquals()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java387 public int compare(Camera.Size lhs, Camera.Size rhs) { in setUpCamera() argument
388 if (lhs.width < rhs.width) return -1; in setUpCamera()
389 if (lhs.width > rhs.width) return 1; in setUpCamera()
390 if (lhs.height < rhs.height) return -1; in setUpCamera()
391 if (lhs.height > rhs.height) return 1; in setUpCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java795 public int compare(Size lhs, Size rhs) { in setUpCamera() argument
796 if (lhs.width < rhs.width) return -1; in setUpCamera()
797 if (lhs.width > rhs.width) return 1; in setUpCamera()
798 if (lhs.height < rhs.height) return -1; in setUpCamera()
799 if (lhs.height > rhs.height) return 1; in setUpCamera()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java377 public int compare(ScanResult lhs, ScanResult rhs) { in compare() argument
378 return rhs.getRssi() - lhs.getRssi(); in compare()
/cts/tools/dasm/etc/
Djava_cup.jar.oldMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/action_part.class action_part ...
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1234 public int compare(Size lhs, Size rhs) { in compare() argument
1236 .compareSizes(lhs.getWidth(), lhs.getHeight(), rhs.getWidth(), rhs.getHeight()); in compare()

12