Home
last modified time | relevance | path

Searched refs:bitwidth (Results 1 – 25 of 73) sorted by relevance

123

/third_party/spirv-tools/test/
Dtext_literal_test.cpp160 uint32_t bitwidth; member
177 IdType expected_type{test.bitwidth, test.is_signed, type}; in successfulEncode()
192 IdType expected_type{test.bitwidth, test.is_signed, type}; in failedEncode()
207 << GetParam().bitwidth << "-bit " in TEST_P()
217 TextLiteralCase Make_Ok__Signed(uint32_t bitwidth, const char* text, in Make_Ok__Signed() argument
219 return TextLiteralCase{bitwidth, text, true, true, encoding}; in Make_Ok__Signed()
221 TextLiteralCase Make_Ok__Unsigned(uint32_t bitwidth, const char* text, in Make_Ok__Unsigned() argument
223 return TextLiteralCase{bitwidth, text, false, true, encoding}; in Make_Ok__Unsigned()
225 TextLiteralCase Make_Bad_Signed(uint32_t bitwidth, const char* text) { in Make_Bad_Signed() argument
226 return TextLiteralCase{bitwidth, text, true, false, {}}; in Make_Bad_Signed()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dtext_literal_test.cpp160 uint32_t bitwidth; member
177 IdType expected_type{test.bitwidth, test.is_signed, type}; in successfulEncode()
192 IdType expected_type{test.bitwidth, test.is_signed, type}; in failedEncode()
207 << GetParam().bitwidth << "-bit " in TEST_P()
217 TextLiteralCase Make_Ok__Signed(uint32_t bitwidth, const char* text, in Make_Ok__Signed() argument
219 return TextLiteralCase{bitwidth, text, true, true, encoding}; in Make_Ok__Signed()
221 TextLiteralCase Make_Ok__Unsigned(uint32_t bitwidth, const char* text, in Make_Ok__Unsigned() argument
223 return TextLiteralCase{bitwidth, text, false, true, encoding}; in Make_Ok__Unsigned()
225 TextLiteralCase Make_Bad_Signed(uint32_t bitwidth, const char* text) { in Make_Bad_Signed() argument
226 return TextLiteralCase{bitwidth, text, true, false, {}}; in Make_Bad_Signed()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dtext_literal_test.cpp158 uint32_t bitwidth; member
175 libspirv::IdType expected_type{test.bitwidth, test.is_signed, type}; in successfulEncode()
191 libspirv::IdType expected_type{test.bitwidth, test.is_signed, type}; in failedEncode()
207 << GetParam().bitwidth << "-bit " in TEST_P()
218 TextLiteralCase Make_Ok__Signed(uint32_t bitwidth, const char* text, in Make_Ok__Signed() argument
220 return TextLiteralCase{bitwidth, text, true, true, encoding}; in Make_Ok__Signed()
222 TextLiteralCase Make_Ok__Unsigned(uint32_t bitwidth, const char* text, in Make_Ok__Unsigned() argument
224 return TextLiteralCase{bitwidth, text, false, true, encoding}; in Make_Ok__Unsigned()
226 TextLiteralCase Make_Bad_Signed(uint32_t bitwidth, const char* text) { in Make_Bad_Signed() argument
227 return TextLiteralCase{bitwidth, text, true, false, {}}; in Make_Bad_Signed()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dtext_literal_test.cpp160 uint32_t bitwidth; member
177 IdType expected_type{test.bitwidth, test.is_signed, type}; in successfulEncode()
192 IdType expected_type{test.bitwidth, test.is_signed, type}; in failedEncode()
207 << GetParam().bitwidth << "-bit " in TEST_P()
217 TextLiteralCase Make_Ok__Signed(uint32_t bitwidth, const char* text, in Make_Ok__Signed() argument
219 return TextLiteralCase{bitwidth, text, true, true, encoding}; in Make_Ok__Signed()
221 TextLiteralCase Make_Ok__Unsigned(uint32_t bitwidth, const char* text, in Make_Ok__Unsigned() argument
223 return TextLiteralCase{bitwidth, text, false, true, encoding}; in Make_Ok__Unsigned()
225 TextLiteralCase Make_Bad_Signed(uint32_t bitwidth, const char* text) { in Make_Bad_Signed() argument
226 return TextLiteralCase{bitwidth, text, true, false, {}}; in Make_Bad_Signed()
[all …]
/third_party/libsnd/src/
Dwavlike.h202 unsigned short bitwidth ; member
211 unsigned short bitwidth ; member
222 unsigned short bitwidth ; member
238 unsigned short bitwidth ; member
249 unsigned short bitwidth ; member
261 unsigned short bitwidth ; member
279 unsigned short bitwidth ; member
Dsds.c48 { int bitwidth, frames ; member
173 if (psds->bitwidth < 8 || psds->bitwidth > 28) in sds_init()
176 if (psds->bitwidth < 14) in sds_init()
181 else if (psds->bitwidth < 21) in sds_init()
214 { unsigned char channel, bitwidth, loop_type, byte ; in sds_read_header() local
232 bytesread += psf_binheader_readf (psf, "e13", &bitwidth, &samp_period) ; in sds_read_header()
236 psds->bitwidth = bitwidth ; in sds_read_header()
238 if (psds->bitwidth > 1) in sds_read_header()
239 psf_log_printf (psf, " Bit Width : %d\n", psds->bitwidth) ; in sds_read_header()
241 { psf_log_printf (psf, " Bit Width : %d (should be > 1)\n", psds->bitwidth) ; in sds_read_header()
[all …]
Ddwd.c118 { unsigned char major, minor, compression, channels, bitwidth ; member
139 psf_binheader_readf (psf, "e211", &dwdh.srate, &dwdh.channels, &dwdh.bitwidth) ; in dwd_read_header()
156 dwdh.srate, dwdh.channels, dwdh.bitwidth) ; in dwd_read_header()
158 switch (dwdh.bitwidth) in dwd_read_header()
170 psf_log_printf (psf, "*** Bad bit width %d\n", dwdh.bitwidth) ; in dwd_read_header()
Dpvf.c137 int marker, channels, samplerate, bitwidth ; in pvf_read_header() local
148 if (sscanf (buffer, "%d %d %d", &channels, &samplerate, &bitwidth) != 3) in pvf_read_header()
152 channels, samplerate, bitwidth) ; in pvf_read_header()
157 switch (bitwidth) in pvf_read_header()
Dvoc.c64 int samplerate, channels, bitwidth ; member
337 { unsigned char bitwidth, channels ; in voc_read_header() local
341 &bitwidth, &channels, &encoding, &fourbytes) ; in voc_read_header()
354 " channels : %d\n", psf->sf.samplerate, bitwidth, channels) ; in voc_read_header()
356 if (bitwidth == 16 && encoding == 0) in voc_read_header()
572 if (pvoc->bitwidth == 8)
580 if (pvoc->bitwidth == 16)
Ddwvw.c79 dwvw_init (SF_PRIVATE *psf, int bitwidth) in dwvw_init() argument
87 if (bitwidth > 24) in dwvw_init()
97 pdwvw->bit_width = bitwidth ; in dwvw_init()
417 { int bitwidth = pdwvw->bit_width ; in dwvw_read_reset() local
421 pdwvw->bit_width = bitwidth ; in dwvw_read_reset()
422 pdwvw->dwm_maxsize = bitwidth / 2 ; in dwvw_read_reset()
423 pdwvw->max_delta = 1 << (bitwidth - 1) ; in dwvw_read_reset()
424 pdwvw->span = 1 << bitwidth ; in dwvw_read_reset()
Dwavlike.c144 &(wav_fmt->min.blockalign), &(wav_fmt->min.bitwidth)) ; in wavlike_read_fmt_chunk()
151 && wav_fmt->min.bitwidth > 0 && wav_fmt->min.channels > 0) in wavlike_read_fmt_chunk()
152 { wav_fmt->min.blockalign = wav_fmt->min.bitwidth / 8 + (wav_fmt->min.bitwidth % 8 > 0 ? 1 : 0) ; in wavlike_read_fmt_chunk()
159 if (wav_fmt->format == WAVE_FORMAT_PCM && wav_fmt->min.bitwidth == 24 && in wavlike_read_fmt_chunk()
172 else if (wav_fmt->min.bitwidth == 0) in wavlike_read_fmt_chunk()
176 psf_log_printf (psf, " Bit Width : %d\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk()
179 psf_log_printf (psf, " Bit Width : %d (should not be 0)\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk()
186 psf_log_printf (psf, " Bit Width : %d (should be 0)\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk()
189 psf_log_printf (psf, " Bit Width : %d\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk()
206 psf->bytewidth = BITWIDTH2BYTES (wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/
Dtext_handler.cpp252 number_type = {type.bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
254 number_type = {type.bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
258 number_type = {type.bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
266 uint32_t bitwidth = static_cast<uint32_t>(assumedBitWidth(type)); in binaryEncodeNumericLiteral() local
268 number_type = {bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
270 number_type = {bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
272 number_type = {bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
Dtext_handler.h47 uint32_t bitwidth; // Safe to assume that we will not have > 2^32 bits. member
54 return (first.bitwidth == second.bitwidth) &&
86 return type.bitwidth; in assumedBitWidth()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dtext_handler.cpp251 number_type = {type.bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
253 number_type = {type.bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
257 number_type = {type.bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
265 uint32_t bitwidth = static_cast<uint32_t>(assumedBitWidth(type)); in binaryEncodeNumericLiteral() local
267 number_type = {bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
269 number_type = {bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
271 number_type = {bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
Dtext_handler.h44 uint32_t bitwidth; // Safe to assume that we will not have > 2^32 bits. member
51 return (first.bitwidth == second.bitwidth) &&
83 return type.bitwidth; in assumedBitWidth()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.cpp252 number_type = {type.bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
254 number_type = {type.bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
258 number_type = {type.bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
266 uint32_t bitwidth = static_cast<uint32_t>(assumedBitWidth(type)); in binaryEncodeNumericLiteral() local
268 number_type = {bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
270 number_type = {bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
272 number_type = {bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
Dtext_handler.h47 uint32_t bitwidth; // Safe to assume that we will not have > 2^32 bits. member
54 return (first.bitwidth == second.bitwidth) &&
86 return type.bitwidth; in assumedBitWidth()
/third_party/spirv-tools/source/
Dtext_handler.cpp251 number_type = {type.bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
253 number_type = {type.bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
257 number_type = {type.bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
265 uint32_t bitwidth = static_cast<uint32_t>(assumedBitWidth(type)); in binaryEncodeNumericLiteral() local
267 number_type = {bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
269 number_type = {bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
271 number_type = {bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
Dtext_handler.h47 uint32_t bitwidth; // Safe to assume that we will not have > 2^32 bits. member
54 return (first.bitwidth == second.bitwidth) &&
86 return type.bitwidth; in assumedBitWidth()
/third_party/vulkan-headers/registry/
Dgenerator.py336 def enumToValue(self, elem, needsNum, bitwidth = 32, forceSuffix = False): argument
373 if bitwidth == 64:
384 if bitwidth == 64:
482 bitwidth = 32
486 bitwidth = 64
491 bitwidth = int(groupElem.get('bitwidth'))
502 if bitwidth > 32 or self.misracppstyle():
509 if bitwidth > 64:
513 … return self.buildEnumCDecl_BitmaskOrDefine(groupinfo, groupName, bitwidth, usedefine)
516 if bitwidth > 32:
[all …]
/third_party/mesa3d/src/vulkan/util/
Dgen_enum_to_str.py253 def __init__(self, name, bitwidth=32, values=None): argument
255 self.bitwidth = bitwidth
369 bitwidth = int(enum_type.attrib.get('bitwidth', 32))
370 enum = bitmask_factory(enum_type.attrib['name'], bitwidth=bitwidth)
/third_party/flatbuffers/rust/flexbuffers/src/
Dlib.rs43 mod bitwidth; module
49 pub use bitwidth::BitWidth;
/third_party/flatbuffers/samples/
Dsample_flexbuffers.rs129 assert_eq!(read_hp.bitwidth(), BitWidth::W16); in main()
130 assert_eq!(read_monster.idx("mana").bitwidth(), BitWidth::W16); in main()
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dparse_number.h31 uint32_t bitwidth; member
65 return type.bitwidth; in AssumedBitWidth()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.h31 uint32_t bitwidth; member
65 return type.bitwidth; in AssumedBitWidth()

123