Home
last modified time | relevance | path

Searched refs:part_size (Results 1 – 11 of 11) sorted by relevance

/third_party/mbedtls/programs/psa/
Dcrypto_examples.c64 size_t part_size, in cipher_operation() argument
75 bytes_to_write = ( input_size - bytes_written > part_size ? in cipher_operation()
76 part_size : in cipher_operation()
103 size_t part_size, in cipher_encrypt() argument
119 status = cipher_operation( &operation, input, input_size, part_size, in cipher_encrypt()
134 size_t part_size, in cipher_decrypt() argument
149 status = cipher_operation( &operation, input, input_size, part_size, in cipher_decrypt()
164 part_size = block_size, in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() enumerator
190 input, sizeof( input ), part_size, in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
195 encrypt, output_len, part_size, in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
[all …]
/third_party/ffmpeg/libavfilter/
Daf_afir.c100 if (seg->output_offset[ch] == seg->part_size) { in fir_quantum()
110 if (seg->part_size < 8) { in fir_quantum()
111 memset(dst, 0, sizeof(*dst) * seg->part_size * seg->nb_partitions); in fir_quantum()
138 memset(block + seg->part_size, 0, sizeof(*block) * (seg->fft_length - seg->part_size)); in fir_quantum()
140 memcpy(block, src, sizeof(*src) * seg->part_size); in fir_quantum()
143 block[2 * seg->part_size] = block[1]; in fir_quantum()
153 s->afirdsp.fcmul_add(sum, block, (const float *)coeff, seg->part_size); in fir_quantum()
160 sum[1] = sum[2 * seg->part_size]; in fir_quantum()
164 fir_fadd(s, buf, sum, seg->part_size); in fir_quantum()
166 memcpy(dst, buf, seg->part_size * sizeof(*dst)); in fir_quantum()
[all …]
Daf_afir.h36 int part_size; member
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_container.c49 uint32_t part_size) in add_part_header() argument
54 !blob_write_bytes(&c->parts, &part_size, sizeof(part_size))) in add_part_header()
65 const void *part_data, uint32_t part_size) in add_part() argument
67 return add_part_header(c, fourcc, part_size) && in add_part()
68 blob_write_bytes(&c->parts, part_data, part_size); in add_part()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dsyntax_enc.c253 const size_t part_size = VP8BitWriterSize(enc->parts_ + p); in EmitPartitionsSize() local
254 if (part_size >= VP8_MAX_PARTITION_SIZE) { in EmitPartitionsSize()
257 buf[3 * p + 0] = (part_size >> 0) & 0xff; in EmitPartitionsSize()
258 buf[3 * p + 1] = (part_size >> 8) & 0xff; in EmitPartitionsSize()
259 buf[3 * p + 2] = (part_size >> 16) & 0xff; in EmitPartitionsSize()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dsyntax_enc.c253 const size_t part_size = VP8BitWriterSize(enc->parts_ + p); in EmitPartitionsSize() local
254 if (part_size >= VP8_MAX_PARTITION_SIZE) { in EmitPartitionsSize()
257 buf[3 * p + 0] = (part_size >> 0) & 0xff; in EmitPartitionsSize()
258 buf[3 * p + 1] = (part_size >> 8) & 0xff; in EmitPartitionsSize()
259 buf[3 * p + 2] = (part_size >> 16) & 0xff; in EmitPartitionsSize()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgstvp8parser.c284 guint i, ofs, part_size, part_size_ofs = frame_hdr->first_part_size; in calc_partition_sizes() local
294 part_size = (guint32) data[part_size_ofs + 0] | in calc_partition_sizes()
299 frame_hdr->partition_size[i] = part_size; in calc_partition_sizes()
300 ofs += part_size; in calc_partition_sizes()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Didec_dec.c369 const size_t part_size = br->buf_end_ - br->buf_; in CopyParts0Data() local
374 assert(part_size <= mem->part0_size_); in CopyParts0Data()
375 if (part_size == 0) { // can't have zero-size partition #0 in CopyParts0Data()
380 uint8_t* const part0_buf = (uint8_t*)WebPSafeMalloc(1ULL, part_size); in CopyParts0Data()
384 memcpy(part0_buf, br->buf_, part_size); in CopyParts0Data()
386 VP8BitReaderSetBuffer(br, part0_buf, part_size); in CopyParts0Data()
390 mem->start_ += part_size; in CopyParts0Data()
/third_party/skia/third_party/externals/libwebp/src/dec/
Didec_dec.c374 const size_t part_size = br->buf_end_ - br->buf_; in CopyParts0Data() local
379 assert(part_size <= mem->part0_size_); in CopyParts0Data()
380 if (part_size == 0) { // can't have zero-size partition #0 in CopyParts0Data()
385 uint8_t* const part0_buf = (uint8_t*)WebPSafeMalloc(1ULL, part_size); in CopyParts0Data()
389 memcpy(part0_buf, br->buf_, part_size); in CopyParts0Data()
391 VP8BitReaderSetBuffer(br, part0_buf, part_size); in CopyParts0Data()
395 mem->start_ += part_size; in CopyParts0Data()
/third_party/skia/third_party/externals/libwebp/examples/
Dwebpinfo.c394 const uint8_t* part_size = data + partition0_length; in ParseLossyHeader() local
407 part_size[0] | (part_size[1] << 8) | (part_size[2] << 16); in ParseLossyHeader()
414 part_size += 3; in ParseLossyHeader()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dwebpinfo.c394 const uint8_t* part_size = data + partition0_length; in ParseLossyHeader() local
407 part_size[0] | (part_size[1] << 8) | (part_size[2] << 16); in ParseLossyHeader()
414 part_size += 3; in ParseLossyHeader()