HomeSort by relevance Sort by last modified time
    Searched refs:index0 (Results 1 - 25 of 37) sorted by null

1 2

  /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 {
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...]
  /external/chromium_org/third_party/skia/src/core/
SkLineClipper.cpp 97 int index0, index1; local
100 index0 = 0;
103 index0 = 1;
111 if (tmp[index0].fY < clip.fTop) {
112 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop);
119 index0 = 0;
122 index0 = 1;
127 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) &&
128 tmp[index0].fX < tmp[index1].fX) {
133 if (tmp[index0].fX < clip.fLeft)
187 int index0, index1; local
    [all...]
SkDraw.cpp     [all...]
  /external/skia/src/core/
SkLineClipper.cpp 97 int index0, index1; local
100 index0 = 0;
103 index0 = 1;
111 if (tmp[index0].fY < clip.fTop) {
112 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop);
119 index0 = 0;
122 index0 = 1;
127 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) &&
128 tmp[index0].fX < tmp[index1].fX) {
133 if (tmp[index0].fX < clip.fLeft)
187 int index0, index1; local
    [all...]
SkDraw.cpp     [all...]
  /external/chromium_org/chrome/browser/chromeos/ui/
accessibility_focus_ring_layer.cc 72 int index0 = ((3 * i) + 1) % 36; local
75 gfx::Point p0 = ring.points[index0] - offset;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
proximity_info_state_utils.cpp 296 const std::vector<int> *const sampledInputYs, const int index0, const int index1) {
299 if (index0 < 0 || index0 > sampledInputSize - 1) {
305 const int x1 = (*sampledInputXs)[index0];
306 const int y1 = (*sampledInputYs)[index0];
582 const int index0, const int index1, const int index2) {
587 if (index0 < 0 || index0 > sampledInputSize - 1) {
596 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);
146 const std::vector<int> *const sampledInputYs, const int index0, const int index1,
149 const int sampledInputSize, const std::vector<int> *const lengthCache, const int index0,
proximity_info_state.cpp 282 float ProximityInfoState::getDirection(const int index0, const int index1) const {
284 &mSampledInputXs, &mSampledInputYs, index0, index1);
  /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
  /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...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
omxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s 99 index0 RN 1 label
251 LDR index0,=0x05040100 ;// Indexes into dVmatrix
253 VDUP dindexRow0,index0
  /external/harfbuzz_ng/src/hb-ucdn/
unicodedata_db.h 1623 static const unsigned char index0[] = { variable
    [all...]
ucdn.c 60 index = index0[code >> (SHIFT1+SHIFT2)] << SHIFT1;
  /external/chromium_org/third_party/skia/src/effects/gradients/
SkLinearGradient.cpp 142 int index0 = fi + toggle; local
143 int index1 = index0;
147 SkPMColor lerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder);
148 index0 ^= SkGradientShaderBase::kDitherStride32;
150 SkPMColor dlerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder);
  /external/skia/src/effects/gradients/
SkLinearGradient.cpp 128 int index0 = fi + toggle; local
129 int index1 = index0;
133 SkPMColor lerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder);
134 index0 ^= SkGradientShaderBase::kDitherStride32;
136 SkPMColor dlerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder);
  /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...]
  /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/chromium_org/third_party/icu/source/common/
ubidi.c 2258 index0, index1; local
    [all...]
  /external/chromium_org/third_party/skia/tests/
PathOpsCubicIntersectionTest.cpp 446 static void intersectionFinder(int index0, int index1, double t1Seed, double t2Seed,
448 const SkDCubic& cubic1 = newTestSet[index0];
  /external/icu/icu4c/source/common/
ubidi.c 2352 index0, index1; local
    [all...]
  /external/skia/tests/
PathOpsCubicIntersectionTest.cpp 446 static void intersectionFinder(int index0, int index1, double t1Seed, double t2Seed,
448 const SkDCubic& cubic1 = newTestSet[index0];

Completed in 939 milliseconds

1 2