/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.remove/ |
remove.pass.cpp | 57 scoped_test_env env; local 58 const path non_empty_dir = env.create_dir("dir"); 59 env.create_file(non_empty_dir / "file1", 42); 60 const path bad_perms_dir = env.create_dir("bad_dir"); 61 const path file_in_bad_dir = env.create_file(bad_perms_dir / "file", 42); 65 env.make_env_path("dne"), 79 scoped_test_env env; local 80 const path dne = env.make_env_path("dne"); 81 const path link = env.create_symlink(dne, "link"); 82 const path nested_link = env.make_env_path("nested_link") [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.resize_file/ |
resize_file.pass.cpp | 59 scoped_test_env env; local 60 const path dne = env.make_env_path("dne"); 61 const path bad_sym = env.create_symlink(dne, "sym"); 62 const path dir = env.create_dir("dir1"); 76 scoped_test_env env; local 77 const path file1 = env.create_file("file1", 42); 100 const path sym = env.create_symlink(file1, "sym");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.temp_dir_path/ |
temp_directory_path.pass.cpp | 48 scoped_test_env env; local 49 const path dne = env.make_env_path("dne"); 50 const path file = env.create_file("file", 42); 51 const path dir_perms = env.create_dir("bad_perms_dir"); 52 const path nested_dir = env.create_dir("bad_perms_dir/nested"); 59 {"TMPDIR", env.create_dir("dir1")}, 60 {"TMP", env.create_dir("dir2")}, 61 {"TEMP", env.create_dir("dir3")}, 62 {"TEMPDIR", env.create_dir("dir4")} 74 // Set the env variable to a path that does not exist and chec [all...] |
/system/core/logcat/ |
logcat_system.cpp | 50 const char* env = cp; local 53 std::string str(env, ++cp); 58 cp = env;
|
/art/runtime/ |
java_vm_ext_test.cc | 64 JNIEnv* env; local 69 ok = vms_buf[0]->AttachCurrentThread(&env, nullptr); 71 ok = vms_buf[0]->AttachCurrentThreadAsDaemon(&env, nullptr); 128 JNIEnv* env; local 129 jint ok = vm_->AttachCurrentThread(&env, nullptr); 148 JNIEnv* env; local 149 jint ok = vm_->AttachCurrentThread(&env, nullptr); 153 jobject local_ref = env->NewStringUTF("Dummy"); 155 global_refs_.push_back(env->NewGlobalRef(local_ref)); 161 env->DeleteGlobalRef(global_ref) [all...] |
/development/samples/SimpleJNI/jni/ |
native.cpp | 31 add(JNIEnv* /*env*/, jobject /*thiz*/, jint a, jint b) { 46 static int registerNativeMethods(JNIEnv* env, const char* className, 51 clazz = env->FindClass(className); 56 if (env->RegisterNatives(clazz, gMethods, numMethods) < 0) { 69 static int registerNatives(JNIEnv* env) 71 if (!registerNativeMethods(env, classPathName, 87 JNIEnv* env; member in union:__anon1633 96 JNIEnv* env = NULL; local 104 env = uenv.env; [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/ |
antlr.js | 63 * org.antlr.env is used to keep track of what is known about the library and 65 * @namespace org.antlr.env 67 org.antlr.env = org.antlr.env || {}; 71 * you can. Use the user agent as a last resort. org.antlr.env.ua stores a 78 * @namespace org.antlr.env.ua 80 org.antlr.env.ua = function() { 81 var o= /** @lends org.antlr.env.ua */ { 347 if (org.antlr.env.ua.ie) {
|
/external/chromium-trace/ |
update.py | 1 #!/usr/bin/env python 55 env={"GIT_DIR":catapult_git_dir}) variable
|
/external/jsoncpp/devtools/ |
batchbuild.py | 30 def env( self ): member in class:BuildDesc 76 succeeded = self._execute_build_subprocess( cmd, self.desc.env(), self.cmake_log_path ) 85 succeeded = self._execute_build_subprocess( cmd, self.desc.env(), self.build_log_path ) 89 def _execute_build_subprocess(self, cmd, env, log_path): 91 env=env )
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.copy_file/ |
copy_file.pass.cpp | 70 scoped_test_env env; local 71 const path file = env.create_file("file1", 42); 72 const path file2 = env.create_file("file2", 55); 73 const path non_regular_file = env.create_fifo("non_reg"); 74 const path dne = env.make_env_path("dne"); 94 scoped_test_env env; local 95 const path file = env.create_file("file1", 42); 98 const path dest = env.make_env_path("dest1"); 105 const path dest = env.create_file("dest2", 55); 114 const path older = env.create_file("older_file", 1) 142 scoped_test_env env; local 157 scoped_test_env env; local 172 scoped_test_env env; local [all...] |
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.read_symlink/ |
read_symlink.pass.cpp | 59 scoped_test_env env; local 61 env.make_env_path("dne"), 62 env.create_file("file", 42), 63 env.create_dir("dir") 77 scoped_test_env env; local 78 const path dne = env.make_env_path("dne"); 79 const path file = env.create_file("file", 42); 80 const path dir = env.create_dir("dir"); 81 const path link = env.create_symlink(dne, "link"); 82 const path nested_link = env.make_env_path("nested_link") [all...] |
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.rename/ |
rename.pass.cpp | 57 scoped_test_env env; local 58 const path dne = env.make_env_path("dne"); 59 const path file = env.create_file("file1", 42); 60 const path dir = env.create_dir("dir1"); 83 scoped_test_env env; local 86 const path file = env.create_file("file1", 42); 94 const path sym = env.create_symlink(file, "sym"); 103 const path file2 = env.create_file("file2", 42); 104 const path file3 = env.create_file("file3", 100); 113 const path dne = env.make_env_path("dne") [all...] |
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.status/ |
status.pass.cpp | 60 scoped_test_env env; local 61 const path dir = env.create_dir("dir"); 62 const path file = env.create_file("dir/file", 42); 63 const path sym = env.create_symlink("dir/file", "sym"); 106 scoped_test_env env; local 118 {env.create_socket("socket"), file_type::socket}, 120 {env.create_fifo("fifo"), file_type::fifo}
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.symlink_status/ |
symlink_status.pass.cpp | 59 scoped_test_env env; local 60 const path dir = env.create_dir("dir"); 61 const path file_in_dir = env.create_file("dir/file", 42); 62 const path sym_in_dir = env.create_symlink("dir/file", "dir/bad_sym"); 63 const path sym_points_in_dir = env.create_symlink("dir/file", "sym"); 113 scoped_test_env env; local 126 {env.create_socket("socket"), file_type::socket}, 128 {env.create_fifo("fifo"), file_type::fifo} 163 scoped_test_env env; local 176 const path sym = env.make_env_path("sym") [all...] |
/external/libmojo/base/android/linker/ |
linker_jni.cc | 31 String::String(JNIEnv* env, jstring str) { 32 size_ = env->GetStringUTFLength(str); 48 const char* bytes = env->GetStringUTFChars(str, nullptr); 52 env->ReleaseStringUTFChars(str, bytes); 56 // |env| is the current JNI environment handle. 58 bool InitClassReference(JNIEnv* env, const char* class_name, jclass* clazz) { 59 *clazz = env->FindClass(class_name); 69 // |env| is the current JNI environment handle. 71 bool InitFieldId(JNIEnv* env, 76 *field_id = env->GetFieldID(clazz, field_name, field_sig) 220 JNIEnv* env; local [all...] |
/external/libmojo/base/message_loop/ |
message_pump_android.cc | 27 static void DoRunLoopOnce(JNIEnv* env, 87 Java_SystemMessageHandler_scheduleDelayedWork(env, obj, 129 JNIEnv* env = base::android::AttachCurrentThread(); local 130 DCHECK(env); 131 return env; 135 JNIEnv* env = StartInternal(); local 137 env, reinterpret_cast<intptr_t>(delegate), 145 JNIEnv* env = StartInternal(); local 147 factory->CreateMessageHandler(env, delegate, this, test_done_event)); 152 JNIEnv* env = base::android::AttachCurrentThread() local 170 JNIEnv* env = base::android::AttachCurrentThread(); local 179 JNIEnv* env = base::android::AttachCurrentThread(); local [all...] |
/external/libunwind/tests/ |
ia64-test-setjmp.c | 46 static sigjmp_buf env; variable 70 siglongjmp (env, 1); 105 if (sigsetjmp (env, 1))
|
/external/libxkbcommon/xkbcommon/src/ |
context-priv.c | 118 const char *env = NULL; local 121 env = secure_getenv("XKB_DEFAULT_RULES"); 123 return env ? env : DEFAULT_XKB_RULES; 129 const char *env = NULL; local 132 env = secure_getenv("XKB_DEFAULT_MODEL"); 134 return env ? env : DEFAULT_XKB_MODEL; 140 const char *env = NULL; local 143 env = secure_getenv("XKB_DEFAULT_LAYOUT") 151 const char *env = NULL; local 165 const char *env = NULL; local [all...] |
/external/ltp/testcases/kernel/io/disktest/ |
timer.c | 86 test_env_t *env = test->env; local 92 PDBG3(DBUG, args, "In timer %lu, %d\n", time(NULL), env->bContinue); 99 run_time, env->bContinue); 105 env->hbeat_stats.wtime++; 108 env->hbeat_stats.wtime++; 115 env->hbeat_stats.rtime++; 118 env->hbeat_stats.rtime++; 126 cur_total_io_count = env->global_stats.wcount 127 + env->cycle_stats.wcoun [all...] |
/external/tensorflow/tensorflow/compiler/aot/ |
tfcompile_main.cc | 38 #include "tensorflow/core/platform/env.h" 59 return ReadTextProto(Env::Default(), fname, proto); 61 return ReadBinaryProto(Env::Default(), fname, proto); 92 Env* env = Env::Default(); local 94 TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_function_object, 109 TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_metadata_object, 114 TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_header, header));
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
rpc_rendezvous_mgr_test.cc | 23 #include "tensorflow/core/platform/env.h" 73 rmgr_(&env) { 74 env.env = Env::Default(); 78 WorkerEnv env; member in class:tensorflow::RpcRendezvousMgrTest 114 env.env->SleepForMicroseconds(100 * 1000); 128 env.env->SleepForMicroseconds(100 * 1000) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
lmdb_reader_op.cc | 29 LMDBReader(const string& node_name, Env* /*unused*/) 121 Env* env = context->env(); local 122 SetReaderFactory([this, env]() { return new LMDBReader(name(), env); });
|
/external/turbine/java/com/google/turbine/binder/env/ |
LazyEnv.java | 17 package com.google.turbine.binder.env; 27 * An env that permits an analysis pass to access information about symbols from the current pass, 42 public class LazyEnv<S extends Symbol, T, V extends T> implements Env<S, V> { 53 /** An underlying env of already-computed {@code T}s that can be queried during completion. */ 54 private final Env<S, T> rec; 56 public LazyEnv(ImmutableMap<S, Completer<S, T, V>> completers, Env<S, ? extends T> base) { 83 V complete(Env<S, T> env, S k);
|
/external/turbine/java/com/google/turbine/deps/ |
Transitive.java | 26 import com.google.turbine.binder.env.CompoundEnv; 27 import com.google.turbine.binder.env.Env; 28 import com.google.turbine.binder.env.SimpleEnv; 104 Env<ClassSymbol, TypeBoundClass> env = local 109 addSuperTypes(closure, env, sym); 113 TypeBoundClass info = env.get(sym); 123 Set<ClassSymbol> closure, Env<ClassSymbol, TypeBoundClass> env, ClassSymbol sym) [all...] |
/external/v8/tools/ |
run-valgrind.py | 1 #!/usr/bin/env python 71 env={'VALGRIND_LIB': VALGRIND_LIB} variable
|