Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 1853) sorted by relevance

12345678910>>...75

/frameworks/minikin/tests/unittest/
DStringPieceTest.cpp25 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/rs/cpu_ref/
DrsCpuIntrinsics_advsimd_ColorMatrix.S77 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 …]
DrsCpuIntrinsics_advsimd_Convolve.S66 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/av/media/codecs/amrwb/enc/src/
Dconvolve.c39 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/native/libs/ui/tests/
DSize_test.cpp39 Size s(123, 456); in TEST() local
41 EXPECT_EQ(123, s.width); in TEST()
42 EXPECT_EQ(123, s.getWidth()); in TEST()
44 EXPECT_EQ(456, s.height); in TEST()
45 EXPECT_EQ(456, s.getHeight()); in TEST()
47 EXPECT_EQ(Size(123, 456), s); in TEST()
48 EXPECT_NE(Size(456, 123), s); in TEST()
66 Size s; in TEST() local
67 EXPECT_FALSE(s.isValid()); in TEST()
68 EXPECT_FALSE(s.isEmpty()); in TEST()
[all …]
/frameworks/av/media/codecs/amrnb/enc/src/
Dg_pitch.cpp315 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/av/media/codecs/amrnb/dec/src/
Dagc.cpp175 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/src/com/android/rs/unittest/
DUT_math_agree.java336 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 …]
DUT_fp16.java36 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 …]
DUT_primitives.java28 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 …]
DUT_vector.java46 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 …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_math_agree.java338 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 …]
DUT_primitives.java30 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 …]
DUT_vector.java48 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 …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java157 @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { in dumpProtoGlobalSettingsLocked() argument
159 s.dumpHistoricalOperations(p, GlobalSettingsProto.HISTORICAL_OPERATIONS); in dumpProtoGlobalSettingsLocked()
162 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked()
165 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked()
168 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked()
173 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked()
181 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked()
184 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked()
189 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked()
192 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked()
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_math_agree.java282 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 …]
DUT_vector.java31 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 …]
DUT_primitives.java31 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/
DUT_vector.java31 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 …]
DUT_primitives.java31 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/
DUT_vector.java31 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 …]
DUT_primitives.java31 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/native/services/sensorservice/
DSensorList.cpp132 forEachSensor([&result] (const Sensor& s) -> bool { in dump() argument
136 s.getHandle(), in dump()
137 s.getName().string(), in dump()
138 s.getVendor().string(), in dump()
139 s.getVersion(), in dump()
140 s.getStringType().string(), in dump()
141 s.getType(), in dump()
142 s.getRequiredPermission().size() ? s.getRequiredPermission().string() : "n/a", in dump()
143 static_cast<int>(s.getFlags())); in dump()
146 const int reportingMode = s.getReportingMode(); in dump()
[all …]
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DUT_primitives.java31 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/
DAString.cpp45 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 …]

12345678910>>...75