/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 = CharUtils::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 = CharUtils::toBaseLowerCase(mString1[index1]); 50 if (index0 > 0 && index1 > 0 && c0 == CharUtils::toBaseLowerCase(mString1[index1 - 1]) 57 AK_FORCE_INLINE float getTranspositionCost(const int index0, const int index1) const { 58 return getSubstitutionCost(index0, index1); [all...] |
/external/chromium_org/third_party/webrtc/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
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/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...] |
/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
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
InternalNano.java | 197 int index1 = 0; local 202 while (index1 < length1 && field1[index1] == null) { 203 index1++; 208 boolean atEndOf1 = index1 >= length1; 216 } else if (!Arrays.equals(field1[index1], field2[index2])) { 220 index1++; 232 int index1 = 0; local 237 while (index1 < length1 && field1[index1] == null) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkLineClipper.cpp | 97 int index0, index1; local 101 index1 = 1; 104 index1 = 0; 114 if (tmp[index1].fY > clip.fBottom) { 115 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom); 120 index1 = 1; 123 index1 = 0; 127 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) && 128 tmp[index0].fX < tmp[index1].fX) { 136 if (tmp[index1].fX > clip.fRight) 187 int index0, index1; local [all...] |
/external/skia/src/core/ |
SkLineClipper.cpp | 97 int index0, index1; local 101 index1 = 1; 104 index1 = 0; 114 if (tmp[index1].fY > clip.fBottom) { 115 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom); 120 index1 = 1; 123 index1 = 0; 127 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) && 128 tmp[index0].fX < tmp[index1].fX) { 136 if (tmp[index1].fX > clip.fRight) 187 int index0, index1; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
UndoDelegator.py | 83 def delete(self, index1, index2=None): 84 self.addcmd(DeleteCommand(index1, index2)) 166 def __init__(self, index1, index2, chars, tags=None): 169 self.index1 = index1 177 t = (self.index1, self.index2, self.chars, self.tags) 210 def __init__(self, index1, chars, tags=None): 211 Command.__init__(self, index1, None, chars, tags) 215 self.index1 = text.index(self.index1) [all...] |
ColorDelegator.py | 87 def delete(self, index1, index2=None): 88 index1 = self.index(index1) 89 self.delegate.delete(index1, index2) 90 self.notify_range(index1) 96 def notify_range(self, index1, index2=None): 97 self.tag_add("TODO", index1, index2)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
UndoDelegator.py | 83 def delete(self, index1, index2=None): 84 self.addcmd(DeleteCommand(index1, index2)) 166 def __init__(self, index1, index2, chars, tags=None): 169 self.index1 = index1 177 t = (self.index1, self.index2, self.chars, self.tags) 210 def __init__(self, index1, chars, tags=None): 211 Command.__init__(self, index1, None, chars, tags) 215 self.index1 = text.index(self.index1) [all...] |
ColorDelegator.py | 87 def delete(self, index1, index2=None): 88 index1 = self.index(index1) 89 self.delegate.delete(index1, index2) 90 self.notify_range(index1) 96 def notify_range(self, index1, index2=None): 97 self.tag_add("TODO", index1, index2)
|
/external/chromium_org/components/autofill/core/browser/crypto/ |
rc4_decryptor.h | 67 uint8 index1 = 0; local 79 index2 = (key_data[index1] + state[counter] + index2) % kKeyDataSize; 81 index1 = (index1 + 1) % key_data_len;
|
/external/chromium_org/content/test/data/indexeddb/ |
bug_109187.js | 17 window.index1 = store.createIndex('index1Name', 'prop1'); 20 shouldBeFalse("window.index1.multiEntry");
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
wrench_menu_model_unittest.cc | 180 int index1 = model.GetIndexOfCommandId(command1); local 181 EXPECT_GT(index1, -1); 185 EXPECT_TRUE(model.IsEnabledAt(index1)); 187 model.ActivatedAt(index1);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
WaveShaperDSPKernel.cpp | 118 unsigned index1 = static_cast<unsigned>(virtualIndex); local 119 unsigned index2 = index1 + 1; 120 double interpolationFactor = virtualIndex - index1; 122 double value1 = curveData[index1];
|
/external/chromium_org/third_party/icu/source/common/ |
utrie2_impl.h | 143 int32_t index1[UNEWTRIE2_INDEX_1_LENGTH]; member in struct:UNewTrie2
|
/external/icu/icu4c/source/common/ |
utrie2_impl.h | 143 int32_t index1[UNEWTRIE2_INDEX_1_LENGTH]; member in struct:UNewTrie2
|
/external/proguard/src/proguard/ |
InputReader.java | 154 for (int index1 = 0; index1 < inputClassPath.size(); index1++) 156 ClassPathEntry entry1 = inputClassPath.get(index1);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogGroupBuilder.java | 225 int index1 = number1.indexOf('@'); local 228 if (index1 != -1) { 229 userinfo1 = number1.substring(0, index1); 230 rest1 = number1.substring(index1);
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/ |
t1afm.c | 92 FT_ULong index1 = KERN_INDEX( pair1->index1, pair1->index2 ); local 93 FT_ULong index2 = KERN_INDEX( pair2->index1, pair2->index2 ); 96 if ( index1 > index2 ) 98 else if ( index1 < index2 ) 202 kp->index1 = FT_Get_Char_Index( t1_face, p[0] ); 337 midi = KERN_INDEX( mid->index1, mid->index2 );
|