/external/libcxx/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/ |
ctor.pass.cpp | 91 scoped_test_env env; 92 path const testDir = env.make_env_path("dir1"); 94 env.create_dir(testDir); 95 env.create_file(testFile, 42); 128 scoped_test_env env; 129 path const testFile = env.make_env_path("file1"); 130 env.create_file(testFile, 42); 155 scoped_test_env env; local 156 const path testDir = env.make_env_path("dir1"); 157 env.create_dir(testDir) [all...] |
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_directory_symlink/ |
create_directory_symlink.pass.cpp | 40 scoped_test_env env; local 41 const path file = env.create_file("file1", 42); 42 const path file2 = env.create_file("file2", 55); 43 const path sym = env.create_symlink(file, "sym"); 53 scoped_test_env env; local 54 const path dir = env.create_dir("dir"); 55 const path dir_sym = env.create_symlink(dir, "dir_sym"); 57 const path dest = env.make_env_path("dest1");
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_hard_link/ |
create_hard_link.pass.cpp | 39 scoped_test_env env; local 40 const path file = env.create_file("file1", 42); 41 const path file2 = env.create_file("file2", 55); 42 const path sym = env.create_symlink(file, "sym"); 52 scoped_test_env env; local 53 const path file = env.create_file("file"); 54 const path dest = env.make_env_path("dest1"); 66 scoped_test_env env; local 67 const path dir = env.create_dir("dir"); 68 const path dest = env.make_env_path("dest2") [all...] |
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.is_empty/ |
is_empty.pass.cpp | 54 scoped_test_env env; local 55 TEST_CHECK(is_empty(env.test_root)); 56 env.create_file("foo", 42); 57 TEST_CHECK(!is_empty(env.test_root)); 68 scoped_test_env env; local 69 const path dir = env.create_dir("dir"); 70 const path dir2 = env.create_dir("dir/dir2"); 82 scoped_test_env env; local 83 const path dir = env.create_dir("dir"); 84 const path file1 = env.create_file("dir/file", 42) 98 scoped_test_env env; local [all...] |
/external/libmojo/base/android/ |
apk_assets.cc | 23 JNIEnv* env = base::android::AttachCurrentThread(); local 25 env, base::android::GetApplicationContext(), 26 base::android::ConvertUTF8ToJavaString(env, file_path)); 28 base::android::JavaLongArrayToLongVector(env, jarr.obj(), &results);
|
content_uri_utils.cc | 18 JNIEnv* env = base::android::AttachCurrentThread(); local 20 ConvertUTF8ToJavaString(env, content_uri.value()); 22 env, base::android::GetApplicationContext(), j_uri); 26 JNIEnv* env = base::android::AttachCurrentThread(); local 28 ConvertUTF8ToJavaString(env, content_uri.value()); 30 env, base::android::GetApplicationContext(), j_uri); 37 JNIEnv* env = base::android::AttachCurrentThread(); local 39 ConvertUTF8ToJavaString(env, content_uri.value()); 41 env, base::android::GetApplicationContext(), j_uri); 45 return base::android::ConvertJavaStringToUTF8(env, j_mime.obj()) [all...] |
/external/libtextclassifier/util/java/ |
scoped_global_ref.h | 47 JNIEnv* env; local 50 jvm_->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_4)) { 51 env->DeleteGlobalRef(object); 62 // ScopedGlobalRef<jobject> scoped_global(env->JniFunction(), jvm); 69 ScopedGlobalRef<T> MakeGlobalRef(T object, JNIEnv* env, JavaVM* jvm) { 70 const jobject globalObject = env->NewGlobalRef(object);
|
/external/libvpx/libvpx/vpx_ports/ |
ppc_cpudetect.c | 22 char *env; local 23 env = getenv("VPX_SIMD_CAPS"); 24 if (env && *env) { 25 *flags = (int)strtol(env, NULL, 0); 33 char *env; local 34 env = getenv("VPX_SIMD_CAPS_MASK"); 35 return env && *env ? (int)strtol(env, NULL, 0) : ~0 [all...] |
/external/ltp/testcases/kernel/syscalls/execle/ |
execle01.c | 54 char *env[] = { "LTP_TEST_ENV_VAR=test", NULL }; local 67 execle(path, "execle01_child", "canary", NULL, env);
|
/external/ltp/testcases/kernel/syscalls/execve/ |
execve01.c | 55 char *const env[] = {"LTP_TEST_ENV_VAR=test", NULL}; local 68 execve(path, args, env);
|
/external/oj-libjdwp/src/share/back/ |
ClassLoaderReferenceImpl.c | 34 JNIEnv *env = getEnv(); local 37 loader = inStream_readClassLoaderRef(env, in); 42 WITH_LOCAL_REFS(env, 1) { 62 (void)outStream_writeObjectRef(env, out, clazz); 69 } END_WITH_LOCAL_REFS(env);
|
/external/tensorflow/tensorflow/cc/framework/ |
cc_op_gen_main.cc | 23 #include "tensorflow/core/platform/env.h" 37 Env* env = Env::Default(); local 43 if (env->FileExists(api_def_file_pattern).ok()) { 44 TF_CHECK_OK(api_def_map.LoadFile(env, api_def_file_pattern));
|
/external/tensorflow/tensorflow/compiler/xla/ |
protobuf_util.cc | 22 #include "tensorflow/core/platform/env.h" 56 tensorflow::Env* env = tensorflow::Env::Default(); local 57 TF_RETURN_IF_ERROR(env->RecursivelyCreateDir(directory)); 60 return tensorflow::WriteBinaryProto(env, path, message);
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
filecheck.cc | 24 #include "tensorflow/core/platform/env.h" 34 auto env = tensorflow::Env::Default(); local 35 if (!env->LocalTempFilename(&pattern_path)) { 38 TF_RETURN_IF_ERROR(tensorflow::WriteStringToFile(env, pattern_path, pattern));
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
worker_env.h | 30 class Env; 39 Env* env = nullptr; member in struct:tensorflow::WorkerEnv
|
/external/tensorflow/tensorflow/core/lib/io/ |
record_reader_writer_test.cc | 20 #include "tensorflow/core/platform/env.h" 37 Env* env = Env::Default(); local 43 TF_CHECK_OK(env->NewWritableFile(fname, &file)); 56 TF_CHECK_OK(env->NewRandomAccessFile(fname, &read_file)); 71 Env* env = Env::Default(); local 79 TF_CHECK_OK(env->NewWritableFile(fname, &file)) [all...] |
/external/tensorflow/tensorflow/core/ops/compat/ |
update_ops_main.cc | 21 #include "tensorflow/core/platform/env.h" 34 Env* env = Env::Default(); local 38 TF_QCHECK_OK(WriteStringToFile(env, ops_file, compatibility.OpsString())); 47 TF_QCHECK_OK(compatibility.ValidateCompatible(env, &changed_ops, &added_ops, 56 WriteStringToFile(env, history_file, out_op_history.DebugString()));
|
/external/v8/tools/gcmole/ |
run-gcmole.py | 1 #!/usr/bin/env python 21 env={'CLANG_BIN': CLANG_BIN, 'CLANG_PLUGINS': CLANG_PLUGINS}, variable
|
/external/valgrind/helgrind/tests/ |
safe-semaphore.h | 7 static sigjmp_buf env; variable 14 siglongjmp( env, EINVAL ); 29 if ( ( e = sigsetjmp( env, 1 ) ) == 0 ) {
|
/frameworks/av/media/libstagefright/http/ |
HTTPHelper.cpp | 39 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 42 env, env->FindClass("android/media/MediaHTTPService")); 45 jmethodID constructID = env->GetMethodID(clazz.get(), "<init>", "()V"); 49 env, env->NewObject(clazz.get(), constructID)); 54 env->GetMethodID(clazz.get(), "asBinder", "()Landroid/os/IBinder;"); 58 env, env->CallObjectMethod(httpServiceObj.get(), asBinderID)); 62 ibinderForJavaObject(env, httpServiceBinderObj.get()) [all...] |
/frameworks/base/media/jni/ |
android_media_Media2HTTPService.cpp | 34 JMedia2HTTPService::JMedia2HTTPService(JNIEnv *env, jobject thiz) { 35 mMedia2HTTPServiceObj = env->NewGlobalRef(thiz); 38 ScopedLocalRef<jclass> media2HTTPServiceClass(env, env->GetObjectClass(mMedia2HTTPServiceObj)); 41 mMakeHTTPConnectionMethod = env->GetMethodID( 49 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 50 env->DeleteGlobalRef(mMedia2HTTPServiceObj); 54 JNIEnv* env = AndroidRuntime::getJNIEnv(); local 56 env->CallObjectMethod(mMedia2HTTPServiceObj, mMakeHTTPConnectionMethod); 58 return new JMedia2HTTPConnection(env, media2HTTPConnectionObj) [all...] |
/frameworks/base/packages/DefaultContainerService/jni/ |
com_android_defcontainer_MeasurementUtils.cpp | 32 static jlong native_measureDirectory(JNIEnv* env, jobject /* clazz */, jstring directory) { 35 const char* path = env->GetStringUTFChars(directory, NULL); 48 env->ReleaseStringUTFChars(directory, path); 57 int register_com_android_defcontainer(JNIEnv *env) { 59 env, "com/android/defcontainer/MeasurementUtils", g_methods, NELEM(g_methods)) < 0) { 69 JNIEnv *env; local 71 if (jvm->GetEnv((void**)&env, JNI_VERSION_1_6)) { 75 return android::register_com_android_defcontainer(env);
|
/frameworks/rs/ |
rsCacheDir.cpp | 29 JNIEnv* env = android::AndroidRuntime::getJNIEnv(); local 30 if (env) { 31 jclass cacheDirClass = env->FindClass("android/renderscript/RenderScriptCacheDir"); 32 jfieldID cacheDirID = env->GetStaticFieldID(cacheDirClass, "mCacheDir", "Ljava/io/File;"); 33 jobject cache_dir = env->GetStaticObjectField(cacheDirClass, cacheDirID); 36 jclass fileClass = env->FindClass("java/io/File"); 37 jmethodID getPath = env->GetMethodID(fileClass, "getPath", "()Ljava/lang/String;"); 38 jstring path_string = (jstring)env->CallObjectMethod(cache_dir, getPath); 39 const char *path_chars = env->GetStringUTFChars(path_string, NULL); 43 env->ReleaseStringUTFChars(path_string, path_chars) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/ |
ctor.pass.cpp | 87 scoped_test_env env; 88 path const testDir = env.make_env_path("dir1"); 90 env.create_dir(testDir); 91 env.create_file(testFile, 42); 124 scoped_test_env env; 125 path const testFile = env.make_env_path("file1"); 126 env.create_file(testFile, 42); 151 scoped_test_env env; local 152 const path testDir = env.make_env_path("dir1"); 153 env.create_dir(testDir) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_directory_symlink/ |
create_directory_symlink.pass.cpp | 40 scoped_test_env env; local 41 const path file = env.create_file("file1", 42); 42 const path file2 = env.create_file("file2", 55); 43 const path sym = env.create_symlink(file, "sym"); 53 scoped_test_env env; local 54 const path dir = env.create_dir("dir"); 55 const path dir_sym = env.create_symlink(dir, "dir_sym"); 57 const path dest = env.make_env_path("dest1");
|