/third_party/gn/src/gn/ |
D | c_include_iterator_unittest.cc | 43 file.SetContents(buffer); in TEST() 86 file.SetContents(buffer); in TEST() 107 file.SetContents(buffer); in TEST() 133 file.SetContents(buffer); in TEST() 158 file.SetContents(buffer); in TEST() 172 file.SetContents(buffer); in TEST()
|
D | tokenizer_unittest.cc | 22 input_file.SetContents(input); in CheckTokenizer() 42 empty_string_input.SetContents(""); in TEST() 49 whitespace_input.SetContents(" \r \n \r\n"); in TEST() 125 input.SetContents("1 2 \"three\"\n 4"); in TEST() 209 input.SetContents("a\t2\v\"st\tuff\"\f{"); in TEST() 220 input.SetContents("a\t2\v\"st\tuff\"\f{"); in TEST()
|
D | parser_unittest.cc | 24 input_file.SetContents(input); in DoParserPrintTest() 42 input_file.SetContents(input); in DoExpressionPrintTest() 59 input_file.SetContents(input); in DoParserErrorTest() 77 input_file.SetContents(input); in DoExpressionErrorTest()
|
D | header_checker_unittest.cc | 155 input_file.SetContents(std::string()); in TEST_F() 290 input_file.SetContents(std::string()); in TEST_F() 326 dummy_input_file.SetContents(std::string()); in TEST_F() 384 input_file.SetContents(std::string(kFileContents)); in TEST_F() 397 input_file.SetContents(std::string()); in TEST_F()
|
D | input_file.cc | 14 void InputFile::SetContents(const std::string& c) { in SetContents() function in InputFile
|
D | input_file.h | 46 void SetContents(const std::string& c);
|
D | loader_unittest.cc | 118 file->SetContents(found->second->input_file->contents()); in GetSyncCallback() 128 canned->input_file->SetContents(source); in AddCannedResponse()
|
D | test_with_scope.cc | 73 input_file.SetContents(expr); in ExecuteExpression() 331 input_file_.SetContents(input); in TestParseInput()
|
D | input_conversion.cc | 48 input_file->SetContents(input); in ParseValueOrScope() 184 input_file->SetContents(input); in ParseJSON()
|
D | header_checker.cc | 48 clone_input_file->SetContents(input_file.contents()); in CreatePersistentRange() 306 input_file.SetContents(contents); in CheckFile()
|
D | string_utils.cc | 65 input_file.SetContents( in AppendInterpolatedExpression()
|
D | setup.cc | 576 args_input_file_->SetContents(args); in FillArgsFromCommandLine() 600 args_input_file_->SetContents(contents); in FillArgsFromFile()
|
D | metadata_unittest.cc | 9 TEST(MetadataTest, SetContents) { in TEST() argument
|
D | command_format.cc | 1252 file.SetContents(input); in FormatStringToString()
|
/third_party/protobuf/src/google/protobuf/compiler/python/ |
D | python_plugin_unittest.cc | 85 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST() 117 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test1.proto", in TEST() 125 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test2.proto", in TEST()
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_bootstrap_unittest.cc | 101 GOOGLE_CHECK_OK(File::SetContents("/tmp/expected.cc", expected_contents, in ExpectFileMatches() 104 File::SetContents("/tmp/actual.cc", actual_contents, true)); in ExpectFileMatches()
|
D | cpp_plugin_unittest.cc | 184 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST()
|
/third_party/protobuf/src/google/protobuf/testing/ |
D | file.h | 93 static bool SetContents( in SetContents() function
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator_unittest.cc | 75 GOOGLE_CHECK_OK(File::SetContents( in RubyTest()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_plugin_unittest.cc | 87 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | annotation_test_util.cc | 73 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/" + filename, data, in AddFile()
|
D | command_line_interface_unittest.cc | 395 GOOGLE_CHECK_OK(File::SetContents( in CreateTempFile() 2539 GOOGLE_CHECK_OK(File::SetContents(filename, input, true)); in RedirectStdinFromText() 2648 GOOGLE_CHECK_OK(File::SetContents(unittest_proto_descriptor_set_filename_, in WriteUnittestProtoDescriptorSet()
|
D | importer_unittest.cc | 286 GOOGLE_CHECK_OK(File::SetContents(filename, contents, true)); in AddFile()
|