Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Ddtoa.h63 uint32_t p1 = static_cast<uint32_t>(Mp.f >> -one.e); in DigitGen() local
65 unsigned kappa = CountDecimalDigit32(p1); // kappa in [0, 9] in DigitGen()
71 case 9: d = p1 / 100000000; p1 %= 100000000; break; in DigitGen()
72 case 8: d = p1 / 10000000; p1 %= 10000000; break; in DigitGen()
73 case 7: d = p1 / 1000000; p1 %= 1000000; break; in DigitGen()
74 case 6: d = p1 / 100000; p1 %= 100000; break; in DigitGen()
75 case 5: d = p1 / 10000; p1 %= 10000; break; in DigitGen()
76 case 4: d = p1 / 1000; p1 %= 1000; break; in DigitGen()
77 case 3: d = p1 / 100; p1 %= 100; break; in DigitGen()
78 case 2: d = p1 / 10; p1 %= 10; break; in DigitGen()
[all …]
Dbiginteger.h117 const uint64_t p1 = uc + (p0 >> 32); variable
118 digits_[i] = (p0 & 0xFFFFFFFF) | (p1 << 32);
119 k = p1 >> 32;
/packages/apps/TV/src/com/android/tv/data/api/
DProgram.java22 static boolean isDuplicate(Program p1, Program p2) { in isDuplicate() argument
23 if (p1 == null || p2 == null) { in isDuplicate()
26 return p1.getChannelId() == p2.getChannelId() in isDuplicate()
27 && p1.getStartTimeUtcMillis() == p2.getStartTimeUtcMillis() in isDuplicate()
28 && p1.getEndTimeUtcMillis() == p2.getEndTimeUtcMillis(); in isDuplicate()
32 static boolean isOverlapping(@Nullable Program p1, @Nullable Program p2) { in isOverlapping() argument
33 return p1 != null in isOverlapping()
35 && p1.getStartTimeUtcMillis() < p2.getEndTimeUtcMillis() in isOverlapping()
36 && p1.getEndTimeUtcMillis() > p2.getStartTimeUtcMillis(); in isOverlapping()
40 static boolean sameChannel(@Nullable Program p1, @Nullable Program p2) { in sameChannel() argument
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolatorTests.java51 private static final int p1 = 1; field in HermiteInterpolatorTests
59 mInterpolator.setInterval(p0 - 1, p0, p1, p1 + 1); in testP0P1()
62 assertEquals("p1x", mXCoords[p1], mInterpolator.mP2X); in testP0P1()
63 assertEquals("p1y", mYCoords[p1], mInterpolator.mP2Y); in testP0P1()
96 mInterpolator.setInterval(p1 - 1, p1, p2, p2 + 1); in testP1P2()
97 assertEquals("p1x", mXCoords[p1], mInterpolator.mP1X); in testP1P2()
98 assertEquals("p1y", mYCoords[p1], mInterpolator.mP1Y); in testP1P2()
169 mInterpolator.reset(mXCoords, mYCoords, p1, p2 + 1); in testJustP1P2()
170 mInterpolator.setInterval(p1 - 1, p1, p2, p2 + 1); in testJustP1P2()
171 assertEquals("p1x", mXCoords[p1], mInterpolator.mP1X); in testJustP1P2()
[all …]
/packages/apps/SecureElement/src/com/android/se/security/
DCommandApdu.java49 public CommandApdu(int cla, int ins, int p1, int p2) { in CommandApdu() argument
52 mP1 = p1; in CommandApdu()
59 public CommandApdu(int cla, int ins, int p1, int p2, byte[] data) { in CommandApdu() argument
63 mP1 = p1; in CommandApdu()
68 public CommandApdu(int cla, int ins, int p1, int p2, byte[] data, int le) { in CommandApdu() argument
72 mP1 = p1; in CommandApdu()
79 public CommandApdu(int cla, int ins, int p1, int p2, int le) { in CommandApdu() argument
82 mP1 = p1; in CommandApdu()
112 public void setP1(int p1) { in setP1() argument
113 mP1 = p1; in setP1()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeDrawingPoints.java137 final int p1 = p2 - 1; in interpolateStrokeAndReturnStartIndexOfLastSegment() local
138 final int p0 = p1 - 1; in interpolateStrokeAndReturnStartIndexOfLastSegment()
140 mLastInterpolatedPreviewIndex = p1; in interpolateStrokeAndReturnStartIndexOfLastSegment()
142 mInterpolator.setInterval(p0, p1, p2, p3); in interpolateStrokeAndReturnStartIndexOfLastSegment()
155 final int dt = pt[p2] - pt[p1]; in interpolateStrokeAndReturnStartIndexOfLastSegment()
DHermiteInterpolator.java79 public void setInterval(final int p0, final int p1, final int p2, final int p3) { in setInterval() argument
80 mP1X = mXCoords[p1]; in setInterval()
81 mP1Y = mYCoords[p1]; in setInterval()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_image_homography.cpp117 double p1[2],p2[2],p3[2],p4[2],p5[2],p6[2]; in db_CommonFocalLengthFromRotation_2Point() local
146 p1[1]=ax*bx+ay*by; in db_CommonFocalLengthFromRotation_2Point()
152 p1[0]=p2[0]=p3[0]=p4[0]=p5[0]=p6[0]=1; in db_CommonFocalLengthFromRotation_2Point()
154 db_MultiplyPoly1_1(p7,p1,p1); in db_CommonFocalLengthFromRotation_2Point()
168 if((!signed_disambiguation) || (db_PolyEval1(p1,roots[i])*db_PolyEval1(p4,roots[i])>0)) in db_CommonFocalLengthFromRotation_2Point()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/data/
DSeriesRecordingTest.java78 Parcel p1 = Parcel.obtain(); in testParcelable() local
81 r1.writeToParcel(p1, 0); in testParcelable()
82 byte[] bytes = p1.marshall(); in testParcelable()
88 p1.recycle(); in testParcelable()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteManagerTest.java209 Parcel p1 = Parcel.obtain(); in makeBluetoothDevice() local
210 p1.writeString(address); in makeBluetoothDevice()
211 p1.setDataPosition(0); in makeBluetoothDevice()
212 BluetoothDevice device = BluetoothDevice.CREATOR.createFromParcel(p1); in makeBluetoothDevice()
213 p1.recycle(); in makeBluetoothDevice()
DBluetoothDeviceManagerTest.java255 Parcel p1 = Parcel.obtain(); in makeBluetoothDevice() local
256 p1.writeString(address); in makeBluetoothDevice()
257 p1.setDataPosition(0); in makeBluetoothDevice()
258 BluetoothDevice device = BluetoothDevice.CREATOR.createFromParcel(p1); in makeBluetoothDevice()
259 p1.recycle(); in makeBluetoothDevice()
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java41 (p1, p2) -> {
43 if (p1 == null) {
48 int sn1 = p1.getSerialNumber();
/packages/apps/Messaging/src/com/android/messaging/util/
DCubicBezierInterpolator.java51 private float getCoordinate(float t, float p1, float p2) { in getCoordinate() argument
58 float ip0 = linearInterpolate(0, p1, t); in getCoordinate()
59 float ip1 = linearInterpolate(p1, p2, t); in getCoordinate()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DProgramTest.java134 Parcel p1 = Parcel.obtain(); in testParcelable() local
137 p.writeToParcel(p1, 0); in testParcelable()
138 byte[] bytes = p1.marshall(); in testParcelable()
144 p1.recycle(); in testParcelable()
/packages/services/Telephony/src/com/android/phone/
DChangeIccPinScreen.java150 private int validateNewPin(String p1, String p2) { in validateNewPin() argument
151 if (p1 == null) { in validateNewPin()
155 if (!p1.equals(p2)) { in validateNewPin()
159 int len1 = p1.length(); in validateNewPin()
DPhoneInterfaceManager.java342 public int channel, cla, command, p1, p2, p3; field in PhoneInterfaceManager.IccAPDUArgument
346 int p1, int p2, int p3, String data) { in IccAPDUArgument() argument
350 this.p1 = p1; in IccAPDUArgument()
500 iccArgument.p1, iccArgument.p2, iccArgument.p3, iccArgument.data, in handleMessage()
536 iccArgument.cla, iccArgument.command, iccArgument.p1, iccArgument.p2, in handleMessage()
572 iccArgument.command, iccArgument.p1, iccArgument.p2, iccArgument.p3, in handleMessage()
4533 int command, int p1, int p2, int p3, String data) { in iccTransmitApduLogicalChannel() argument
4538 + " cla=" + cla + " cmd=" + command + " p1=" + p1 + " p2=" + p2 + " p3=" in iccTransmitApduLogicalChannel()
4542 command, p1, p2, p3, data); in iccTransmitApduLogicalChannel()
4547 int command, int p1, int p2, int p3, String data) { in iccTransmitApduLogicalChannelBySlot() argument
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserPreference.java43 (p1, p2) -> {
45 if (p1 == null) {
51 int sn1 = p1.getSerialNumber();
/packages/modules/DnsResolver/
Dres_cache.cpp543 const uint8_t* p1 = pack1->cursor; in _dnsPacket_isEqualDomainName() local
551 if (p1 >= end1 || p2 >= end2) { in _dnsPacket_isEqualDomainName()
555 c1 = *p1++; in _dnsPacket_isEqualDomainName()
560 pack1->cursor = p1; in _dnsPacket_isEqualDomainName()
568 if ((p1 + c1 > end1) || (p2 + c1 > end2)) { in _dnsPacket_isEqualDomainName()
572 if (memcmp(p1, p2, c1) != 0) break; in _dnsPacket_isEqualDomainName()
573 p1 += c1; in _dnsPacket_isEqualDomainName()
583 const uint8_t* p1 = pack1->cursor; in _dnsPacket_isEqualBytes() local
586 if (p1 + numBytes > pack1->end || p2 + numBytes > pack2->end) return 0; in _dnsPacket_isEqualBytes()
588 if (memcmp(p1, p2, numBytes) != 0) return 0; in _dnsPacket_isEqualBytes()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java1248 Comparator<PhoneAccount> bySimCapability = (p1, p2) -> { in sortPhoneAccounts()
1249 if (p1.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION) in sortPhoneAccounts()
1252 } else if (!p1.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION) in sortPhoneAccounts()
1266 Comparator<PhoneAccount> bySortOrder = (p1, p2) -> { in sortPhoneAccounts()
1267 String sort1 = p1.getExtras() == null ? null : in sortPhoneAccounts()
1268 p1.getExtras().getString(PhoneAccount.EXTRA_SORT_ORDER, null); in sortPhoneAccounts()
1275 Comparator<PhoneAccount> byLabel = (p1, p2) -> { in sortPhoneAccounts()
1276 String s1 = p1.getLabel() == null ? null : p1.getLabel().toString(); in sortPhoneAccounts()
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dopencensus-api-0.21.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...
Dauto-value-1.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java468 public int compare(PtNode p1, PtNode p2) { in compare() argument
469 if (p1.mChars[0] == p2.mChars[0]) return 0; in compare()
470 return p1.mChars[0] < p2.mChars[0] ? -1 : 1; in compare()
/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java156 private static double calculateTimeMatchScore(Program p1, Program p2) { in calculateTimeMatchScore() argument
157 ProgramTime t1 = ProgramTime.createFromProgram(p1); in calculateTimeMatchScore()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java249 public int compare(PathId p1, PathId p2) { in compare() argument
250 String s1 = p1.path.getSuffix(); in compare()

12