MCPcopy Create free account
hub / github.com/NativeScript/android / ConvertFromCanonicalToJniName

Method ConvertFromCanonicalToJniName

test-app/runtime/src/main/cpp/Util.cpp:90–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 string Util::ConvertFromCanonicalToJniName(const string &name) {
91 string converted = name;
92 replace(converted.begin(), converted.end(), '.', '/');
93 return converted;
94 }
95
96 string Util::ReplaceAll(string &str, const string &from, const string &to) {
97 if (from.empty()) {

Callers

nothing calls this directly

Calls 3

replaceFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected