Home
last modified time | relevance | path

Searched refs:GetEnv (Results 1 – 25 of 110) sorted by relevance

12345

/external/libtextclassifier/utils/intents/
Djni.cc37 JNIEnv* env = jni_cache->GetEnv(); in Create()
87 ? jni_cache_->GetEnv()->NewObject(integer_class_.get(), in AsInteger()
97 jobjectArray result = jni_cache_->GetEnv()->NewObjectArray( in AsStringArray()
105 jni_cache_->GetEnv()->SetObjectArrayElement(result, k, value_str.get()); in AsStringArray()
118 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
122 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
126 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
130 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
134 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
143 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
[all …]
/external/libtextclassifier/utils/utf8/
Dunilib-javaicu.cc325 JNIEnv* env = jni_cache_->GetEnv(); in ParseInt32()
371 JNIEnv* jenv = jni_cache_->GetEnv(); in LockedInitializeIfNotAlready()
401 JNIEnv* env = jni_cache_->GetEnv(); in Matcher()
433 const bool result = jni_cache_->GetEnv()->CallBooleanMethod( in Matches()
449 jni_cache_->GetEnv()->CallObjectMethod(matcher_.get(), in ApproximatelyMatches()
460 const int found_start = jni_cache_->GetEnv()->CallIntMethod( in ApproximatelyMatches()
467 const int found_end = jni_cache_->GetEnv()->CallIntMethod( in ApproximatelyMatches()
474 int context_length_bmp = jni_cache_->GetEnv()->CallIntMethod( in ApproximatelyMatches()
493 const int find_offset = jni_cache_->GetEnv()->CallIntMethod( in UpdateLastFindOffset()
499 const int codepoint_count = jni_cache_->GetEnv()->CallIntMethod( in UpdateLastFindOffset()
[all …]
/external/curl/src/
Dtool_homedir.c32 static char *GetEnv(const char *variable, char do_expand) in GetEnv() function
67 home = GetEnv("CURL_HOME", FALSE); in homedir()
71 home = GetEnv("HOME", FALSE); in homedir()
89 home = GetEnv("APPDATA", TRUE); in homedir()
91 home = GetEnv("%USERPROFILE%\\Application Data", TRUE); /* Normally only in homedir()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DProcessTest.cpp36 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
43 Process::GetEnv("__LLVM_TEST_ENVIRON_NO_SUCH_VAR__")); in TEST()
52 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
59 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
/external/webrtc/talk/app/webrtc/java/jni/
Djni_helpers.cc52 JNIEnv* GetEnv() { in GetEnv() function
54 jint status = g_jvm->GetEnv(&env, JNI_VERSION_1_6); in GetEnv()
69 if (!GetEnv()) in ThreadDestructor()
72 RTC_CHECK(GetEnv() == prev_jni_ptr) in ThreadDestructor()
73 << "Detaching from another thread: " << prev_jni_ptr << ":" << GetEnv(); in ThreadDestructor()
76 RTC_CHECK(!GetEnv()) << "Detaching was a successful no-op???"; in ThreadDestructor()
92 if (jvm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6) != JNI_OK) in InitGlobalJniVariables()
118 JNIEnv* jni = GetEnv(); in AttachCurrentThreadIfNeeded()
/external/googletest/googletest/test/
Dgtest_premature_exit_test.cc40 using ::testing::internal::posix::GetEnv;
56 premature_exit_file_path_ = GetEnv("TEST_PREMATURE_EXIT_FILE"); in PrematureExitTest()
115 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); in main()
/external/llvm/unittests/Support/
DProcessTest.cpp36 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
43 Process::GetEnv("__LLVM_TEST_ENVIRON_NO_SUCH_VAR__")); in TEST()
51 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
/external/webrtc/webrtc/modules/utility/source/
Dhelpers_android.cc25 JNIEnv* GetEnv(JavaVM* jvm) { in GetEnv() function
27 jint status = jvm->GetEnv(&env, JNI_VERSION_1_6); in GetEnv()
100 env_ = GetEnv(jvm); in AttachThreadScoped()
117 RTC_CHECK(!GetEnv(jvm_)); in ~AttachThreadScoped()
/external/compiler-rt/lib/asan/
Dasan_flags.cc65 cf.external_symbolizer_path = GetEnv("ASAN_SYMBOLIZER_PATH"); in InitializeFlags()
111 asan_parser.ParseString(GetEnv("ASAN_OPTIONS")); in InitializeFlags()
113 lsan_parser.ParseString(GetEnv("LSAN_OPTIONS")); in InitializeFlags()
116 ubsan_parser.ParseString(GetEnv("UBSAN_OPTIONS")); in InitializeFlags()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/
Dgen_knobs.cpp53 const std::string var = GetEnv(text.substr(start + 2, end - start - 2));
61 const std::string var = GetEnv(text.substr(start + 1, end - start - 1));
71 const std::string var = GetEnv(match[1].str());
83 const std::string var = GetEnv(match[1].str());
/external/curl/lib/
Dgetenv.c31 char *GetEnv(const char *variable) in GetEnv() function
53 return GetEnv(v); in curl_getenv()
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_android_native_opengl2.cc45 if (g_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in UseOpenGL2()
102 if (g_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in ~AndroidNativeOpenGl2Renderer()
148 if (g_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in Init()
252 if (_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in ~AndroidNativeOpenGl2Channel()
300 if (_jvm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in Init()
Dvideo_render_android_surface_view.cc45 if (g_jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in ~AndroidSurfaceViewRenderer()
102 if (g_jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in Init()
253 if ( _jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in ~AndroidSurfaceViewChannel()
320 if (_jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in Init()
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dadaptive_shared_batch_scheduler.h173 Env* GetEnv() const { return options_.env; } in GetEnv() function
360 GetEnv(), options.thread_pool_name, options.num_batch_threads)); in AdaptiveSharedBatchScheduler()
391 GetEnv()->SchedClosureAfter( in AddBatch()
420 int64 now_micros = GetEnv()->NowMicros(); in MaybeScheduleNextBatch()
472 int64 end_time = GetEnv()->NowMicros(); in CallbackWrapper()
541 scheduler_->GetEnv()->SleepForMicroseconds(kSleepMicros); in ~ASBSQueue()
571 new ASBSBatch<TaskType>(this, scheduler_->GetEnv()->NowMicros(), in Schedule()
/external/compiler-rt/lib/lsan/
Dlsan.cc44 cf.external_symbolizer_path = GetEnv("LSAN_SYMBOLIZER_PATH"); in InitializeFlags()
59 parser.ParseString(GetEnv("LSAN_OPTIONS")); in InitializeFlags()
/external/libtextclassifier/utils/java/
Djni-cache.cc252 JNIEnv* JniCache::GetEnv() const { in GetEnv() function in libtextclassifier3::JniCache
254 if (JNI_OK == jvm->GetEnv(&env, JNI_VERSION_1_4)) { in GetEnv()
263 JNIEnv* env = GetEnv(); in ExceptionCheckAndClear()
276 JNIEnv* jenv = GetEnv(); in ConvertToJavaString()
/external/libchrome/base/test/
Dscoped_environment_variable_override.h25 base::Environment* GetEnv() { return environment_.get(); } in GetEnv() function
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp39 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in get_env_or_die()
247 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/external/skia/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp39 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in get_env_or_die()
247 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniload.cc34 if (vm->GetEnv(reinterpret_cast<void**>(&env), CONSCRYPT_JNI_VERSION) != JNI_OK) { in libconscrypt_JNI_OnLoad()
/external/mesa3d/src/gtest/src/
Dgtest-port.cc1062 const char* temp_dir = posix::GetEnv("TEMP"); in TempDir()
1196 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
1209 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
1234 const char* value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
1250 value = posix::GetEnv("XML_OUTPUT_FILE"); in StringFromGTestEnv()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-port.cc1062 const char* temp_dir = posix::GetEnv("TEMP"); in TempDir()
1196 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
1209 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
1234 const char* value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
1250 value = posix::GetEnv("XML_OUTPUT_FILE"); in StringFromGTestEnv()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest-port.cc1062 const char* temp_dir = posix::GetEnv("TEMP"); in TempDir()
1196 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
1209 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
1234 const char* value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
1250 value = posix::GetEnv("XML_OUTPUT_FILE"); in StringFromGTestEnv()
/external/compiler-rt/lib/esan/
Desan_flags.cpp47 Parser.ParseString(GetEnv(EsanOptsEnv)); in initializeFlags()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest-port.cc709 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
719 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
741 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()

12345