Home
last modified time | relevance | path

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

/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_ast.py234 lhs = List([String('a'), String('b')])
236 expr = Concat(lhs, rhs)
238 self.assertIs(expr.lhs, lhs)
252 lhs = String('a')
254 expr = Concat(lhs, rhs)
256 self.assertIs(expr.lhs, lhs)
/development/vndk/tools/header-checker/src/repr/
Dir_dumper.cpp57 auto &&compare = [](const T *lhs, const T *rhs) { in SortAbiElements() argument
58 return lhs->GetLinkerSetKey() < rhs->GetLinkerSetKey(); in SortAbiElements()
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py529 def __init__(self, lhs, rhs): argument
531 self.lhs = lhs
536 return '(' + repr(self.lhs) + ' + ' + repr(self.rhs) + ')'
541 lhs = self.lhs.eval(env)
543 if isinstance(lhs, List) and isinstance(rhs, List):
544 return List(itertools.chain(lhs, rhs))
545 if isinstance(lhs, String) and isinstance(rhs, String):
546 return String(lhs + rhs)
547 if isinstance(lhs, Integer) and isinstance(rhs, Integer):
548 return Integer(int(lhs) + int(rhs))
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionListFragment.java122 public int compare(Attraction lhs, Attraction rhs) { in loadAttractionsFromLocation()
124 lhs.location, curLatLng); in loadAttractionsFromLocation()
/development/apps/CustomLocale/src/com/android/customlocale2/
DCustomLocaleActivity.java240 public int compare(LocaleInfo lhs, LocaleInfo rhs) { in setupLocaleList()
241 return lhs.getLocale().compareTo(rhs.getLocale()); in setupLocaleList()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java698 public int compare(Size lhs, Size rhs) { in compare() argument
700 return Long.signum((long) lhs.getWidth() * lhs.getHeight() - in compare()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java963 public int compare(Size lhs, Size rhs) { in compare() argument
965 return Long.signum((long) lhs.getWidth() * lhs.getHeight() - in compare()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java1513 public int compare(Size lhs, Size rhs) { in compare() argument
1515 return Long.signum((long) lhs.getWidth() * lhs.getHeight() - in compare()