HomeSort by relevance Sort by last modified time
    Searched defs:env (Results 151 - 175 of 1338) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/perfetto/src/traced/probes/
probes.cc 61 const char* env = getenv("ANDROID_FILE__dev_kmsg"); local
62 if (env) {
63 FtraceProcfs::g_kmesg_fd = atoi(env);
  /external/puffin/src/
fuzzer.cc 71 Environment* env = new Environment(); member in namespace:__anon32479
  /external/syslinux/gpxe/src/arch/i386/include/
setjmp.h 21 jmp_buf env; member in struct:__anon37789
26 extern int __asmcall setjmp ( jmp_buf env );
27 extern void __asmcall longjmp ( jmp_buf env, int val );
32 setjmp ( (_env)->env ); } ) \
37 longjmp ( (_env)->env, (_val) ); \
  /external/tensorflow/tensorflow/compiler/xla/service/
executable.cc 25 #include "tensorflow/core/platform/env.h"
145 tensorflow::Env* env = tensorflow::Env::Default(); local
146 if (!env->IsDirectory(directory_path).ok()) {
151 TF_RETURN_IF_ERROR(env->RecursivelyCreateDir(directory_path));
158 return tensorflow::WriteStringToFile(tensorflow::Env::Default(), file_path,
  /external/tensorflow/tensorflow/compiler/xla/tests/
literal_test_util_test.cc 26 #include "tensorflow/core/platform/env.h"
64 tensorflow::Env* env = tensorflow::Env::Default(); local
68 TF_CHECK_OK(env->GetMatchingPaths(pattern, &files));
70 TF_CHECK_OK(env->DeleteFile(f)) << f;
78 TF_CHECK_OK(env->GetMatchingPaths(pattern, &results));
84 TF_CHECK_OK(tensorflow::ReadBinaryProto(tensorflow::Env::Default(), result,
  /external/tensorflow/tensorflow/core/distributed_runtime/
master_env.h 31 class Env;
62 Env* env = nullptr; member in struct:tensorflow::MasterEnv
  /external/tensorflow/tensorflow/core/framework/
load_library.cc 22 #include "tensorflow/core/platform/env.h"
50 Env* env = Env::Default(); local
79 s = env->LoadLibrary(library_filename, &library.handle);
  /external/tensorflow/tensorflow/core/kernels/batching_util/
periodic_function.h 62 #include "tensorflow/core/platform/env.h"
92 Env* env = Env::Default(); member in struct:tensorflow::serving::PeriodicFunction::Options
  /external/tensorflow/tensorflow/core/kernels/
text_line_reader_op.cc 24 #include "tensorflow/core/platform/env.h"
30 TextLineReader(const string& node_name, int skip_header_lines, Env* env)
33 env_(env),
89 Env* const env_;
105 Env* env = context->env(); local
106 SetReaderFactory([this, skip_header_lines, env]() {
107 return new TextLineReader(name(), skip_header_lines, env);
    [all...]
tf_record_reader_op.cc 24 #include "tensorflow/core/platform/env.h"
31 Env* env)
33 env_(env),
76 Env* const env_;
87 Env* env = context->env(); local
93 SetReaderFactory([this, compression_type, env]() {
94 return new TFRecordReader(name(), compression_type, env);
    [all...]
whole_file_read_ops.cc 30 #include "tensorflow/core/platform/env.h"
35 static Status ReadEntireFile(Env* env, const string& filename,
38 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(filename, &file));
47 WholeFileReader(Env* env, const string& node_name)
49 env_(env) {}
80 Env* env_;
87 Env* env = context->env() local
    [all...]
  /external/tensorflow/tensorflow/core/lib/io/
buffered_inputstream_test.cc 20 #include "tensorflow/core/platform/env.h"
34 Env* env = Env::Default(); local
36 TF_ASSERT_OK(WriteStringToFile(env, fname, ""));
38 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file));
50 Env* env = Env::Default(); local
53 WriteStringToFile(env, fname, "line one\nline two\nline three\n"))
75 Env* env = Env::Default(); local
99 Env* env = Env::Default(); local
128 Env* env = Env::Default(); local
157 Env* env = Env::Default(); local
194 Env* env = Env::Default(); local
231 Env* env = Env::Default(); local
266 Env* env = Env::Default(); local
301 Env* env = Env::Default(); local
331 Env* env = Env::Default(); local
349 Env* env = Env::Default(); local
369 Env* env = Env::Default(); local
    [all...]
inputbuffer_test.cc 19 #include "tensorflow/core/platform/env.h"
38 Env* env = Env::Default(); local
40 TF_ASSERT_OK(WriteStringToFile(env, fname, ""));
44 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file));
52 Env* env = Env::Default(); local
55 WriteStringToFile(env, fname, "line one\nline two\nline three\n"))
75 Env* env = Env::Default(); local
97 Env* env = Env::Default(); local
124 Env* env = Env::Default(); local
151 Env* env = Env::Default(); local
224 Env* env = Env::Default(); local
259 Env* env = Env::Default(); local
295 Env* env = Env::Default(); local
333 Env* env = Env::Default(); local
    [all...]
  /external/tensorflow/tensorflow/core/platform/cloud/
google_auth_provider_test.cc 31 FakeEnv() : EnvWrapper(Env::Default()) {}
92 FakeEnv env; local
96 &env, 0); local
98 oauth_client->return_expiration_timestamp = env.NowSeconds() + 3600;
109 env.now += 3000;
114 env.now += 598; // 2 seconds before expiration
126 FakeEnv env; local
130 &env, 0); local
132 oauth_client->return_expiration_timestamp = env.NowSeconds() + 3600;
172 FakeEnv env; local
176 &env, 0); local
198 FakeEnv env; local
202 &env, 0); local
218 FakeEnv env; local
222 &env, 0); local
    [all...]
  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
SplitTimer.java 16 package org.tensorflow.demo.env;
  /external/tensorflow/tensorflow/tools/api/tests/
convert_from_multiline.cc 18 #include "tensorflow/core/platform/env.h"
28 Env* env = Env::Default(); local
32 TF_CHECK_OK(env->GetMatchingPaths(file_pattern, &matching_paths));
34 if (!env->IsDirectory(output_dir).ok()) {
35 TF_RETURN_IF_ERROR(env->CreateDir(output_dir));
40 TF_RETURN_IF_ERROR(tensorflow::ReadFileToString(env, path, &contents));
45 tensorflow::WriteStringToFile(env, output_path, contents));
  /external/turbine/java/com/google/turbine/binder/env/
SimpleEnv.java 17 package com.google.turbine.binder.env;
22 /** A simple {@link ImmutableMap}-backed {@link Env}. */
23 public class SimpleEnv<K extends Symbol, V> implements Env<K, V> {
  /external/valgrind/helgrind/tests/
safe-pthread.h 7 static sigjmp_buf env; variable
18 siglongjmp( env, EPERM );
28 siglongjmp( env, EPERM );
57 if ( ( r = sigsetjmp( env, 1 ) ) == 0 ) {
  /frameworks/base/apct-tests/perftests/core/jni/
SystemPerfTest.cpp 24 static jint jintarrayGetLength(JNIEnv* env, jclass, jintArray jarray) {
25 const jsize len = env->GetArrayLength(jarray);
29 static jint jintarrayCriticalAccess(JNIEnv* env, jclass, jintArray jarray, jint index) {
30 const jsize len = env->GetArrayLength(jarray);
34 jint* data = (jint*) env->GetPrimitiveArrayCritical(jarray, 0);
36 env->ReleasePrimitiveArrayCritical(jarray, data, 0);
40 static jint jintarrayBasicAccess(JNIEnv* env, jclass, jintArray jarray, jint index) {
41 const jsize len = env->GetArrayLength(jarray);
45 jint* data = env->GetIntArrayElements(jarray, 0);
47 env->ReleaseIntArrayElements(jarray, data, 0)
71 JNIEnv *env = NULL; local
    [all...]
  /frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/
native.cpp 28 add(JNIEnv */* env */, jobject /* thiz */, jint a, jint b) {
43 static int registerNativeMethods(JNIEnv* env, const char* className,
48 clazz = env->FindClass(className);
53 if (env->RegisterNatives(clazz, gMethods, numMethods) < 0) {
66 static int registerNatives(JNIEnv* env)
68 if (!registerNativeMethods(env, classPathName,
84 JNIEnv* env; member in union:__anon45728
93 JNIEnv* env = NULL; local
101 env = uenv.env;
    [all...]
  /frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/
native.cpp 28 add(JNIEnv */* env */, jobject /* thiz */, jint a, jint b) {
43 static int registerNativeMethods(JNIEnv* env, const char* className,
48 clazz = env->FindClass(className);
53 if (env->RegisterNatives(clazz, gMethods, numMethods) < 0) {
66 static int registerNatives(JNIEnv* env)
68 if (!registerNativeMethods(env, classPathName,
84 JNIEnv* env; member in union:__anon45729
93 JNIEnv* env = NULL; local
101 env = uenv.env;
    [all...]
  /frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/
native.cpp 28 add(JNIEnv */* env */, jobject /* thiz */, jint a, jint b) {
43 static int registerNativeMethods(JNIEnv* env, const char* className,
48 clazz = env->FindClass(className);
53 if (env->RegisterNatives(clazz, gMethods, numMethods) < 0) {
66 static int registerNatives(JNIEnv* env)
68 if (!registerNativeMethods(env, classPathName,
84 JNIEnv* env; member in union:__anon45730
93 JNIEnv* env = NULL; local
101 env = uenv.env;
    [all...]
  /frameworks/base/media/jni/
android_media_Media2DataSource.cpp 36 JMedia2DataSource::JMedia2DataSource(JNIEnv* env, jobject source)
40 mMedia2DataSourceObj = env->NewGlobalRef(source);
43 ScopedLocalRef<jclass> media2DataSourceClass(env, env->GetObjectClass(mMedia2DataSourceObj));
46 mReadAtMethod = env->GetMethodID(media2DataSourceClass.get(), "readAt", "(J[BII)I");
48 mGetSizeMethod = env->GetMethodID(media2DataSourceClass.get(), "getSize", "()J");
50 mCloseMethod = env->GetMethodID(media2DataSourceClass.get(), "close", "()V");
53 ScopedLocalRef<jbyteArray> tmp(env, env->NewByteArray(kBufferSize));
54 mByteArrayObj = (jbyteArray)env->NewGlobalRef(tmp.get())
59 JNIEnv* env = AndroidRuntime::getJNIEnv(); local
78 JNIEnv* env = AndroidRuntime::getJNIEnv(); local
120 JNIEnv* env = AndroidRuntime::getJNIEnv(); local
145 JNIEnv* env = AndroidRuntime::getJNIEnv(); local
    [all...]
android_media_MediaDataSource.cpp 35 JMediaDataSource::JMediaDataSource(JNIEnv* env, jobject source)
37 mMediaDataSourceObj = env->NewGlobalRef(source);
40 ScopedLocalRef<jclass> mediaDataSourceClass(env, env->GetObjectClass(mMediaDataSourceObj));
43 mReadMethod = env->GetMethodID(mediaDataSourceClass.get(), "readAt", "(J[BII)I");
45 mGetSizeMethod = env->GetMethodID(mediaDataSourceClass.get(), "getSize", "()J");
47 mCloseMethod = env->GetMethodID(mediaDataSourceClass.get(), "close", "()V");
50 ScopedLocalRef<jbyteArray> tmp(env, env->NewByteArray(kBufferSize));
51 mByteArrayObj = (jbyteArray)env->NewGlobalRef(tmp.get())
62 JNIEnv* env = AndroidRuntime::getJNIEnv(); local
82 JNIEnv* env = AndroidRuntime::getJNIEnv(); local
124 JNIEnv* env = AndroidRuntime::getJNIEnv(); local
149 JNIEnv* env = AndroidRuntime::getJNIEnv(); local
    [all...]
  /frameworks/base/services/core/jni/BroadcastRadio/
NativeCallbackThread.cpp 43 JNIEnv *env = nullptr; local
45 if (mvm->AttachCurrentThread(&env, &aargs) != JNI_OK || env == nullptr) {
69 task(env);
70 if (env->ExceptionCheck()) {
72 env->ExceptionDescribe();
73 env->ExceptionClear();

Completed in 2254 milliseconds

1 2 3 4 5 67 8 91011>>