/external/swiftshader/third_party/SPIRV-Tools/source/comp/ |
D | bit_stream.cpp | 80 size_t chunk_length, size_t max_payload) { in WriteVariableWidthInternal() argument 81 assert(chunk_length > 0); in WriteVariableWidthInternal() 82 assert(chunk_length < max_payload); in WriteVariableWidthInternal() 87 writer->WriteBits(0, chunk_length); in WriteVariableWidthInternal() 95 if (payload_written + chunk_length >= max_payload) { in WriteVariableWidthInternal() 104 writer->WriteBits(val, chunk_length); in WriteVariableWidthInternal() 105 payload_written += chunk_length; in WriteVariableWidthInternal() 106 val = val >> chunk_length; in WriteVariableWidthInternal() 117 size_t chunk_length, size_t max_payload) { in ReadVariableWidthInternal() argument 118 assert(chunk_length > 0); in ReadVariableWidthInternal() [all …]
|
D | bit_stream.h | 122 void WriteVariableWidthU64(uint64_t val, size_t chunk_length); 123 void WriteVariableWidthU32(uint32_t val, size_t chunk_length); 124 void WriteVariableWidthU16(uint16_t val, size_t chunk_length); 125 void WriteVariableWidthS64(int64_t val, size_t chunk_length, 224 bool ReadVariableWidthU64(uint64_t* val, size_t chunk_length); 225 bool ReadVariableWidthU32(uint32_t* val, size_t chunk_length); 226 bool ReadVariableWidthU16(uint16_t* val, size_t chunk_length); 227 bool ReadVariableWidthS64(int64_t* val, size_t chunk_length,
|
D | markv_encoder.cpp | 52 const size_t chunk_length = in EncodeNonIdWord() local 54 if (chunk_length) { in EncodeNonIdWord() 55 writer_.WriteVariableWidthU32(word, chunk_length); in EncodeNonIdWord()
|
D | markv_decoder.cpp | 47 const size_t chunk_length = in DecodeNonIdWord() local 49 if (chunk_length) { in DecodeNonIdWord() 50 if (!reader_.ReadVariableWidthU32(word, chunk_length)) in DecodeNonIdWord()
|
/external/deqp-deps/SPIRV-Tools/source/comp/ |
D | bit_stream.cpp | 80 size_t chunk_length, size_t max_payload) { in WriteVariableWidthInternal() argument 81 assert(chunk_length > 0); in WriteVariableWidthInternal() 82 assert(chunk_length < max_payload); in WriteVariableWidthInternal() 87 writer->WriteBits(0, chunk_length); in WriteVariableWidthInternal() 95 if (payload_written + chunk_length >= max_payload) { in WriteVariableWidthInternal() 104 writer->WriteBits(val, chunk_length); in WriteVariableWidthInternal() 105 payload_written += chunk_length; in WriteVariableWidthInternal() 106 val = val >> chunk_length; in WriteVariableWidthInternal() 117 size_t chunk_length, size_t max_payload) { in ReadVariableWidthInternal() argument 118 assert(chunk_length > 0); in ReadVariableWidthInternal() [all …]
|
D | bit_stream.h | 122 void WriteVariableWidthU64(uint64_t val, size_t chunk_length); 123 void WriteVariableWidthU32(uint32_t val, size_t chunk_length); 124 void WriteVariableWidthU16(uint16_t val, size_t chunk_length); 125 void WriteVariableWidthS64(int64_t val, size_t chunk_length, 224 bool ReadVariableWidthU64(uint64_t* val, size_t chunk_length); 225 bool ReadVariableWidthU32(uint32_t* val, size_t chunk_length); 226 bool ReadVariableWidthU16(uint16_t* val, size_t chunk_length); 227 bool ReadVariableWidthS64(int64_t* val, size_t chunk_length,
|
D | markv_encoder.cpp | 52 const size_t chunk_length = in EncodeNonIdWord() local 54 if (chunk_length) { in EncodeNonIdWord() 55 writer_.WriteVariableWidthU32(word, chunk_length); in EncodeNonIdWord()
|
D | markv_decoder.cpp | 47 const size_t chunk_length = in DecodeNonIdWord() local 49 if (chunk_length) { in DecodeNonIdWord() 50 if (!reader_.ReadVariableWidthU32(word, chunk_length)) in DecodeNonIdWord()
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | bit_stream.cpp | 917 const size_t chunk_length = size_t(i % 16 + 1); in TEST() local 920 writer.WriteVariableWidthU64(val, chunk_length); in TEST() 924 ASSERT_TRUE(reader.ReadVariableWidthU64(&read_val, chunk_length)); in TEST() 926 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST() 933 const size_t chunk_length = size_t(i % 16 + 1); in TEST() local 937 writer.WriteVariableWidthS64(val, chunk_length, zigzag_exponent); in TEST() 942 reader.ReadVariableWidthS64(&read_val, chunk_length, zigzag_exponent)); in TEST() 944 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST() 951 const size_t chunk_length = i % 16 + 1; in TEST() local 954 writer.WriteVariableWidthU32(val, chunk_length); in TEST() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | bit_stream.cpp | 917 const size_t chunk_length = size_t(i % 16 + 1); in TEST() local 920 writer.WriteVariableWidthU64(val, chunk_length); in TEST() 924 ASSERT_TRUE(reader.ReadVariableWidthU64(&read_val, chunk_length)); in TEST() 926 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST() 933 const size_t chunk_length = size_t(i % 16 + 1); in TEST() local 937 writer.WriteVariableWidthS64(val, chunk_length, zigzag_exponent); in TEST() 942 reader.ReadVariableWidthS64(&read_val, chunk_length, zigzag_exponent)); in TEST() 944 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST() 951 const size_t chunk_length = i % 16 + 1; in TEST() local 954 writer.WriteVariableWidthU32(val, chunk_length); in TEST() [all …]
|
/external/webrtc/webrtc/common_audio/ |
D | lapped_transform.h | 51 size_t chunk_length, 70 size_t chunk_length() const { return chunk_length_; } in chunk_length() function
|
D | lapped_transform_unittest.cc | 185 TEST(LappedTransformTest, chunk_length) { in TEST() argument 197 EXPECT_EQ(kExpectedChunkLength, trans.chunk_length()); in TEST() 204 EXPECT_EQ(kExpectedChunkLength, trans.chunk_length()); in TEST()
|
D | lapped_transform.cc | 57 size_t chunk_length, in LappedTransform() argument 66 chunk_length_(chunk_length), in LappedTransform()
|
/external/libpng/ |
D | pngpread.c | 182 png_byte chunk_length[4]; in png_push_read_chunk() local 186 png_push_fill_buffer(png_ptr, chunk_length, 4); in png_push_read_chunk() 187 png_ptr->push_length = png_get_uint_31(png_ptr, chunk_length); in png_push_read_chunk() 538 png_byte chunk_length[4]; in png_push_read_IDAT() local 543 png_push_fill_buffer(png_ptr, chunk_length, 4); in png_push_read_IDAT() 544 png_ptr->push_length = png_get_uint_31(png_ptr, chunk_length); in png_push_read_IDAT()
|
D | pngpriv.h | 1534 const png_uint_32 chunk_length),PNG_EMPTY);
|
D | CHANGES | 1179 Check chunk_length and idat_size for invalid (over PNG_MAX_UINT) lengths.
|
/external/pdfium/third_party/libpng16/ |
D | pngpread.c | 182 png_byte chunk_length[4]; in png_push_read_chunk() local 186 png_push_fill_buffer(png_ptr, chunk_length, 4); in png_push_read_chunk() 187 png_ptr->push_length = png_get_uint_31(png_ptr, chunk_length); in png_push_read_chunk() 534 png_byte chunk_length[4]; in png_push_read_IDAT() local 539 png_push_fill_buffer(png_ptr, chunk_length, 4); in png_push_read_IDAT() 540 png_ptr->push_length = png_get_uint_31(png_ptr, chunk_length); in png_push_read_IDAT()
|
/external/libpng/contrib/tools/ |
D | pngfix.c | 1556 png_uint_32 chunk_length; /* From header (or modified below) */ member 1598 chunk->chunk_length = file->length; in chunk_init() 1673 length = chunk->chunk_length; in process_zTXt_iCCP() 1702 length = chunk->chunk_length; in process_iTXt() 1952 list->lengths[(list->count)++] = file->chunk->chunk_length; in process_IDAT() 1997 file->chunk->chunk_length = rechunk_length(idat, 1/*start*/); in process_IDAT() 2592 assert(zlib->rewrite_offset < chunk->chunk_length); in zlib_run() 2594 rc = zlib_advance(zlib, chunk->chunk_length - zlib->rewrite_offset); in zlib_run() 2601 chunk->chunk_length -= zlib->extra_bytes; in zlib_run() 2857 file->chunk->chunk_length = file->length; in process_chunk() [all …]
|
/external/piex/src/ |
D | tiff_parser.cc | 333 size_t chunk_length = kChunkSize; in GetData() local 335 chunk_length = length - data.size(); in GetData() 338 data.resize(processed_data + chunk_length); in GetData() 339 *error = stream->GetData(offset + processed_data, chunk_length, in GetData() 342 processed_data += chunk_length; in GetData()
|
/external/toybox/toys/posix/ |
D | file.c | 219 int chunk_length = peek_be(s, 4); in do_regular_file() local 225 if (chunk_length == 13 && strstart(&s, "IHDR")) { in do_regular_file()
|