Lines Matching refs:std
69 std::string nativeName;
73 std::unordered_map<std::string, TestNameInfo> gNativeTestNames;
77 std::string registerAndMangleTestName(const std::string& nativeName) { in registerAndMangleTestName()
78 std::string mangledName = nativeName; in registerAndMangleTestName()
79 std::replace(mangledName.begin(), mangledName.end(), '.', '_'); in registerAndMangleTestName()
80 std::replace(mangledName.begin(), mangledName.end(), '/', '_'); in registerAndMangleTestName()
81 gNativeTestNames.insert(std::make_pair(mangledName, TestNameInfo{nativeName, false})); in registerAndMangleTestName()
86 jobject createTestDescription(JNIEnv* env, jstring className, const std::string& mangledName) { in createTestDescription()
93 std::ostringstream nativeNameStream; in createTestDescription()
95 std::string mangledName = registerAndMangleTestName(nativeNameStream.str()); in createTestDescription()
129 const std::string error = mCurrentTestError.str(); in OnTestEnd()
146 void reportDisabledTests(const std::vector<std::string>& mangledNames) { in reportDisabledTests()
147 for (const std::string& mangledName : mangledNames) { in reportDisabledTests()
163 std::ostringstream mCurrentTestError;
236 std::ostringstream filterStream; in Java_com_android_gtestrunner_GtestRunner_nRun()
237 std::vector<std::string> mangledNamesOfDisabledTests; in Java_com_android_gtestrunner_GtestRunner_nRun()
244 entry.second.nativeName.find("/DISABLED_") != std::string::npos || in Java_com_android_gtestrunner_GtestRunner_nRun()
245 entry.second.nativeName.find(".DISABLED_") != std::string::npos) { in Java_com_android_gtestrunner_GtestRunner_nRun()
251 std::string filter = filterStream.str(); in Java_com_android_gtestrunner_GtestRunner_nRun()