Home
last modified time | relevance | path

Searched refs:Convert (Results 1 – 25 of 694) sorted by relevance

12345678910>>...28

/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DConverter.h75 return Convert(std::forward<OUT>(out), std::forward<IN>(in)); in operator()
87 return Convert(out_els, out_count, in); in operator()
103 [[nodiscard]] bool Convert(wgpu::Extent3D& out, const interop::GPUExtent3D& in);
105 [[nodiscard]] bool Convert(wgpu::Origin3D& out, const interop::GPUOrigin3DDict& in);
107 [[nodiscard]] bool Convert(wgpu::Color& out, const interop::GPUColor& in);
109 [[nodiscard]] bool Convert(wgpu::Origin3D& out,
112 [[nodiscard]] bool Convert(wgpu::TextureAspect& out, const interop::GPUTextureAspect& in);
114 [[nodiscard]] bool Convert(wgpu::ImageCopyTexture& out,
117 [[nodiscard]] bool Convert(wgpu::ImageCopyBuffer& out,
120 [[nodiscard]] bool Convert(BufferSource& out, interop::BufferSource in);
[all …]
DConverter.cpp33 bool Converter::Convert(wgpu::Extent3D& out, const interop::GPUExtent3D& in) { in Convert() function in wgpu::binding::Converter
59 bool Converter::Convert(wgpu::Origin3D& out, const interop::GPUOrigin3DDict& in) { in Convert() function in wgpu::binding::Converter
67 bool Converter::Convert(wgpu::Color& out, const interop::GPUColor& in) { in Convert() function in wgpu::binding::Converter
96 bool Converter::Convert(wgpu::Origin3D& out, in Convert() function in wgpu::binding::Converter
113 bool Converter::Convert(wgpu::TextureAspect& out, const interop::GPUTextureAspect& in) { in Convert() function in wgpu::binding::Converter
130 bool Converter::Convert(wgpu::ImageCopyTexture& out, const interop::GPUImageCopyTexture& in) { in Convert() function in wgpu::binding::Converter
132 return Convert(out.texture, in.texture) && Convert(out.mipLevel, in.mipLevel) && in Convert()
133 Convert(out.origin, in.origin) && Convert(out.aspect, in.aspect); in Convert()
136 bool Converter::Convert(wgpu::ImageCopyBuffer& out, const interop::GPUImageCopyBuffer& in) { in Convert() function in wgpu::binding::Converter
139 return Convert(out.layout.offset, in.offset) && in Convert()
[all …]
/third_party/node/deps/v8/src/builtins/
Dconvert.tq53 return Convert<Smi>(ConstexprIntegerLiteralToInt31(i));
136 return Convert<uint64>(Unsigned(Int32Constant(i)));
186 macro Convert<To: type, From: type>(i: From): To {
190 macro Convert<To: type, From: type>(i: From): To labels Overflow {
194 Convert<Boolean, bool>(b: bool): Boolean {
197 Convert<int32, bool>(b: bool): int32 {
200 Convert<Number, int32>(i: int32): Number {
203 Convert<intptr, int32>(i: int32): intptr {
206 Convert<intptr, int31>(i: int31): intptr {
209 Convert<intptr, uint32>(i: uint32): intptr {
[all …]
Dmath.tq17 goto Float64Result(Convert<float64>(h));
58 return Convert<Number>(Float64Abs(f));
71 return Convert<Number>(Float64Ceil(f));
84 return Convert<Number>(Float64Floor(f));
97 return Convert<Number>(Float64Round(f));
110 return Convert<Number>(Float64Trunc(f));
124 return Convert<Number>(result);
143 return Convert<Number>(result);
156 return Convert<Number>(result);
164 const value = Convert<float64>(ToNumber_Inline(x));
[all …]
Dtorque-internal.tq72 offset: Convert<intptr>(Convert<RawPtr>(ptr)) + kHeapObjectTag,
89 if (Convert<uintptr>(index) < Convert<uintptr>(this.length)) {
105 return this.TryAtIndex(Convert<intptr>(index)) otherwise unreachable;
113 const i: intptr = Convert<intptr>(index);
118 const i: intptr = Convert<intptr>(index);
134 Convert<uintptr>(endIndex) <= Convert<uintptr>(this.length) &&
135 Convert<uintptr>(startIndex) <= Convert<uintptr>(endIndex));
186 offset: Convert<intptr>(Convert<RawPtr>(startPointer)) + kHeapObjectTag,
221 const arrayLength = Convert<int32>(arrayLength);
224 return TryIntPtrAdd(baseSize, Convert<intptr>(byteLength))
[all …]
/third_party/glslang/Test/baseResults/
D400.vert.out83 0:35 Convert float to double ( temp double)
87 0:36 Convert float to double ( temp double)
91 0:37 Convert float to double ( temp double)
95 0:38 Convert float to double ( temp double)
99 0:40 Convert uint to double ( temp double)
103 0:41 Convert uint to double ( temp double)
107 0:42 Convert uint to double ( temp double)
111 0:43 Convert uint to double ( temp double)
115 0:45 Convert int to double ( temp double)
119 0:46 Convert int to double ( temp double)
[all …]
Dconversion.frag.out11 0:35 Convert int to bool ( temp bool)
13 0:35 Convert float to bool ( temp bool)
19 0:36 Convert int to bool ( temp bool)
21 0:36 Convert float to bool ( temp bool)
27 0:37 Convert int to bool ( temp bool)
29 0:37 Convert float to bool ( temp bool)
31 0:37 Convert int to bool ( temp bool)
37 0:38 Convert int to bool ( temp bool)
39 0:38 Convert float to bool ( temp bool)
41 0:38 Convert int to bool ( temp bool)
[all …]
DfindFunction.frag.out23 0:7 Convert int16_t to int64 ( temp int64_t)
25 0:7 Convert int8_t to int16_t ( temp int16_t)
37 0:12 Convert int to int64 ( temp int64_t)
39 0:12 Convert int8_t to int ( temp int)
42 0:12 Convert int16_t to int ( temp int)
52 0:17 Convert int to int64 ( temp int64_t)
65 0:22 Convert float to int64 ( temp int64_t)
67 0:22 Convert float16_t to float ( temp float)
70 0:22 Convert float16_t to float ( temp float)
80 0:27 Convert float to int64 ( temp int64_t)
[all …]
Dhlsl.boolConv.vert.out20 0:6 Convert bool to int ( temp int)
22 0:6 Convert bool to int ( temp int)
27 0:7 Convert bool to int ( temp int)
29 0:7 Convert bool to int ( temp int)
34 0:8 Convert bool to int ( temp int)
36 0:8 Convert bool to int ( temp int)
41 0:9 Convert bool to int ( temp int)
43 0:9 Convert bool to int ( temp int)
48 0:10 Convert bool to int ( temp int)
50 0:10 Convert bool to int ( temp int)
[all …]
Dhlsl.overload.frag.out131 0:59 Convert float to double ( temp double)
135 0:60 Convert float to double ( temp double)
139 0:61 Convert float to double ( temp double)
143 0:62 Convert float to double ( temp double)
147 0:63 Convert float to double ( temp double)
151 0:65 Convert uint to double ( temp double)
155 0:66 Convert uint to double ( temp double)
159 0:67 Convert uint to double ( temp double)
163 0:68 Convert uint to double ( temp double)
167 0:69 Convert uint to double ( temp double)
[all …]
Dhlsl.intrinsics.negative.frag.out76 0:5 Convert float to uint ( temp uint)
78 0:5 Convert float to uint ( temp uint)
84 0:7 Convert float to uint ( temp uint)
91 0:9 Convert float to int ( temp 4-component vector of int)
112 0:12 Convert float to uint ( temp uint)
117 0:13 Convert float to uint ( temp uint)
120 0:14 Convert float to uint ( temp uint)
125 0:24 Convert float to uint ( temp uint)
152 0:29 Convert float to uint ( temp uint)
181 0:46 Convert float to uint ( temp 2-component vector of uint)
[all …]
Dhlsl.type.identifier.frag.out23 0:11 Convert float to bool ( temp bool)
25 0:11 Convert float to bool ( temp bool)
30 0:12 Convert bool to int ( temp int)
38 0:13 Convert float to uint ( temp uint)
41 0:13 Convert int to float ( temp float)
46 0:14 Convert uint to float ( temp mediump float)
83 0:25 Convert int to float ( temp mediump float)
85 0:25 Convert uint to float ( temp mediump float)
96 0:25 Convert int to float ( temp mediump float)
158 0:11 Convert float to bool ( temp bool)
[all …]
Dhlsl.logical.unary.frag.out9 0:13 Convert int to bool ( temp bool)
15 0:14 Convert int to bool ( temp 4-component vector of bool)
21 0:16 Convert float to bool ( temp bool)
27 0:17 Convert float to bool ( temp 4-component vector of bool)
34 0:19 Convert int to bool ( temp bool)
42 0:20 Convert float to bool ( temp bool)
51 0:21 Convert int to bool ( temp bool)
60 0:22 Convert float to bool ( temp bool)
103 0:13 Convert int to bool ( temp bool)
109 0:14 Convert int to bool ( temp 4-component vector of bool)
[all …]
Dhlsl.promotions.frag.out26 0:26 Convert int to float ( temp 3-component vector of float)
32 0:26 Convert int to float ( temp 3-component vector of float)
43 0:27 Convert uint to float ( temp 3-component vector of float)
49 0:27 Convert uint to float ( temp 3-component vector of float)
60 0:28 Convert bool to float ( temp 3-component vector of float)
66 0:28 Convert bool to float ( temp 3-component vector of float)
77 0:29 Convert double to float ( temp 3-component vector of float)
83 0:29 Convert double to float ( temp 3-component vector of float)
94 0:31 Convert uint to int ( temp 3-component vector of int)
100 0:31 Convert uint to int ( temp 3-component vector of int)
[all …]
/third_party/gn/src/base/json/
Djson_value_converter.cc10 bool BasicValueConverter<int>::Convert(const base::Value& value, in Convert() function in base::internal::BasicValueConverter
15 bool BasicValueConverter<std::string>::Convert(const base::Value& value, in Convert() function in base::internal::BasicValueConverter::string
20 bool BasicValueConverter<std::u16string>::Convert(const base::Value& value, in Convert() function in base::internal::BasicValueConverter::u16string
25 bool BasicValueConverter<double>::Convert(const base::Value& value, in Convert() function in base::internal::BasicValueConverter
30 bool BasicValueConverter<bool>::Convert(const base::Value& value, in Convert() function in base::internal::BasicValueConverter
Djson_value_converter.h111 virtual bool Convert(const base::Value& value, FieldType* field) const = 0;
125 return value_converter_->Convert(value, &(dst->*field_pointer_)); in ConvertField()
143 bool Convert(const base::Value& value, int* field) const override;
155 bool Convert(const base::Value& value, std::string* field) const override;
168 bool Convert(const base::Value& value, std::u16string* field) const override;
180 bool Convert(const base::Value& value, double* field) const override;
192 bool Convert(const base::Value& value, bool* field) const override;
207 bool Convert(const base::Value& value, FieldType* field) const override { in Convert() function
226 bool Convert(const base::Value& value, FieldType* field) const override { in Convert() function
244 bool Convert(const base::Value& value, NestedType* field) const override { in Convert() function
[all …]
/third_party/node/deps/v8/src/objects/
Dswiss-name-dictionary.tq12 data_table[Convert<intptr>(capacity) * 2]: JSAny|TheHole;
13 ctrl_table[Convert<intptr>(capacity) + swiss_table::kGroupWidth]: uint8;
14 property_details_table[Convert<intptr>(capacity)]: uint8;
124 Convert<intptr>(SwissNameDictionaryMaxUsableCapacity(capacity));
159 const nonZeroCapacity: int32 = capacity | Convert<int32>(capacity == 0);
163 SwissNameDictionaryCtrlTableStartOffsetMT(Convert<intptr>(capacity)) +
169 GroupLoader{}.LoadGroup(ctrlTableStart + Convert<intptr>(seq.offset));
173 const candidateEntry = Convert<intptr>(seq.Offset(inGroupIndex));
193 Convert<int32>(capacity) | Convert<int32>(capacity == 0);
203 GroupLoader{}.LoadGroup(ctrlTableStart + Convert<intptr>(seq.offset));
[all …]
Dordered-hash-table.tq33 data_table[Convert<intptr>(number_of_buckets) * kSmallOrderedHashTableLoadFactor]:
36 chain_table[Convert<intptr>(number_of_buckets) * kSmallOrderedHashTableLoadFactor]:
49 number_of_buckets: (Convert<uint8>(hashTableSize)),
72 data_table[Convert<intptr>(number_of_buckets) * kSmallOrderedHashTableLoadFactor]:
75 chain_table[Convert<intptr>(number_of_buckets) * kSmallOrderedHashTableLoadFactor]:
88 number_of_buckets: (Convert<uint8>(hashTableSize)),
112 data_table[Convert<intptr>(number_of_buckets) * kSmallOrderedHashTableLoadFactor]:
Dturbofan-types.tq98 const valueF = Convert<float64>(value);
186 (digit <= Convert<uintptr>(kMaxIntPtr) &&
190 (digit <= Convert<uintptr>(kMinIntPtr) &&
217 return Convert<Boolean>(
221 return Convert<Boolean>(
228 const valueF = Convert<float64>(value);
229 return Convert<Boolean>(
233 return Convert<Boolean>(TaggedEqual(value, t.constant));
237 Convert<float64>(Cast<Number>(value) otherwise return False);
238 return Convert<Boolean>(value == t.constant);
/third_party/node/deps/v8/src/wasm/
Dwasm-opcodes-inl.h130 CASE_CONVERT_OP(Convert, INT, F32, "f32", "trunc") in OpcodeName()
131 CASE_CONVERT_OP(Convert, INT, F64, "f64", "trunc") in OpcodeName()
132 CASE_CONVERT_OP(Convert, I64, I32, "i32", "extend") in OpcodeName()
133 CASE_CONVERT_OP(Convert, F32, I32, "i32", "convert") in OpcodeName()
134 CASE_CONVERT_OP(Convert, F32, I64, "i64", "convert") in OpcodeName()
136 CASE_CONVERT_OP(Convert, F64, I32, "i32", "convert") in OpcodeName()
137 CASE_CONVERT_OP(Convert, F64, I64, "i64", "convert") in OpcodeName()
229 CASE_CONVERT_SAT_OP(Convert, I32, F32, "f32", "trunc") in OpcodeName()
230 CASE_CONVERT_SAT_OP(Convert, I32, F64, "f64", "trunc") in OpcodeName()
231 CASE_CONVERT_SAT_OP(Convert, I64, F32, "f32", "trunc") in OpcodeName()
[all …]
/third_party/python/Doc/library/
Dcolorsys.rst32 Convert the color from RGB coordinates to YIQ coordinates.
37 Convert the color from YIQ coordinates to RGB coordinates.
42 Convert the color from RGB coordinates to HLS coordinates.
47 Convert the color from HLS coordinates to RGB coordinates.
52 Convert the color from RGB coordinates to HSV coordinates.
57 Convert the color from HSV coordinates to RGB coordinates.
/third_party/skia/src/sksl/dsl/
DDSLExpression.cpp168 return DSLExpression(FieldAccess::Convert(ThreadContext::Context(), in field()
173 return BinaryExpression::Convert(ThreadContext::Context(), this->release(), in operator =()
178 return IndexExpression::Convert(ThreadContext::Context(), *ThreadContext::SymbolTable(), in operator []()
193 return SkSL::FunctionCall::Convert(ThreadContext::Context(), pos.line(), this->release(), in operator ()()
199 return BinaryExpression::Convert(ThreadContext::Context(), left.release(), \
205 return PrefixExpression::Convert(ThreadContext::Context(), SkSL::Token::Kind::token, \
211 return PostfixExpression::Convert(ThreadContext::Context(), expr.release(), \
238 return BinaryExpression::Convert(ThreadContext::Context(), left.release(), in LogicalXor()
258 return BinaryExpression::Convert(ThreadContext::Context(), left.release(), in operator ,()
263 return BinaryExpression::Convert(ThreadContext::Context(), in operator ,()
[all …]
/third_party/node/deps/v8/test/torque/
Dtest-torque.tq240 check(Convert<intptr>(0xffff) + 1 == 0x10000);
241 check(Convert<intptr>(-0xffff) == -65535);
490 result = result + Convert<int32>(x);
493 result = result + Convert<int32>(a.length);
856 const oneTwoThree = Convert<Smi>(123);
865 const threeTwoOne = Convert<Smi>(321);
883 fixedArray.objects[i] = Convert<Smi>(i) + 3;
890 check(value == Convert<Smi>(i) + 3);
911 static_assert(Convert<uintptr>(5) < Convert<uintptr>(6));
912 static_assert(!(Convert<uintptr>(5) < Convert<uintptr>(5)));
[all …]
/third_party/node/deps/v8/src/execution/
Darguments.h119 #define RUNTIME_ENTRY_WITH_RCS(Type, InternalType, Convert, Name) \ argument
126 return Convert(__RT_impl_##Name(args, isolate)); \
135 #define RUNTIME_ENTRY_WITH_RCS(Type, InternalType, Convert, Name) argument
140 #define RUNTIME_FUNCTION_RETURNS_TYPE(Type, InternalType, Convert, Name) \ argument
143 RUNTIME_ENTRY_WITH_RCS(Type, InternalType, Convert, Name) \
149 return Convert(__RT_impl_##Name(args, isolate)); \
/third_party/node/src/
Ddebug_utils-inl.h15 static std::string Convert(
24 static std::string Convert(const T& value) { return std::to_string(value); } in Convert() function
25 static std::string Convert(const char* value) { in Convert() function
28 static std::string Convert(const std::string& value) { return value; } in Convert() function
29 static std::string Convert(std::string_view value) { in Convert() function
32 static std::string Convert(bool value) { return value ? "true" : "false"; } in Convert() function
53 return Convert(std::forward<T>(value)); in BaseConvert()
59 return ToStringHelper::Convert(value); in ToString()

12345678910>>...28