Home
last modified time | relevance | path

Searched refs:from_string (Results 1 – 25 of 44) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
Dsfn_optimizer_test.cpp22 auto sh = from_string(red_triangle_fs_expect_from_nir); in TEST_F()
31 auto sh = from_string(add_add_1_expect_from_nir); in TEST_F()
38 auto sh = from_string(add_add_1_expect_from_nir); in TEST_F()
46 auto sh = from_string(add_add_1_expect_from_nir_copy_prop_fwd_dce); in TEST_F()
55 auto sh = from_string(basic_interpolation_orig); in TEST_F()
72 auto sh = from_string(shader_group_chan_pin_to_combine); in TEST_F()
90 auto sh = from_string(vs_nexted_loop_from_nir_expect); in TEST_F()
98 auto sh = from_string(shader_with_dest_array); in TEST_F()
107 auto sh = from_string(shader_with_dest_array_opt_expect); in TEST_F()
113 auto sh = from_string(shader_with_dest_array2); in TEST_F()
[all …]
Dsfn_value_test.cpp227 auto fs = Register::from_string("R1000.x"); in TEST_F()
230 EXPECT_EQ(*Register::from_string("R1001.y"), Register(1001, 1, pin_none)); in TEST_F()
231 EXPECT_EQ(*Register::from_string("R1.z@fully"), Register(1, 2, pin_fully)); in TEST_F()
232 EXPECT_EQ(*Register::from_string("R1000.y@chan"), Register(1000, 1, pin_chan)); in TEST_F()
233 EXPECT_EQ(*Register::from_string("R1000.y@free"), Register(1000, 1, pin_free)); in TEST_F()
236 EXPECT_EQ(*VirtualValue::from_string("L[0x1]"), LiteralConstant(1)); in TEST_F()
237 EXPECT_EQ(*VirtualValue::from_string("L[0x2]"), LiteralConstant(2)); in TEST_F()
238 EXPECT_EQ(*VirtualValue::from_string("L[0xA]"), LiteralConstant(10)); in TEST_F()
240 EXPECT_EQ(*VirtualValue::from_string("I[0]"), InlineConstant(ALU_SRC_0)); in TEST_F()
241 EXPECT_EQ(*VirtualValue::from_string("I[HW_WAVE_ID]"), InlineConstant(ALU_SRC_HW_WAVE_ID)); in TEST_F()
Dsfn_shaderfromstring_test.cpp31 std::vector<PInst> from_string(const std::string& s);
56 auto shader = from_string(init_str); in TEST_F()
96 std::vector<PInst> TestShaderFromString::from_string(const std::string& s) in from_string() function in TestShaderFromString
109 shader.push_back(m_instr_factory->from_string(line, 0)); in from_string()
Dsfn_instrfromstring_test.cpp25 PInst from_string(const std::string& s);
469 auto instr = from_string(init); in TEST_F()
694 PInst TestInstrFromString::from_string(const std::string& s) in from_string() function in r600::TestInstrFromString
696 return m_instr_factory.from_string(s, 0); in from_string()
706 auto instr = from_string(init); in check()
Dsfn_test_shaders.h108 Shader *from_string(const std::string& s);
Dsfn_test_shaders.cpp3061 Shader *TestShader::from_string(const std::string& s) in from_string() function in r600::TestShader
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instrfactory.cpp57 PInst InstrFactory::from_string(const std::string& s, int nesting_depth) in from_string() function in r600::InstrFactory
77 result = AluInstr::from_string(is, m_value_factory, group); in from_string()
79 result = TexInstr::from_string(is, m_value_factory); in from_string()
81 result = ExportInstr::from_string(is, m_value_factory); in from_string()
85 result = FetchInstr::from_string(is, m_value_factory); in from_string()
87 result = QueryBufferSizeInstr::from_string(is, m_value_factory); in from_string()
89 result = LoadFromBuffer::from_string(is, m_value_factory); in from_string()
91 result = LoadFromScratch::from_string(is, m_value_factory); in from_string()
93 result = IfInstr::from_string(is, m_value_factory); in from_string()
95 result = ScratchIOInstr::from_string(is, m_value_factory); in from_string()
[all …]
Dsfn_instr_export.h79 static Instr::Pointer from_string(std::istream& is, ValueFactory &vf);
113 static auto from_string(std::istream& is, ValueFactory &vf) -> Pointer;
187 static auto from_string(std::istream& is, ValueFactory &vf) -> Pointer;
212 static auto from_string(std::istream& is, bool cut) -> Pointer;
231 static auto from_string(std::istream& is, ValueFactory &vf) -> Pointer;
Dsfn_instr_fetch.h103 static Instr::Pointer from_string(std::istream& is, ValueFactory &vf);
160 static Instr::Pointer from_string(std::istream& is, ValueFactory& vf);
168 static Instr::Pointer from_string(std::istream& is, ValueFactory& vf);
174 static Instr::Pointer from_string(std::istream& is, ValueFactory& vf);
Dsfn_instr_controlflow.cpp75 Instr::Pointer ControlFlowInstr::from_string(std::string type_str) in from_string() function in r600::ControlFlowInstr
174 Instr::Pointer IfInstr::from_string(std::istream &is, ValueFactory& value_factory) in from_string() function in r600::IfInstr
198 auto pred = AluInstr::from_string(bufstr, value_factory, nullptr); in from_string()
Dsfn_instr_controlflow.h61 static Instr::Pointer from_string(std::string type_str);
91 static Instr::Pointer from_string(std::istream &is, ValueFactory& value_factory);
Dsfn_virtualvalues.cpp120 VirtualValue::Pointer VirtualValue::from_string(const std::string& s) in from_string() function in r600::VirtualValue
124 case 'R': return Register::from_string(s); in from_string()
125 case 'L': return LiteralConstant::from_string(s); in from_string()
126 case 'K': return UniformValue::from_string(s); in from_string()
128 case 'I': return InlineConstant::from_string(s); in from_string()
266 Register::Pointer Register::from_string(const std::string &s) in from_string() function in r600::Register
502 LiteralConstant::Pointer LiteralConstant::from_string(const std::string& s) in from_string() function in r600::LiteralConstant
563 InlineConstant::Pointer InlineConstant::from_string(const std::string& s) in from_string() function in r600::InlineConstant
697 UniformValue::Pointer UniformValue::from_string(const std::string& s) in from_string() function in r600::UniformValue
Dsfn_instr_lds.h53 static auto from_string(std::istream& is, ValueFactory& value_factory) -> Pointer;
91 static auto from_string(std::istream& is, ValueFactory& value_factory) -> Pointer;
Dsfn_instr_export.cpp114 Instr::Pointer ExportInstr::from_string(std::istream& is, ValueFactory& vf) in from_string() function in r600::ExportInstr
246 auto ScratchIOInstr::from_string(std::istream& is, ValueFactory &vf) -> Pointer in from_string() function in r600::ScratchIOInstr
458 auto MemRingOutInstr::from_string(std::istream& is, ValueFactory &vf) -> Pointer in from_string() function in r600::MemRingOutInstr
531 auto EmitVertexInstr::from_string(std::istream& is, bool cut) -> Pointer in from_string() function in r600::EmitVertexInstr
558 auto WriteTFInstr::from_string(std::istream& is, ValueFactory &vf) -> Pointer in from_string() function in r600::WriteTFInstr
Dsfn_virtualvalues.h102 static Pointer from_string(const std::string& s);
157 static Pointer from_string(const std::string& s);
221 static Pointer from_string(const std::string& s);
315 static Pointer from_string(const std::string& s);
340 static Pointer from_string(const std::string& s);
Dsfn_instr_fetch.cpp268 Instr::Pointer FetchInstr::from_string(std::istream& is, ValueFactory& vf) in from_string() function in r600::FetchInstr
526 Instr::Pointer QueryBufferSizeInstr::from_string(std::istream& is, ValueFactory& vf) in from_string() function in r600::QueryBufferSizeInstr
558 Instr::Pointer LoadFromBuffer::from_string(std::istream& is, ValueFactory& vf) in from_string() function in r600::LoadFromBuffer
660 Instr::Pointer LoadFromScratch::from_string(std::istream& is, ValueFactory &vf) in from_string() function in r600::LoadFromScratch
Dsfn_instrfactory.h43 PInst from_string(const std::string &s, int nesting_depth);
Dsfn_instr_lds.cpp185 auto LDSReadInstr::from_string(istream& is, ValueFactory& value_factory) -> Pointer in from_string() function in r600::LDSReadInstr
385 auto LDSAtomicInstr::from_string(istream& is, ValueFactory& value_factory) -> Pointer in from_string() function in r600::LDSAtomicInstr
Dsfn_instr_mem.h60 static auto from_string(std::istream& is, ValueFactory& value_factory) -> Pointer;
/third_party/cef/include/internal/
Dcef_string_wrappers.h82 static inline bool from_string(const std::string::value_type* data, in from_string() function
87 static inline bool from_string(const std::string& str, struct_type* s) { in from_string() function
88 return from_string(str.data(), str.length(), s); in from_string()
173 static inline bool from_string(const std::string::value_type* data, in from_string() function
178 static inline bool from_string(const std::string& str, struct_type* s) { in from_string() function
179 return from_string(str.c_str(), str.length(), s); in from_string()
263 static inline bool from_string(const std::string::value_type* data, in from_string() function
268 static inline bool from_string(const std::string& str, struct_type* s) { in from_string() function
269 return from_string(str.data(), str.length(), s); in from_string()
647 return traits::from_string(str, string_); in FromString()
[all …]
/third_party/rust/crates/clap/src/builder/
Dos_str.rs14 pub(crate) fn from_string(name: std::ffi::OsString) -> Self { in from_string() method
16 name: Inner::from_string(name), in from_string()
86 Self::from_string(name) in from()
100 Self::from_string(name.into()) in from()
258 pub(crate) fn from_string(name: std::ffi::OsString) -> Self { in from_string() method
Dstr.rs12 pub(crate) fn from_string(name: std::string::String) -> Self { in from_string() method
14 name: Inner::from_string(name), in from_string()
50 Self::from_string(name) in from()
229 pub(crate) fn from_string(name: std::string::String) -> Self { in from_string() method
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dconventions.py40 def from_string(cls, s): member in ProseListFormats
146 fmt = ProseListFormats.from_string(fmt)
/third_party/vulkan-headers/registry/spec_tools/
Dconventions.py50 def from_string(cls, s): member in ProseListFormats
189 fmt = ProseListFormats.from_string(fmt)
/third_party/skia/third_party/externals/jinja2/
Denvironment.py681 template = self.from_string(nodes.Template(body, lineno=1))
935 def from_string(self, source, globals=None, template_class=None): member in Environment
1031 return env.from_string(source, template_class=cls)

12