Home
last modified time | relevance | path

Searched refs:WriteStringToFile (Results 1 – 25 of 52) sorted by relevance

123

/external/tensorflow/tensorflow/core/lib/io/
Dbuffered_inputstream_test.cc68 TF_ASSERT_OK(WriteStringToFile(env, fname, "")); in TEST()
86 WriteStringToFile(env, fname, "line one\nline two\nline three\n")); in TEST()
111 TF_ASSERT_OK(WriteStringToFile(env, fname, "line one\nline two\nline three")); in TEST()
137 WriteStringToFile(env, fname, "line one\n\n\nline two\nline three")); in TEST()
166 TF_ASSERT_OK(WriteStringToFile(env, fname, in TEST()
196 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
260 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
298 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
334 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
370 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
[all …]
Drandom_inputstream_test.cc29 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
59 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
91 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
122 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
Dinputbuffer_test.cc42 TF_ASSERT_OK(WriteStringToFile(env, fname, "")); in TEST()
58 WriteStringToFile(env, fname, "line one\nline two\nline three\n")); in TEST()
81 TF_ASSERT_OK(WriteStringToFile(env, fname, "line one\nline two\nline three")); in TEST()
105 WriteStringToFile(env, fname, "line one\n\n\nline two\nline three")); in TEST()
132 TF_ASSERT_OK(WriteStringToFile(env, fname, in TEST()
160 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
234 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
270 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
385 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); in TEST()
/external/protobuf/src/google/protobuf/testing/
Dfile.h59 static bool WriteStringToFile(const string& contents,
95 return WriteStringToFile(contents, name); in SetContents()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dround_trip_packed_literal_test.cc56 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, data) in TEST_F()
82 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, data) in TEST_F()
115 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, data) in TEST_F()
Dfilecheck.cc39 TF_RETURN_IF_ERROR(tensorflow::WriteStringToFile(env, pattern_path, pattern)); in RunFileCheck()
/external/tensorflow/tensorflow/core/ops/compat/
Dupdate_ops_main.cc40 TF_QCHECK_OK(WriteStringToFile(env, ops_file, compatibility.OpsString())); in WriteUpdateTo()
62 TF_QCHECK_OK(WriteStringToFile(env, in WriteUpdateTo()
/external/libbrillo/brillo/
Dfile_utils_test.cc252 EXPECT_TRUE(WriteStringToFile(filename, content)); in TEST_F()
264 EXPECT_TRUE(WriteStringToFile(filename, content)); in TEST_F()
278 EXPECT_TRUE(WriteStringToFile(filename, content)); in TEST_F()
356 EXPECT_TRUE(WriteStringToFile(filename, file_content)); in TEST_F()
387 EXPECT_TRUE(WriteStringToFile(filename, file_content)); in TEST_F()
413 EXPECT_TRUE(WriteStringToFile(filename, file_content)); in TEST_F()
467 EXPECT_TRUE(WriteStringToFile(filename, file_content)); in TEST_F()
494 EXPECT_TRUE(WriteStringToFile(filename, file_content)); in TEST_F()
Dfile_utils.h101 BRILLO_EXPORT bool WriteStringToFile(const base::FilePath& path,
/external/skia/tools/copyright/
Dmain.py65 WriteStringToFile(new_file_contents, filepath)
100 def WriteStringToFile(string, filepath): function
/external/skqp/tools/copyright/
Dmain.py62 WriteStringToFile(new_file_contents, filepath)
92 def WriteStringToFile(string, filepath): function
/external/tensorflow/tensorflow/compiler/aot/
Dcompile.cc143 WriteStringToFile(Env::Default(), flags.out_session_module, in CompileGraph()
247 WriteStringToFile(env, flags.out_function_object, in Main()
264 TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_metadata_object, in Main()
269 TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_header, header)); in Main()
/external/tensorflow/tensorflow/core/kernels/
Drange_sampler_test.cc159 TF_CHECK_OK(WriteStringToFile(env, fname, kVocabContent)); in TEST_F()
169 TF_CHECK_OK(WriteStringToFile(env, fname, kVocabContent)); in TEST_F()
177 TF_CHECK_OK(WriteStringToFile(env, fname, kVocabContent)); in TEST_F()
184 TF_CHECK_OK(WriteStringToFile(env, fname, kVocabContent)); in TEST_F()
195 TF_CHECK_OK(WriteStringToFile(env, fname, kVocabContent)); in TEST_F()
Dsummary_audio_op_test.cc69 TF_CHECK_OK(WriteStringToFile( in CheckAndRemoveEncodedAudio()
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/
Dwav_to_spectrogram_test.cc33 TF_ASSERT_OK(tensorflow::WriteStringToFile(tensorflow::Env::Default(), in TEST()
/external/tensorflow/tensorflow/compiler/xla/
Dtext_literal_reader_test.cc42 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, contents) in TEST()
/external/tensorflow/tensorflow/examples/speech_commands/
Daccuracy_utils_test.cc31 TF_ASSERT_OK(WriteStringToFile(Env::Default(), file_name, file_data)); in TEST()
/external/tensorflow/tensorflow/tools/mlpbtxt/
Dfrommlpbtxt.cc57 s = WriteStringToFile(Env::Default(), FLAGS_out, out_contents); in Run()
Dtomlpbtxt.cc68 s = WriteStringToFile(Env::Default(), FLAGS_out, out_contents); in Run()
/external/tensorflow/tensorflow/tools/api/tests/
Dconvert_from_multiline.cc45 tensorflow::WriteStringToFile(env, output_path, contents)); in ConvertFilesFromMultiline()
/external/tensorflow/tensorflow/core/api_def/
Dupdate_api_def.cc219 TF_CHECK_OK(WriteStringToFile(Env::Default(), file, file_contents)) in RemoveDocs()
259 TF_CHECK_OK(WriteStringToFile(Env::Default(), file_path, api_def_text)); in CreateApiDefs()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfile_utils_test.cc54 WriteStringToFile(Env::Default(), bogus_file, "Not a !{ proto...")); in TestLoadTextOrBinaryGraphFile()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhex_floats_to_packed_literal.cc72 TF_CHECK_OK(tensorflow::WriteStringToFile(tensorflow::Env::Default(), in main()
Dhlo_proto_to_json.cc69 TF_CHECK_OK(tensorflow::WriteStringToFile(tensorflow::Env::Default(), output, in RealMain()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dasm_compiler.cc213 tensorflow::WriteStringToFile(env, ptx_path, ptx_contents)); in CompileGpuAsm()
299 TF_RETURN_IF_ERROR(tensorflow::WriteStringToFile( in BundleGpuAsm()
394 TF_RETURN_IF_ERROR(tensorflow::WriteStringToFile( in BundleGpuAsm()

123