/external/freetype/src/base/ |
D | ftlcdfil.c | 50 FT_UInt val1, xx; in _ft_lcd_filter_fir() local 53 val1 = line[0]; in _ft_lcd_filter_fir() 54 fir[0] = weights[2] * val1; in _ft_lcd_filter_fir() 55 fir[1] = weights[3] * val1; in _ft_lcd_filter_fir() 56 fir[2] = weights[4] * val1; in _ft_lcd_filter_fir() 60 val1 = line[1]; in _ft_lcd_filter_fir() 61 fir[0] += weights[1] * val1; in _ft_lcd_filter_fir() 62 fir[1] += weights[2] * val1; in _ft_lcd_filter_fir() 63 fir[2] += weights[3] * val1; in _ft_lcd_filter_fir() 64 fir[3] += weights[4] * val1; in _ft_lcd_filter_fir() [all …]
|
/external/gtest/include/gtest/ |
D | gtest.h | 764 const T1& val1, const T2& val2) {\ 765 if (val1 op val2) {\ 770 << "), actual: " << FormatForComparisonFailureMessage(val1, val2)\ 771 << " vs " << FormatForComparisonFailureMessage(val2, val1);\ 776 BiggestInt val1, BiggestInt val2); 923 double val1, 1133 #define EXPECT_LE(val1, val2) \ argument 1134 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2) 1135 #define EXPECT_LT(val1, val2) \ argument 1136 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2) [all …]
|
/external/openssl/crypto/bn/ |
D | bn_exp2.c | 127 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; in BN_mod_exp2_mont() local 154 val1[0] = BN_CTX_get(ctx); in BN_mod_exp2_mont() 156 if(!d || !r || !val1[0] || !val2[0]) goto err; in BN_mod_exp2_mont() 174 if (!BN_mod(val1[0],a1,m,ctx)) in BN_mod_exp2_mont() 176 a_mod_m = val1[0]; in BN_mod_exp2_mont() 187 if (!BN_to_montgomery(val1[0],a_mod_m,mont,ctx)) goto err; in BN_mod_exp2_mont() 190 if (!BN_mod_mul_montgomery(d,val1[0],val1[0],mont,ctx)) goto err; in BN_mod_exp2_mont() 195 if(((val1[i] = BN_CTX_get(ctx)) == NULL) || in BN_mod_exp2_mont() 196 !BN_mod_mul_montgomery(val1[i],val1[i-1], in BN_mod_exp2_mont() 289 if (!BN_mod_mul_montgomery(r,r,val1[wvalue1>>1],mont,ctx)) in BN_mod_exp2_mont()
|
/external/dropbear/ |
D | dss.c | 170 DEF_MP_INT(val1); in buf_dss_verify() 180 m_mp_init_multi(&val1, &val2, &val3, &val4, NULL); in buf_dss_verify() 196 bytes_to_mp(&val1, &string[SHA1_HASH_SIZE], SHA1_HASH_SIZE); in buf_dss_verify() 198 if (mp_cmp(&val1, key->q) != MP_LT) { in buf_dss_verify() 203 if (mp_invmod(&val1, key->q, &val2) != MP_OKAY) { in buf_dss_verify() 209 bytes_to_mp(&val1, msghash, SHA1_HASH_SIZE); in buf_dss_verify() 212 if (mp_mulmod(&val1, &val2, key->q, &val3) != MP_OKAY) { in buf_dss_verify() 218 bytes_to_mp(&val1, &string[0], SHA1_HASH_SIZE); in buf_dss_verify() 219 if (mp_cmp(&val1, key->q) != MP_LT) { in buf_dss_verify() 224 if (mp_mulmod(&val1, &val2, key->q, &val4) != MP_OKAY) { in buf_dss_verify() [all …]
|
/external/tesseract/liblept/ |
D | edge.c | 75 l_int32 val1, val2, val3, val4, val5, val6, val7, val8, val9; in pixSobelEdgeFilter() local 105 val1 = GET_DATA_BYTE(linet, j); in pixSobelEdgeFilter() 115 val1 = val4; in pixSobelEdgeFilter() 126 vald = L_ABS(val1 + 2 * val4 + val7 in pixSobelEdgeFilter() 129 vald = L_ABS(val1 + 2 * val2 + val3 - val7 in pixSobelEdgeFilter() 132 gx = L_ABS(val1 + 2 * val2 + val3 - val7 in pixSobelEdgeFilter() 134 gy = L_ABS(val1 + 2 * val4 + val7 in pixSobelEdgeFilter()
|
D | arithlow.c | 531 l_int32 i, j, val1, val2, diff; in absDifferenceLow() local 545 val1 = GET_DATA_BYTE(lines1, j); in absDifferenceLow() 547 diff = L_ABS(val1 - val2); in absDifferenceLow() 558 val1 = GET_DATA_TWO_BYTES(lines1, j); in absDifferenceLow() 560 diff = L_ABS(val1 - val2); in absDifferenceLow() 574 val1 = GET_DATA_BYTE(&word1, COLOR_RED); in absDifferenceLow() 576 diff = L_ABS(val1 - val2); in absDifferenceLow() 578 val1 = GET_DATA_BYTE(&word1, COLOR_GREEN); in absDifferenceLow() 580 diff = L_ABS(val1 - val2); in absDifferenceLow() 582 val1 = GET_DATA_BYTE(&word1, COLOR_BLUE); in absDifferenceLow() [all …]
|
D | compare.c | 269 l_uint32 endmask, val1, val2; in pixEqualWithCmap() local 350 pixGetPixel(pix1, j, i, &val1); in pixEqualWithCmap() 352 pixcmapGetColor(cmap1, val1, &rval1, &gval1, &bval1); in pixEqualWithCmap() 963 l_int32 i, j, val, val1, val2; in pixCompareRankDifference() local 1010 val1 = GET_DATA_BYTE(line1, j); in pixCompareRankDifference() 1012 val = L_ABS(val1 - val2); in pixCompareRankDifference() 1024 val1 = pixel1 >> 24; in pixCompareRankDifference() 1026 val = L_ABS(val1 - val2); in pixCompareRankDifference() 1028 val1 = (pixel1 >> 16) & 0xff; in pixCompareRankDifference() 1030 val = L_ABS(val1 - val2); in pixCompareRankDifference() [all …]
|
D | morph.c | 1064 l_int32 i, midval, val1, val2m, val2p; in selectComposableSizes() local 1087 for (val1 = midval + 1, i = 0; val1 > 0; val1--, i++) { in selectComposableSizes() 1088 val2m = size / val1; in selectComposableSizes() 1090 prodm = val1 * val2m; in selectComposableSizes() 1091 prodp = val1 * val2p; in selectComposableSizes() 1092 rastcostm = val1 + val2m - 2 * midval; in selectComposableSizes() 1093 rastcostp = val1 + val2p - 2 * midval; in selectComposableSizes() 1097 lowval[i] = L_MIN(val1, val2m); in selectComposableSizes() 1098 hival[i] = L_MAX(val1, val2m); in selectComposableSizes() 1103 lowval[i] = L_MIN(val1, val2p); in selectComposableSizes() [all …]
|
D | seedfilllow.c | 307 l_uint8 val1, val2, val3, val4, val5, val6, val7, val8; in seedfillGrayLow() local 607 val1 = GET_DATA_BYTE(lines - wpls, j - 1); in seedfillGrayLow() 609 if (val > val1 && val1 != maskval) { in seedfillGrayLow() 752 l_uint8 val1, val2, val3, val4, val5, val6, val7, val8; in seedfillGrayInvLow() local 946 val1 = GET_DATA_BYTE(lines - wpls, j - 1); in seedfillGrayInvLow() 947 maxval = L_MAX(maxval, val1); in seedfillGrayInvLow() 1066 val1 = GET_DATA_BYTE(lines - wpls, j - 1); in seedfillGrayInvLow() 1068 if (val > val1 && val > maskval) { in seedfillGrayInvLow() 1371 l_uint8 val1, val2, val3, val4, val5, val6, val7, val8; in seedfillGrayInvLowSimple() local 1437 val1 = GET_DATA_BYTE(lines - wpls, j - 1); in seedfillGrayInvLowSimple() [all …]
|
D | numafunc1.c | 118 l_float32 val1, val2; in numaArithOp() local 145 numaGetFValue(nad, i, &val1); in numaArithOp() 149 numaSetValue(nad, i, val1 + val2); in numaArithOp() 152 numaSetValue(nad, i, val1 - val2); in numaArithOp() 155 numaSetValue(nad, i, val1 * val2); in numaArithOp() 158 numaSetValue(nad, i, val1 / val2); in numaArithOp() 195 l_int32 i, n, val1, val2, val; in numaLogicalOp() local 215 numaGetIValue(nad, i, &val1); in numaLogicalOp() 219 val = (val1 || val2) ? 1 : 0; in numaLogicalOp() 223 val = (val1 && val2) ? 1 : 0; in numaLogicalOp() [all …]
|
D | colorquant2.c | 637 l_int32 dif, val1, val2, val3; in pixQuantizeWithColormap() local 756 val1 = buf1r[j + 1] + 3 * dif; in pixQuantizeWithColormap() 760 buf1r[j + 1] = L_MIN(16383, val1); in pixQuantizeWithColormap() 765 buf1r[j + 1] = L_MAX(0, val1); in pixQuantizeWithColormap() 775 val1 = buf1g[j + 1] + 3 * dif; in pixQuantizeWithColormap() 779 buf1g[j + 1] = L_MIN(16383, val1); in pixQuantizeWithColormap() 784 buf1g[j + 1] = L_MAX(0, val1); in pixQuantizeWithColormap() 794 val1 = buf1b[j + 1] + 3 * dif; in pixQuantizeWithColormap() 798 buf1b[j + 1] = L_MIN(16383, val1); in pixQuantizeWithColormap() 803 buf1b[j + 1] = L_MAX(0, val1); in pixQuantizeWithColormap()
|
D | colorquant1.c | 917 l_int32 val1, val2, val3, dif; in pixOctreeQuantizePixels() local 1014 val1 = buf1r[j + 1] + 3 * dif; in pixOctreeQuantizePixels() 1018 buf1r[j + 1] = L_MIN(16383, val1); in pixOctreeQuantizePixels() 1023 buf1r[j + 1] = L_MAX(0, val1); in pixOctreeQuantizePixels() 1031 val1 = buf1g[j + 1] + 3 * dif; in pixOctreeQuantizePixels() 1035 buf1g[j + 1] = L_MIN(16383, val1); in pixOctreeQuantizePixels() 1040 buf1g[j + 1] = L_MAX(0, val1); in pixOctreeQuantizePixels() 1048 val1 = buf1b[j + 1] + 3 * dif; in pixOctreeQuantizePixels() 1052 buf1b[j + 1] = L_MIN(16383, val1); in pixOctreeQuantizePixels() 1057 buf1b[j + 1] = L_MAX(0, val1); in pixOctreeQuantizePixels() [all …]
|
D | pixconv.c | 1462 l_uint16 val1) in pixConvert1To16() argument 1494 val[1] = val1; in pixConvert1To16() 1536 l_uint32 val1) in pixConvert1To32() argument 1563 val[1] = val1; in pixConvert1To32() 1637 l_int32 val1) in pixConvert1To2() argument 1669 val[1] = val1; in pixConvert1To2() 1755 l_int32 val1) in pixConvert1To4() argument 1786 val[1] = val1; in pixConvert1To4() 1847 l_uint8 val1) in pixConvert1To8() argument 1878 val[1] = val1; in pixConvert1To8() [all …]
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
D | Base64.java | 280 byte val1 = in encodeBase64() 287 encodedData[encodedIndex] = lookUpBase64Alphabet[val1]; in encodeBase64() 326 byte val1 = in encodeBase64() 328 encodedData[encodedIndex] = lookUpBase64Alphabet[val1]; in encodeBase64() 339 byte val1 = in encodeBase64() 344 encodedData[encodedIndex] = lookUpBase64Alphabet[val1]; in encodeBase64()
|
/external/bluetooth/glib/tests/gobject/ |
D | ifaceproperties.c | 73 gint val1; member 223 base_object->val1 = g_value_get_int (value); in base_object_set_property() 253 g_value_set_int (value, base_object->val1); in base_object_get_property() 326 base_object->val1 = 42; in base_object_init() 430 gint val1, val2, val3, val4; in main() local 448 "prop1", &val1, in main() 454 g_assert (val1 == 0x0101); in main()
|
/external/jpeg/ |
D | rdswitch.c | 307 int ci, val1, val2; in set_sample_factors() local 313 if (sscanf(arg, "%d%c%d%c", &val1, &ch1, &val2, &ch2) < 3) in set_sample_factors() 317 if (val1 <= 0 || val1 > 4 || val2 <= 0 || val2 > 4) { in set_sample_factors() 321 cinfo->comp_info[ci].h_samp_factor = val1; in set_sample_factors()
|
/external/bluetooth/glib/gio/inotify/ |
D | inotify-kernel.c | 475 g_timeval_lt (GTimeVal *val1, in g_timeval_lt() argument 478 if (val1->tv_sec < val2->tv_sec) in g_timeval_lt() 481 if (val1->tv_sec > val2->tv_sec) in g_timeval_lt() 485 if (val1->tv_usec < val2->tv_usec) in g_timeval_lt() 492 g_timeval_eq (GTimeVal *val1, in g_timeval_eq() argument 495 return (val1->tv_sec == val2->tv_sec) && (val1->tv_usec == val2->tv_usec); in g_timeval_eq()
|
/external/zlib/contrib/iostream3/ |
D | zfstream.h | 432 T1 val1; variable 452 : func(f), val1(v1), val2(v2) in gzomanip2() 459 { return (*m.func)(s, m.val1, m.val2); }
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_chorus.c | 201 EAS_I16 val1; in WeightedTap() local 219 val1 = array[index]; in WeightedTap() 232 return(val1 + (EAS_I16)MULT_EG1_EG1(val2-val1,fraction)); in WeightedTap()
|
/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_chorus.c | 201 EAS_I16 val1; in WeightedTap() local 219 val1 = array[index]; in WeightedTap() 232 return(val1 + (EAS_I16)MULT_EG1_EG1(val2-val1,fraction)); in WeightedTap()
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_chorus.c | 201 EAS_I16 val1; in WeightedTap() local 219 val1 = array[index]; in WeightedTap() 232 return(val1 + (EAS_I16)MULT_EG1_EG1(val2-val1,fraction)); in WeightedTap()
|
/external/webkit/JavaScriptCore/wtf/ |
D | TCPackedCache.h | 120 #define DCHECK_EQ(val1, val2) ASSERT((val1) == (val2)) argument
|
/external/bluetooth/glib/gio/fen/ |
D | fen-node.c | 92 g_timeval_lt (GTimeVal *val1, GTimeVal *val2) in g_timeval_lt() argument 94 if (val1->tv_sec < val2->tv_sec) in g_timeval_lt() 97 if (val1->tv_sec > val2->tv_sec) in g_timeval_lt() 101 if (val1->tv_usec < val2->tv_usec) in g_timeval_lt()
|
/external/ppp/pppd/ |
D | ipv6cp.c | 574 #define ADDCIIFACEID(opt, neg, val1) \ argument 580 eui64_put(val1, ucp); \ 632 #define ACKCIIFACEID(opt, neg, val1) \ argument 643 if (! eui64_equals(val1, ifaceid)) \ 828 #define REJCIIFACEID(opt, neg, val1) \ argument 837 if (! eui64_equals(ifaceid, val1)) \
|
/external/gtest/src/ |
D | gtest.cc | 1029 double val1, in DoubleNearPredFormat() argument 1032 const double diff = fabs(val1 - val2); in DoubleNearPredFormat() 1040 << expr1 << " evaluates to " << val1 << ",\n" in DoubleNearPredFormat() 1051 RawType val1, in FloatingPointLE() argument 1054 if (val1 < val2) { in FloatingPointLE() 1059 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE() 1070 << val1; in FloatingPointLE() 1089 float val1, float val2) { in FloatLE() argument 1090 return internal::FloatingPointLE<float>(expr1, expr2, val1, val2); in FloatLE() 1096 double val1, double val2) { in DoubleLE() argument [all …]
|