/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/ |
edit_distance_policy.h | 26 virtual float getSubstitutionCost(const int index0, const int index1) const = 0; 27 virtual float getDeletionCost(const int index0, const int index1) const = 0; 28 virtual float getInsertionCost(const int index0, const int index1) const = 0; 29 virtual bool allowTransposition(const int index0, const int index1) const = 0; 30 virtual float getTranspositionCost(const int index0, const int index1) const = 0;
|
damerau_levenshtein_edit_distance_policy.h | 33 AK_FORCE_INLINE float getSubstitutionCost(const int index0, const int index1) const { 35 const int c1 = toBaseLowerCase(mString1[index1]); 39 AK_FORCE_INLINE float getDeletionCost(const int index0, const int index1) const { 43 AK_FORCE_INLINE float getInsertionCost(const int index0, const int index1) const { 47 AK_FORCE_INLINE bool allowTransposition(const int index0, const int index1) const { 49 const int c1 = toBaseLowerCase(mString1[index1]); 50 if (index0 > 0 && index1 > 0 && c0 == toBaseLowerCase(mString1[index1 - 1]) 57 AK_FORCE_INLINE float getTranspositionCost(const int index0, const int index1) const { 58 return getSubstitutionCost(index0, index1); [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/QA/ |
runiSACfixfloat.txt | 18 index1=0 25 let "index1=index1+1" 27 $ISACFIXFLOAT $INDIR/$channel -m 1 -PLC $INDIR/"$file" $OUTDIR/flfx$index1"$file" >> $LOGFILE 28 $ISACFIXFLOAT $INDIR/$channel -m 2 -PLC $INDIR/"$file" $OUTDIR/fxfl$index1"$file" >> $LOGFILE 33 index1=0 37 let "index1=index1+1" 38 $ISACFIXFLOAT $INDIR/$channel -m 1 -NB 1 $INDIR/"$file" $OUTDIR/flfxnb1_$index1"$file" >> $LOGFILE 39 $ISACFIXFLOAT $INDIR/$channel -m 2 -NB 1 $INDIR/"$file" $OUTDIR/fxflnb1_$index1"$file" >> $LOGFIL [all...] |
runiSACLongtest.txt | 22 index1=0 30 let "index1=index1+1" 31 $ISAC -I $rate -FL 30 $INDIR/"$file" $OUTDIR/i30_$index1"$file" >> $LOGFILE 32 $ISAC -I $rate -FL 60 $INDIR/"$file" $OUTDIR/i60_$index1"$file" >> $LOGFILE 42 index1=0 46 let "index1=index1+1" 47 $ISAC $INDIR/${CHANNELLIST[0]} -FL 30 -FIXED_FL $INDIR/"$file" $OUTDIR/a30_$index1"$file" >> $LOGFILE 48 $ISAC $INDIR/${CHANNELLIST[0]} -FL 60 -FIXED_FL $INDIR/"$file" $OUTDIR/a60_$index1"$file" >> $LOGFIL [all...] |
runiSACNB.txt | 22 index1=0 31 let "index1=index1+1" 32 $ISAC $rate -FL 30 -NB 1 $INDIR/"$file" $OUTDIR/nb130_$index1"$file" >> $LOGFILE 33 $ISAC $rate -FL 60 -NB 1 $INDIR/"$file" $OUTDIR/nb160_$index1"$file" >> $LOGFILE 34 $ISAC $rate -FL 30 -NB 2 $INDIR/"$file" $OUTDIR/nb230_$index1"$file" >> $LOGFILE 35 $ISAC $rate -FL 60 -NB 2 $INDIR/"$file" $OUTDIR/nb260_$index1"$file" >> $LOGFILE 36 $ISAC $rate -FL 30 -NB 2 -PL 10 $INDIR/"$file" $OUTDIR/nb2plc30_$index1"$file" >> $LOGFILE 37 $ISAC $rate -FL 60 -NB 2 -PL 10 $INDIR/"$file" $OUTDIR/nb2plc60_$index1"$file" >> $LOGFILE
|
runiSACfault.txt | 21 index1=0
|
/external/skia/legacy/src/core/ |
SkLineClipper.cpp | 88 int index0, index1; local 92 index1 = 1; 95 index1 = 0; 105 if (tmp[index1].fY > clip.fBottom) { 106 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom); 111 index1 = 1; 114 index1 = 0; 118 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) && 119 tmp[index0].fX < tmp[index1].fX) { 127 if (tmp[index1].fX > clip.fRight) 153 int index0, index1; local [all...] |
/external/skia/src/core/ |
SkLineClipper.cpp | 107 int index0, index1; local 111 index1 = 1; 114 index1 = 0; 124 if (tmp[index1].fY > clip.fBottom) { 125 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom); 130 index1 = 1; 133 index1 = 0; 137 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) && 138 tmp[index0].fX < tmp[index1].fX) { 146 if (tmp[index1].fX > clip.fRight) 201 int index0, index1; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
GlyphBuffer.h | 93 void swap(int index1, int index2) 95 const SimpleFontData* f = m_fontData[index1]; 96 m_fontData[index1] = m_fontData[index2]; 99 GlyphBufferGlyph g = m_glyphs[index1]; 100 m_glyphs[index1] = m_glyphs[index2]; 103 GlyphBufferAdvance s = m_advances[index1]; 104 m_advances[index1] = m_advances[index2]; 108 FloatSize offset = m_offsets[index1]; 109 m_offsets[index1] = m_offsets[index2];
|
/external/chromium/chrome/browser/autofill/crypto/ |
rc4_decryptor.h | 62 uint8 index1 = 0; local 74 index2 = (key_data[index1] + state[counter] + index2) % kKeyDataSize; 76 index1 = (index1 + 1) % key_data_len;
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogGroupBuilder.java | 135 int index1 = number1.indexOf('@'); local 138 if (index1 != -1) { 139 userinfo1 = number1.substring(0, index1); 140 rest1 = number1.substring(index1);
|
/external/icu4c/common/ |
utrie2_impl.h | 143 int32_t index1[UNEWTRIE2_INDEX_1_LENGTH]; member in struct:UNewTrie2
|
/external/proguard/src/proguard/ |
InputReader.java | 152 for (int index1 = 0; index1 < inputClassPath.size(); index1++) 154 ClassPathEntry entry1 = inputClassPath.get(index1);
|
/external/quake/quake/src/QW/client/ |
d_polyse.c | 186 finalvert_t *pfv, *index0, *index1, *index2; local 197 index1 = pfv + ptri[i].vertindex[1]; 200 if (((index0->v[1]-index1->v[1]) * 202 (index0->v[0]-index1->v[0]) * 212 D_PolysetRecursiveTriangle(index0->v, index1->v, index2->v); 219 s1 = index1->v[2]; 224 if (index1->flags & ALIAS_ONSEAM) 225 index1->v[2] += r_affinetridesc.seamfixupX16; 229 D_PolysetRecursiveTriangle(index0->v, index1->v, index2->v); 232 index1->v[2] = s1 247 finalvert_t *pfv, *index0, *index1, *index2; local [all...] |
/external/quake/quake/src/WinQuake/ |
d_polyse.cpp | 186 finalvert_t *pfv, *index0, *index1, *index2;
local 197 index1 = pfv + ptri[i].vertindex[1];
200 if (((index0->v[1]-index1->v[1]) *
202 (index0->v[0]-index1->v[0]) *
212 D_PolysetRecursiveTriangle(index0->v, index1->v, index2->v);
219 s1 = index1->v[2];
224 if (index1->flags & ALIAS_ONSEAM)
225 index1->v[2] += r_affinetridesc.seamfixupX16;
229 D_PolysetRecursiveTriangle(index0->v, index1->v, index2->v);
232 index1->v[2] = s1; 247 finalvert_t *pfv, *index0, *index1, *index2; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationItem.java | 73 int index1 = item1.type.getIndex(); local 76 if (index1 < index2) { 78 } else if (index1 > index2) {
|
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationItem.java | 71 int index1 = item1.type.getIndex(); local 74 if (index1 < index2) { 76 } else if (index1 > index2) {
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
AnnotationItem.java | 71 int index1 = item1.type.getIndex(); local 74 if (index1 < index2) { 76 } else if (index1 > index2) {
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
DOM2Helper.java | 236 int index1 = ((DOMOrder) node1).getUid(); local 239 return index1 <= index2;
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Eigen3f.java | 183 * @param index1
187 private void computeVectors(Matrix3f mat, Vector3f vect, int index1,
233 p00 = eigenValues[index1] - vect.dot(tempVect);
235 p11 = eigenValues[index1] - vectorS.dot(mat.mult(vectorS));
253 eigenVectors[index1] = vect.mult(p01).add(vectorS.mult(p00));
258 eigenVectors[index1] = vect.mult(p11).add(vectorS.mult(p01));
262 eigenVectors[index1].set(vectorS);
264 eigenVectors[index1].set(vect);
268 eigenVectors[index3].cross(eigenVectors[index1], eigenVectors[index2]);
|
/external/opencv/cvaux/src/ |
decomppoly.cpp | 150 int index1, index2, index3; 182 index1 = 0; 185 x1 = contour[ index1 ].x; 186 y1 = contour[ index1 ].y; 240 outEdges[ (*numEdges) * 2 ] = index1; 264 begIndex = index1; 266 index1 = index2; 293 begIndex = index1; 295 index1 = index2;
|
/external/freetype/src/pshinter/ |
pshrec.c | 375 FT_Int index1, 378 PS_Mask mask1 = table->masks + index1; 407 FT_Int index1, 415 /* swap index1 and index2 so that index1 < index2 */ 416 if ( index1 > index2 ) 418 temp = index1; 419 index1 = index2; 423 if ( index1 < index2 && index1 >= 0 && index2 < (FT_Int)table->num_masks 501 FT_Int index1, index2; local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/ |
proximity_info_state_utils.cpp | 339 const std::vector<int> *const sampledInputYs, const int index0, const int index1) { 345 if (index1 < 0 || index1 > sampledInputSize - 1) { 350 const int x2 = (*sampledInputXs)[index1]; 351 const int y2 = (*sampledInputYs)[index1]; 623 const int index0, const int index1, const int index2) { 631 if (index1 < 0 || index1 > sampledInputSize - 1) { 637 const float previousDirection = getDirection(sampledInputXs, sampledInputYs, index0, index1); 638 const float nextDirection = getDirection(sampledInputXs, sampledInputYs, index1, index2) [all...] |
/external/v8/test/cctest/ |
test-liveedit.cc | 53 bool Equals(int index1, int index2) { 54 return s1_[index1] == s2_[index2];
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d8_31pf.cpp | 104 index1 -- Word16 -- index for first pos in pos_index[] 166 Word16 index1, /* i : index for first pos in pos_index[] */ 178 pos_indx[index1] = ((MSBs-25*(MSBs/25))%5)*2 + (LSBs-4*(LSBs/4))%2; 226 pos_indx[index1] = ib + (ic & 1);
|