/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/ |
damerau_levenshtein_edit_distance_policy.h | 33 AK_FORCE_INLINE float getSubstitutionCost(const int index0, const int index1) const { 34 const int c0 = CharUtils::toBaseLowerCase(mString0[index0]); 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 { 48 const int c0 = CharUtils::toBaseLowerCase(mString0[index0]); 50 if (index0 > 0 && index1 > 0 && c0 == CharUtils::toBaseLowerCase(mString1[index1 - 1]) 51 && c1 == CharUtils::toBaseLowerCase(mString0[index0 - 1])) { 57 AK_FORCE_INLINE float getTranspositionCost(const int index0, const int index1) const { 58 return getSubstitutionCost(index0, index1) [all...] |
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;
|
/external/chromium_org/third_party/skia/src/core/ |
SkLineClipper.cpp | 107 int index0, index1; local 110 index0 = 0; 113 index0 = 1; 121 if (tmp[index0].fY < clip.fTop) { 122 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop); 129 index0 = 0; 132 index0 = 1; 137 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) && 138 tmp[index0].fX < tmp[index1].fX) { 143 if (tmp[index0].fX < clip.fLeft) 201 int index0, index1; local [all...] |
SkDraw.cpp | [all...] |
/external/skia/src/core/ |
SkLineClipper.cpp | 107 int index0, index1; local 110 index0 = 0; 113 index0 = 1; 121 if (tmp[index0].fY < clip.fTop) { 122 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop); 129 index0 = 0; 132 index0 = 1; 137 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) && 138 tmp[index0].fX < tmp[index1].fX) { 143 if (tmp[index0].fX < clip.fLeft) 201 int index0, index1; local [all...] |
SkDraw.cpp | [all...] |
/system/core/libutils/tests/ |
BasicHashtable_test.cpp | 498 ssize_t index0 = find(h1, -1, ComplexKey(0)); local 499 EXPECT_GE(index0, 0); 509 EXPECT_EQ(index0, find(h2, -1, ComplexKey(0))); 520 EXPECT_EQ(index0, find(h3, -1, ComplexKey(0))); 523 h1.editEntryAt(index0).value.v = 42; 526 EXPECT_EQ(42, h1.entryAt(index0).value.v); 527 EXPECT_EQ(0, h2.entryAt(index0).value.v); 528 EXPECT_EQ(0, h3.entryAt(index0).value.v); 544 EXPECT_EQ(index0, find(h1, -1, ComplexKey(0))); 558 h1.removeAt(index0); [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_state_utils.cpp | 300 const std::vector<int> *const sampledInputYs, const int index0, const int index1) { 303 if (index0 < 0 || index0 > sampledInputSize - 1) { 309 const int x1 = (*sampledInputXs)[index0]; 310 const int y1 = (*sampledInputYs)[index0]; 586 const int index0, const int index1, const int index2) { 591 if (index0 < 0 || index0 > sampledInputSize - 1) { 600 const float previousDirection = getDirection(sampledInputXs, sampledInputYs, index0, index1); [all...] |
proximity_info_state_utils.h | 66 const std::vector<int> *const sampledInputYs, const int index0, const int index1); 151 const std::vector<int> *const sampledInputYs, const int index0, const int index1, 154 const int sampledInputSize, const std::vector<int> *const lengthCache, const int index0,
|
proximity_info_state.cpp | 268 float ProximityInfoState::getDirection(const int index0, const int index1) const { 270 &mSampledInputXs, &mSampledInputYs, index0, index1);
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkLinearGradient.cpp | 122 int index0 = fi + toggle; local 123 int index1 = index0; 127 SkPMColor lerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder); 128 index0 ^= SkGradientShaderBase::kDitherStride32; 130 SkPMColor dlerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder);
|
/external/skia/src/effects/gradients/ |
SkLinearGradient.cpp | 122 int index0 = fi + toggle; local 123 int index1 = index0; 127 SkPMColor lerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder); 128 index0 ^= SkGradientShaderBase::kDitherStride32; 130 SkPMColor dlerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder);
|
/external/chromium_org/third_party/jinja2/ |
runtime.py | 287 self.index0 = -1 303 return args[self.index0 % len(args)] 305 first = property(lambda x: x.index0 == 0) 307 index = property(lambda x: x.index0 + 1) 308 revindex = property(lambda x: x.length - x.index0) 345 self._length = len(iterable) + self.index0 + 1 369 ctx.index0 += 1
|
/external/llvm/lib/Option/ |
ArgList.cpp | 335 unsigned Index0 = MakeIndex(String0); 337 assert(Index0 + 1 == Index1 && "Unexpected non-consecutive indices!"); 339 return Index0;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
omxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s | 85 index0 RN 1 label 237 LDR index0,=0x05040100 ;// Indexes into dVmatrix 239 VDUP dindexRow0,index0
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_sample_soa.c | 1368 LLVMValueRef index0 = lp_build_const_int32(gallivm, 0); local 1393 LLVMValueRef index0 = lp_build_const_int32(gallivm, 0); local [all...] |
lp_bld_sample.c | 198 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); local 323 rho_vec = LLVMBuildExtractElement(builder, rho_vec, index0, ""); 334 rho_s = LLVMBuildExtractElement(builder, rho_vec, index0, ""); [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_sample_soa.c | 1368 LLVMValueRef index0 = lp_build_const_int32(gallivm, 0); local 1393 LLVMValueRef index0 = lp_build_const_int32(gallivm, 0); local [all...] |
lp_bld_sample.c | 198 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); local 323 rho_vec = LLVMBuildExtractElement(builder, rho_vec, index0, ""); 334 rho_s = LLVMBuildExtractElement(builder, rho_vec, index0, ""); [all...] |
/external/libyuv/files/source/ |
format_conversion.cc | 84 int index0 = selector & 0xff; local 88 dst_bayer[0] = src_argb[index0]; 94 dst_bayer[0] = src_argb[index0];
|
/external/harfbuzz_ng/src/hb-ucdn/ |
ucdn.c | 61 index = index0[code >> (SHIFT1+SHIFT2)] << SHIFT1;
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/ |
PhysicsCollisionEvent.java | 143 return cp.index0;
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/ |
basic.rb | 105 example 'insert then replace index0' do
|
/external/chromium_org/third_party/icu/source/common/ |
ubidi.c | 1586 index0, index1; local [all...] |
/external/icu4c/common/ |
ubidi.c | 1718 index0, index1; local [all...] |