/external/libtextclassifier/utils/intents/ |
D | jni.cc | 37 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/ |
D | unilib-javaicu.cc | 325 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/ |
D | tool_homedir.c | 32 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/ |
D | ProcessTest.cpp | 36 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/ |
D | jni_helpers.cc | 52 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/ |
D | gtest_premature_exit_test.cc | 40 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/ |
D | ProcessTest.cpp | 36 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/ |
D | helpers_android.cc | 25 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/ |
D | asan_flags.cc | 65 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/ |
D | gen_knobs.cpp | 53 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/ |
D | getenv.c | 31 char *GetEnv(const char *variable) in GetEnv() function 53 return GetEnv(v); in curl_getenv()
|
/external/webrtc/webrtc/modules/video_render/android/ |
D | video_render_android_native_opengl2.cc | 45 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()
|
D | video_render_android_surface_view.cc | 45 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/ |
D | adaptive_shared_batch_scheduler.h | 173 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/ |
D | lsan.cc | 44 cf.external_symbolizer_path = GetEnv("LSAN_SYMBOLIZER_PATH"); in InitializeFlags() 59 parser.ParseString(GetEnv("LSAN_OPTIONS")); in InitializeFlags()
|
/external/libtextclassifier/utils/java/ |
D | jni-cache.cc | 252 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/ |
D | scoped_environment_variable_override.h | 25 base::Environment* GetEnv() { return environment_.get(); } in GetEnv() function
|
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/ |
D | JavaInputStreamAdaptor.cpp | 39 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/ |
D | JavaInputStreamAdaptor.cpp | 39 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/ |
D | jniload.cc | 34 if (vm->GetEnv(reinterpret_cast<void**>(&env), CONSCRYPT_JNI_VERSION) != JNI_OK) { in libconscrypt_JNI_OnLoad()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-port.cc | 1062 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/ |
D | gtest-port.cc | 1062 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/ |
D | gtest-port.cc | 1062 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/ |
D | esan_flags.cpp | 47 Parser.ParseString(GetEnv(EsanOptsEnv)); in initializeFlags()
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
D | gtest-port.cc | 709 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()
|