Home
last modified time | relevance | path

Searched refs:Converter (Results 1 – 25 of 176) sorted by relevance

12345678

/third_party/boost/boost/
Dconvert.hpp58 template<typename TypeOut, typename TypeIn, typename Converter>
60 convert(TypeIn const& value_in, Converter const& converter) in convert()
69 template<typename TypeOut, typename TypeIn, typename Converter =boost::cnv::by_default>
74 return boost::convert<TypeOut>(value_in, Converter()); in convert()
101 template<typename TypeOut, typename TypeIn, typename Converter>
103 convert(TypeIn const& value_in, Converter const& converter, boost::detail::throw_on_failure) in convert()
108 template<typename TypeOut, typename TypeIn, typename Converter, typename Fallback>
110 convert(TypeIn const& value_in, Converter const& converter, Fallback const& fallback) in convert()
115 template<typename TypeOut, typename TypeIn, typename Converter, typename Fallback>
117 convert(TypeIn const& value_in, Converter const& converter, Fallback fallback) in convert()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/
DCore.cpp25 Result Converter<bool>::FromJS(Napi::Env env, Napi::Value value, bool& out) { in FromJS()
32 Napi::Value Converter<bool>::ToJS(Napi::Env env, bool value) { in ToJS()
36 Result Converter<std::string>::FromJS(Napi::Env env, Napi::Value value, std::string& out) { in FromJS()
43 Napi::Value Converter<std::string>::ToJS(Napi::Env env, std::string value) { in ToJS()
47 Result Converter<int8_t>::FromJS(Napi::Env env, Napi::Value value, int8_t& out) { in FromJS()
54 Napi::Value Converter<int8_t>::ToJS(Napi::Env env, int8_t value) { in ToJS()
58 Result Converter<uint8_t>::FromJS(Napi::Env env, Napi::Value value, uint8_t& out) { in FromJS()
65 Napi::Value Converter<uint8_t>::ToJS(Napi::Env env, uint8_t value) { in ToJS()
69 Result Converter<int16_t>::FromJS(Napi::Env env, Napi::Value value, int16_t& out) { in FromJS()
76 Napi::Value Converter<int16_t>::ToJS(Napi::Env env, int16_t value) { in ToJS()
[all …]
DCore.h275 class Converter {};
278 class Converter<Napi::Object> {
293 class Converter<ArrayBuffer> {
308 class Converter<Napi::TypedArray> {
323 class Converter<Napi::TypedArrayOf<T>> {
359 class Converter<std::string> {
366 class Converter<bool> {
373 class Converter<int8_t> {
380 class Converter<uint8_t> {
387 class Converter<int16_t> {
[all …]
/third_party/boost/boost/bimap/container_adaptor/detail/
Dcomparison_adaptor.hpp34 template < class Compare, class NewType, class Converter >
41 comparison_adaptor( const Compare & comp, const Converter & conv) in comparison_adaptor()
52 Converter converter;
55 template < class Compare, class NewType, class Converter >
62 compatible_comparison_adaptor( const Compare & comp, const Converter & conv) in compatible_comparison_adaptor()
74 Converter converter;
84 template < class Compare, class NewType, class Converter >
90 unary_check_adaptor( const Compare & comp, const Converter & conv ) : in unary_check_adaptor()
100 Converter converter;
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceConverter.h28 class Converter : public Translator {
29 Converter() = delete;
30 Converter(const Converter &) = delete;
31 Converter &operator=(const Converter &) = delete;
34 Converter(llvm::Module *Mod, GlobalContext *Ctx) in Converter() function
38 ~Converter() override = default;
DIceConverter.cpp71 explicit LLVM2ICEConverter(Ice::Converter &Converter) in LLVM2ICEConverter() argument
72 : Converter(Converter), Ctx(Converter.getContext()), in LLVM2ICEConverter()
73 TypeConverter(Converter.getModule()->getContext()) {} in LLVM2ICEConverter()
75 Ice::Converter &getConverter() const { return Converter; } in getConverter()
78 Ice::Converter &Converter; member in __anonabdd0dcf0111::LLVM2ICEConverter
95 explicit LLVM2ICEFunctionConverter(Ice::Converter &Converter) in LLVM2ICEFunctionConverter() argument
96 : LLVM2ICEConverter(Converter), Func(nullptr) {} in LLVM2ICEFunctionConverter()
99 Func = Ice::Cfg::create(Ctx, Converter.getNextSequenceNumber()); in convertFunction()
127 Converter.translateFcn(std::move(Func)); in convertFunction()
666 explicit LLVM2ICEGlobalsConverter(Ice::Converter &Converter, in LLVM2ICEGlobalsConverter() argument
[all …]
DIceCompiler.cpp148 std::unique_ptr<Converter> Converter(new class Converter(Mod.get(), &Ctx)); in run() local
149 Converter->convertToIce(); in run()
150 Translator.reset(Converter.release()); in run()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DConverter.cpp27 Converter::~Converter() { in ~Converter()
33 bool Converter::Convert(wgpu::Extent3D& out, const interop::GPUExtent3D& in) { in Convert()
59 bool Converter::Convert(wgpu::Origin3D& out, const interop::GPUOrigin3DDict& in) { in Convert()
67 bool Converter::Convert(wgpu::Color& out, const interop::GPUColor& in) { in Convert()
96 bool Converter::Convert(wgpu::Origin3D& out, in Convert()
113 bool Converter::Convert(wgpu::TextureAspect& out, const interop::GPUTextureAspect& in) { in Convert()
130 bool Converter::Convert(wgpu::ImageCopyTexture& out, const interop::GPUImageCopyTexture& in) { in Convert()
136 bool Converter::Convert(wgpu::ImageCopyBuffer& out, const interop::GPUImageCopyBuffer& in) { in Convert()
144 bool Converter::Convert(BufferSource& out, interop::BufferSource in) { in Convert()
165 bool Converter::Convert(wgpu::TextureDataLayout& out, const interop::GPUImageDataLayout& in) { in Convert()
[all …]
DGPURenderPassEncoder.cpp52 Converter conv(env); in setBlendConstant()
88 Converter conv(env); in writeTimestamp()
101 Converter conv(env); in executeBundles()
121 Converter conv(env); in setBindGroup()
139 Converter conv(env); in setBindGroup()
165 Converter conv(env); in setPipeline()
178 Converter conv(env); in setIndexBuffer()
196 Converter conv(env); in setVertexBuffer()
226 Converter conv(env); in drawIndirect()
242 Converter conv(env); in drawIndexedIndirect()
DGPUCommandEncoder.cpp38 Converter conv(env); in beginRenderPass()
65 Converter conv(env); in copyBufferToBuffer()
81 Converter conv(env); in copyBufferToTexture()
99 Converter conv(env); in copyTextureToBuffer()
117 Converter conv(env); in copyTextureToTexture()
146 Converter conv(env); in writeTimestamp()
162 Converter conv(env); in resolveQuerySet()
DGPURenderBundleEncoder.cpp46 Converter conv(env); in setBindGroup()
64 Converter conv(env); in setBindGroup()
90 Converter conv(env); in setPipeline()
105 Converter conv(env); in setIndexBuffer()
126 Converter conv(env); in setVertexBuffer()
156 Converter conv(env); in drawIndirect()
172 Converter conv(env); in drawIndexedIndirect()
DGPUQueue.cpp40 Converter conv(env); in submit()
79 Converter::BufferSource src{}; in writeBuffer()
80 Converter conv(env); in writeBuffer()
103 Converter::BufferSource src{}; in writeTexture()
106 Converter conv(env); in writeTexture()
DGPUDevice.cpp153 Converter conv(env); in createBuffer()
168 Converter conv(env); in createTexture()
185 Converter conv(env); in createSampler()
213 Converter conv(env); in createBindGroupLayout()
228 Converter conv(env); in createPipelineLayout()
243 Converter conv(env); in createBindGroup()
257 Converter conv(env); in createShaderModule()
273 Converter conv(env); in createComputePipeline()
287 Converter conv(env); in createRenderPipeline()
303 Converter conv(env); in createComputePipelineAsync()
[all …]
/third_party/typescript_eslint/packages/typescript-estree/tests/lib/
Dconvert.test.ts3 import { Converter } from '../../src/convert';
29 const instance = new Converter(ast, {
40 const instance = new Converter(ast, {
52 const instance = new Converter(ast, {
64 const instance = new Converter(ast, {
78 const instance = new Converter(ast, {
89 const instance = new Converter(ast, {
108 const instance = new Converter(ast, {
142 const instance = new Converter(ast, {
175 const instance = new Converter(ast, {
[all …]
/third_party/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc89 template <typename Converter>
92 ConverterConsumer(Converter converter, absl::Span<const FormatArgImpl> pack) in ConverterConsumer()
106 Converter converter_;
110 template <typename Converter>
112 absl::Span<const FormatArgImpl> args, Converter converter) { in ConvertAll()
115 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
118 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
169 typedef SummarizingConverter Converter; in Summarize() typedef
175 if (!ConvertAll(format, args, Converter(&sink))) { in Summarize()
186 using Converter = DefaultConverter; in FormatUntyped() typedef
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc102 template <typename Converter>
105 ConverterConsumer(Converter converter, absl::Span<const FormatArgImpl> pack) in ConverterConsumer()
119 Converter converter_;
123 template <typename Converter>
125 absl::Span<const FormatArgImpl> args, Converter converter) { in ConvertAll()
128 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
131 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
182 typedef SummarizingConverter Converter; in Summarize() typedef
188 if (!ConvertAll(format, args, Converter(&sink))) { in Summarize()
199 using Converter = DefaultConverter; in FormatUntyped() typedef
[all …]
/third_party/boost/libs/convert/test/
Dperformance.cpp144 template<typename Type, typename Converter>
146 raw_str_to(Converter const& cnv) in raw_str_to()
159 template<typename Type, typename Converter>
161 local::str_to(Converter const& try_converter) in str_to()
174 template<typename string_type, typename Type, typename Converter>
176 local::to_str(Converter const& try_converter) in to_str()
191 template<typename Converter>
193 performance_str_to_type(Converter const& try_converter) in performance_str_to_type()
210 template<typename Converter>
212 performance_type_to_str(Converter const& try_converter) in performance_type_to_str()
/third_party/boost/libs/numeric/conversion/test/
Dtest_helpers3.cpp22 template<class Converter>
25 typedef Converter converter ;
27 typedef typename Converter::argument_type argument_type ;
28 typedef typename Converter::result_type result_type ;
30 typedef typename Converter::traits traits ;
Dconverter_test.cpp251 Converter ; in test_rounding_conversion() typedef
258 T tl1 = static_cast<T>( Converter::nearbyint(sl1) ); in test_rounding_conversion()
259 T tl0 = static_cast<T>( Converter::nearbyint(sl0) ); in test_rounding_conversion()
260 T t = static_cast<T>( Converter::nearbyint(s) ); in test_rounding_conversion()
261 T tr0 = static_cast<T>( Converter::nearbyint(sr0) ); in test_rounding_conversion()
262 T tr1 = static_cast<T>( Converter::nearbyint(sr1) ); in test_rounding_conversion()
264 test_conv_base ( ConversionInstance<Converter>(tl1,sl1,resl1) ) ; in test_rounding_conversion()
265 test_conv_base ( ConversionInstance<Converter>(tl0,sl0,resl0) ) ; in test_rounding_conversion()
266 test_conv_base ( ConversionInstance<Converter>(t,s,res) ) ; in test_rounding_conversion()
267 test_conv_base ( ConversionInstance<Converter>(tr0,sr0,resr0) ) ; in test_rounding_conversion()
[all …]
/third_party/node/src/
Dnode_i18n.h73 class Converter {
75 explicit Converter(const char* name, const char* sub = nullptr);
76 explicit Converter(UConverter* converter, const char* sub = nullptr);
89 class ConverterObject : public BaseObject, Converter {
/third_party/mindspore/mindspore/lite/tools/converter/
Dconverter.h33 class Converter {
35 Converter() = default;
36 ~Converter() { delete model_parser_; } in ~Converter()
/third_party/spirv-tools/utils/vscode/src/lsp/protocol/
Dspan.go29 Converter *span.TokenConverter member
49 s, err := s.WithAll(m.Converter)
88 return span.New(m.URI, start, end).WithAll(m.Converter)
96 return span.New(m.URI, start, start).WithAll(m.Converter)
101 offset, err := m.Converter.ToOffset(line, 1)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dspan.go29 Converter *span.TokenConverter member
49 s, err := s.WithAll(m.Converter)
88 return span.New(m.URI, start, end).WithAll(m.Converter)
96 return span.New(m.URI, start, start).WithAll(m.Converter)
101 offset, err := m.Converter.ToOffset(line, 1)
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/protocol/
Dspan.go29 Converter *span.TokenConverter member
49 s, err := s.WithAll(m.Converter)
88 return span.New(m.URI, start, end).WithAll(m.Converter)
96 return span.New(m.URI, start, start).WithAll(m.Converter)
101 offset, err := m.Converter.ToOffset(line, 1)
/third_party/boost/libs/convert/doc/
Dno_optional_interface.qbk13 boost::optional<TypeOut> boost::convert(TypeIn const&, Converter const&);
17 TypeOut convert(TypeIn const&, Converter const&, TypeOut const& fallback_value);
18 TypeOut convert(TypeIn const&, Converter const&, Functor const& fallback_func);
19 TypeOut convert(TypeIn const&, Converter const&, boost::throw_on_failure);

12345678