Home
last modified time | relevance | path

Searched refs:subtype (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/third_party/skia/third_party/externals/tint/src/ast/
Dstorage_texture_test.cc26 auto* subtype = StorageTexture::SubtypeFor(ImageFormat::kRgba32Float, *this); in TEST_F() local
29 ImageFormat::kRgba32Float, subtype, Access::kRead); in TEST_F()
36 auto* subtype = StorageTexture::SubtypeFor(ImageFormat::kRgba32Float, *this); in TEST_F() local
39 ImageFormat::kRgba32Float, subtype, Access::kRead); in TEST_F()
44 auto* subtype = StorageTexture::SubtypeFor(ImageFormat::kRgba32Float, *this); in TEST_F() local
47 ImageFormat::kRgba32Float, subtype, Access::kRead); in TEST_F()
52 auto* subtype = StorageTexture::SubtypeFor(ImageFormat::kRgba32Float, *this); in TEST_F() local
55 ImageFormat::kRgba32Float, subtype, Access::kRead); in TEST_F()
61 auto* subtype = StorageTexture::SubtypeFor(ImageFormat::kRgba32Float, *this); in TEST_F() local
64 ImageFormat::kRgba32Float, subtype, Access::kRead); in TEST_F()
[all …]
/third_party/skia/third_party/externals/tint/src/sem/
Dstorage_texture_type_test.cc29 auto* subtype = in TEST_F() local
33 ast::Access::kReadWrite, subtype); in TEST_F()
38 auto* subtype = in TEST_F() local
42 ast::Access::kReadWrite, subtype); in TEST_F()
47 auto* subtype = in TEST_F() local
51 ast::Access::kReadWrite, subtype); in TEST_F()
57 auto* subtype = in TEST_F() local
61 ast::Access::kReadWrite, subtype); in TEST_F()
67 auto* subtype = in TEST_F() local
71 ast::Access::kReadWrite, subtype); in TEST_F()
[all …]
/third_party/node/test/parallel/
Dtest-mime-api.js33 assert.strictEqual(mime.subtype, 'ecmascript');
60 mime.subtype = 'javascript';
71 mime.subtype = `javascript${WHITESPACES}`;
74 assert.throws(() => mime.subtype = '', /subtype/i);
75 assert.throws(() => mime.subtype = ';', /subtype/i);
76 assert.throws(() => mime.subtype = 'x;', /subtype/i);
77 assert.throws(() => mime.subtype = ';x', /subtype/i);
78 assert.throws(() => mime.subtype = NOT_HTTP_TOKEN_CODE_POINT, /subtype/i);
80 () => mime.subtype = `${NOT_HTTP_TOKEN_CODE_POINT};`,
81 /subtype/i);
[all …]
/third_party/node/deps/v8/src/wasm/
Dwasm-subtyping.h21 ValueType subtype, ValueType supertype, const WasmModule* sub_module,
60 V8_INLINE bool IsSubtypeOf(ValueType subtype, ValueType supertype, in IsSubtypeOf() argument
63 if (subtype == supertype && sub_module == super_module) return true; in IsSubtypeOf()
64 return IsSubtypeOfImpl(subtype, supertype, sub_module, super_module); in IsSubtypeOf()
68 V8_INLINE bool IsSubtypeOf(ValueType subtype, ValueType supertype, in IsSubtypeOf() argument
71 if (V8_LIKELY(subtype == supertype)) return true; in IsSubtypeOf()
72 return IsSubtypeOfImpl(subtype, supertype, module, module); in IsSubtypeOf()
77 V8_INLINE bool IsHeapSubtypeOf(HeapType::Representation subtype, in IsHeapSubtypeOf() argument
80 return IsSubtypeOf(ValueType::Ref(subtype, kNonNullable), in IsHeapSubtypeOf()
/third_party/json/docs/mkdocs/docs/api/byte_container_with_subtype/
Dsubtype.md1 # <small>nlohmann::byte_container_with_subtype::</small>subtype
4 constexpr subtype_type subtype() const noexcept;
7 Returns the numerical subtype of the value if it has a subtype. If it does not have a subtype, this…
12 the numerical subtype of the binary value, or `subtype_type(-1)` if no subtype is set
26 …The example below demonstrates how the subtype can be retrieved with `subtype`. Note how `subtype_…
Dindex.md8 …e template parameter `BinaryType` provided to [`basic_json`](../basic_json/index.md) with a subtype
20 - **subtype_type** - the type of the subtype (`#!cpp std::uint64_t`)
27 - [**set_subtype**](subtype.md) - sets the binary subtype
28 - [**subtype**](subtype.md) - return the binary subtype
29 - [**has_subtype**](has_subtype.md) - return whether the value has a subtype
30 - [**clear_subtype**](clear_subtype.md) - clears the binary subtype
Dbyte_container_with_subtype.md12 byte_container_with_subtype(const container_type& container, subtype_type subtype);
13 byte_container_with_subtype(container_type&& container, subtype_type subtype);
16 1. Create empty binary container without subtype.
17 2. Create binary container without subtype.
18 3. Create binary container with subtype.
25 `subtype` (in)
26 : subtype
Dset_subtype.md4 void set_subtype(subtype_type subtype) noexcept;
7 Sets the binary subtype of the value, also flags a binary JSON value as having a subtype, which has…
12 `subtype` (in)
13 : subtype to set
27 The example below demonstrates how a subtype can be set with `set_subtype`.
/third_party/json/docs/mkdocs/docs/features/
Dbinary_values.md16 +void set_subtype(std::uint64_t subtype)
19 +std::uint64_t subtype() const
35 There are several convenience functions to check and set the subtype:
47 binary.subtype(); // returns 23
85 j3.get_binary().subtype(); // returns std::uint64_t(-1) as j3 has no subtype
97 …values are serialized as an object with two keys: `bytes` holds an array of integers, and `subtype`
105 // create a binary value of subtype 42
119 "subtype": 42
139 // create a binary value of subtype 42 (will be ignored in BJData)
179 …Note that subtype (42) is **not** serialized and that UBJSON has **no binary type**, and deseriali…
[all …]
/third_party/python/Lib/email/
Dcontentmanager.py79 for subtype in 'rfc822 external-body'.split():
80 raw_data_manager.add_get_handler('message/'+subtype, get_message_content)
95 def _prepare_set(msg, maintype, subtype, headers): argument
96 msg['Content-Type'] = '/'.join((maintype, subtype))
181 def set_text_content(msg, string, subtype="plain", charset='utf-8', cte=None, argument
184 _prepare_set(msg, 'text', subtype, headers)
195 def set_message_content(msg, message, subtype="rfc822", cte=None, argument
198 if subtype == 'partial':
200 if subtype == 'rfc822':
211 elif subtype == 'external-body':
[all …]
/third_party/typescript/tests/baselines/reference/
DpartiallyDiscriminantedUnions.types8 subtype: 1;
9 >subtype : 1
16 subtype: 2;
17 >subtype : 2
43 if (ab.subtype === 2) {
44 >ab.subtype === 2 : boolean
45 >ab.subtype : 1 | 2
47 >subtype : 1 | 2
DpartiallyDiscriminantedUnions.symbols10 subtype: 1;
11 >subtype : Symbol(A1.subtype, Decl(partiallyDiscriminantedUnions.ts, 3, 14))
20 subtype: 2;
21 >subtype : Symbol(A2.subtype, Decl(partiallyDiscriminantedUnions.ts, 8, 14))
50 if (ab.subtype === 2) {
51 >ab.subtype : Symbol(subtype, Decl(partiallyDiscriminantedUnions.ts, 3, 14), Decl(partiallyDiscrimi…
53 >subtype : Symbol(subtype, Decl(partiallyDiscriminantedUnions.ts, 3, 14), Decl(partiallyDiscriminan…
DgenericTypeAssertions5.errors.txt2 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
4 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
6 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
8 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
10 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
35 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
39 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
43 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
48 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
52 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
DgenericTypeAssertions4.errors.txt2 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
4 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
6 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
8 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
10 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
35 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
39 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
43 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
48 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
52 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.
DtypeParameterAssignability3.errors.txt2 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Fo…
4 …e constraint of type 'U', but 'U' could be instantiated with a different subtype of constraint 'Fo…
6 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Fo…
8 …e constraint of type 'U', but 'U' could be instantiated with a different subtype of constraint 'Fo…
28 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Fo…
32 …e constraint of type 'U', but 'U' could be instantiated with a different subtype of constraint 'Fo…
42 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Fo…
46 …e constraint of type 'U', but 'U' could be instantiated with a different subtype of constraint 'Fo…
DtypeParameterAssignability2.errors.txt12 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Da…
14 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Da…
16 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Da…
18 …e constraint of type 'U', but 'U' could be instantiated with a different subtype of constraint 'Da…
20 …e constraint of type 'U', but 'U' could be instantiated with a different subtype of constraint 'Da…
22 …e constraint of type 'V', but 'V' could be instantiated with a different subtype of constraint 'Da…
24 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Da…
26 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Da…
28 …e constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Da…
30 …e constraint of type 'U', but 'U' could be instantiated with a different subtype of constraint 'Da…
[all …]
/third_party/json/docs/mkdocs/docs/api/basic_json/
Dbinary_t.md8 2, MessagePack's bin, and BSON's generic binary subtype. This type is NOT a part of standard JSON a…
11 Additionally, as an implementation detail, the subtype of the binary data is carried around as a `s…
13 incompatible with each other, and it is up to the user to translate between them). The subtype is a…
26 > Generic binary subtype - This is the most commonly used binary subtype and should be the 'default…
57 …- If a subtype is given and the binary array contains exactly 1, 2, 4, 8, or 16 elements, the fixe…
58 …xt4, fixext8) is used. For other sizes, the ext family (ext8, ext16, ext32) is used. The subtype is
60 - If no subtype is given, the bin family (bin8, bin16, bin32) is used.
63 - If a subtype is given, it is used and added as unsigned 8-bit integer.
64 - If no subtype is given, the generic binary subtype 0x00 is used.
89 - Added in version 3.8.0. Changed type of subtype to `std::uint64_t` in version 3.10.0.
/third_party/python/Lib/test/test_email/
Dtest_message.py577 def _make_subtype_test_message(self, subtype): argument
584 if subtype != 'no_content':
587 if subtype == 'text':
591 elif subtype != 'no_content':
593 msg_headers.append(('Content-Type', 'multipart/' + subtype))
600 def _check_disallowed_subtype_raises(self, m, method_name, subtype, method): argument
604 self.assertIn(subtype, exc_text)
623 def subtype_as_make(self, method, subtype, outcome): argument
624 m, msg_headers, payload = self._make_subtype_test_message(subtype)
627 self._check_disallowed_subtype_raises(m, method, subtype, make_method)
[all …]
/third_party/node/lib/internal/
Dmime.js74 const subtype = toASCIILower(trimmedSubtype);
78 subtype,
301 #subtype; field in MIMEType
307 this.#subtype = data.subtype;
329 get subtype() { getter in MIMEType
330 return this.#subtype;
333 set subtype(v) { setter in MIMEType
339 this.#subtype = toASCIILower(v);
343 return `${this.#type}/${this.#subtype}`;
351 let ret = `${this.#type}/${this.#subtype}`;
/third_party/json/include/nlohmann/detail/input/
Dbinary_reader.hpp255 std::uint8_t subtype{}; in get_bson_binary() local
256 get_number<std::uint8_t>(input_format_t::bson, subtype); in get_bson_binary()
257 result.set_subtype(subtype); in get_bson_binary()
783 std::uint8_t subtype{}; in parse_cbor_internal() local
784 get_number(input_format_t::cbor, subtype); in parse_cbor_internal()
785 … b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype)); in parse_cbor_internal()
790 std::uint16_t subtype{}; in parse_cbor_internal() local
791 get_number(input_format_t::cbor, subtype); in parse_cbor_internal()
792 … b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype)); in parse_cbor_internal()
797 std::uint32_t subtype{}; in parse_cbor_internal() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_sake.c91 u8 id, size_t length, u8 subtype) in eap_sake_build_msg() argument
110 sake->subtype = subtype; in eap_sake_build_msg()
241 u8 version, session_id, subtype; in eap_sake_check() local
253 subtype = resp->subtype; in eap_sake_check()
266 wpa_printf(MSG_DEBUG, "EAP-SAKE: Received frame: subtype=%d", subtype); in eap_sake_check()
268 if (data->state == IDENTITY && subtype == EAP_SAKE_SUBTYPE_IDENTITY) in eap_sake_check()
271 if (data->state == CHALLENGE && subtype == EAP_SAKE_SUBTYPE_CHALLENGE) in eap_sake_check()
274 if (data->state == CONFIRM && subtype == EAP_SAKE_SUBTYPE_CONFIRM) in eap_sake_check()
277 if (subtype == EAP_SAKE_SUBTYPE_AUTH_REJECT) in eap_sake_check()
281 subtype, data->state); in eap_sake_check()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_sake.c91 u8 id, size_t length, u8 subtype) in eap_sake_build_msg() argument
110 sake->subtype = subtype; in eap_sake_build_msg()
241 u8 version, session_id, subtype; in eap_sake_check() local
253 subtype = resp->subtype; in eap_sake_check()
266 wpa_printf(MSG_DEBUG, "EAP-SAKE: Received frame: subtype=%d", subtype); in eap_sake_check()
268 if (data->state == IDENTITY && subtype == EAP_SAKE_SUBTYPE_IDENTITY) in eap_sake_check()
271 if (data->state == CHALLENGE && subtype == EAP_SAKE_SUBTYPE_CHALLENGE) in eap_sake_check()
274 if (data->state == CONFIRM && subtype == EAP_SAKE_SUBTYPE_CONFIRM) in eap_sake_check()
277 if (subtype == EAP_SAKE_SUBTYPE_AUTH_REJECT) in eap_sake_check()
281 subtype, data->state); in eap_sake_check()
[all …]
/third_party/libfuse/lib/
Dmount.c71 char *subtype; member
87 FUSE_MOUNT_OPT("subtype=%s", subtype),
491 (mo->subtype ? strlen(mo->subtype) : 0) + in fuse_mount_sys()
494 type = malloc((mo->subtype ? strlen(mo->subtype) : 0) + 32); in fuse_mount_sys()
501 if (mo->subtype) { in fuse_mount_sys()
503 strcat(type, mo->subtype); in fuse_mount_sys()
506 mo->fsname ? mo->fsname : (mo->subtype ? mo->subtype : devname)); in fuse_mount_sys()
509 if (res == -1 && errno == ENODEV && mo->subtype) { in fuse_mount_sys()
514 sprintf(source, "%s#%s", mo->subtype, in fuse_mount_sys()
610 free(mo->subtype); in destroy_mount_opts()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_skeletons.cpp387 const char16_t* subtype; in perUnitInArabic() member
439 skeleton += cas1.subtype; in perUnitInArabic()
444 skeleton += cas2.subtype; in perUnitInArabic()
459 const char16_t* subtype; in perUnitToSkeleton() member
475 skeleton += cas1.subtype; in perUnitToSkeleton()
480 skeleton += cas2.subtype; in perUnitToSkeleton()
483 if (cas1.type != cas2.type && cas1.subtype != cas2.subtype) { in perUnitToSkeleton()
493 .append(UnicodeString(cas1.subtype)) in perUnitToSkeleton()
496 assertTrue(msg, toSkeleton.indexOf(cas1.subtype) >= 0); in perUnitToSkeleton()
501 .append(UnicodeString(cas2.subtype)) in perUnitToSkeleton()
[all …]
/third_party/ntfs-3g/libfuse-lite/
Dmount.c67 char *subtype; member
87 FUSE_MOUNT_OPT("subtype=%s", subtype),
529 (mo->subtype ? strlen(mo->subtype) : 0) + in fuse_mount_sys()
532 type = malloc((mo->subtype ? strlen(mo->subtype) : 0) + 32); in fuse_mount_sys()
539 if (mo->subtype) { in fuse_mount_sys()
541 strcat(type, mo->subtype); in fuse_mount_sys()
544 mo->fsname ? mo->fsname : (mo->subtype ? mo->subtype : devname)); in fuse_mount_sys()
550 if (res == -1 && errno == EINVAL && mo->subtype) { in fuse_mount_sys()
555 sprintf(source, "%s#%s", mo->subtype, mo->fsname); in fuse_mount_sys()
702 if (mo.subtype) { in fuse_kern_mount()
[all …]

12345678910>>...23