Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1SetOf.java46 byte[] lhs = 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/tests/tests/os/src/android/os/cts/
DWorkSourceTest.java253 private void doTestCombineTwoUids(int[] lhs, int[] rhs, int[] expected, int[] newbs, in doTestCombineTwoUids() argument
255 WorkSource ws1 = wsNew(lhs); in doTestCombineTwoUids()
259 ws1 = wsNew(lhs); in doTestCombineTwoUids()
263 ws1 = wsNew(lhs); in doTestCombineTwoUids()
284 int[] lhs = makeRepeatingIntArray(lhsnames, 0); in doTestCombineTwoNames() local
289 doTestCombineTwoUidsNames(lhs, lhsnames, rhs, rhsnames, expected, expectednames, in doTestCombineTwoNames()
293 … private void doTestCombineTwoUidsNames(int[] lhs, String[] lhsnames, int[] rhs, String[] rhsnames, in doTestCombineTwoUidsNames() argument
296 WorkSource ws1 = wsNew(lhs, lhsnames); in doTestCombineTwoUidsNames()
300 ws1 = wsNew(lhs, lhsnames); in doTestCombineTwoUidsNames()
304 ws1 = wsNew(lhs, lhsnames); in doTestCombineTwoUidsNames()
[all …]
/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java71 public int compare(Camera.Size lhs, Camera.Size rhs) { in compare() argument
72 return compareSizes(lhs.width, lhs.height, rhs.width, rhs.height); in compare()
/cts/tools/dasm/src/java_cup/
Dlr_item_core.java211 if (_the_production.lhs() != null && in to_simple_string()
212 _the_production.lhs().the_symbol() != null && in to_simple_string()
213 _the_production.lhs().the_symbol().name() != null) in to_simple_string()
214 result = _the_production.lhs().the_symbol().name(); in to_simple_string()
Dproduction.java167 public symbol_part lhs() {return _lhs;} in lhs() method in production
741 result += ((lhs() != null) ? lhs().toString() : "$$NULL-LHS$$"); in toString()
771 result = ((lhs() != null) ? lhs().the_symbol().name() : "NULL_LHS"); in to_simple_string()
Dnon_terminal.java222 if (prod == null || prod.lhs() == null || prod.lhs().the_symbol() != this) in add_production()
Demit.java372 prod.lhs().the_symbol().stack_type() + "(/*" + in emit_action_code()
373 prod.lhs().the_symbol().name() + "*/" + in emit_action_code()
374 prod.lhs().the_symbol().index() + ");"); in emit_action_code()
447 out.print(/* lhs symbol # */ prod.lhs().the_symbol().index() + ", "); in emit_production_table()
Dparser.cup422 /* lookup the lhs nt */
460 the first production, make its lhs nt the start_nt
Dlalr_state.java177 System.out.print(itm.the_production().lhs().the_symbol().name()); in dump_state()
DMain.java807 System.err.print(prod.lhs().the_symbol().name() + " ::= ");
/cts/tests/tests/net/src/android/net/wifi/aware/cts/
DTestUtils.java60 MacWrapper lhs = (MacWrapper) o; in equals() local
61 return Arrays.equals(mMac, lhs.mMac); in equals()
/cts/tests/openglperf2/jni/graphics/
DMatrix.cpp107 float const* const lhs = l.mData; in multiply() local
119 x += lhs[j4 + 0] * e; in multiply()
120 y += lhs[j4 + 1] * e; in multiply()
121 z += lhs[j4 + 2] * e; in multiply()
122 w += lhs[j4 + 3] * e; in multiply()
317 void Matrix::multiplyVector(float* result, const Matrix& lhs, in multiplyVector() argument
319 const float* d = lhs.mData; in multiplyVector()
DMatrix.h54 static void multiplyVector(float* result, const Matrix& lhs,
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrix2fTest.java142 Matrix2f lhs = new Matrix2f(lhsData); in testMultiply() local
146 loadMul.loadMultiply(lhs, rhs); in testMultiply()
149 lhs.multiply(rhs); in testMultiply()
150 checkData(lhs, expected); in testMultiply()
DMatrix3fTest.java201 Matrix3f lhs = new Matrix3f(lhsData); in testMultiply() local
205 loadMul.loadMultiply(lhs, rhs); in testMultiply()
208 lhs.multiply(rhs); in testMultiply()
209 checkData(lhs, expected); in testMultiply()
DMatrix4fTest.java208 Matrix4f lhs = new Matrix4f(lhsData); in testMultiply() local
212 loadMul.loadMultiply(lhs, rhs); in testMultiply()
215 lhs.multiply(rhs); in testMultiply()
216 checkData(lhs, expected); in testMultiply()
/cts/tests/tests/media/src/android/media/cts/
DMediaSessionManagerTest.java92 private void assertKeyEventEquals(KeyEvent lhs, int keyCode, int action, int repeatCount) { in assertKeyEventEquals() argument
93 assertTrue(lhs.getKeyCode() == keyCode in assertKeyEventEquals()
94 && lhs.getAction() == action in assertKeyEventEquals()
95 && lhs.getRepeatCount() == repeatCount); in assertKeyEventEquals()
/cts/tools/dasm/src/java_cup/runtime/
Dlr_parser.java956 short lhs, rhs_size; in try_parse_ahead() local
993 lhs = production_tab[(-act)-1][0]; in try_parse_ahead()
1002 rhs_size + " lhs = #" + lhs + " from state #" + vstack.top()); in try_parse_ahead()
1005 vstack.push(get_reduce(vstack.top(), lhs)); in try_parse_ahead() local
/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/camera/video/
DCameraVideoActivity.java609 public int compare(Size lhs, Size rhs) { in setUpCamera() argument
610 if (lhs.width < rhs.width) return -1; in setUpCamera()
611 if (lhs.width > rhs.width) return 1; in setUpCamera()
612 if (lhs.height < rhs.height) return -1; in setUpCamera()
613 if (lhs.height > rhs.height) return 1; in setUpCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java327 public int compare(Camera.Size lhs, Camera.Size rhs) { in setUpCamera() argument
328 if (lhs.width < rhs.width) return -1; in setUpCamera()
329 if (lhs.width > rhs.width) return 1; in setUpCamera()
330 if (lhs.height < rhs.height) return -1; in setUpCamera()
331 if (lhs.height > rhs.height) return 1; in setUpCamera()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java1138 private void assertContactInfoEquals(ContactInfo lhs, ContactInfo rhs) { in assertContactInfoEquals() argument
1139 if (lhs == null) { in assertContactInfoEquals()
1143 assertEquals(lhs.contactId, rhs.contactId); in assertContactInfoEquals()
1144 assertEquals(lhs.displayName, rhs.displayName); in assertContactInfoEquals()
1145 assertEquals(lhs.photoId, rhs.photoId); in assertContactInfoEquals()
1146 assertEquals(lhs.photoThumbnailUri, rhs.photoThumbnailUri); in assertContactInfoEquals()
1147 assertEquals(lhs.photoUri, rhs.photoUri); in assertContactInfoEquals()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java361 public int compare(ScanResult lhs, ScanResult rhs) { in compare() argument
362 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.java1154 public int compare(Size lhs, Size rhs) { in compare() argument
1156 .compareSizes(lhs.getWidth(), lhs.getHeight(), rhs.getWidth(), rhs.getHeight()); in compare()

12