Searched defs:string (Results 1 - 25 of 40) sorted by last modified time

12

/art/tools/ahat/src/main/com/android/ahat/
H A DDoc.java33 void menu(DocString string); argument
43 void println(DocString string); argument
48 void big(DocString string); argument
H A DHtmlDoc.java56 public void menu(DocString string) { argument
57 ps.format("<div class=\"menu\">%s</div>", string.html());
68 public void println(DocString string) { argument
69 ps.print(string.html());
/art/tools/
H A Danalyze-init-failures.py23 import string namespace
H A Dgenerate_operator_out.py22 import string namespace
/art/tools/dexfuzz/src/dexfuzz/program/
H A DIdCreator.java117 Log.errorAndQuit("Did not create necessary descriptor string before finding "
131 private int findStringDataInsertionPoint(String string) { argument
134 if (stringData.getSize() > 0 && stringData.getString().compareTo(string) >= 0) {
182 // Search for (or create) the string representing the method name.
261 // Search for (or create) the string representing the class descriptor.
321 private int createString(String string) { argument
329 int newStringIdx = findStringDataInsertionPoint(string);
333 newStringData.setSize(string.length());
334 newStringData.setString(string);
369 string, newStringId
379 findString(String string) argument
396 findOrCreateString(String string) argument
[all...]
/art/test/utils/python/testgen/
H A Dutils.py23 import string namespace
34 map(lambda n: itertools.product(string.ascii_lowercase, repeat=n),
46 Takes a string returns the same string sans empty lines
/art/test/913-heaps/
H A Dheaps.cc221 std::string referrer_str;
243 std::string referree_str = StringPrintf("%" PRId64 "@%" PRId64, *tag_ptr, class_tag);
253 std::vector<std::string> GetLines() const {
254 std::vector<std::string> ret;
265 Elem(const std::string& referrer, const std::string& referree, jlong size, jint length)
269 std::string Print() const {
279 virtual std::string PrintArrowType() const = 0;
282 std::string referrer_;
283 std::string referree
380 StringElement(const std::string& referrer, const std::string& referree, jlong size, jint length, const std::string& string) argument
[all...]
/art/test/961-default-iface-resolution-gen/util-src/
H A Dgenerate_java.py38 import string namespace
/art/test/964-default-iface-init-gen/util-src/
H A Dgenerate_java.py38 import string namespace
/art/test/968-default-partial-compile-gen/util-src/
H A Dgenerate_smali.py39 import string namespace
171 const-string v5, "Unexpected error occurred which creating {farg} instance"
183 const-string v5, "{tree} calls %s\\n"
193 const-string v5, "{tree} threw AbstractMethodError"
197 const-string v5, "{tree} threw NoSuchMethodError"
201 const-string v5, "{tree} threw IncompatibleClassChangeError"
400 const-string v0, "{tree}"
/art/test/970-iface-super-resolution-gen/util-src/
H A Dgenerate_smali.py38 import string namespace
159 const-string v3, "Testing {tree}"
164 const-string v3, "Success: testing {tree}"
173 const-string v4, "Failure: testing {tree}"
240 const-string v0, "Should not be called"
252 const-string v1, "Test failures"
314 const-string v1, "{class_name} -> {iface}.super.getCalledInterface(): "
329 const-string v1, "{class_name} -> {iface}.super.getCalledInterface(): NoSuchMethodError"
333 const-string v1, "{class_name} -> {iface}.super.getCalledInterface(): IncompatibleClassChangeError"
338 const-string v
[all...]
/art/test/971-iface-super/util-src/
H A Dgenerate_smali.py39 import string namespace
165 const-string v5, "Unexpected error occurred which creating {farg} instance"
250 const-string v1, "{class_name}.call(v) should never get called!"
284 const-string v1, "Calling {iface_name}.super.call() on {tree}"
287 const-string v1, "No exception thrown for {iface_name}.super.call() on {tree}"
296 const-string v1, "AbstractMethodError thrown for {iface_name}.super.call() on {tree}"
300 const-string v1, "NoSuchMethodError thrown for {iface_name}.super.call() on {tree}"
304 const-string v1, "IncompatibleClassChangeError thrown for {iface_name}.super.call() on {tree}"
309 const-string v1, "Unknown error thrown for {iface_name}.super.call() on {tree}"
/art/test/ImageLayoutB/
H A DImageLayoutB.java20 public static String string = "ASDF_UNIQUE_STRING"; field in class:MyClass
/art/runtime/mirror/
H A Dobject_test.cc42 #include "string-inl.h"
63 Handle<String> string(
65 ASSERT_EQ(expected_utf16_length, string->GetLength());
66 ASSERT_EQ(string->IsValueNull(), false);
67 // strlen is necessary because the 1-character string "\x00\x00" is interpreted as ""
68 ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0));
69 ASSERT_TRUE(string->Equals(StringPiece(utf8_in)) ||
72 EXPECT_EQ(utf16_expected[i], string->CharAt(i));
74 EXPECT_EQ(expected_hash, string->GetHashCode());
390 // Test the empty string
576 Class* string = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;"); local
[all...]
H A Dstring-inl.h19 #include "string.h"
51 // Sets string count in the allocation code path to ensure it is guarded by a CAS.
60 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); local
61 string->SetCount(count_);
62 DCHECK(!string->IsCompressed() || kUseStringCompression);
69 // Sets string count and value in the allocation code path to ensure it is guarded by a CAS.
80 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); local
81 string->SetCount(count_);
82 DCHECK(!string->IsCompressed() || kUseStringCompression);
85 if (string
116 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); local
147 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); local
268 String* string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); local
287 AllocFromString(Thread* self, int32_t string_length, Handle<String> string, int32_t offset, gc::AllocatorType allocator_type) argument
[all...]
H A Dstring.cc17 #include "string-inl.h"
32 #include "string-inl.h"
108 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); local
109 if (UNLIKELY(string == nullptr)) {
116 uint8_t* out = string->value_compressed_;
127 uint16_t* out = string->value_;
135 return string;
138 String* String::AllocFromStrings(Thread* self, Handle<String> string, Handle<String> string2) { argument
139 int32_t length = string->GetLength();
143 (string
182 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); local
218 ObjPtr<String> string = Alloc<true>(self, utf16_length_with_flag, allocator_type, visitor); local
[all...]
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc84 std::vector<std::string> exemptions_vec;
195 const std::vector<std::string>& properties = Runtime::Current()->GetProperties();
221 static const char* DefaultToDot(const std::string& class_path) {
327 typedef std::map<std::string, ObjPtr<mirror::String>> StringTable;
335 ObjPtr<mirror::String> string = root->AsString(); local
336 table_->operator[](string->ToModifiedUtf8()) = string;
354 ObjPtr<mirror::String> string = strings[utf8]; local
355 if (string == nullptr) {
358 // LOG(INFO) << "VMRuntime.preloadDexCaches resolved string
[all...]
H A Djava_lang_String.cc25 #include "mirror/string-inl.h"
26 #include "mirror/string.h"
54 ThrowNullPointerException("string arg == null");
101 Handle<mirror::String> string = hs.NewHandle(soa.Decode<mirror::String>(java_this)); local
102 ObjPtr<mirror::String> result = mirror::String::DoReplace(soa.Self(), string, old_c, new_c);
/art/runtime/verifier/
H A Dreg_type_test.cc434 std::string expected = "Unresolved Reference: java.lang.DoesNotExist";
491 const RegType& string = cache_new.JavaLangString(); local
493 EXPECT_TRUE(string.Merge(Object, &cache_new, /* verifier */ nullptr).IsJavaLangObject());
1004 std::string result;
/art/test/100-reflect2/src/
H A DMain.java178 // Sort the return values by their string values since the order is undefined by the spec.
273 private static void ZBCDLFIJSV(boolean z, byte b, char c, double d, String string, float f, int i, long l, short s) { argument
274 System.out.println(z + " " + b + " " + c + " " + d + " " + " " + string + " " + f + " " + i + " " + l + " " + s);
/art/dex2oat/linker/
H A Dimage_writer.cc69 #include "mirror/string-inl.h"
697 std::string error_msg;
840 std::string temp;
932 std::string temp;
967 std::string storage;
1130 // Strings do not need pruning, but the contents of the string array must be deterministic.
1137 ObjPtr<mirror::String> string = pair.object.Read(); local
1138 if (string == nullptr || i < stored_index) {
1139 string = class_linker->LookupString(string_idx, dex_cache);
1140 DCHECK(string
1229 FindInternedString(mirror::String* string) argument
1724 mirror::String* string = intern_table->LookupStrong(self, utf16_length, utf8_data).Ptr(); local
[all...]
H A Doat_writer.cc490 std::string error_msg;
526 std::string error_msg;
535 std::string entry_name = DexFileLoader::GetMultiDexClassesDexName(i);
630 dchecked_vector<std::string> OatWriter::GetSourceLocations() const {
631 dchecked_vector<std::string> locations;
649 SafeMap<std::string, std::string>* key_value_store,
1022 std::string name = method_reference.PrettyMethod();
1023 std::string other_name = other.method_reference.PrettyMethod();
1062 std::string nam
1981 ObjPtr<mirror::String> string = local
[all...]
/art/libdexfile/dex/
H A Ddex_file.cc22 #include <string.h>
100 const std::string& location,
143 bool DexFile::Init(std::string* error_msg) {
150 bool DexFile::CheckMagicAndVersion(std::string* error_msg) const {
313 const DexFile::StringId* DexFile::FindStringId(const char* string) const {
320 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str);
332 const DexFile::TypeId* DexFile::FindTypeId(const char* string) const {
340 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str);
352 const DexFile::StringId* DexFile::FindStringId(const uint16_t* string, size_t length) const { argument
359 int compare = CompareModifiedUtf8ToUtf16AsCodePointValues(str, string, lengt
[all...]
/art/oatdump/
H A Doatdump.cc24 #include <string>
113 const DexFile* OpenDexFile(const OatFile::OatDexFile* oat_dex_file, std::string* error_msg) {
127 OatSymbolizer(const OatFile* oat_file, const std::string& output_name, bool no_bits) :
243 std::string error_msg;
337 const std::string output_name_;
521 std::string error_msg;
572 std::string error_msg;
603 std::string error_msg;
604 std::string vdex_filename = GetVdexFilename(oat_file_.GetLocation());
667 std::string error_ms
2255 mirror::String* string = value->AsString(); local
[all...]
/art/runtime/
H A Dcheck_jni.cc42 #include "mirror/string-inl.h"
288 std::string tmp = android::base::StringPrintf(
497 * The format string is a sequence of the following characters,
546 std::string msg;
558 std::string methodName(ArtMethod::PrettyMethod(traceMethod, false));
594 std::string msg;
609 std::string methodName(ArtMethod::PrettyMethod(traceMethod, false));
1005 std::string* msg)
1077 void TraceNonHeapValue(char fmt, JniValueType arg, std::string* msg) {
1392 " string
2410 GetStringLength(JNIEnv* env, jstring string) argument
2425 GetStringUTFLength(JNIEnv* env, jstring string) argument
2440 GetStringChars(JNIEnv* env, jstring string, jboolean* is_copy) argument
2445 GetStringUTFChars(JNIEnv* env, jstring string, jboolean* is_copy) argument
2450 GetStringCritical(JNIEnv* env, jstring string, jboolean* is_copy) argument
2455 ReleaseStringChars(JNIEnv* env, jstring string, const jchar* chars) argument
2459 ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) argument
2463 ReleaseStringCritical(JNIEnv* env, jstring string, const jchar* chars) argument
2467 GetStringRegion(JNIEnv* env, jstring string, jsize start, jsize len, jchar* buf) argument
2482 GetStringUTFRegion(JNIEnv* env, jstring string, jsize start, jsize len, char* buf) argument
3437 GetStringCharsInternal(const char* function_name, JNIEnv* env, jstring string, jboolean* is_copy, bool utf, bool critical) argument
3478 ReleaseStringCharsInternal(const char* function_name, JNIEnv* env, jstring string, const void* chars, bool utf, bool critical) argument
[all...]

Completed in 439 milliseconds

12