Home
last modified time | relevance | path

Searched refs:str (Results 76 – 100 of 254) sorted by relevance

1234567891011

/art/runtime/gc/
Dheap_verification_test.cc174 ObjPtr<mirror::String> str = mirror::String::AllocFromModifiedUtf8(soa.Self(), "obj"); in TEST_F() local
175 arr->Set(0, str); in TEST_F()
177 std::string path = v->FirstPathFromRootSet(str); in TEST_F()
181 EXPECT_NE(path.find(oss.str()), std::string::npos); in TEST_F()
/art/tools/veridex/
Dflow_analysis.h80 const char* str = reference_.dex_file->StringDataByIdx(dex::StringIndex(reference_.index)); in ToString() local
85 return HiddenApi::ToInternalName(str); in ToString()
87 return str; in ToString()
Dhidden_api_finder.cc75 std::string str = HiddenApi::ToInternalName(name); in CollectAccesses() local
80 if (hidden_api_.IsInBoot(str)) { in CollectAccesses()
81 classes_.insert(str); in CollectAccesses()
/art/tools/
Drun-jdwp-tests.sh333 local str="classes"
336 str="javalib"
338 echo "$path/$str.$suffix"
/art/runtime/
Dgc_root-inl.h47 return oss.str(); in ToString()
/art/tools/checker/
Dchecker.py58 lenLineNo = len(str(maxLineNo)) + 2
61 Logger.log((str(curLineNo) + ":").ljust(lenLineNo) + line)
/art/cmdline/detail/
Dcmdline_parser_detail.h96 return stream.str();
115 return stream.str();
/art/test/563-checker-fakestring/src/
DMain.java34 String str = new String(expected, "UTF8"); in assertEqual() local
35 if (!str.equals(actual)) { in assertEqual()
36 throw new Error("Assertion failed: " + str + " != " + actual); in assertEqual()
/art/libdexfile/dex/
Dtype_lookup_table.cc100 uint32_t TypeLookupTable::Lookup(const char* str, uint32_t hash) const { in Lookup() argument
121 if (ModifiedUtf8StringEquals(str, first_checked_str)) { in Lookup()
139 ModifiedUtf8StringEquals(str, GetStringData(*entry))) { in Lookup()
/art/libdexfile/external/include/art_api/
Ddex_file_external.h36 const struct ExtDexFileString* ExtDexFileMakeString(const char* str, size_t size);
/art/runtime/arch/arm64/
Dasm_support_arm64.S124 str \reg, [sp, #(\offset)]
213 str xIP0, [xSELF, # THREAD_TOP_QUICK_FRAME_OFFSET]
336 str xIP0, [sp]
339 str xIP0, [xSELF, # THREAD_TOP_QUICK_FRAME_OFFSET]
/art/compiler/optimizing/
Dgraph_visualizer.cc48 static bool HasWhitespace(const char* str) { in HasWhitespace() argument
49 DCHECK(str != nullptr); in HasWhitespace()
50 while (str[0] != 0) { in HasWhitespace()
51 if (isspace(str[0])) { in HasWhitespace()
54 str++; in HasWhitespace()
104 case StringList::kArrayBrackets: return os << "[" << list.sstream_.str() << "]"; in operator <<()
105 case StringList::kSetBrackets: return os << "{" << list.sstream_.str() << "}"; in operator <<()
346 std::ostream& str = moves.NewEntryStream(); in VisitParallelMove() local
347 DumpLocation(str, move->GetSource()); in VisitParallelMove()
348 str << "->"; in VisitParallelMove()
[all …]
Dssa_liveness_analysis_test.cc76 arg_dump.str().c_str()); in TEST_F()
143 EXPECT_STREQ(expected[arg_index], arg_dump.str().c_str()) << arg_index; in TEST_F()
215 EXPECT_STREQ(expected[arg_index], arg_dump.str().c_str()) << arg_index; in TEST_F()
Dssa_builder.cc437 HInstruction* str = invoke->InputAt(invoke->InputCount() - 1); in ReplaceUninitializedStringPhis() local
438 if (str->IsPhi()) { in ReplaceUninitializedStringPhis()
444 DCHECK(str->IsNewInstance()); in ReplaceUninitializedStringPhis()
445 AddUninitializedString(str->AsNewInstance()); in ReplaceUninitializedStringPhis()
446 str->ReplaceUsesDominatedBy(invoke, invoke); in ReplaceUninitializedStringPhis()
447 str->ReplaceEnvUsesDominatedBy(invoke, invoke); in ReplaceUninitializedStringPhis()
/art/test/956-methodhandles/src/
DMain.java300 String str = (String) mh.invoke(new BarImpl()); in testfindVirtual() local
301 if (!"privateMethod".equals(str)) { in testfindVirtual()
302 System.out.println("Unexpected return value for BarImpl#privateMethod: " + str); in testfindVirtual()
309 str = (String) mh.invoke(new BarImpl()); in testfindVirtual()
310 if (!"foo".equals(str)) { in testfindVirtual()
311 System.out.println("Unexpected return value for BarImpl#foo: " + str); in testfindVirtual()
332 str = (String) mh.invoke(new BarImpl()); in testfindVirtual()
333 if (!"bar".equals(str)) { in testfindVirtual()
334 System.out.println("Unexpected return value for BarImpl#bar: " + str); in testfindVirtual()
339 str = (String) mh.invoke(new BarImpl()); in testfindVirtual()
[all …]
/art/tools/jvmti-agents/chain-agents/
Dchainagents.cc74 *err = oss.str(); in Load()
82 *err = oss.str(); in Load()
/art/test/utils/python/
Dgenerate_java_main.py31 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
97 test_groups += str(t)
104 funcs += str(f)
/art/tools/checker/common/
Dlogger.py49 content = Logger.Color.terminalCode(color, out) + str(content) + \
67 loc += str(line) + ":"
/art/tools/jfuzz/
Drun_jfuzz_test.py249 return ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)]
287 cmd = ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)]
344 cmd = ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)]
509 return self._results_dir + '/divergence' + str(self._num_divergences)
514 print('\n' + str(self._num_divergences), end='')
628 parser.add_argument('--dexer', default='dx', type=str,
/art/libartbase/base/
Dsystrace.h85 ATraceBegin(buffer_.str().c_str()); in ~ScopedTraceMessageHelper()
/art/compiler/jni/
Djni_cfi_test_expected.inc50 // 0x0000000a: str r0, [sp]
51 // 0x0000000c: str r1, [sp, #132]
53 // 0x00000012: str r2, [sp, #140]
54 // 0x00000014: str r3, [sp, #144]
143 // 0x0000002c: str x0, [sp]
144 // 0x00000030: str w1, [sp, #200]
145 // 0x00000034: str s0, [sp, #204]
146 // 0x00000038: str w2, [sp, #208]
147 // 0x0000003c: str w3, [sp, #212]
/art/tools/ahat/src/main/com/android/ahat/
DHtmlDoc.java74 public void big(DocString str) { in big() argument
76 ps.print(str.html()); in big()
/art/perfetto_hprof/
Dperfetto_hprof.cc123 bool StartsWith(const std::string& str, const std::string& prefix) { in StartsWith() argument
124 return str.compare(0, prefix.length(), prefix) == 0; in StartsWith()
630 const std::string& str = p.first; in DumpPerfetto() local
637 reinterpret_cast<const uint8_t*>(str.c_str()), str.size()); in DumpPerfetto()
640 const std::string& str = p.first; in DumpPerfetto() local
646 location_proto->set_str(reinterpret_cast<const uint8_t*>(str.c_str()), in DumpPerfetto()
647 str.size()); in DumpPerfetto()
/art/runtime/verifier/
Dverifier_deps.cc204 const std::string& str, in FindExistingStringId() argument
208 if (strings[i] == str) { in FindExistingStringId()
216 dex::StringIndex VerifierDeps::GetIdFromString(const DexFile& dex_file, const std::string& str) { in GetIdFromString() argument
217 const dex::StringId* string_id = dex_file.FindStringId(str.c_str()); in GetIdFromString()
237 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
243 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
246 deps->strings_.push_back(str); in GetIdFromString()
249 DCHECK_EQ(str, singleton->GetStringFromId(dex_file, new_id)); in GetIdFromString()
716 for (const std::string& str : strings) { in EncodeStringVector() local
717 const uint8_t* data = reinterpret_cast<const uint8_t*>(str.c_str()); in EncodeStringVector()
[all …]
/art/dexdump/
Ddexdump.cc131 static std::unique_ptr<char[]> descriptorToDot(const char* str) { in descriptorToDot() argument
132 int targetLen = strlen(str); in descriptorToDot()
136 while (targetLen > 1 && str[offset] == '[') { in descriptorToDot()
145 str = primitiveTypeLabel(str[offset]); in descriptorToDot()
147 targetLen = strlen(str); in descriptorToDot()
150 if (targetLen >= 2 && str[offset] == 'L' && in descriptorToDot()
151 str[offset + targetLen - 1] == ';') { in descriptorToDot()
161 const char ch = str[offset + i]; in descriptorToDot()
178 static std::unique_ptr<char[]> descriptorClassToName(const char* str) { in descriptorClassToName() argument
180 const char* lastSlash = strrchr(str, '/'); in descriptorClassToName()
[all …]

1234567891011