Home
last modified time | relevance | path

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

12345678910>>...45

/art/test/660-checker-simd-sad/src/
DSimdSadShort3.java56 private static int sadShort2IntParamRight(short[] s, short param) { in sadShort2IntParamRight() argument
58 for (int i = 0; i < s.length; i++) { in sadShort2IntParamRight()
59 sad += Math.abs(s[i] - param); in sadShort2IntParamRight()
96 private static int sadShort2IntParamLeft(short[] s, short param) { in sadShort2IntParamLeft() argument
98 for (int i = 0; i < s.length; i++) { in sadShort2IntParamLeft()
99 sad += Math.abs(param - s[i]); in sadShort2IntParamLeft()
136 private static int sadShort2IntConstRight(short[] s) { in sadShort2IntConstRight() argument
138 for (int i = 0; i < s.length; i++) { in sadShort2IntConstRight()
139 sad += Math.abs(s[i] - 32767); in sadShort2IntConstRight()
176 private static int sadShort2IntConstLeft(short[] s) { in sadShort2IntConstLeft() argument
[all …]
DSimdSadShort.java41 short s = s1[i]; in sadShort2ShortAlt() local
43 sad += s >= p ? s - p : p - s; in sadShort2ShortAlt()
52 short s = s1[i]; in sadShort2ShortAlt2() local
54 int x = s - p; in sadShort2ShortAlt2()
136 short s = s1[i]; in sadShort2IntAlt() local
138 sad += s >= p ? s - p : p - s; in sadShort2IntAlt()
178 short s = s1[i]; in sadShort2IntAlt2() local
180 int x = s - p; in sadShort2IntAlt2()
220 private static int sadShort2IntConstant1(short[] s) { in sadShort2IntConstant1() argument
222 for (int i = 0; i < s.length; i++) { in sadShort2IntConstant1()
[all …]
DSimdSadByte.java37 byte s = b1[i]; in sadByte2ByteAlt()
39 sad += s >= p ? s - p : p - s; in sadByte2ByteAlt()
48 byte s = b1[i]; in sadByte2ByteAlt2()
50 int x = s - p; in sadByte2ByteAlt2()
70 byte s = b1[i]; in sadByte2ShortAlt()
72 sad += s >= p ? s - p : p - s; in sadByte2ShortAlt()
81 byte s = b1[i]; in sadByte2ShortAlt2()
83 int x = s - p; in sadByte2ShortAlt2()
165 byte s = b1[i]; in sadByte2IntAlt()
167 sad += s >= p ? s - p : p - s; in sadByte2IntAlt()
[all …]
/art/test/004-StackWalk/src/
DMain.java64 String s = new String(); in shlemiel() local
65 s += s0; in shlemiel()
66 s += s1; in shlemiel()
67 s += s2; in shlemiel()
68 s += s3; in shlemiel()
69 s += s4; in shlemiel()
70 s += s5; in shlemiel()
71 s += s6; in shlemiel()
72 s += s7; in shlemiel()
73 s += s8; in shlemiel()
[all …]
/art/test/684-checker-simd-dotprod/src/other/
DTestByte.java82 int s = 1; in testDotProdSimple() local
85 s += temp; in testDotProdSimple()
87 return s - 1; in testDotProdSimple()
144 int s = 1; in testDotProdComplex() local
147 s += temp; in testDotProdComplex()
149 return s - 1; in testDotProdComplex()
207 int s = 1; in testDotProdSimpleUnsigned() local
210 s += temp; in testDotProdSimpleUnsigned()
212 return s - 1; in testDotProdSimpleUnsigned()
269 int s = 1; in testDotProdComplexUnsigned() local
[all …]
DTestCharShort.java61 int s = 1; in testDotProdSimple() local
64 s += temp; in testDotProdSimple()
66 return s - 1; in testDotProdSimple()
111 int s = 1; in testDotProdComplex() local
114 s += temp; in testDotProdComplex()
116 return s - 1; in testDotProdComplex()
154 int s = 1; in testDotProdSimpleUnsigned() local
157 s += temp; in testDotProdSimpleUnsigned()
159 return s - 1; in testDotProdSimpleUnsigned()
204 int s = 1; in testDotProdComplexUnsigned() local
[all …]
DTestVarious.java69 int s = 1; in testDotProdConstRight() local
72 s += temp; in testDotProdConstRight()
74 return s; in testDotProdConstRight()
122 int s = 1; in testDotProdConstLeft() local
125 s += temp; in testDotProdConstLeft()
127 return s; in testDotProdConstLeft()
184 int s = 1; in testDotProdLoopInvariantConvRight() local
187 s += temp; in testDotProdLoopInvariantConvRight()
189 return s; in testDotProdLoopInvariantConvRight()
195 int s = 1; in testDotProdByteToChar() local
[all …]
/art/benchmark/string-indexof/src/
DStringIndexOfBenchmark.java22 String s = string36; in timeIndexOf0() local
24 $noinline$indexOf(s, c); in timeIndexOf0()
30 String s = string36; in timeIndexOf1() local
32 $noinline$indexOf(s, c); in timeIndexOf1()
38 String s = string36; in timeIndexOf2() local
40 $noinline$indexOf(s, c); in timeIndexOf2()
46 String s = string36; in timeIndexOf3() local
48 $noinline$indexOf(s, c); in timeIndexOf3()
54 String s = string36; in timeIndexOf4() local
56 $noinline$indexOf(s, c); in timeIndexOf4()
[all …]
/art/test/478-checker-clinit-check-pruning/
Dexpected-stdout.txt1 Main$ClassWithClinit1's static initializer
2 Main$ClassWithClinit2's static initializer
3 Main$ClassWithClinit3Static's static initializer
4 Main$ClassWithClinit3Instance's static initializer
5 Main$ClassWithClinit4Static's static initializer
6 Main$ClassWithClinit4Instance's static initializer
7 Main$ClassWithClinit5's static initializer
8 Main$SubClassOfClassWithoutClinit5's static initializer
9 Main$ClassWithClinit6's static initializer
10 Main$SubClassOfClassWithoutClinit6's static initializer
[all …]
/art/libartbase/base/
Dmemory_tool.h34 # define MEMORY_TOOL_MAKE_NOACCESS(p, s) __asan_poison_memory_region(p, s) argument
35 # define MEMORY_TOOL_MAKE_UNDEFINED(p, s) __asan_unpoison_memory_region(p, s) argument
36 # define MEMORY_TOOL_MAKE_DEFINED(p, s) __asan_unpoison_memory_region(p, s) argument
39 # define MEMORY_TOOL_MAKE_NOACCESS(p, s) do { (void)(p); (void)(s); } while (0)
40 # define MEMORY_TOOL_MAKE_UNDEFINED(p, s) do { (void)(p); (void)(s); } while (0)
41 # define MEMORY_TOOL_MAKE_DEFINED(p, s) do { (void)(p); (void)(s); } while (0)
56 # define MEMORY_TOOL_MAKE_NOACCESS(p, s) do { (void)(p); (void)(s); } while (0)
57 # define MEMORY_TOOL_MAKE_UNDEFINED(p, s) do { (void)(p); (void)(s); } while (0)
58 # define MEMORY_TOOL_MAKE_DEFINED(p, s) do { (void)(p); (void)(s); } while (0)
Dindenter.h40 std::streamsize xsputn(const char* s, std::streamsize n) override { in xsputn() argument
42 const char* eol = static_cast<const char*>(memchr(s, '\n', n)); in xsputn()
44 size_t to_write = eol + 1 - s; in xsputn()
45 Write(s, to_write); in xsputn()
46 s += to_write; in xsputn()
49 eol = static_cast<const char*>(memchr(s, '\n', n)); in xsputn()
52 Write(s, n); in xsputn()
72 void Write(const char* s, std::streamsize n) { in Write() argument
82 RawWrite(s, n); in Write()
85 void RawWrite(const char* s, std::streamsize n) { in RawWrite() argument
[all …]
/art/test/569-checker-pattern-replacement/src/
DMain.java54 public static void nop(Second s) { in nop() argument
55 s.nop(); in nop()
91 public static long returnArg1(Second s, long value) { in returnArg1() argument
92 return s.returnArg1(value); in returnArg1()
125 public static int return7(Second s) { in return7() argument
126 return s.return7(null); in return7()
142 public static float return42f(Second s) { in return42f() argument
143 return s.return42f(); in return42f()
176 public static Object returnNull(Second s) { in returnNull() argument
177 return s.returnNull(); in returnNull()
[all …]
/art/runtime/
Dintern_table.cc106 ObjPtr<mirror::String> InternTable::LookupWeak(Thread* self, ObjPtr<mirror::String> s) { in LookupWeak() argument
107 DCHECK(s != nullptr); in LookupWeak()
109 uint32_t hash = static_cast<uint32_t>(s->GetHashCode()); in LookupWeak()
111 return weak_interns_.Find(s, hash); in LookupWeak()
114 ObjPtr<mirror::String> InternTable::LookupStrong(Thread* self, ObjPtr<mirror::String> s) { in LookupStrong() argument
115 DCHECK(s != nullptr); in LookupStrong()
117 uint32_t hash = static_cast<uint32_t>(s->GetHashCode()); in LookupStrong()
119 return strong_interns_.Find(s, hash); in LookupStrong()
130 ObjPtr<mirror::String> InternTable::LookupWeakLocked(ObjPtr<mirror::String> s) { in LookupWeakLocked() argument
131 DCHECK(s != nullptr); in LookupWeakLocked()
[all …]
/art/test/449-checker-bce-rem/src/
DMain.java215 private static int $noinline$NoRem01(int v, int s) { in $noinline$NoRem01() argument
219 int b = s - a; in $noinline$NoRem01()
242 private static int $noinline$NoRem02(int v, int s) { in $noinline$NoRem02() argument
246 int a = q * s; in $noinline$NoRem02()
270 private static int $noinline$NoRem03(int v, int s) { in $noinline$NoRem03() argument
274 int a = q + s; in $noinline$NoRem03()
300 private static int $noinline$NoRem04(int v, int s) { in $noinline$NoRem04() argument
304 int t = q << s; in $noinline$NoRem04()
331 private static int $noinline$NoRem05(int v, int s) { in $noinline$NoRem05() argument
335 int t = s << 1; in $noinline$NoRem05()
[all …]
/art/test/ProfileTestMultiDex/
DMain.java30 public int inlineMonomorphic(Super s) { in inlineMonomorphic() argument
31 return s.getValue(); in inlineMonomorphic()
34 public int inlinePolymorphic(Super s) { in inlinePolymorphic() argument
35 return s.getValue(); in inlinePolymorphic()
38 public int inlineMegamorphic(Super s) { in inlineMegamorphic() argument
39 return s.getValue(); in inlineMegamorphic()
42 public int inlineMissingTypes(Super s) { in inlineMissingTypes() argument
43 return s.getValue(); in inlineMissingTypes()
46 public int noInlineCache(Super s) { in noInlineCache() argument
47 return s.getValue(); in noInlineCache()
[all …]
/art/libdexfile/dex/
Ddescriptors_names.cc171 std::string MangleForJni(const std::string& s) { in MangleForJni() argument
173 size_t char_count = CountModifiedUtf8Chars(s.c_str()); in MangleForJni()
174 const char* cp = &s[0]; in MangleForJni()
341 bool IsValidMemberName(const char* s) { in IsValidMemberName() argument
344 switch (*s) { in IsValidMemberName()
350 s++; in IsValidMemberName()
355 switch (*s) { in IsValidMemberName()
359 return angle_name && s[1] == '\0'; in IsValidMemberName()
362 if (!IsValidPartOfMemberNameUtf8(&s)) { in IsValidMemberName()
370 static bool IsValidClassName(const char* s) { in IsValidClassName() argument
[all …]
/art/test/003-omnibus-opcodes/src/
DInternedString.java29 String s = "blah"; in makeWeakString() local
30 s = s + s; in makeWeakString()
31 WeakReference<String> strRef = new WeakReference<String>(s.intern()); in makeWeakString()
51 String s = CONST; in testImmortalInternedString() local
53 strRef = new WeakReference<String>(s.intern()); in testImmortalInternedString()
55 s = ""; in testImmortalInternedString()
/art/test/021-string2/src/
DMain.java510 for (String s : suffixes) { in testIndexOf()
511 String full = p + c + s; in testIndexOf()
769 public static boolean $noinline$equalsConstString0(String s) { in $noinline$equalsConstString0() argument
770 return s.equals(""); in $noinline$equalsConstString0()
773 public static boolean $noinline$equalsConstString3(String s) { in $noinline$equalsConstString3() argument
774 return s.equals("012"); in $noinline$equalsConstString3()
777 public static boolean $noinline$equalsConstString7(String s) { in $noinline$equalsConstString7() argument
778 return s.equals("0123456"); in $noinline$equalsConstString7()
781 public static boolean $noinline$equalsConstString12(String s) { in $noinline$equalsConstString12() argument
782 return s.equals("012345678901"); in $noinline$equalsConstString12()
[all …]
/art/test/569-checker-pattern-replacement/src-multidex/
DSecond.java71 public static int staticGetInstanceIntField(Second s) { in staticGetInstanceIntField() argument
72 return s.instanceIntField; in staticGetInstanceIntField()
75 public double getInstanceDoubleFieldFromParam(Second s) { in getInstanceDoubleFieldFromParam() argument
76 return s.instanceDoubleField; in getInstanceDoubleFieldFromParam()
92 public static void staticSetInstanceLongField(Second s, long value) { in staticSetInstanceLongField() argument
93 s.instanceLongField = value; in staticSetInstanceLongField()
96 public void setInstanceLongFieldThroughParam(Second s, long value) { in setInstanceLongFieldThroughParam() argument
97 s.instanceLongField = value; in setInstanceLongFieldThroughParam()
/art/tools/
Dmethod-to-descriptor.py35 def readDescriptor(s): argument
37 if s[0] == "[":
38 inner, rest = readDescriptor(s[1:])
40 elif s[0] == "L":
41 type_end = s.index(";")
42 return s[:type_end + 1], s[type_end + 1:]
44 assert s[0] in {"B", "C", "D", "F", "I", "J", "S", "Z", "V"}, s[0]
45 return s[0], s[1:]
/art/test/450-checker-types/src/
DMain.java89 Super s = new SubclassA(); in testSimpleRemove() local
90 ((SubclassA)s).$noinline$g(); in testSimpleRemove()
98 public void testSimpleKeep(Super s) { in testSimpleKeep() argument
99 ((SubclassA)s).$noinline$f(); in testSimpleKeep()
108 Object s = SubclassA.class; in testClassRemove() local
109 return ((Class<?>)s).getName(); in testClassRemove()
118 Object s = SubclassA.class; in testClassKeep() local
119 return ((SubclassA)s).$noinline$h(); in testClassKeep()
128 Super s; in testIfRemove() local
130 s = new SubclassA(); in testIfRemove()
[all …]
/art/compiler/optimizing/
Dside_effects_test.cc182 SideEffects s = SideEffects::None(); in TEST() local
185 s = s.Union(SideEffects::FieldWriteOfType(type, /* is_volatile= */ false)); in TEST()
186 s = s.Union(SideEffects::ArrayWriteOfType(type)); in TEST()
187 s = s.Union(SideEffects::FieldReadOfType(type, /* is_volatile= */ false)); in TEST()
188 s = s.Union(SideEffects::ArrayReadOfType(type)); in TEST()
190 EXPECT_TRUE(s.DoesAllReadWrite()); in TEST()
257 SideEffects s = SideEffects::None(); in TEST() local
258 s = s.Union(SideEffects::FieldWriteOfType(DataType::Type::kUint16, /* is_volatile= */ false)); in TEST()
259 s = s.Union(SideEffects::FieldWriteOfType(DataType::Type::kInt64, /* is_volatile= */ false)); in TEST()
260 s = s.Union(SideEffects::ArrayWriteOfType(DataType::Type::kInt16)); in TEST()
[all …]
/art/test/697-checker-string-append/src/
DMain.java118 public static String $noinline$appendStringAndLong(String s, long l) { in $noinline$appendStringAndLong() argument
119 return new StringBuilder().append(s).append(l).toString(); in $noinline$appendStringAndLong()
180 public static String $noinline$appendStringAndInt(String s, int i) { in $noinline$appendStringAndInt() argument
181 return new StringBuilder().append(s).append(i).toString(); in $noinline$appendStringAndInt()
240 public static String $noinline$appendStringAndFloat(String s, float f) { in $noinline$appendStringAndFloat() argument
241 return new StringBuilder().append(s).append(f).toString(); in $noinline$appendStringAndFloat()
306 public static String $noinline$appendStringAndDouble(String s, double d) { in $noinline$appendStringAndDouble() argument
307 return new StringBuilder().append(s).append(d).toString(); in $noinline$appendStringAndDouble()
365 public static String $noinline$appendSLILC(String s, in $noinline$appendSLILC() argument
370 return new StringBuilder().append(s) in $noinline$appendSLILC()
[all …]
/art/test/536-checker-intrinsic-optimization/src/
DMain.java207 static public int $opt$noinline$getStringLength(String s) { in $opt$noinline$getStringLength() argument
208 return s.length(); in $opt$noinline$getStringLength()
222 static public boolean $opt$noinline$isStringEmpty(String s) { in $opt$noinline$isStringEmpty() argument
223 return s.isEmpty(); in $opt$noinline$isStringEmpty()
238 static public char $opt$noinline$stringCharAt(String s, int pos) { in $opt$noinline$stringCharAt() argument
239 return s.charAt(pos); in $opt$noinline$stringCharAt()
254 static public char $opt$noinline$stringCharAtCatch(String s, int pos) { in $opt$noinline$stringCharAtCatch() argument
256 return s.charAt(pos); in $opt$noinline$stringCharAtCatch()
276 static public char $opt$noinline$stringCharAtCatchPhiReturn(String s, int pos) { in $opt$noinline$stringCharAtCatchPhiReturn() argument
279 result = s.charAt(pos); in $opt$noinline$stringCharAtCatchPhiReturn()
[all …]
/art/test/921-hello-failure/src/
DIface4.java18 default void sayHiTwice(String s) { in sayHiTwice() argument
19 sayHi(s); in sayHiTwice()
20 sayHi(s); in sayHiTwice()
22 void sayHi(String s); in sayHi() argument

12345678910>>...45