Lines Matching refs:strings
24 const std::vector<std::string>& strings;
25 VectorCounter(const std::vector<std::string>& strings) : strings(strings) {}
27 return strings.size();
31 const std::vector<std::string>& strings;
32 VectorGetter(const std::vector<std::string>& strings) : strings(strings) {}
34 return strings[i].c_str();
38 jobjectArray toStringArray(JNIEnv* env, const std::vector<std::string>& strings) {
39 VectorCounter counter(strings);
40 VectorGetter getter(strings);
45 const char* const* strings;
46 ArrayCounter(const char* const* strings) : strings(strings) {}
49 while (strings[count] != NULL) {
57 const char* const* strings;
58 ArrayGetter(const char* const* strings) : strings(strings) {}
60 return strings[i];
64 jobjectArray toStringArray(JNIEnv* env, const char* const* strings) {
65 ArrayCounter counter(strings);
66 ArrayGetter getter(strings);