/packages/inputmethods/PinyinIME/jni/share/ |
H A D | searchutility.cpp | 35 int cmp_lpi_with_psb(const void *p1, const void *p2) { argument 37 (static_cast<const LmaPsbItem*>(p2))->psb) 40 (static_cast<const LmaPsbItem*>(p2))->psb) 45 int cmp_lpi_with_unified_psb(const void *p1, const void *p2) { argument 47 const LmaPsbItem *item2 = static_cast<const LmaPsbItem*>(p2); 63 int cmp_lpi_with_id(const void *p1, const void *p2) { argument 65 (static_cast<const LmaPsbItem*>(p2))->id) 68 (static_cast<const LmaPsbItem*>(p2))->id) 73 int cmp_lpi_with_hanzi(const void *p1, const void *p2) { argument 75 (static_cast<const LmaPsbItem*>(p2)) 84 cmp_lpsi_with_str(const void *p1, const void *p2) argument 90 cmp_hanzis_1(const void *p1, const void *p2) argument 101 cmp_hanzis_2(const void *p1, const void *p2) argument 106 cmp_hanzis_3(const void *p1, const void *p2) argument 111 cmp_hanzis_4(const void *p1, const void *p2) argument 116 cmp_hanzis_5(const void *p1, const void *p2) argument 121 cmp_hanzis_6(const void *p1, const void *p2) argument 126 cmp_hanzis_7(const void *p1, const void *p2) argument 131 cmp_hanzis_8(const void *p1, const void *p2) argument 136 cmp_npre_by_score(const void *p1, const void *p2) argument 148 cmp_npre_by_hislen_score(const void *p1, const void *p2) argument 168 cmp_npre_by_hanzi_score(const void *p1, const void *p2) argument [all...] |
H A D | dictbuilder.cpp | 41 int cmp_scis_hz_splid_freq(const void* p1, const void* p2) { argument 44 s2 = static_cast<const SingleCharItem*>(p2); 68 int cmp_scis_hz_splid(const void* p1, const void* p2) { argument 71 s2 = static_cast<const SingleCharItem*>(p2); 91 int cmp_lemma_entry_hzs(const void* p1, const void* p2) { argument 93 size_t size2 = utf16_strlen(((const LemmaEntry*)p2)->hanzi_str); 100 ((const LemmaEntry*)p2)->hanzi_str); 103 int compare_char16(const void* p1, const void* p2) { argument 104 if (*((const char16*)p1) < *((const char16*)p2)) 106 if (*((const char16*)p1) > *((const char16*)p2)) 111 compare_py(const void* p1, const void* p2) argument 123 cmp_lemma_entry_hzspys(const void* p1, const void* p2) argument 141 compare_splid2(const void* p1, const void* p2) argument [all...] |
H A D | spellingtable.cpp | 33 int compare_raw_spl_eb(const void* p1, const void* p2) { argument 37 if ('\0' == (static_cast<const RawSpelling*>(p2))->str[0]) 41 (static_cast<const RawSpelling*>(p2))->str);
|
H A D | ngram.cpp | 29 int comp_double(const void *p1, const void *p2) { argument 30 if (*static_cast<const double*>(p1) < *static_cast<const double*>(p2)) 32 if (*static_cast<const double*>(p1) > *static_cast<const double*>(p2))
|
H A D | spellingtrie.cpp | 50 int compare_spl(const void* p1, const void* p2) { argument 51 return strcmp((const char*)(p1), (const char*)(p2));
|
/packages/inputmethods/PinyinIME/jni/include/ |
H A D | searchutility.h | 115 int cmp_lpi_with_psb(const void *p1, const void *p2); 116 int cmp_lpi_with_unified_psb(const void *p1, const void *p2); 117 int cmp_lpi_with_id(const void *p1, const void *p2); 118 int cmp_lpi_with_hanzi(const void *p1, const void *p2); 120 int cmp_lpsi_with_str(const void *p1, const void *p2); 122 int cmp_hanzis_1(const void *p1, const void *p2); 123 int cmp_hanzis_2(const void *p1, const void *p2); 124 int cmp_hanzis_3(const void *p1, const void *p2); 125 int cmp_hanzis_4(const void *p1, const void *p2); 126 int cmp_hanzis_5(const void *p1, const void *p2); [all...] |
/packages/apps/Gallery2/jni/filters/ |
H A D | tinyplanet.cc | 66 const unsigned char *p2 = image(x, y + 1); local 70 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f); 72 p2++; 75 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f); 77 p2++; 80 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f); 82 p2 [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
H A D | db_image_homography.cpp | 117 double p1[2],p2[2],p3[2],p4[2],p5[2],p6[2]; local 147 p2[1]=db_sqr(apx)+db_sqr(apy); 152 p1[0]=p2[0]=p3[0]=p4[0]=p5[0]=p6[0]=1; 155 db_MultiplyPoly1_2(p8,p2,p7);
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
H A D | db_image_homography.cpp | 117 double p1[2],p2[2],p3[2],p4[2],p5[2],p6[2]; local 147 p2[1]=db_sqr(apx)+db_sqr(apy); 152 p1[0]=p2[0]=p3[0]=p4[0]=p5[0]=p6[0]=1; 155 db_MultiplyPoly1_2(p8,p2,p7);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | SlideView.java | 502 public int compare(Position p1, Position p2) { 505 int l2 = p2.mLeft; 506 int t2 = p2.mTop;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocalSource.java | 249 public int compare(PathId p1, PathId p2) { argument 251 String s2 = p2.path.getSuffix();
|
/packages/apps/Phone/src/com/android/phone/ |
H A D | ChangeIccPinScreen.java | 150 private int validateNewPin(String p1, String p2) { argument 155 if (!p1.equals(p2)) {
|
/packages/apps/Phone/src/com/android/phone/sip/ |
H A D | SipSettings.java | 295 public int compare(SipProfile p1, SipProfile p2) { 296 return getProfileName(p1).compareTo(getProfileName(p2));
|