Home
last modified time | relevance | path

Searched refs:to_s (Results 1 - 16 of 16) sorted by relevance

/third_party/python/Objects/stringlib/
H A Dtransmogrify.h280 const char *to_s, Py_ssize_t to_len, in stringlib_replace_interleave()
320 memcpy(result_s, to_s, to_len); in stringlib_replace_interleave()
326 memcpy(result_s, to_s, to_len); in stringlib_replace_interleave()
331 result_s[0] = to_s[0]; in stringlib_replace_interleave()
336 result_s[0] = to_s[0]; in stringlib_replace_interleave()
495 const char *to_s, Py_ssize_t to_len, in stringlib_replace_substring_in_place()
526 memcpy(start, to_s, from_len); in stringlib_replace_substring_in_place()
536 memcpy(start + offset, to_s, from_len); in stringlib_replace_substring_in_place()
547 const char *to_s, Py_ssize_t to_len, in stringlib_replace_single_character()
589 memcpy(result_s, to_s, to_le in stringlib_replace_single_character()
279 stringlib_replace_interleave(PyObject *self, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_interleave() argument
493 stringlib_replace_substring_in_place(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_substring_in_place() argument
545 stringlib_replace_single_character(PyObject *self, char from_c, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_single_character() argument
609 stringlib_replace_substring(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_substring() argument
678 stringlib_replace(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace() argument
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/xml/
H A Dgenerate-core-block.rb35 core_block = "\t"*2 + require.to_s.lines[0].strip + "\n"
36 alias_block = "\t"*3 + require.to_s.lines[0].strip + "\n"
55 core_block << ' ' + key + '="' + value.to_s + '"'
59 core_block << "\t"*3 + element.to_s.strip + "\n"
69 alias_block << "\t"*4 + element.to_s.strip + "\n"
79 alias_block << "\t"*3 + require.to_s.lines[-1].strip
80 core_block << "\t"*2 + require.to_s.lines[-1].strip
/third_party/cJSON/tests/unity/auto/
H A Dparse_output.rb195 puts 'Tests Passed : ' + test_pass.to_s
196 puts 'Tests Failed : ' + test_fail.to_s
197 puts 'Tests Ignored : ' + test_ignore.to_s
202 heading = '<testsuite tests="' + @total_tests.to_s + '" failures="' + test_fail.to_s + '"' + ' skips="' + test_ignore.to_s + '">'
H A Dgenerate_test_runner.rb322 main_name = @options[:main_name].to_sym == :auto ? "main_#{filename.gsub('.c', '')}" : (@options[:main_name]).to_s
/third_party/vk-gl-cts/external/vulkan-docs/src/config/spec-macros/
H A Dextension.rb43 msg = 'Rewriting nonexistent link macro target: ' + @name.to_s + ':' + oldtarget + ' to ' + target
48 if @name.to_s != 'apiext'
49 msg = 'Textifying unknown link macro target: ' + @name.to_s + ':' + target
69 msg = 'Rewriting nonexistent name macro target: ' + @name.to_s + ':' + oldtarget + ' to ' + target
/third_party/unity/auto/
H A Dparse_output.rb86 @array_list.push " <testcase classname=#{xml_encode_s(@test_suite)} name=#{xml_encode_s(test_name)} time=#{xml_encode_s((execution_time / 1000.0).to_s)} />"
91 @array_list.push " <testcase classname=#{xml_encode_s(@test_suite)} name=#{xml_encode_s(test_name)} time=#{xml_encode_s((execution_time / 1000.0).to_s)} >"
98 @array_list.push " <testcase classname=#{xml_encode_s(@test_suite)} name=#{xml_encode_s(test_name)} time=#{xml_encode_s((execution_time / 1000.0).to_s)} >"
113 return unless base_name.to_s != @test_suite.to_s
126 array.map { |x| x.to_s.lstrip.chomp }
H A Dgenerate_test_runner.rb397 main_name = @options[:main_name].to_sym == :auto ? "main_#{filename.gsub('.c', '')}" : (@options[:main_name]).to_s
/third_party/vk-gl-cts/external/vulkan-docs/src/config/extension-highlighter/
H A Dextension.rb167 anchor = '[[difference' + @current_anchor.to_s + ']]'
206 anchor_link = '<<difference' + @current_anchor.to_s + ', =>>>'
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dinstruction_test.cc40 EXPECT_EQ(ops[2].to_s(), "my_str"); in TEST_F()
H A Dbinary_writer.cc69 const auto& str = op.to_s(); in process_op()
H A Doperand.h83 const std::string& to_s() const { return str_val_; } in to_s() function in tint::writer::spirv::Operand
H A Doperand_test.cc41 EXPECT_EQ(o.to_s(), "my string"); in TEST_F()
/third_party/rust/crates/nom/src/bytes/
H A Dtests.rs142 fn to_s(i: Vec<u8>) -> String { in to_s() functions
160 to_s, in escape_transform()
204 to_s, in escape_transform()
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/
H A Drepeated_field_test.rb383 arr.fill { |i| (i*i).to_s }
386 arr.fill(-2) { |i| (i*i*i).to_s }
/third_party/protobuf/ruby/tests/
H A Drepeated_field_test.rb405 arr.fill { |i| (i*i).to_s }
408 arr.fill(-2) { |i| (i*i*i).to_s }
H A Dcommon_tests.rb122 assert_equal expected, m.to_s
127 assert_equal expected, m.to_s

Completed in 10 milliseconds