/third_party/icu/icu4c/source/common/ |
H A D | capi_helper.h | 14 template<typename CType, typename CPPType, int32_t kMagic> 20 static const CPPType* validate(const CType* input, UErrorCode& status); 25 static CPPType* validate(CType* input, UErrorCode& status); 30 const CType* exportConstForC() const; 35 CType* exportForC(); 50 template<typename CType, typename CPPType, int32_t kMagic> 52 IcuCApiHelper<CType, CPPType, kMagic>::validate(const CType* input, UErrorCode& status) { in validate() 61 if (static_cast<const IcuCApiHelper<CType, CPPType, kMagic>*>(impl)->fMagic != kMagic) { in validate() 68 template<typename CType, typenam [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | capi_helper.h | 14 template<typename CType, typename CPPType, int32_t kMagic> 20 static const CPPType* validate(const CType* input, UErrorCode& status); 25 static CPPType* validate(CType* input, UErrorCode& status); 30 const CType* exportConstForC() const; 35 CType* exportForC(); 50 template<typename CType, typename CPPType, int32_t kMagic> 52 IcuCApiHelper<CType, CPPType, kMagic>::validate(const CType* input, UErrorCode& status) { in validate() 61 if (static_cast<const IcuCApiHelper<CType, CPPType, kMagic>*>(impl)->fMagic != kMagic) { in validate() 68 template<typename CType, typenam [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | capi_helper.h | 14 template<typename CType, typename CPPType, int32_t kMagic> 20 static const CPPType* validate(const CType* input, UErrorCode& status); 25 static CPPType* validate(CType* input, UErrorCode& status); 30 const CType* exportConstForC() const; 35 CType* exportForC(); 50 template<typename CType, typename CPPType, int32_t kMagic> 52 IcuCApiHelper<CType, CPPType, kMagic>::validate(const CType* input, UErrorCode& status) { in validate() 61 if (static_cast<const IcuCApiHelper<CType, CPPType, kMagic>*>(impl)->fMagic != kMagic) { in validate() 68 template<typename CType, typenam [all...] |
/third_party/skia/third_party/externals/dawn/generator/templates/ |
H A D | webgpu_cpp.cpp | 28 {% set CType = as_cType(type.name) %} 32 static_assert(sizeof({{CppType}}) == sizeof({{CType}}), "sizeof mismatch for {{CppType}}"); 33 static_assert(alignof({{CppType}}) == alignof({{CType}}), "alignof mismatch for {{CppType}}"); 42 {% set CType = as_cType(type.name) + "Flags" %} 46 static_assert(sizeof({{CppType}}) == sizeof({{CType}}), "sizeof mismatch for {{CppType}}"); 47 static_assert(alignof({{CppType}}) == alignof({{CType}}), "alignof mismatch for {{CppType}}"); 66 {% set CType = as_cType(type.name) %} 70 static_assert(sizeof({{CppType}}) == sizeof({{CType}}), "sizeof mismatch for {{CppType}}"); 71 static_assert(alignof({{CppType}}) == alignof({{CType}}), "alignof mismatch for {{CppType}}"); 74 static_assert(offsetof({{CppType}}, nextInChain) == offsetof({{CType}}, nextInChai [all...] |
/third_party/rust/crates/foreign-types/foreign-types-shared/src/ |
H A D | lib.rs | 17 type CType; types 20 type Ref: ForeignTypeRef<CType = Self::CType>; 23 unsafe fn from_ptr(ptr: *mut Self::CType) -> Self; in from_ptr() 26 fn as_ptr(&self) -> *mut Self::CType; in as_ptr() 32 type CType; types 36 unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self { in from_ptr() 42 unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self { in from_ptr_mut() 48 fn as_ptr(&self) -> *mut Self::CType { in as_ptr()
|
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/ |
H A D | wgpu_structs.cpp | 37 {% set CType = as_cType(type.name) %} 39 static_assert(sizeof({{CppType}}) == sizeof({{CType}}), "sizeof mismatch for {{CppType}}"); 40 static_assert(alignof({{CppType}}) == alignof({{CType}}), "alignof mismatch for {{CppType}}"); 43 static_assert(offsetof({{CppType}}, nextInChain) == offsetof({{CType}}, nextInChain), 48 static_assert(offsetof({{CppType}}, {{memberName}}) == offsetof({{CType}}, {{memberName}}),
|
/third_party/protobuf/src/google/protobuf/ |
H A D | wire_format_lite.h | 256 template <typename CType, enum FieldType DeclaredType> 258 CType* value); 263 template <typename CType, enum FieldType DeclaredType> 266 RepeatedField<CType>* value); 270 template <typename CType, enum FieldType DeclaredType> 273 RepeatedField<CType>* value); 280 template <typename CType, enum FieldType DeclaredType> 282 const uint8* buffer, CType* value); 287 template <typename CType, enum FieldType DeclaredType> 289 io::CodedInputStream* input, RepeatedField<CType>* valu [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | formattedval_impl.h | 258 #define UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix) \ 259 U_CAPI CType* U_EXPORT2 \ 272 Prefix ## _resultAsValue (const CType* uresult, UErrorCode* ec) { \ 278 Prefix ## _closeResult (CType* uresult) { \ 288 * @param CType The public C type, like UFormattedList 294 #define UPRV_FORMATTED_VALUE_CAPI_AUTO_IMPL(CPPType, CType, ImplType, HelperType, Prefix, MagicNumber) \ 297 typedef IcuCApiHelper<CType, ImplType, MagicNumber> HelperType; \ 309 UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix)
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | formattedval_impl.h | 261 #define UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix) \ 262 U_CAPI CType* U_EXPORT2 \ 275 Prefix ## _resultAsValue (const CType* uresult, UErrorCode* ec) { \ 281 Prefix ## _closeResult (CType* uresult) { \ 291 * @param CType The public C type, like UFormattedList 297 #define UPRV_FORMATTED_VALUE_CAPI_AUTO_IMPL(CPPType, CType, ImplType, HelperType, Prefix, MagicNumber) \ 300 typedef IcuCApiHelper<CType, ImplType, MagicNumber> HelperType; \ 312 UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix)
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | formattedval_impl.h | 257 #define UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix) \ 258 U_CAPI CType* U_EXPORT2 \ 271 Prefix ## _resultAsValue (const CType* uresult, UErrorCode* ec) { \ 277 Prefix ## _closeResult (CType* uresult) { \ 287 * @param CType The public C type, like UFormattedList 293 #define UPRV_FORMATTED_VALUE_CAPI_AUTO_IMPL(CPPType, CType, ImplType, HelperType, Prefix, MagicNumber) \ 296 typedef IcuCApiHelper<CType, ImplType, MagicNumber> HelperType; \ 308 UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix)
|
/third_party/skia/src/c/ |
H A D | sk_c_from_to.h | 8 static bool find_sk(CType from, SKType* to) { in find_sk() 20 static bool find_c(SKType from, CType* to) { in find_c() 32 #undef CType macro
|
H A D | sk_paint.cpp | 36 #define CType sk_stroke_cap_t macro 41 #define CType sk_stroke_join_t macro
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | md.rs | 35 type CType = ffi::EVP_MD; types 39 unsafe fn from_ptr(ptr: *mut Self::CType) -> Self { in from_ptr() 44 fn as_ptr(&self) -> *mut Self::CType { in as_ptr() 208 type CType = ffi::EVP_MD; types
|
H A D | util.rs | 70 unsafe fn from_ptr_opt(ptr: *mut Self::CType) -> Option<Self> { in from_ptr_opt() 81 unsafe fn from_const_ptr<'a>(ptr: *const Self::CType) -> &'a Self { in from_const_ptr() 82 Self::from_ptr(ptr as *mut Self::CType) in from_const_ptr() 85 unsafe fn from_const_ptr_opt<'a>(ptr: *const Self::CType) -> Option<&'a Self> { in from_const_ptr_opt() 89 Some(Self::from_const_ptr(ptr as *mut Self::CType)) in from_const_ptr_opt()
|
H A D | macros.rs | 137 type CType = $ctype:ty; types 149 type CType = $ctype; types 168 type CType = $ctype:ty; types 182 type CType = $ctype; types 262 type CType = $ctype; types
|
H A D | cipher.rs | 58 type CType = ffi::EVP_CIPHER; types 62 unsafe fn from_ptr(ptr: *mut Self::CType) -> Self { in from_ptr() 67 fn as_ptr(&self) -> *mut Self::CType { in as_ptr() 497 type CType = ffi::EVP_CIPHER; types
|
H A D | lib_ctx.rs | 7 type CType = ffi::OSSL_LIB_CTX; types
|
H A D | srtp.rs | 11 type CType = ffi::SRTP_PROTECTION_PROFILE; types
|
/third_party/rust/crates/foreign-types/foreign-types/src/ |
H A D | lib.rs | 34 //! type CType = foo_sys::FOO; 50 //! type CType = foo_sys::FOO; 93 //! type CType = foo_sys::FOO; 105 //! If `fn clone` is specified, then it must take `CType` as an argument and return a copy of it as `CType`. 109 //! `#[doc(hidden)]` before the `type CType` line will hide the `foreign_type!` implementations from documentation. 149 //! type CType = foo_sys::FOO; 158 //! type CType = foo_sys::BAR; 196 /// type CType = openssl_sys::SSL; 211 type CType types 224 type CType = $ctype; global() types 303 type CType = $ctype; global() types [all...] |
/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldOptions/ |
H A D | CType.php | 10 * Protobuf type <code>google.protobuf.FieldOptions.CType</code> 12 class CType class 57 class_alias(CType::class, \Google\Protobuf\Internal\FieldOptions_CType::class);
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | AttributeLayoutTest.cpp | 175 template <class CType, GLenum GLType, bool Normalized> 190 double minOut = std::numeric_limits<CType>::min(); in operator ()() 191 double rangeOut = std::numeric_limits<CType>::max() - minOut; in operator ()() 193 if (std::is_signed<CType>::value) in operator ()() 205 container, offset, stride, data, Store<CType>, GLType, in operator ()() 206 Normalized, sizeof(CType), minIn, maxIn, minOut, rangeOut / (maxIn - minIn), in operator ()()
|
/third_party/skia/experimental/graphite/src/ |
H A D | UniformManager.cpp | 223 CType ctype, in WriteUniform() 273 case CType::kDefault: in WriteUniform() 275 case CType::kSkMatrix: in WriteUniform() 282 case CType::kDefault: in WriteUniform() 284 case CType::kSkMatrix: in WriteUniform() 529 CType::kDefault, in writeUniforms()
|
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/ |
H A D | WireCmd.cpp | 532 {% set CType = as_cType(sType.name) %} 535 {{CType}}Transfer* transfer; 540 WIRE_TRY({{CType}}Serialize(*reinterpret_cast<{{CType}} const*>(chainedStruct), transfer, buffer 587 {% set CType = as_cType(sType.name) %} 589 const volatile {{CType}}Transfer* transfer; 592 {{CType}}* outStruct; 593 WIRE_TRY(GetSpace(allocator, sizeof({{CType}}), &outStruct)); 600 WIRE_TRY({{CType}}Deserialize(outStruct, transfer, deserializeBuffer, allocator
|
/third_party/typescript/tests/baselines/reference/ |
H A D | inferenceErasedSignatures.js | 20 type CType<T> = T extends SomeAbstractClass<infer C, any, any> ? C : never; 24 type SomeClassC = CType<SomeClass>; // number
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | FieldOptions_CType.php | 9 * This class is deprecated. Use Google\Protobuf\Internal\FieldOptions\CType instead. 14 class_exists(FieldOptions\CType::class); 15 @trigger_error('Google\Protobuf\Internal\FieldOptions_CType is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldOptions\CType instead', E_USER_DEPRECATED);
|