/frameworks/av/media/module/codecs/amrwb/enc/src/ |
D | syn_filt.c | 43 Word16 *yy, *p1, *p2; in Syn_filt() local 55 p2 = &yy[i-1]; in Syn_filt() 57 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 58 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 59 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 60 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 61 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 62 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 63 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 64 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() [all …]
|
D | residu.c | 35 Word16 i,*p1, *p2; in Residu() local 40 p2 = &x[i]; in Residu() 41 s = vo_mult32((*p1++), (*p2--)); in Residu() 42 s += vo_mult32((*p1++), (*p2--)); in Residu() 43 s += vo_mult32((*p1++), (*p2--)); in Residu() 44 s += vo_mult32((*p1++), (*p2--)); in Residu() 45 s += vo_mult32((*p1++), (*p2--)); in Residu() 46 s += vo_mult32((*p1++), (*p2--)); in Residu() 47 s += vo_mult32((*p1++), (*p2--)); in Residu() 48 s += vo_mult32((*p1++), (*p2--)); in Residu() [all …]
|
D | p_med_ol.c | 43 Word16 *p1, *p2; in Pitch_med_ol() local 62 p2 = &wsp[-i]; in Pitch_med_ol() 65 R0 += vo_L_mult((*p1++), (*p2++)); in Pitch_med_ol() 66 R0 += vo_L_mult((*p1++), (*p2++)); in Pitch_med_ol() 67 R0 += vo_L_mult((*p1++), (*p2++)); in Pitch_med_ol() 68 R0 += vo_L_mult((*p1++), (*p2++)); in Pitch_med_ol() 101 p2 = hp_wsp - Tm; in Pitch_med_ol() 105 R1 += vo_mult32(*p2, *p2); in Pitch_med_ol() 106 R0 += vo_mult32(*p1++, *p2++); in Pitch_med_ol() 108 R1 += vo_mult32(*p2, *p2); in Pitch_med_ol() [all …]
|
D | c4t64fx.c | 142 Word16 *p0, *p1, *p2, *p3, *psign; in ACELP_4t64_fx() local 270 p2 = dn2; in ACELP_4t64_fx() 275 *p2++ = s >> 7; in ACELP_4t64_fx() 277 *p2++ = s >> 7; in ACELP_4t64_fx() 279 *p2++ = s >> 7; in ACELP_4t64_fx() 281 *p2++ = s >> 7; in ACELP_4t64_fx() 361 p2 = h_inv; in ACELP_4t64_fx() 366 *p2++ = -(*p1++); in ACELP_4t64_fx() 368 *p2++ = -(*p1++); in ACELP_4t64_fx() 370 *p2++ = -(*p1++); in ACELP_4t64_fx() [all …]
|
D | cor_h_x.c | 43 Word16 *p1, *p2; in cor_h_x() local 56 p2 = &h[0]; in cor_h_x() 58 L_tmp = L_add(L_tmp, vo_L_mult(*p1++, *p2++)); in cor_h_x() 69 p2 = &h[0]; in cor_h_x() 71 L_tmp = L_add(L_tmp, vo_L_mult(*p1++, *p2++)); in cor_h_x() 82 p2 = &h[0]; in cor_h_x() 84 L_tmp = L_add(L_tmp, vo_L_mult(*p1++, *p2++)); in cor_h_x() 95 p2 = &h[0]; in cor_h_x() 97 L_tmp = L_add(L_tmp, vo_L_mult(*p1++, *p2++)); in cor_h_x()
|
D | autocorr.c | 43 Word16 *p1,*p2,*p3; in Autocorr() local 111 p2 = y + (2*i)-1; in Autocorr() 113 L_sum1 += *p1 * *p2++; in Autocorr() 114 L_sum += *p1++ * *p2; in Autocorr() 117 L_sum1 += *p1 * *p2++; in Autocorr()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | bugdroid.rscript | 29 static float pillDistance(float3 p1, float3 p2, float3 img) { 31 if (dot(p2 - p1, img - p1) > 0 && dot(p1 - p2, img - p2) > 0) { 32 return length(cross(img - p1, img - p2)) / length(p2 - p1); 34 return min(distance(p1, img), distance(p2, img)); 37 static short pill(float3 p1, float3 p2, float rad, short max, float3 img) { 38 return (short) (max * sigmoid(pillDistance(p1, p2, img) - rad)); 41 static short cogPill(float3 p1, float3 p2, float rad, short max, float3 img) { 42 float3 vec = (p1 + p2) / 2 - img; 45 * sigmoid(pillDistance(p1, p2, img) - rad * (1 + angle / 2))); 48 static float cylinderDistance(float3 p1, float3 p2, float3 img) { [all …]
|
/frameworks/native/libs/binder/tests/ |
D | binderParcelUnitTest.cpp | 119 Parcel p2; in TEST() local 120 p2.writeInt32(2); in TEST() 122 ASSERT_EQ(OK, p1.appendFrom(&p2, 0, p2.dataSize())); in TEST() 127 p2.setDataPosition(0); in TEST() 128 ASSERT_EQ(2, p2.readInt32()); in TEST() 134 Parcel p2; in TEST() local 135 p2.writeInt32(2); in TEST() 137 ASSERT_EQ(OK, p1.appendFrom(&p2, 0, p2.dataSize())); in TEST() 143 p2.setDataPosition(0); in TEST() 144 ASSERT_EQ(2, p2.readInt32()); in TEST() [all …]
|
/frameworks/av/media/module/codecs/m4v_h263/enc/src/ |
D | sad_halfpel.cpp | 68 UChar *kk, *p1, *p2; in HalfPel1_SAD_MB() local 74 if (ih) p2 = ref + 1; in HalfPel1_SAD_MB() 75 else p2 = ref + width; in HalfPel1_SAD_MB() 83 temp = ((p1[j] + p2[j] + 1) >> 1) - *kk++; in HalfPel1_SAD_MB() 90 p2 += width; in HalfPel1_SAD_MB() 100 UChar *kk, *p1, *p2, *p3, *p4; in HalfPel2_SAD_MB() local 104 p2 = ref + 1; in HalfPel2_SAD_MB() 114 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; in HalfPel2_SAD_MB() 123 p2 += width; in HalfPel2_SAD_MB() 142 UChar *kk, *p1, *p2; in HalfPel1_SAD_Blk() local [all …]
|
D | me_utils.cpp | 113 UChar *p1, *p2, *p3, *p4; in GetHalfPelMBRegion_C() local 119 p2 = cand - lx; in GetHalfPelMBRegion_C() 127 *hmem1++ = ((*p1++) + *p2 + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 128 *hmem1++ = ((*p2++) + *p4 + 1) >> 1; in GetHalfPelMBRegion_C() 133 *hmem1++ = ((*p1++) + (*p2++) + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 138 p2 += offset; in GetHalfPelMBRegion_C() 145 *hmem1++ = ((*p1++) + *p2 + (*p3++) + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 146 *hmem1++ = ((*p2++) + (*p4++) + 1) >> 1; in GetHalfPelMBRegion_C() 149 *hmem1 = (*p1 + *p2 + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 169 UChar *p1, *p2, *p3, *p4; in GetHalfPelBlkRegion() local [all …]
|
/frameworks/minikin/libs/minikin/ |
D | GraphemeBreak.cpp | 84 int32_t p2 = tailoredGraphemeClusterBreak(c2); in isGraphemeBreak() local 86 if (p1 == U_GCB_CR && p2 == U_GCB_LF) { in isGraphemeBreak() 94 if (p2 == U_GCB_CONTROL || p2 == U_GCB_CR || p2 == U_GCB_LF) { in isGraphemeBreak() 98 if (p1 == U_GCB_L && (p2 == U_GCB_L || p2 == U_GCB_V || p2 == U_GCB_LV || p2 == U_GCB_LVT)) { in isGraphemeBreak() 102 if ((p1 == U_GCB_LV || p1 == U_GCB_V) && (p2 == U_GCB_V || p2 == U_GCB_T)) { in isGraphemeBreak() 106 if ((p1 == U_GCB_LVT || p1 == U_GCB_T) && p2 == U_GCB_T) { in isGraphemeBreak() 122 if (p2 == U_GCB_EXTEND || p2 == U_GCB_ZWJ || p2 == U_GCB_SPACING_MARK || p1 == U_GCB_PREPEND) { in isGraphemeBreak() 154 if (p1 == U_GCB_REGIONAL_INDICATOR && p2 == U_GCB_REGIONAL_INDICATOR) { in isGraphemeBreak()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Quad.java | 36 public Point p2; field in Quad 45 public Quad(Point p0, Point p1, Point p2, Point p3) { in Quad() argument 48 this.p2 = p2; in Quad() 55 p2.IsInUnitRange() && in IsInUnitRange() 60 return new Quad(p0.plus(t), p1.plus(t), p2.plus(t), p3.plus(t)); in translated() 64 return new Quad(p0.plus(x, y), p1.plus(x, y), p2.plus(x, y), p3.plus(x, y)); in translated() 68 return new Quad(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); in scaled() 72 return new Quad(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y)); in scaled() 76 List<Float> xs = Arrays.asList(p0.x, p1.x, p2.x, p3.x); in boundingBox() 77 List<Float> ys = Arrays.asList(p0.y, p1.y, p2.y, p3.y); in boundingBox() [all …]
|
D | Rectangle.java | 48 Point p2 = new Point(center.x - size.x/2f, center.y + size.y/2f); in fromRotatedRect() local 52 p2.rotatedAround(center, rotation), in fromRotatedRect() 56 private Rectangle(Point p0, Point p1, Point p2, Point p3) { in Rectangle() argument 57 super(p0, p1, p2, p3); in Rectangle() 74 return p2.minus(p0).length(); in getHeight() 78 return p0.plus(p1).plus(p2).plus(p3).times(0.25f); in center() 83 return new Rectangle(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); in scaled() 88 return new Rectangle(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y)); in scaled()
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | range.h | 16 Range(Eigen::Vector<T, d> p1, Eigen::Vector<T, d> p2) : p1(p1), p2(p2) {} in Range() 24 return p1 == rhs.p1 && p2 == rhs.p2; 29 Eigen::Vector<T, d> GetMaxPoint() const { return p2; } in GetMaxPoint() 31 Eigen::Vector<T, d> GetSize() const { return p2 - p1; } in GetSize() 34 Eigen::Vector<T, d> p2; member
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFReader.h | 105 static bool less(AliasInfo p1, AliasInfo p2) { in less() argument 106 if (p1.ld_value != p2.ld_value) in less() 107 return (p1.ld_value < p2.ld_value); in less() 108 if (p1.ld_binding != p2.ld_binding) { in less() 111 else if (ResolveInfo::Weak == p2.ld_binding) in less() 114 return p1.pt_alias->str() < p2.pt_alias->str(); in less() 190 static bool less(AliasInfo p1, AliasInfo p2) { in less() argument 191 if (p1.ld_value != p2.ld_value) in less() 192 return (p1.ld_value < p2.ld_value); in less() 193 if (p1.ld_binding != p2.ld_binding) { in less() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/ |
D | ApduCommand.java | 38 public final int p2; field in ApduCommand 53 ApduCommand(int channel, int cla, int ins, int p1, int p2, int p3, String cmdHex) { in ApduCommand() argument 58 this.p2 = p2; in ApduCommand() 69 + ", p2=" + p2 + ", p3=" + p3 + ", cmd=" + cmdHex + ", isEs10=" + isEs10 + ")"; in toString()
|
D | RequestBuilder.java | 50 public void addApdu(int cla, int ins, int p1, int p2, int p3, String cmdHex) { in addApdu() argument 51 mCommands.add(new ApduCommand(mChannel, cla, ins, p1, p2, p3, cmdHex)); in addApdu() 58 public void addApdu(int cla, int ins, int p1, int p2, String cmdHex) { in addApdu() argument 59 mCommands.add(new ApduCommand(mChannel, cla, ins, p1, p2, cmdHex.length() / 2, cmdHex)); in addApdu() 66 public void addApdu(int cla, int ins, int p1, int p2) { in addApdu() argument 67 mCommands.add(new ApduCommand(mChannel, cla, ins, p1, p2, 0, "")); in addApdu()
|
/frameworks/av/media/module/codecs/amrnb/enc/src/ |
D | calc_cor.cpp | 225 Word16 *p2; in comp_corr() local 244 p2 = p_scal_sig++; in comp_corr() 250 t3 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p2++), t3); in comp_corr() 251 t4 = amrnb_fxp_mac_16_by_16bb((Word32) * (p++), (Word32) * (p2), t4); in comp_corr() 255 t3 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p2++), t3); in comp_corr() 256 t4 = amrnb_fxp_mac_16_by_16bb((Word32) * (p++), (Word32) * (p2), t4); in comp_corr()
|
/frameworks/libs/binary_translation/base/ |
D | mmap_pool_test.cc | 62 char* p2 = static_cast<char*>(Pool::Alloc()); in TEST_F() local 63 ASSERT_TRUE(p2); in TEST_F() 64 p2[kBlockSize - 1] = 'b'; in TEST_F() 67 EXPECT_NE(p1, p2); in TEST_F() 78 Pool::Free(p2); in TEST_F() 80 p2[kBlockSize - 1] = 'B'; in TEST_F()
|
D | forever_pool_test.cc | 36 Foo* p2 = ForeverPool<Foo>::Alloc(); in TEST() local 37 ASSERT_TRUE(p2); in TEST() 38 EXPECT_NE(p1, p2); in TEST() 46 ForeverPool<Foo>::Free(p2); in TEST()
|
D | large_mmap_test.cc | 31 auto p2 = static_cast<uint8_t*>(MmapOrDie(kPageSize)); in TEST() local 38 EXPECT_TRUE(p2 < large_p1 || p2 > large_p2); in TEST() 44 MunmapOrDie(p2, kPageSize); in TEST()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipPinchResizingAlgorithm.java | 113 private void getCentroid(PointF p1, PointF p2, PointF centroidOut) { in getCentroid() argument 114 centroidOut.set((p2.x + p1.x) / 2, (p2.y + p1.y) / 2); in getCentroid() 117 private float dot(PointF p1, PointF p2) { in dot() argument 118 return p1.x * p2.x + p1.y * p2.y; in dot() 121 private float cross(PointF p1, PointF p2) { in cross() argument 122 return p1.x * p2.y - p1.y * p2.x; in cross()
|
/frameworks/base/core/tests/fuzzers/ParcelFuzzer/ |
D | FuzzUtils.java | 34 Parcel p2 = null; 38 p2 = Parcel.obtain(); 44 FuzzBinder.fillRandomParcel(p2, provider.consumeRemainingAsBytes()); 46 p1.appendFrom(p2, start, len); 54 p2.recycle();
|
/frameworks/compile/mclinker/unittests/ |
D | PathTest.cpp | 87 Path* p2 = new Path("ccc///////"); in TEST_F() local 89 EXPECT_TRUE(*m_pTestee == *p2); in TEST_F() 94 delete p2; in TEST_F() 99 Path* p2 = new Path("aaa//"); in TEST_F() local 102 EXPECT_TRUE(*m_pTestee != *p2); in TEST_F() 106 EXPECT_TRUE(*m_pTestee != *p2); in TEST_F() 107 delete p2; in TEST_F()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | FixedRotationFilter.java | 75 Point p2 = new Point(1.0f, 0.0f); in process() local 81 sourceRegion = new Quad(p3,p1,p4,p2); in process() 85 sourceRegion = new Quad(p4,p3,p2,p1); in process() 88 sourceRegion = new Quad(p2,p4,p1,p3); in process() 93 sourceRegion = new Quad(p1,p2,p3,p4); in process()
|