Searched refs:file_text (Results 1 – 5 of 5) sorted by relevance
/third_party/libsnd/ |
D | make_lite.py | 165 file_text = open (filename, 'r').read () 167 file_text = string.replace (file_text, current_str, '') 168 open (filename, 'w').write (file_text) 171 file_text = open (filename, 'r').read () 172 file_text = string.replace (file_text, from_str, to_str) 173 open (filename, 'w').write (file_text) 176 file_text = open (filename, 'r').read () 178 file_text = re.sub (regex, '', file_text, re.MULTILINE | re.DOTALL) 179 open (filename, 'w').write (file_text)
|
/third_party/boost/libs/config/tools/ |
D | generate.cpp | 50 std::string file_text; in write_config_info() local 51 …::istreambuf_iterator<char>(ifs), std::istreambuf_iterator<char>(), std::back_inserter(file_text)); in write_config_info() 65 if(boost::regex_search(file_text, what, re)) in write_config_info() 219 std::string file_text; in process_ipp_file() local 227 …::istreambuf_iterator<char>(ifs), std::istreambuf_iterator<char>(), std::back_inserter(file_text)); in process_ipp_file() 232 if(boost::regex_search(file_text, macro_match, macro_regex)) in process_ipp_file() 236 …namespace_name = boost::regex_replace(file_text, macro_regex, "\\L$1", boost::format_first_only | … in process_ipp_file()
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor_database_unittest.cc | 57 const char* file_text) { in AddToDatabase() argument 59 EXPECT_TRUE(TextFormat::ParseFromString(file_text, &file_proto)); in AddToDatabase()
|
D | descriptor_unittest.cc | 3644 const FileDescriptor* BuildFile(const std::string& file_text) { in BuildFile() argument 3646 EXPECT_TRUE(TextFormat::ParseFromString(file_text, &file_proto)); in BuildFile() 3653 void BuildFileWithErrors(const std::string& file_text, in BuildFileWithErrors() argument 3656 ASSERT_TRUE(TextFormat::ParseFromString(file_text, &file_proto)); in BuildFileWithErrors() 3667 void BuildFileWithWarnings(const std::string& file_text, in BuildFileWithWarnings() argument 3670 ASSERT_TRUE(TextFormat::ParseFromString(file_text, &file_proto)); in BuildFileWithWarnings() 6617 const char* file_text) { in AddToDatabase() argument 6619 EXPECT_TRUE(TextFormat::ParseFromString(file_text, &file_proto)); in AddToDatabase()
|
/third_party/gettext/build-aux/ |
D | texi2html | 14246 my $file_text = '('; 14247 $file_text = "(in $line_number->{'file_name'} " if ($line_number->{'file_name'} ne $docu); 14248 return "${file_text}l. $line_number->{'line_nr'}" . $macro_text . ')';
|