Home
last modified time | relevance | path

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

1234

/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/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()
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 …]
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()
/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 __anonfb325bba0111::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/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/node/deps/undici/src/types/
Dwebidl.d.ts6 type Converter<T> = (object: unknown) => T alias
171 sequenceConverter <Type>(C: Converter<Type>): SequenceConverter<Type>
180 keyConverter: Converter<K>,
181 valueConverter: Converter<V>
213 converter: Converter<T>
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_from_nir.cpp68 class Converter : public ConverterCommon class
71 Converter(Program *, nir_shader *, nv50_ir_prog_info *, nv50_ir_prog_info_out *);
187 Converter::Converter(Program *prog, nir_shader *nir, nv50_ir_prog_info *info, in Converter() function in __anoncfe953770111::Converter
201 Converter::convert(nir_block *block) in convert()
213 Converter::isFloatType(nir_alu_type type) in isFloatType()
219 Converter::isSignedType(nir_alu_type type) in isSignedType()
225 Converter::isResultFloat(nir_op op) in isResultFloat()
237 Converter::isResultSigned(nir_op op) in isResultSigned()
255 Converter::getDType(nir_alu_instr *insn) in getDType()
264 Converter::getDType(nir_intrinsic_instr *insn) in getDType()
[all …]
Dnv50_ir_from_tgsi.cpp1653 class Converter : public ConverterCommon class
1656 Converter(Program *, const tgsi::Source *, nv50_ir_prog_info_out *);
1657 ~Converter();
1717 BindArgumentsPass(Converter &conv) : conv(conv), sub(NULL) { } in BindArgumentsPass()
1720 Converter &conv;
1767 Converter::srcToSym(tgsi::Instruction::SrcRegister src, int c) in srcToSym()
1779 Converter::dstToSym(tgsi::Instruction::DstRegister dst, int c) in dstToSym()
1789 Converter::makeSym(uint tgsiFile, int fileIdx, int idx, int c, uint32_t address) in makeSym()
1834 Converter::interpolate(tgsi::Instruction::SrcRegister src, int c, Value *ptr) in interpolate()
1858 Converter::applySrcMod(Value *val, int s, int c) in applySrcMod()
[all …]
/third_party/node/src/
Dnode_i18n.h74 class Converter {
76 explicit Converter(const char* name, const char* sub = nullptr);
77 explicit Converter(UConverter* converter, const char* sub = nullptr);
90 class ConverterObject : public BaseObject, Converter {
Dnode_i18n.cc151 Converter to(toEncoding); in Transcode()
152 Converter from(fromEncoding); in Transcode()
180 Converter from(fromEncoding); in TranscodeToUcs2()
198 Converter to(toEncoding); in TranscodeFromUcs2()
357 Converter::Converter(const char* name, const char* sub) { in Converter() function in node::i18n::Converter
365 Converter::Converter(UConverter* converter, const char* sub) in Converter() function in node::i18n::Converter
370 void Converter::set_subst_chars(const char* sub) { in set_subst_chars()
379 void Converter::reset() { in reset()
383 size_t Converter::min_char_size() const { in min_char_size()
388 size_t Converter::max_char_size() const { in max_char_size()
[all …]
/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/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/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java397 public interface Converter<F, T> { interface in Internal.ListAdapter
402 private final Converter<F, T> converter;
404 public ListAdapter(List<F> fromList, Converter<F, T> converter) { in ListAdapter()
423 public interface Converter<A, B> { interface in Internal.MapAdapter
429 public static <T extends EnumLite> Converter<Integer, T> newEnumConverter( in newEnumConverter()
431 return new Converter<Integer, T>() { in newEnumConverter()
446 private final Converter<RealValue, V> valueConverter;
448 public MapAdapter(Map<K, RealValue> realMap, Converter<RealValue, V> valueConverter) { in MapAdapter()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
Dspan.go56 type Converter interface { interface
230 func (s Span) WithPosition(c Converter) (Span, error) {
237 func (s Span) WithOffset(c Converter) (Span, error) {
244 func (s Span) WithAll(c Converter) (Span, error) {
251 func (s *Span) update(c Converter, withPos, withOffset bool) error {
278 func (p *point) updatePosition(c Converter) error {
288 func (p *point) updateOffset(c Converter) error {
/third_party/spirv-tools/utils/vscode/src/lsp/span/
Dspan.go56 type Converter interface { interface
230 func (s Span) WithPosition(c Converter) (Span, error) {
237 func (s Span) WithOffset(c Converter) (Span, error) {
244 func (s Span) WithAll(c Converter) (Span, error) {
251 func (s *Span) update(c Converter, withPos, withOffset bool) error {
278 func (p *point) updatePosition(c Converter) error {
288 func (p *point) updateOffset(c Converter) error {
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/
Dspan.go56 type Converter interface { interface
230 func (s Span) WithPosition(c Converter) (Span, error) {
237 func (s Span) WithOffset(c Converter) (Span, error) {
244 func (s Span) WithAll(c Converter) (Span, error) {
251 func (s *Span) update(c Converter, withPos, withOffset bool) error {
278 func (p *point) updatePosition(c Converter) error {
288 func (p *point) updateOffset(c Converter) error {
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dvertexconversion.h147 class Converter,
151 typedef typename Converter::OutputType OutputType;
155 (WidenRule::initialWidth == WidenRule::finalWidth) && Converter::identity;
185 out[elementindex] = Converter::convert(in[elementindex]);

1234