/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | text_literal_test.cpp | 160 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, tex in Make_Bad_Signed() 228 Make_Bad_Unsigned(uint32_t bitwidth, const char* text) Make_Bad_Unsigned() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | text_literal_test.cpp | 160 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, tex in Make_Bad_Signed() 228 Make_Bad_Unsigned(uint32_t bitwidth, const char* text) Make_Bad_Unsigned() argument [all...] |
/third_party/spirv-tools/test/ |
H A D | text_literal_test.cpp | 160 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, tex in Make_Bad_Signed() 228 Make_Bad_Unsigned(uint32_t bitwidth, const char* text) Make_Bad_Unsigned() argument [all...] |
/third_party/libsnd/src/ |
H A D | dwd.c | 118 { uint8_t 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()
|
H A D | wavlike.h | 202 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 272 unsigned short bitwidth ; member 294 unsigned short bitwidth ; member
|
H A D | sds.c | 48 { 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 > in sds_read_header() [all...] |
H A D | pvf.c | 137 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()
|
H A D | voc.c | 64 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() 489 /* Marker, length, sample rate, bitwidth, stereo flag, encoding and fourt zero bytes. */ in voc_write_header() 496 /* Marker, length, sample rate, bitwidth, stereo flag, encoding and fourt zero bytes. */ in voc_write_header() 572 if (pvoc->bitwidth == 8) 580 if (pvoc->bitwidth == 16) 588 psf_log_printf (psf, "Error : bitwith != 8 && bitwidth ! [all...] |
H A D | dwvw.c | 79 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()
|
H A D | wavlike.c | 144 &(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() 177 psf_log_printf (psf, " Bit Width : %d\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk() 180 psf_log_printf (psf, " Bit Width : %d (should not be 0)\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk() 188 psf_log_printf (psf, " Bit Width : %d (should be 0)\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk() 191 psf_log_printf (psf, " Bit Width : %d\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk() [all...] |
H A D | nist.c | 122 int bitwidth = 0, count, encoding ; in nist_read_header() local 161 { /* Correct this later when we find out the bitwidth. */ in nist_read_header() 220 sscanf (cptr, "sample_sig_bits -i %d", &bitwidth) ; in nist_read_header()
|
/third_party/spirv-tools/source/ |
H A D | text_handler.cpp | 254 number_type = {type.bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral() 256 number_type = {type.bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral() 260 number_type = {type.bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral() 268 uint32_t bitwidth = static_cast<uint32_t>(assumedBitWidth(type)); in binaryEncodeNumericLiteral() local 270 number_type = {bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral() 272 number_type = {bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral() 274 number_type = {bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
|
H A D | text_handler.h | 47 uint32_t bitwidth; // Safe to assume that we will not have > 2^32 bits. member 54 return (first.bitwidth == second.bitwidth) && in operator ==() 86 return type.bitwidth; in assumedBitWidth() 195 // Validates and respects the bitwidth supplied in the IdType argument.
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | generator.py | 404 def enumToValue(self, elem, needsNum, bitwidth = 32, 410 - bitwidth - size of the numeric representation in bits (32 or 64) 454 if bitwidth == 64: 465 if bitwidth == 64 or bitpos >= 32: 576 bitwidth = 32 580 bitwidth = 64 582 # Check for an explicitly defined bitwidth, which will override any defaults. 583 if groupElem.get('bitwidth'): 585 bitwidth = int(groupElem.get('bitwidth')) [all...] |
/third_party/vulkan-headers/registry/ |
H A D | generator.py | 404 def enumToValue(self, elem, needsNum, bitwidth = 32, 410 - bitwidth - size of the numeric representation in bits (32 or 64) 454 if bitwidth == 64: 465 if bitwidth == 64 or bitpos >= 32: 576 bitwidth = 32 580 bitwidth = 64 582 # Check for an explicitly defined bitwidth, which will override any defaults. 583 if groupElem.get('bitwidth'): 585 bitwidth = int(groupElem.get('bitwidth')) [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | text_handler.h | 47 uint32_t bitwidth; // Safe to assume that we will not have > 2^32 bits. member 54 return (first.bitwidth == second.bitwidth) && in operator ==() 86 return type.bitwidth; in assumedBitWidth() 195 // Validates and respects the bitwidth supplied in the IdType argument.
|
H A D | text_handler.cpp | 252 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | text_handler.h | 47 uint32_t bitwidth; // Safe to assume that we will not have > 2^32 bits. member 54 return (first.bitwidth == second.bitwidth) && in operator ==() 86 return type.bitwidth; in assumedBitWidth() 195 // Validates and respects the bitwidth supplied in the IdType argument.
|
H A D | text_handler.cpp | 252 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()
|
/third_party/mesa3d/src/vulkan/util/ |
H A D | gen_enum_to_str.py | 184 % if enum.bitwidth > 32: 197 % if enum.bitwidth < 64: 264 def __init__(self, name, bitwidth=32, values=None): 267 self.bitwidth = bitwidth 381 bitwidth = int(enum_type.attrib.get('bitwidth', 32)) 382 enum = bitmask_factory(enum_type.attrib['name'], bitwidth=bitwidth)
|
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
H A D | parse_number.h | 31 uint32_t bitwidth; member 65 return type.bitwidth; in AssumedBitWidth()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
H A D | parse_number.h | 31 uint32_t bitwidth; member 65 return type.bitwidth; in AssumedBitWidth()
|
/third_party/spirv-tools/source/util/ |
H A D | parse_number.h | 31 uint32_t bitwidth; member 65 return type.bitwidth; in AssumedBitWidth()
|
/third_party/spirv-tools/source/val/ |
H A D | validate_instruction.cpp | 488 uint32_t bitwidth = inst->GetOperandAs<uint32_t>(0); in InstructionPass() local 493 if (bitwidth != 32 && bitwidth != 64) { in InstructionPass() 495 << "OpSamplerImageAddressingModeNV bitwidth should be 64 or 32"; in InstructionPass() 497 _.set_samplerimage_variable_address_mode(bitwidth); in InstructionPass()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | set_spec_constant_default_value_pass.cpp | 56 number_type.bitwidth = IT->width(); in ParseDefaultValueStr() 60 number_type.bitwidth = FT->width(); in ParseDefaultValueStr()
|