Lines Matching defs:strings
49 const std::vector<std::string>& strings;
50 VectorCounter(const std::vector<std::string>& strings) : strings(strings) {}
52 return strings.size();
56 const std::vector<std::string>& strings;
57 VectorGetter(const std::vector<std::string>& strings) : strings(strings) {}
59 return strings[i].c_str();
63 inline jobjectArray toStringArray(JNIEnv* env, const std::vector<std::string>& strings) {
64 VectorCounter counter(strings);
65 VectorGetter getter(strings);
69 JNIEXPORT jobjectArray toStringArray(JNIEnv* env, const char* const* strings);