Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/DnsResolver/
Dresolv_tls_unit_test.cpp759 bool isAddressEqual(const DnsTlsServer& s1, const DnsTlsServer& s2) { in isAddressEqual() argument
760 bool cmp1 = ADDRESS_COMPARATOR(s1, s2); in isAddressEqual()
761 bool cmp2 = ADDRESS_COMPARATOR(s2, s1); in isAddressEqual()
766 void checkUnequal(const DnsTlsServer& s1, const DnsTlsServer& s2) { in checkUnequal() argument
768 EXPECT_TRUE(s2 == s2); in checkUnequal()
770 EXPECT_TRUE(isAddressEqual(s2, s2)); in checkUnequal()
772 EXPECT_TRUE(s1 < s2 ^ s2 < s1); in checkUnequal()
773 EXPECT_FALSE(s1 == s2); in checkUnequal()
774 EXPECT_FALSE(s2 == s1); in checkUnequal()
795 DnsTlsServer s1(V6ADDR1), s2(V6ADDR1); in TEST_F() local
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java257 Builder.SpeedRange s2 = in testSpeedRangeComparison_DifferentMin() local
259 assertThat(s1.compareTo(s2)).isLessThan(0); in testSpeedRangeComparison_DifferentMin()
260 assertThat(s2.compareTo(s1)).isGreaterThan(0); in testSpeedRangeComparison_DifferentMin()
267 Builder.SpeedRange s2 = in testSpeedRangeComparison_SameMin() local
269 assertThat(s1.compareTo(s2)).isEqualTo(0); in testSpeedRangeComparison_SameMin()
276 Builder.SpeedRange s2 = in testSpeedRangeComparison_SameMinDifferentMax() local
278 assertThat(s1.compareTo(s2)).isLessThan(0); in testSpeedRangeComparison_SameMinDifferentMax()
279 assertThat(s2.compareTo(s1)).isGreaterThan(0); in testSpeedRangeComparison_SameMinDifferentMax()
286 Builder.SpeedRange s2 = in testSpeedRangeComparison_MaxSpeed() local
288 assertThat(s1.compareTo(s2)).isLessThan(0); in testSpeedRangeComparison_MaxSpeed()
[all …]
/packages/apps/TV/src/com/android/tv/data/api/
DBaseProgram.java33 static int numberCompare(String s1, String s2) { in numberCompare() argument
34 if (Objects.equals(s1, s2)) { in numberCompare()
38 } else if (s2 == null) { in numberCompare()
40 } else if (s1.equals(s2)) { in numberCompare()
44 return Integer.compare(Integer.parseInt(s1), Integer.parseInt(s2)); in numberCompare()
46 return s1.compareTo(s2); in numberCompare()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dunittest.h52 inline int StrCmp(const Ch* s1, const Ch* s2) { in StrCmp() argument
53 while(*s1 && (*s1 == *s2)) { s1++; s2++; } in StrCmp()
54 return (unsigned)*s1 < (unsigned)*s2 ? -1 : (unsigned)*s1 > (unsigned)*s2; in StrCmp()
Dwritertest.cpp134 StringStream s2(buffer.GetString()); in TEST() local
135 reader2.Parse(s2, writer2); in TEST()
Dpointertest.cpp422 StringBuffer s2; in TEST() local
423 EXPECT_TRUE(p.StringifyUriFragment(s2)); in TEST()
424 Pointer p2(s2.GetString(), s2.GetSize()); in TEST()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterDraw.java203 float s2 = size / 2; in draw() local
204 float step = s2 / 8; in draw()
208 canvas.drawBitmap(brush, mPosition[0] - s2, mPosition[1] - s2, paint); in draw()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
DNameDistanceTest.java71 byte[] s2 = Hex.decodeHex(NameNormalizer.normalize(name2)); in assertFloat()
73 float actual = mNameDistance.getDistance(s1, s2); in assertFloat()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraInterface.java102 void setNoiseEdgeText(String s1, String s2); in setNoiseEdgeText() argument
107 void setNoiseEdgeTextForReprocessing(String s1, String s2); in setNoiseEdgeTextForReprocessing() argument
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp78 SitePointer s1, s2, s3; in build() local
111 a = makeEdge((s1 = sp[low]), (s2 = sp[low+1])); in build()
112 b = makeEdge(s2, (s3 = sp[high])); in build()
114 if (ccw(s1, s3, s2)) { in build()
121 if (ccw(s1, s2, s3)) { in build()
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/
DExternalAccountTypeTest.java226 private static int findCommonPrefixEnd(String s1, String s2) { in findCommonPrefixEnd() argument
230 final boolean s2End = (s2.length() <= i); in findCommonPrefixEnd()
234 if (s1.charAt(i) != s2.charAt(i)) { in findCommonPrefixEnd()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java251 String s2 = p2.path.getSuffix(); in compare() local
253 int len2 = s2.length(); in compare()
259 return s1.compareTo(s2); in compare()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt299 private fun assertSameContents(s1: InputStream, s2: InputStream) { in assertSameContents()
310 s2.read(buffer2, read2, read1 - read2).also { in assertSameContents()
317 assertEquals(-1, s2.read(buffer2, 0, 1), "Stream 2 is longer than stream 1") in assertSameContents()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DStateMachine.java269 private boolean equal(State s1, State s2) { in equal() argument
270 if (!s1.getClass().equals(s2.getClass())) { in equal()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphFriNfc_MifStdFormat.cpp70 static int phFriNfc_MfStd_MemCompare(void* s1, void* s2, unsigned int n);
1325 static int phFriNfc_MfStd_MemCompare(void* s1, void* s2, unsigned int n) { in phFriNfc_MfStd_MemCompare() argument
1328 int8_t* char_2 = (int8_t*)s2; in phFriNfc_MfStd_MemCompare()
1329 if (NULL == s1 || NULL == s2) { in phFriNfc_MfStd_MemCompare()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java116 public int compare(String s1, String s2) { in insertNameLookup()
117 return s2.length() - s1.length(); in insertNameLookup()
/packages/services/Car/tools/ioanalyze/
Danalyzer.py59 s2 = set(l2)
60 return list(s1 | s2)
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java34 (ContentRatingSystem s1, ContentRatingSystem s2) -> {
36 String name2 = s2.getDisplayName();
/packages/apps/Settings/tests/unit/src/com/android/settings/accounts/
DAuthenticator.java38 public Bundle addAccount(AccountAuthenticatorResponse r, String s, String s2, String[] strings, in addAccount() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DAuthenticator.java44 public Bundle addAccount(AccountAuthenticatorResponse r, String s, String s2, String[] strings, in addAccount() argument
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsActivity.java656 Collections.sort(groupStates, (s1, s2) -> -Boolean.compare(s1.mGroup.supportsOneTimeGrant(), in showNextPermissionGroupGrantRequest()
657 s2.mGroup.supportsOneTimeGrant())); in showNextPermissionGroupGrantRequest()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java1277 String s2 = p2.getLabel() == null ? null : p2.getLabel().toString(); in sortPhoneAccounts()
1278 return nullSafeStringComparator.compare(s1, s2); in sortPhoneAccounts()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar591 �ͺ`Tg�k��S$u�t1"��s�f�����Gj����t�d�A<��N~l �9��~s2��3���i#�%W';�T��i���=�6��U94�I^a�� ˌ:…
2041 �kDM�m��q���A!F9���&,7`�9'=_*@��� ��Z3{3~�ls����F1�3�T8��9�`s��)s2�c���sU�h�o1�����l�l…
4912 …U����\�+K�O�����J 7;�aӊ b&2DZ�N����x��q߰�"���۽*�ʮ��܀hd�-��g$�3�l�s2'� UA�>��a�L�׸��Qܺ.…
5180 �f�O?ʑ�G�$�+�Z��q���#ܜկ\��r����lm��ޭ�>�s+D�;;���L\���r���s2��6r+��m��V���N���׵�_1�
5350 …�G_ʻm.���N�JZ�9W��}L�)Ԍ�GMk�g�3�(г��:�z⹭H�?g;W��{q]&�zm���nT��r@�s2�\^Ǽ�-q�z�;���߻�r…
8387 c�n����*��',��s2��� �iO�2��UQ_�@�ĦPS���c4����i 8h�c�]�N����#����|q����ZZFf8����R�FTB�z�…
8400 …���XIe��|7���6�U��\s�&��l������9�d���߰��@fQ�������/���i�x^j��Dm��0?Z�s2ù��N@x�d#FI]��T��֡�…
9196 …�����Æ�[��*1�ND`pT��Ҫ-�*]@��7�W4-���(���=I��M�5[c{pѪp���=�sZ�,���+s2�!������t�c�$Җ���f,:…
10099 Ǐa��zS��;���'Qs���ߟ8m��=�U���F-��Z9`��?J�t߈�s2����>b�@8=~����F��gt��x�C���������ⲿ�8Q�l��T`…
13361 �8c�u T%�0��.��S�sޛ) Ǩ�N��CN�g�4�p@���%`�ĜzR��qN�\Ę]���4����F�0$�u�y��3F�z�߽R�s2@젆 �4…
[all …]
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts1769 A�*-:�6G���b� *�o� ���!�l��q�„=�B�I%�]���i��6 8S��b���I�����)v�hg��݇3s2�����uOa����ey;�E��…
33201 S��C9(�S#�s2�7�y�
38581 7s2 �H9������Sj!�^Y
43850 …������������������G�Ql��$�nyI�1�u� ���To�������u�u�A?I8|���pi�s2�a�8�T��$/�d|lt޽�…
50878 …�E�)G)JD[���%|L)JDQ�R�r��E�)G)JDQ�R�r���.�[�]p���Z^�{G�1���k�׿��s2�"إl|˗�Z\����E����e�…
60681 …���BTt>�ly\���쯁$���5,.�X���p�^#�+�4���P@�ǻQ �@�`hn(������5!-b�"s2�Ĝ>-%c�.Ad������Z�…
62520 …��WV�`��%w�{�U'����B�<�j�<v������A�RԀ��g����b~�k�1!��Yo�5 �����s2�,�D"�q�p�a�G�1 T�…
67660 �ɩP��PX�+��U�����u8\��G�� ��f#��7����G��5�pG�0s2�����@1!�1��n����F���,���.Ax������"{���…
72341 …@���)�H�m�!tG��@ٶ���)�����L�e�(����X�]�K@�F�ѓ��a���*L��c]�>���7�Ơ� ��s2>�A &�~��l�����xop�Z…
111149 =���h|cz&&��;�w� ������6Os2:�Νq�g\B^���;0�]��ZI�g���N[/���G͋>��G�1�#Ѫ�K�+2Cp��u�>&�&���u
[all …]
/packages/apps/TV/libs/m2/
Dguava-28.0-jre.jar ... c1 char c2 int alphaIndex int i CharSequence s1 CharSequence s2 int length private static int getAlphaIndex (char) char ...

12