Lines Matching refs:result
29 void AppendPrettyDescriptor(const char* descriptor, std::string* result) { in AppendPrettyDescriptor() argument
56 default: result->append(descriptor); return; in AppendPrettyDescriptor()
68 result->push_back(ch); in AppendPrettyDescriptor()
72 result->append("[]"); in AppendPrettyDescriptor()
77 std::string result; in PrettyDescriptor() local
78 AppendPrettyDescriptor(descriptor, &result); in PrettyDescriptor()
79 return result; in PrettyDescriptor()
100 std::string result; in MangleForJni() local
106 result.push_back(ch); in MangleForJni()
108 result += "_"; in MangleForJni()
110 result += "_1"; in MangleForJni()
112 result += "_2"; in MangleForJni()
114 result += "_3"; in MangleForJni()
119 StringAppendF(&result, "_0%04x", leading); in MangleForJni()
121 StringAppendF(&result, "_0%04x", trailing); in MangleForJni()
125 return result; in MangleForJni()
142 std::string result(descriptor + 1, length - 2); in DescriptorToDot() local
143 std::replace(result.begin(), result.end(), '/', '.'); in DescriptorToDot()
144 return result; in DescriptorToDot()
147 std::string result(descriptor); in DescriptorToDot() local
148 std::replace(result.begin(), result.end(), '/', '.'); in DescriptorToDot()
149 return result; in DescriptorToDot()
159 std::string result(descriptor + 1, length - 2); in DescriptorToName() local
160 return result; in DescriptorToName()