/external/tensorflow/tensorflow/core/platform/ |
D | env.cc | 91 Env::Env() : file_system_registry_(new FileSystemRegistryImpl) {} in Env() function in tensorflow::Env 93 Status Env::GetFileSystemForFile(const string& fname, FileSystem** result) { in GetFileSystemForFile() 109 Status Env::GetRegisteredFileSystemSchemes(std::vector<string>* schemes) { in GetRegisteredFileSystemSchemes() 113 Status Env::RegisterFileSystem(const string& scheme, in RegisterFileSystem() 118 Status Env::FlushFileSystemCaches() { in FlushFileSystemCaches() 130 Status Env::NewRandomAccessFile(const string& fname, in NewRandomAccessFile() 137 Status Env::NewReadOnlyMemoryRegionFromFile( in NewReadOnlyMemoryRegionFromFile() 144 Status Env::NewWritableFile(const string& fname, in NewWritableFile() 151 Status Env::NewAppendableFile(const string& fname, in NewAppendableFile() 158 Status Env::FileExists(const string& fname) { in FileExists() [all …]
|
D | env.h | 47 class Env { 49 Env(); 50 virtual ~Env() = default; 59 static Env* Default(); 299 TF_DISALLOW_COPY_AND_ASSIGN(Env); 307 class EnvWrapper : public Env { 310 explicit EnvWrapper(Env* t) : target_(t) {} in EnvWrapper() 314 Env* target() const { return target_; } in target() 361 Env* target_; 393 Status ReadFileToString(Env* env, const string& fname, string* data); [all …]
|
D | env_test.cc | 34 string CreateTestFile(Env* env, const string& filename, int length) { in CreateTestFile() 66 Env* env_ = Env::Default(); 293 return Env::Default()->FileExists(io::JoinPath(BaseDir(), path)); in FileExists() 305 return Env::Default()->CreateDir(io::JoinPath(BaseDir(), path)); in CreateDir() 317 Env* env = Env::Default(); in TEST_F() 325 Env* env = Env::Default(); in TEST_F() 334 Env* env = Env::Default(); in TEST_F() 339 Env* env = Env::Default(); in TEST_F() 367 Env* env = Env::Default(); in TEST_F()
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle_test.cc | 117 Env* env = Env::Default(); in FlipEndiannessBit() 162 BundleWriter writer(Env::Default(), Prefix("foo")); in TestBasic() 170 BundleReader reader(Env::Default(), Prefix("foo")); in TestBasic() 181 BundleReader reader(Env::Default(), Prefix("foo")); in TestBasic() 192 BundleWriter writer(Env::Default(), Prefix("bar")); in TestBasic() 200 BundleReader reader(Env::Default(), Prefix("bar")); in TestBasic() 211 BundleReader reader(Env::Default(), Prefix("bar")); in TestBasic() 221 TF_ASSERT_OK(MergeBundles(Env::Default(), {Prefix("foo"), Prefix("bar")}, in TestBasic() 224 BundleReader reader(Env::Default(), Prefix("merged")); in TestBasic() 240 BundleReader reader(Env::Default(), Prefix("merged")); in TestBasic() [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/GC/ |
D | lower_gcroot.ll | 3 %Env = type i8* 5 define void @.main(%Env) gc "shadow-stack" { 6 %Root = alloca %Env 7 call void @llvm.gcroot( %Env* %Root, %Env null ) 11 declare void @llvm.gcroot(%Env*, %Env)
|
/external/llvm/test/CodeGen/X86/GC/ |
D | lower_gcroot.ll | 4 %Env = type i8* 6 define void @.main(%Env) gc "shadow-stack" { 7 %Root = alloca %Env 8 call void @llvm.gcroot( %Env* %Root, %Env null ) 12 declare void @llvm.gcroot(%Env*, %Env)
|
/external/tensorflow/tensorflow/python/lib/io/ |
D | file_io.i | 36 tensorflow::Status status = tensorflow::Env::Default()->FileExists(filename); in FileExists() 45 tensorflow::Env::Default()->FileExists(filename.ToString()); in FileExists() 52 tensorflow::Status status = tensorflow::Env::Default()->DeleteFile(filename); in DeleteFile() 60 tensorflow::Status status = ReadFileToString(tensorflow::Env::Default(), in ReadFileToString() 70 tensorflow::Status status = WriteStringToFile(tensorflow::Env::Default(), in WriteStringToFile() 79 tensorflow::Status status = tensorflow::Env::Default()->GetChildren( in GetChildren() 90 tensorflow::Status status = tensorflow::Env::Default()->GetMatchingPaths( in GetMatchingFiles() 99 tensorflow::Status status = tensorflow::Env::Default()->CreateDir(dirname); in CreateDir() 106 tensorflow::Status status = tensorflow::Env::Default()->RecursivelyCreateDir( in RecursivelyCreateDir() 116 if (!overwrite && tensorflow::Env::Default()->FileExists(target).ok()) { in CopyFile() [all …]
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | buffered_inputstream_test.cc | 34 Env* env = Env::Default(); in TEST() 50 Env* env = Env::Default(); in TEST() 75 Env* env = Env::Default(); in TEST() 99 Env* env = Env::Default(); in TEST() 128 Env* env = Env::Default(); in TEST() 157 Env* env = Env::Default(); in TEST() 194 Env* env = Env::Default(); in TEST() 231 Env* env = Env::Default(); in TEST() 266 Env* env = Env::Default(); in TEST() 301 Env* env = Env::Default(); in TEST() [all …]
|
D | inputbuffer_test.cc | 38 Env* env = Env::Default(); in TEST() 52 Env* env = Env::Default(); in TEST() 75 Env* env = Env::Default(); in TEST() 97 Env* env = Env::Default(); in TEST() 124 Env* env = Env::Default(); in TEST() 151 Env* env = Env::Default(); in TEST() 224 Env* env = Env::Default(); in TEST() 259 Env* env = Env::Default(); in TEST() 295 Env* env = Env::Default(); in TEST() 333 Env* env = Env::Default(); in TEST()
|
D | zlib_buffers_test.cc | 63 Env* env = Env::Default(); in TestAllCombinations() 111 Env* env = Env::Default(); in TestMultipleWrites() 162 Env* env = Env::Default(); in TEST() 195 void WriteCompressedFile(Env* env, const string& fname, int input_buf_size, in WriteCompressedFile() 214 Env* env = Env::Default(); in TestTell() 258 Env* env = Env::Default(); in TestSkipNBytes()
|
D | random_inputstream_test.cc | 27 Env* env = Env::Default(); in TEST() 56 Env* env = Env::Default(); in TEST() 87 Env* env = Env::Default(); in TEST()
|
/external/turbine/java/com/google/turbine/binder/env/ |
D | CompoundEnv.java | 22 public class CompoundEnv<S extends Symbol, V> implements Env<S, V> { 24 private final Env<S, ? extends V> base; 25 private final Env<S, ? extends V> env; 27 private CompoundEnv(Env<S, ? extends V> base, Env<S, ? extends V> env) { in CompoundEnv() 42 public static <S extends Symbol, V> CompoundEnv<S, V> of(Env<S, ? extends V> env) { in of() 47 public CompoundEnv<S, V> append(Env<S, ? extends V> env) { in append()
|
/external/turbine/java/com/google/turbine/binder/ |
D | Binder.java | 38 import com.google.turbine.binder.env.Env; 91 Env<ClassSymbol, SourceHeaderBoundClass> henv = bindHierarchy(syms, psenv, classPathEnv); in bind() 93 Env<ClassSymbol, SourceTypeBoundClass> tenv = in bind() 129 Env<ClassSymbol, SourceBoundClass> ienv, in bindPackages() 162 private static Env<ClassSymbol, SourceHeaderBoundClass> bindHierarchy( in bindHierarchy() 175 Env<ClassSymbol, HeaderBoundClass> henv, ClassSymbol sym) { in bindHierarchy() 183 private static Env<ClassSymbol, SourceTypeBoundClass> bindTypes( in bindTypes() 185 Env<ClassSymbol, SourceHeaderBoundClass> shenv, in bindTypes() 186 Env<ClassSymbol, HeaderBoundClass> henv) { in bindTypes() 194 private static Env<ClassSymbol, SourceTypeBoundClass> canonicalizeTypes( in canonicalizeTypes() [all …]
|
D | ClassPathBinder.java | 25 import com.google.turbine.binder.env.Env; 55 Env<ClassSymbol, BytecodeBoundClass> cp = bindClasspath(tli, classpath); in bind() 56 Env<ClassSymbol, BytecodeBoundClass> bcp = bindClasspath(tli, bootclasspath); in bind() 60 private static Env<ClassSymbol, BytecodeBoundClass> bindClasspath( in bindClasspath() 64 Env<ClassSymbol, BytecodeBoundClass> benv = in bindClasspath() 65 new Env<ClassSymbol, BytecodeBoundClass>() { in bindClasspath() 92 Env<ClassSymbol, BytecodeBoundClass> benv, in bindJar()
|
/external/tensorflow/tensorflow/stream_executor/ |
D | dso_loader.cc | 48 return GetDsoHandle(FindDsoPath(port::Env::Default()->FormatLibraryFileName( in GetCublasDsoHandle() 58 return GetDsoHandle(FindDsoPath(port::Env::Default()->FormatLibraryFileName( in GetCudnnDsoHandle() 65 return GetDsoHandle(FindDsoPath(port::Env::Default()->FormatLibraryFileName( in GetCufftDsoHandle() 72 return GetDsoHandle(FindDsoPath(port::Env::Default()->FormatLibraryFileName( in GetCurandDsoHandle() 81 FindDsoPath(port::Env::Default()->FormatLibraryFileName("nvcuda", ""), in GetLibcudaDsoHandle() 86 FindDsoPath(port::Env::Default()->FormatLibraryFileName("cuda", "1"), in GetLibcudaDsoHandle() 93 FindDsoPath(port::Env::Default()->FormatLibraryFileName("cuda", ""), in GetLibcudaDsoHandle() 107 FindDsoPath(port::Env::Default()->FormatLibraryFileName("cupti", ""), in GetLibcuptiDsoHandle() 111 return GetDsoHandle(FindDsoPath(port::Env::Default()->FormatLibraryFileName( in GetLibcuptiDsoHandle() 137 port::Env::Default()->LoadLibrary(path_string.c_str(), dso_handle); in GetDsoHandle() [all …]
|
/external/clang/lib/Format/ |
D | TokenAnalyzer.cpp | 77 TokenAnalyzer::TokenAnalyzer(const Environment &Env, const FormatStyle &Style) in TokenAnalyzer() argument 78 : Style(Style), Env(Env), in TokenAnalyzer() 79 AffectedRangeMgr(Env.getSourceManager(), Env.getCharRanges()), in TokenAnalyzer() 82 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer() 93 FormatTokenLexer Tokens(Env.getSourceManager(), Env.getFileID(), Style, in process()
|
/external/tensorflow/tensorflow/core/lib/jpeg/ |
D | jpeg_mem_unittest.cc | 53 void ReadFileToStringOrDie(Env* env, const string& filename, string* output) { in ReadFileToStringOrDie() 57 void TestJPEG(Env* env, const string& jpegfile) { in TestJPEG() 88 Env* env = Env::Default(); in TEST() 98 void TestCropAndDecodeJpeg(Env* env, const string& jpegfile, in TestCropAndDecodeJpeg() 182 Env* env = Env::Default(); in TEST() 192 Env* env = Env::Default(); in TEST() 202 Env* env = Env::Default(); in TEST() 212 Env* env = Env::Default(); in TEST() 220 Env* env = Env::Default(); in TEST() 258 Env* env = Env::Default(); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_show_test.cc | 49 ReadProtoFile(Env::Default(), graph_path, graph_pb.get(), false)); in TFProfShowTest() 57 ReadProtoFile(Env::Default(), run_meta_path, run_meta_pb.get(), true)); in TFProfShowTest() 63 TF_CHECK_OK(ReadBinaryProto(Env::Default(), op_log_path, op_log_pb.get())); in TFProfShowTest() 90 TF_CHECK_OK(ReadFileToString(Env::Default(), in TestToFromProto() 110 TF_CHECK_OK(ReadFileToString(Env::Default(), dump_file, &dump_str)); in TEST_F() 137 TF_CHECK_OK(ReadFileToString(Env::Default(), dump_file, &dump_str)); in TEST_F() 185 TF_CHECK_OK(ReadFileToString(Env::Default(), dump_file, &dump_str)); in TEST_F()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen_test.cc | 85 void GenerateCcOpFiles(Env* env, const OpList& ops, in GenerateCcOpFiles() 109 Env* env = Env::Default(); in TEST() 137 Env* env = Env::Default(); in TEST() 168 Env* env = Env::Default(); in TEST()
|
/external/turbine/java/com/google/turbine/types/ |
D | Canonicalize.java | 22 import com.google.turbine.binder.env.Env; 66 Env<ClassSymbol, TypeBoundClass> env, ClassSymbol base, Type type) { in canonicalize() 87 private static ClassTy canon(Env<ClassSymbol, TypeBoundClass> env, ClassSymbol base, ClassTy ty) { in canon() 110 private static boolean isRaw(Env<ClassSymbol, TypeBoundClass> env, ClassTy ty) { in isRaw() 125 Env<ClassSymbol, TypeBoundClass> env, ClassSymbol first, ClassSymbol owner) { in lexicalBase() 146 Env<ClassSymbol, TypeBoundClass> env, ClassSymbol owner) { in uninstantiated() 155 static boolean isSubclass(Env<ClassSymbol, TypeBoundClass> env, ClassSymbol s, ClassSymbol t) { in isSubclass() 170 Env<ClassSymbol, TypeBoundClass> env, ClassTy base, ClassTy.SimpleClassTy ty) { in canonOne() 206 Env<ClassSymbol, TypeBoundClass> env, in addInstantiation() 231 Env<ClassSymbol, TypeBoundClass> env, in instantiate() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | range_sampler_test.cc | 157 Env* env = Env::Default(); in TEST_F() 167 Env* env = Env::Default(); in TEST_F() 175 Env* env = Env::Default(); in TEST_F() 182 Env* env = Env::Default(); in TEST_F() 193 Env* env = Env::Default(); in TEST_F()
|
D | spectrogram_test_utils.cc | 33 if (!ReadFileToString(Env::Default(), file_name, &wav_data).ok()) { in ReadWaveFileToVector() 60 if (!ReadFileToString(Env::Default(), file_name, &data_string).ok()) { in ReadRawFloatFileToComplexVector() 110 if (!ReadFileToString(Env::Default(), file_name, &data_string).ok()) { in ReadCSVFileToComplexVectorOrDie() 157 TF_CHECK_OK(ReadFileToString(Env::Default(), filename, &contents)); in ReadCSVFileToArrayOrDie() 173 if (!Env::Default()->NewWritableFile(file_name, &file).ok()) { in WriteDoubleVectorToFile() 195 if (!Env::Default()->NewWritableFile(file_name, &file).ok()) { in WriteFloatVectorToFile() 217 if (!Env::Default()->NewWritableFile(file_name, &file).ok()) { in WriteDoubleArrayToFile() 239 if (!Env::Default()->NewWritableFile(file_name, &file).ok()) { in WriteFloatArrayToFile() 262 if (!Env::Default()->NewWritableFile(file_name, &file).ok()) { in WriteComplexVectorToRawFloatFile()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | round_trip_packed_literal_test.cc | 57 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, data) in TEST_F() 61 TF_CHECK_OK(tensorflow::Env::Default()->NewRandomAccessFile(fname, &f)); in TEST_F() 84 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, data) in TEST_F() 90 TF_CHECK_OK(tensorflow::Env::Default()->NewRandomAccessFile(fname, &f)); in TEST_F() 119 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, data) in TEST_F() 125 TF_CHECK_OK(tensorflow::Env::Default()->NewRandomAccessFile(fname, &f)); in TEST_F()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Environment.cpp | 110 Environment EnvironmentManager::bindExpr(Environment Env, in bindExpr() argument 116 return Environment(F.remove(Env.ExprBindings, E)); in bindExpr() 118 return Env; in bindExpr() 120 return Environment(F.add(Env.ExprBindings, E, V)); in bindExpr() 147 EnvironmentManager::removeDeadBindings(Environment Env, in removeDeadBindings() argument 164 for (Environment::iterator I = Env.begin(), E = Env.end(); in removeDeadBindings()
|
/external/tensorflow/tensorflow/core/kernels/batching_util/ |
D | basic_batch_scheduler_benchmark_test.cc | 63 const int64 start_time_micros = Env::Default()->NowMicros(); in InjectLoad() 73 int64 now_micros = Env::Default()->NowMicros(); in InjectLoad() 77 Env::Default()->SleepForMicroseconds(1 /* minimum time */); in InjectLoad() 79 now_micros = Env::Default()->NowMicros(); in InjectLoad() 103 : start_time_micros_(Env::Default()->NowMicros()) {} in BenchmarkBatchTask() 251 const int64 start_time_micros = Env::Default()->NowMicros(); in RunBenchmark() 266 Env::Default()->NowMicros() - start_time_micros; in RunBenchmark() 278 Env::Default()->NowMicros() - start_time_micros; in RunBenchmark() 313 const uint64 batch_completion_time = Env::Default()->NowMicros(); in ProcessBatch()
|