/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_advsimd_ColorMatrix.S | 77 dup v6.4s, v4.s[0] 78 dup v7.4s, v4.s[0] 80 vmxx_s16 \i, 1, v6.4s, v12.4h, v0.h[0] 81 vmxx_s16 \i, 2, v6.4s, v13.4h, v0.h[4] 82 vmxx_s16 \i, 4, v6.4s, v14.4h, v1.h[0] 83 vmxx_s16 \i, 8, v6.4s, v15.4h, v1.h[4] 84 vmxx2_s16 \i, 1, v7.4s, v12.8h, v0.h[0] 85 vmxx2_s16 \i, 2, v7.4s, v13.8h, v0.h[4] 86 vmxx2_s16 \i, 4, v7.4s, v14.8h, v1.h[0] 87 vmxx2_s16 \i, 8, v7.4s, v15.8h, v1.h[4] [all …]
|
D | rsCpuIntrinsics_advsimd_Convolve.S | 66 smull v8.4s, v2.4h, v0.h[0] 67 smull2 v9.4s, v2.8h, v0.h[0] 68 smlal2 v8.4s, v2.8h, v0.h[1] 69 smlal v9.4s, v3.4h, v0.h[1] 70 smlal v8.4s, v3.4h, v0.h[2] 71 smlal2 v9.4s, v3.8h, v0.h[2] 72 smlal v8.4s, v4.4h, v0.h[3] 73 smlal2 v9.4s, v4.8h, v0.h[3] 74 smlal2 v8.4s, v4.8h, v0.h[4] 75 smlal v9.4s, v5.4h, v0.h[4] [all …]
|
/frameworks/minikin/tests/unittest/ |
D | StringPieceTest.cpp | 25 StringPiece s(nullptr); in TEST() local 26 EXPECT_EQ(nullptr, s.data()); in TEST() 27 EXPECT_EQ(0u, s.size()); in TEST() 28 EXPECT_TRUE(s.empty()); in TEST() 31 StringPiece s(""); in TEST() local 32 EXPECT_NE(nullptr, s.data()); in TEST() 33 EXPECT_EQ(0u, s.size()); in TEST() 34 EXPECT_TRUE(s.empty()); in TEST() 37 StringPiece s("", 0); in TEST() local 38 EXPECT_NE(nullptr, s.data()); in TEST() [all …]
|
/frameworks/native/libs/ui/tests/ |
D | Size_test.cpp | 30 Size s(123, 456); in TEST() local 32 EXPECT_EQ(123, s.width); in TEST() 33 EXPECT_EQ(123, s.getWidth()); in TEST() 35 EXPECT_EQ(456, s.height); in TEST() 36 EXPECT_EQ(456, s.getHeight()); in TEST() 38 EXPECT_EQ(Size(123, 456), s); in TEST() 39 EXPECT_NE(Size(456, 123), s); in TEST() 57 Size s; in TEST() local 58 EXPECT_FALSE(s.isValid()); in TEST() 59 EXPECT_FALSE(s.isEmpty()); in TEST() [all …]
|
/frameworks/base/tests/net/common/java/android/net/ |
D | StaticIpConfigurationTest.java | 57 private void checkEmpty(StaticIpConfiguration s) { in checkEmpty() argument 58 assertNull(s.ipAddress); in checkEmpty() 59 assertNull(s.gateway); in checkEmpty() 60 assertNull(s.domains); in checkEmpty() 61 assertEquals(0, s.dnsServers.size()); in checkEmpty() 65 StaticIpConfiguration s = new StaticIpConfiguration(); in makeTestObject() local 66 s.ipAddress = ADDR; in makeTestObject() 67 s.gateway = GATEWAY; in makeTestObject() 68 s.dnsServers.add(DNS1); in makeTestObject() 69 s.dnsServers.add(DNS2); in makeTestObject() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | convolve.c | 39 Word32 s; in Convolve() local 47 s = vo_mult32((*tmpX++), (*tmpH--));i--; in Convolve() 50 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve() 51 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve() 52 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve() 53 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve() 56 y[n] = voround(L_shl(s, 1)); in Convolve() 62 s = vo_mult32((*tmpX++), (*tmpH--)); in Convolve() 64 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve() 69 s = L_add(s, vo_mult32((*tmpX++), (*tmpH--))); in Convolve() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | g_pitch.cpp | 315 Word32 s; in G_pitch() local 325 s = 0; in G_pitch() 329 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s); in G_pitch() 331 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s); in G_pitch() 333 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s); in G_pitch() 335 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s); in G_pitch() 338 if ((s >= 0) & (s < 0x40000000)) in G_pitch() 340 s <<= 1; in G_pitch() 341 s += 1; /* Avoid case of all zeros */ in G_pitch() 343 exp_yy = norm_l(s); /* Note 0<=exp_yy <= 31 */ in G_pitch() [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 92 @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { in dumpProtoGlobalSettingsLocked() argument 94 s.dumpHistoricalOperations(p, GlobalSettingsProto.HISTORICAL_OPERATIONS); in dumpProtoGlobalSettingsLocked() 97 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 100 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 103 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 108 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 116 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 119 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 124 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 127 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | agc.cpp | 175 Word32 s = 0; in energy_old() local 182 s = L_mac(s, temp, temp, pOverflow); in energy_old() 185 return(s); in energy_old() 377 Word32 s = 0; in energy_new() local 387 s = L_mac(s, in[i], in[i], pOverflow); in energy_new() 391 if (s != MAX_32) in energy_new() 394 s = s >> 4; in energy_new() 399 s = energy_old(in, l_trm, pOverflow); /* function result */ in energy_new() 402 return (s); in energy_new() 754 Word32 s; in agc() local [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_math_agree.java | 338 private void initializeValues(ScriptC_math_agree s) { in initializeValues() argument 342 s.set_x(x); in initializeValues() 343 s.set_y(y); in initializeValues() 344 s.set_result_add(x + y); in initializeValues() 345 s.set_result_sub(x - y); in initializeValues() 346 s.set_result_mul(x * y); in initializeValues() 347 s.set_result_div(x / y); in initializeValues() 417 s.set_rand_f1_0(rand_f1_0); in initializeValues() 418 s.set_rand_f2_0(pack_f2(rand_f2_0)); in initializeValues() 419 s.set_rand_f3_0(pack_f3(rand_f3_0)); in initializeValues() [all …]
|
D | UT_vector.java | 48 private boolean initializeGlobals(ScriptC_vector s) { in initializeGlobals() argument 49 Float2 F2 = s.get_f2(); in initializeGlobals() 55 s.set_f2(F2); in initializeGlobals() 57 Float3 F3 = s.get_f3(); in initializeGlobals() 64 s.set_f3(F3); in initializeGlobals() 66 Float4 F4 = s.get_f4(); in initializeGlobals() 74 s.set_f4(F4); in initializeGlobals() 76 Double2 D2 = s.get_d2(); in initializeGlobals() 82 s.set_d2(D2); in initializeGlobals() 84 Double3 D3 = s.get_d3(); in initializeGlobals() [all …]
|
D | UT_primitives.java | 30 private boolean initializeGlobals(ScriptC_primitives s) { in initializeGlobals() argument 31 float pF = s.get_floatTest(); in initializeGlobals() 35 s.set_floatTest(2.99f); in initializeGlobals() 37 double pD = s.get_doubleTest(); in initializeGlobals() 41 s.set_doubleTest(3.05); in initializeGlobals() 43 byte pC = s.get_charTest(); in initializeGlobals() 47 s.set_charTest((byte) -16); in initializeGlobals() 49 short pS = s.get_shortTest(); in initializeGlobals() 53 s.set_shortTest((short) -32); in initializeGlobals() 55 int pI = s.get_intTest(); in initializeGlobals() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_math_agree.java | 336 private void initializeValues(ScriptC_math_agree s) { in initializeValues() argument 340 s.set_x(x); in initializeValues() 341 s.set_y(y); in initializeValues() 342 s.set_result_add(x + y); in initializeValues() 343 s.set_result_sub(x - y); in initializeValues() 344 s.set_result_mul(x * y); in initializeValues() 345 s.set_result_div(x / y); in initializeValues() 415 s.set_rand_f1_0(rand_f1_0); in initializeValues() 416 s.set_rand_f2_0(pack_f2(rand_f2_0)); in initializeValues() 417 s.set_rand_f3_0(pack_f3(rand_f3_0)); in initializeValues() [all …]
|
D | UT_fp16.java | 36 private void initializeGlobals(RenderScript RS, ScriptC_fp16 s, Element e, int nDims) { in initializeGlobals() argument 52 s.set_gDimX(dimX); in initializeGlobals() 53 s.set_gDimY(nDims > 1 ? dimY : 0); in initializeGlobals() 54 s.set_gDimZ(nDims > 2 ? dimZ : 0); in initializeGlobals() 55 s.set_gAlloc(alloc); in initializeGlobals() 58 private void TestHalf(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf() argument 59 initializeGlobals(RS, s, Element.F16(RS), nDims); in TestHalf() 62 s.forEach_set_kernel_half(alloc); in TestHalf() 63 s.invoke_verify_half(); in TestHalf() 69 initializeGlobals(RS, s, Element.F16(RS), nDims); in TestHalf() [all …]
|
D | UT_vector.java | 46 private boolean initializeGlobals(ScriptC_vector s) { in initializeGlobals() argument 47 Float2 F2 = s.get_f2(); in initializeGlobals() 53 s.set_f2(F2); in initializeGlobals() 55 Float3 F3 = s.get_f3(); in initializeGlobals() 62 s.set_f3(F3); in initializeGlobals() 64 Float4 F4 = s.get_f4(); in initializeGlobals() 72 s.set_f4(F4); in initializeGlobals() 74 Double2 D2 = s.get_d2(); in initializeGlobals() 80 s.set_d2(D2); in initializeGlobals() 82 Double3 D3 = s.get_d3(); in initializeGlobals() [all …]
|
D | UT_primitives.java | 28 private boolean initializeGlobals(ScriptC_primitives s) { in initializeGlobals() argument 29 float pF = s.get_floatTest(); in initializeGlobals() 33 s.set_floatTest(2.99f); in initializeGlobals() 35 double pD = s.get_doubleTest(); in initializeGlobals() 39 s.set_doubleTest(3.05); in initializeGlobals() 41 byte pC = s.get_charTest(); in initializeGlobals() 45 s.set_charTest((byte) -16); in initializeGlobals() 47 short pS = s.get_shortTest(); in initializeGlobals() 51 s.set_shortTest((short) -32); in initializeGlobals() 53 int pI = s.get_intTest(); in initializeGlobals() [all …]
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_math_agree.java | 282 private void initializeValues(ScriptC_math_agree s) { in initializeValues() argument 286 s.set_x(x); in initializeValues() 287 s.set_y(y); in initializeValues() 288 s.set_result_add(x + y); in initializeValues() 289 s.set_result_sub(x - y); in initializeValues() 290 s.set_result_mul(x * y); in initializeValues() 291 s.set_result_div(x / y); in initializeValues() 361 s.set_rand_f1_0(rand_f1_0); in initializeValues() 362 s.set_rand_f2_0(pack_f2(rand_f2_0)); in initializeValues() 363 s.set_rand_f3_0(pack_f3(rand_f3_0)); in initializeValues() [all …]
|
D | UT_vector.java | 31 private boolean initializeGlobals(ScriptC_vector s) { in initializeGlobals() argument 32 Float2 F2 = s.get_f2(); in initializeGlobals() 38 s.set_f2(F2); in initializeGlobals() 40 Float3 F3 = s.get_f3(); in initializeGlobals() 47 s.set_f3(F3); in initializeGlobals() 49 Float4 F4 = s.get_f4(); in initializeGlobals() 57 s.set_f4(F4); in initializeGlobals() 59 Double2 D2 = s.get_d2(); in initializeGlobals() 65 s.set_d2(D2); in initializeGlobals() 67 Double3 D3 = s.get_d3(); in initializeGlobals() [all …]
|
D | UT_primitives.java | 31 private boolean initializeGlobals(ScriptC_primitives s) { in initializeGlobals() argument 32 float pF = s.get_floatTest(); in initializeGlobals() 36 s.set_floatTest(2.99f); in initializeGlobals() 38 double pD = s.get_doubleTest(); in initializeGlobals() 42 s.set_doubleTest(3.05); in initializeGlobals() 44 byte pC = s.get_charTest(); in initializeGlobals() 48 s.set_charTest((byte)-16); in initializeGlobals() 50 short pS = s.get_shortTest(); in initializeGlobals() 54 s.set_shortTest((short)-32); in initializeGlobals() 56 int pI = s.get_intTest(); in initializeGlobals() [all …]
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | UT_vector.java | 31 private boolean initializeGlobals(ScriptC_vector s) { in initializeGlobals() argument 32 Float2 F2 = s.get_f2(); in initializeGlobals() 38 s.set_f2(F2); in initializeGlobals() 40 Float3 F3 = s.get_f3(); in initializeGlobals() 47 s.set_f3(F3); in initializeGlobals() 49 Float4 F4 = s.get_f4(); in initializeGlobals() 57 s.set_f4(F4); in initializeGlobals() 59 Double2 D2 = s.get_d2(); in initializeGlobals() 65 s.set_d2(D2); in initializeGlobals() 67 Double3 D3 = s.get_d3(); in initializeGlobals() [all …]
|
D | UT_primitives.java | 31 private boolean initializeGlobals(ScriptC_primitives s) { in initializeGlobals() argument 32 float pF = s.get_floatTest(); in initializeGlobals() 36 s.set_floatTest(2.99f); in initializeGlobals() 38 double pD = s.get_doubleTest(); in initializeGlobals() 42 s.set_doubleTest(3.05); in initializeGlobals() 44 byte pC = s.get_charTest(); in initializeGlobals() 48 s.set_charTest((byte)-16); in initializeGlobals() 50 short pS = s.get_shortTest(); in initializeGlobals() 54 s.set_shortTest((short)-32); in initializeGlobals() 56 int pI = s.get_intTest(); in initializeGlobals() [all …]
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | UT_vector.java | 31 private boolean initializeGlobals(ScriptC_vector s) { in initializeGlobals() argument 32 Float2 F2 = s.get_f2(); in initializeGlobals() 38 s.set_f2(F2); in initializeGlobals() 40 Float3 F3 = s.get_f3(); in initializeGlobals() 47 s.set_f3(F3); in initializeGlobals() 49 Float4 F4 = s.get_f4(); in initializeGlobals() 57 s.set_f4(F4); in initializeGlobals() 59 Double2 D2 = s.get_d2(); in initializeGlobals() 65 s.set_d2(D2); in initializeGlobals() 67 Double3 D3 = s.get_d3(); in initializeGlobals() [all …]
|
D | UT_primitives.java | 31 private boolean initializeGlobals(ScriptC_primitives s) { in initializeGlobals() argument 32 float pF = s.get_floatTest(); in initializeGlobals() 36 s.set_floatTest(2.99f); in initializeGlobals() 38 double pD = s.get_doubleTest(); in initializeGlobals() 42 s.set_doubleTest(3.05); in initializeGlobals() 44 byte pC = s.get_charTest(); in initializeGlobals() 48 s.set_charTest((byte)-16); in initializeGlobals() 50 short pS = s.get_shortTest(); in initializeGlobals() 54 s.set_shortTest((short)-32); in initializeGlobals() 56 int pI = s.get_intTest(); in initializeGlobals() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AString.cpp | 45 AString::AString(const char *s) in AString() argument 49 if (!s) { in AString() 53 setTo(s); in AString() 57 AString::AString(const char *s, size_t size) in AString() argument 61 if (!s) { in AString() 65 setTo(s, size); in AString() 114 void AString::setTo(const char *s) { in setTo() argument 115 setTo(s, strlen(s)); in setTo() 118 void AString::setTo(const char *s, size_t size) { in setTo() argument 120 append(s, size); in setTo() [all …]
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | UT_primitives.java | 31 private boolean initializeGlobals(ScriptC_primitives s) { in initializeGlobals() argument 32 float pF = s.get_floatTest(); in initializeGlobals() 36 s.set_floatTest(2.99f); in initializeGlobals() 38 double pD = s.get_doubleTest(); in initializeGlobals() 42 s.set_doubleTest(3.05); in initializeGlobals() 44 byte pC = s.get_charTest(); in initializeGlobals() 48 s.set_charTest((byte)-16); in initializeGlobals() 50 short pS = s.get_shortTest(); in initializeGlobals() 54 s.set_shortTest((short)-32); in initializeGlobals() 56 int pI = s.get_intTest(); in initializeGlobals() [all …]
|