/art/test/660-checker-simd-sad/src/ |
D | SimdSadShort3.java | 56 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 …]
|
D | SimdSadShort.java | 41 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 …]
|
/art/test/004-StackWalk/src/ |
D | Main.java | 64 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/ |
D | TestByte.java | 82 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 …]
|
D | TestCharShort.java | 61 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 …]
|
D | TestVarious.java | 69 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/ |
D | StringIndexOfBenchmark.java | 22 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/ |
D | expected-stdout.txt | 1 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/ |
D | memory_tool.h | 34 # 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)
|
D | indenter.h | 40 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 …]
|
D | utils.cc | 236 void Split(const StrIn& s, char separator, std::vector<Str>* out_result) { in Split() argument 237 auto split = SplitString(std::string_view(s), separator); in Split() 246 template void Split(const char *const& s, char separator, std::vector<std::string>* out_result); 247 template void Split(const std::string& s, char separator, std::vector<std::string>* out_result); 248 template void Split(const char *const& s, char separator, std::vector<std::string_view>* out_result… 249 template void Split(const std::string_view& s, 254 void Split(const Str& s, char separator, size_t len, Str* out_result) { in Split() argument 256 auto split = SplitString(std::string_view(s), separator); in Split() 268 template void Split(const std::string& s, char separator, size_t len, std::string* out_result); 269 template void Split(const std::string_view& s, [all …]
|
/art/test/569-checker-pattern-replacement/src/ |
D | Main.java | 34 public static void nop(Second s) { in nop() argument 35 s.nop(); in nop() 71 public static long returnArg1(Second s, long value) { in returnArg1() argument 72 return s.returnArg1(value); in returnArg1() 105 public static int return7(Second s) { in return7() argument 106 return s.return7(null); in return7() 122 public static float return42f(Second s) { in return42f() argument 123 return s.return42f(); in return42f() 156 public static Object returnNull(Second s) { in returnNull() argument 157 return s.returnNull(); in returnNull() [all …]
|
/art/runtime/ |
D | intern_table.cc | 105 ObjPtr<mirror::String> InternTable::LookupWeak(Thread* self, ObjPtr<mirror::String> s) { in LookupWeak() argument 106 DCHECK(s != nullptr); in LookupWeak() 108 uint32_t hash = static_cast<uint32_t>(s->GetHashCode()); in LookupWeak() 110 return weak_interns_.Find(s, hash); in LookupWeak() 113 ObjPtr<mirror::String> InternTable::LookupStrong(Thread* self, ObjPtr<mirror::String> s) { in LookupStrong() argument 114 DCHECK(s != nullptr); in LookupStrong() 116 uint32_t hash = static_cast<uint32_t>(s->GetHashCode()); in LookupStrong() 118 return strong_interns_.Find(s, hash); in LookupStrong() 129 ObjPtr<mirror::String> InternTable::LookupWeakLocked(ObjPtr<mirror::String> s) { in LookupWeakLocked() argument 130 DCHECK(s != nullptr); in LookupWeakLocked() [all …]
|
/art/test/449-checker-bce-rem/src/ |
D | Main.java | 215 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/ |
D | Main.java | 30 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/ |
D | descriptors_names.cc | 99 std::string MangleForJni(const std::string& s) { in MangleForJni() argument 101 size_t char_count = CountModifiedUtf8Chars(s.c_str()); in MangleForJni() 102 const char* cp = &s[0]; in MangleForJni() 271 bool IsValidMemberName(const char* s) { in IsValidMemberName() argument 274 switch (*s) { in IsValidMemberName() 280 s++; in IsValidMemberName() 285 switch (*s) { in IsValidMemberName() 289 return angle_name && s[1] == '\0'; in IsValidMemberName() 292 if (!IsValidPartOfMemberNameUtf8(&s)) { in IsValidMemberName() 300 static bool IsValidClassName(const char* s) { in IsValidClassName() argument [all …]
|
/art/test/003-omnibus-opcodes/src/ |
D | InternedString.java | 29 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/ |
D | Main.java | 509 for (String s : suffixes) { in testIndexOf() 510 String full = p + c + s; in testIndexOf() 763 public static boolean $noinline$equalsConstString0(String s) { in $noinline$equalsConstString0() argument 764 return s.equals(""); in $noinline$equalsConstString0() 767 public static boolean $noinline$equalsConstString3(String s) { in $noinline$equalsConstString3() argument 768 return s.equals("012"); in $noinline$equalsConstString3() 771 public static boolean $noinline$equalsConstString7(String s) { in $noinline$equalsConstString7() argument 772 return s.equals("0123456"); in $noinline$equalsConstString7() 775 public static boolean $noinline$equalsConstString12(String s) { in $noinline$equalsConstString12() argument 776 return s.equals("012345678901"); in $noinline$equalsConstString12() [all …]
|
/art/test/569-checker-pattern-replacement/src-multidex/ |
D | Second.java | 66 public static int staticGetInstanceIntField(Second s) { in staticGetInstanceIntField() argument 67 return s.instanceIntField; in staticGetInstanceIntField() 70 public double getInstanceDoubleFieldFromParam(Second s) { in getInstanceDoubleFieldFromParam() argument 71 return s.instanceDoubleField; in getInstanceDoubleFieldFromParam() 87 public static void staticSetInstanceLongField(Second s, long value) { in staticSetInstanceLongField() argument 88 s.instanceLongField = value; in staticSetInstanceLongField() 91 public void setInstanceLongFieldThroughParam(Second s, long value) { in setInstanceLongFieldThroughParam() argument 92 s.instanceLongField = value; in setInstanceLongFieldThroughParam()
|
/art/tools/ |
D | method-to-descriptor.py | 35 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/ |
D | Main.java | 89 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/test/536-checker-intrinsic-optimization/src/ |
D | Main.java | 163 static public int $opt$noinline$getStringLength(String s) { in $opt$noinline$getStringLength() argument 164 return s.length(); in $opt$noinline$getStringLength() 178 static public boolean $opt$noinline$isStringEmpty(String s) { in $opt$noinline$isStringEmpty() argument 179 return s.isEmpty(); in $opt$noinline$isStringEmpty() 194 static public char $opt$noinline$stringCharAt(String s, int pos) { in $opt$noinline$stringCharAt() argument 195 return s.charAt(pos); in $opt$noinline$stringCharAt() 210 static public char $opt$noinline$stringCharAtCatch(String s, int pos) { in $opt$noinline$stringCharAtCatch() argument 212 return s.charAt(pos); in $opt$noinline$stringCharAtCatch() 232 static public char $opt$noinline$stringCharAtCatchPhiReturn(String s, int pos) { in $opt$noinline$stringCharAtCatchPhiReturn() argument 235 result = s.charAt(pos); in $opt$noinline$stringCharAtCatchPhiReturn() [all …]
|
/art/test/697-checker-string-append/src/ |
D | Main.java | 115 public static String $noinline$appendStringAndLong(String s, long l) { in $noinline$appendStringAndLong() argument 116 return new StringBuilder().append(s).append(l).toString(); in $noinline$appendStringAndLong() 177 public static String $noinline$appendStringAndInt(String s, int i) { in $noinline$appendStringAndInt() argument 178 return new StringBuilder().append(s).append(i).toString(); in $noinline$appendStringAndInt() 209 public static String $noinline$appendSLILC(String s, in $noinline$appendSLILC() argument 214 return new StringBuilder().append(s) in $noinline$appendSLILC() 238 public static String $inline$testInlineInner(StringBuilder sb, String s, int i) { in $inline$testInlineInner() argument 239 return sb.append(s).append(i).toString(); in $inline$testInlineInner() 247 public static String $noinline$testInlineOuter(String s, int i) { in $noinline$testInlineOuter() argument 249 return $inline$testInlineInner(sb, s, i); in $noinline$testInlineOuter() [all …]
|
/art/compiler/optimizing/ |
D | side_effects_test.cc | 181 SideEffects s = SideEffects::None(); in TEST() local 184 s = s.Union(SideEffects::FieldWriteOfType(type, /* is_volatile= */ false)); in TEST() 185 s = s.Union(SideEffects::ArrayWriteOfType(type)); in TEST() 186 s = s.Union(SideEffects::FieldReadOfType(type, /* is_volatile= */ false)); in TEST() 187 s = s.Union(SideEffects::ArrayReadOfType(type)); in TEST() 189 EXPECT_TRUE(s.DoesAllReadWrite()); in TEST() 256 SideEffects s = SideEffects::None(); in TEST() local 257 s = s.Union(SideEffects::FieldWriteOfType(DataType::Type::kUint16, /* is_volatile= */ false)); in TEST() 258 s = s.Union(SideEffects::FieldWriteOfType(DataType::Type::kInt64, /* is_volatile= */ false)); in TEST() 259 s = s.Union(SideEffects::ArrayWriteOfType(DataType::Type::kInt16)); in TEST() [all …]
|
/art/test/921-hello-failure/src/ |
D | Iface4.java | 18 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
|