/third_party/openssl/crypto/sm2/ |
D | sm2_crypt.c | 53 size_t field_size = 0; variable 60 field_size = (BN_num_bits(p) + 7) / 8; 67 return field_size; 91 const size_t field_size = ec_field_size(EC_KEY_get0_group(key)); in ossl_sm2_ciphertext_size() local 95 if (field_size == 0 || md_size < 0) in ossl_sm2_ciphertext_size() 99 sz = 2 * ASN1_object_size(0, field_size + 1, V_ASN1_INTEGER) in ossl_sm2_ciphertext_size() 131 size_t field_size; in ossl_sm2_encrypt() local 146 field_size = ec_field_size(group); in ossl_sm2_encrypt() 147 if (field_size == 0) { in ossl_sm2_encrypt() 172 x2y2 = OPENSSL_zalloc(2 * field_size); in ossl_sm2_encrypt() [all …]
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_internal.h | 269 #define DEFINE_ETNA_BITARRAY(name, num, field_size) \ argument 270 uint32_t name[(num) * (field_size) / 32] 273 etna_bitarray_set(uint32_t *array, size_t array_size, size_t field_size, in etna_bitarray_set() argument 276 size_t shift = (index * field_size) % 32; in etna_bitarray_set() 277 size_t offset = (index * field_size) / 32; in etna_bitarray_set() 279 assert(index < array_size * 32 / field_size); in etna_bitarray_set() 280 assert(value < 1 << field_size); in etna_bitarray_set() 285 #define etna_bitarray_set(array, field_size, index, value) \ argument 286 etna_bitarray_set((array), ARRAY_SIZE(array), field_size, index, value)
|
/third_party/ffmpeg/libavcodec/ |
D | frwu.c | 71 int field_size, min_field_size = avctx->width * 2 * field_h; in decode_frame() local 76 field_size = bytestream_get_le32(&buf); in decode_frame() 77 if (field_size < min_field_size) { in decode_frame() 78 …av_log(avctx, AV_LOG_ERROR, "Field size %i is too small (required %i)\n", field_size, min_field_si… in decode_frame() 81 if (buf_end - buf < field_size) { in decode_frame() 82 …av_log(avctx, AV_LOG_ERROR, "Packet is too small, need %i, have %i\n", field_size, (int)(buf_end -… in decode_frame() 97 buf += field_size - min_field_size; in decode_frame()
|
D | amr.h | 55 int field_size; in ff_amr_bit_reorder() local 58 while ((field_size = *ord_table++)) { in ff_amr_bit_reorder() 61 while (field_size--) { in ff_amr_bit_reorder()
|
D | mjpegbdec.c | 53 uint32_t field_size, sod_offs; in mjpegb_decode_frame() local 79 field_size = get_bits_long(&hgb, 32); /* field size */ in mjpegb_decode_frame() 80 av_log(avctx, AV_LOG_DEBUG, "field size: 0x%"PRIx32"\n", field_size); in mjpegb_decode_frame() 119 8 * FFMIN(field_size, buf_end - buf_ptr - sos_offs)); in mjpegb_decode_frame()
|
/third_party/mesa3d/src/vulkan/util/ |
D | vk_cmd_queue_gen.py | 422 field_size = "1" 424 field_size = "sizeof(*%s)" % field_name 425 …OCATION_SCOPE_OBJECT);\n if (%s == NULL) goto err;\n" % (field_name, field_size, param.len, fiel… 427 …copy = "memcpy((%s)%s, %s, %s * %s);" % (const_cast, field_name, param.name, field_size, param.len) 433 field_size = "sizeof(*%s)" % (field_name) 435 field_size = "sizeof(*%s) * %s->%s" % (field_name, struct, member.len) 436 …M_ALLOCATION_SCOPE_OBJECT);\n if (%s == NULL) goto err;\n" % (field_name, field_size, field_name) 438 … copy = "memcpy((%s)%s, %s->%s, %s);" % (const_cast, field_name, src_name, member.name, field_size)
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ValidateVaryingLocations.cpp | 32 int field_size = 0; in GetFieldLocationCount() local 37 field_size = GetStructLocationCount(fieldType->getStruct()); in GetFieldLocationCount() 41 field_size = fieldType->getNominalSize(); in GetFieldLocationCount() 46 field_size = 1; in GetFieldLocationCount() 51 field_size *= fieldType->getArraySizeProduct(); in GetFieldLocationCount() 54 return field_size; in GetFieldLocationCount()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | storage.c | 604 size_t field_size; in create_layout() local 611 field_size = native_slot_size(upb_fielddef_type(field)); in create_layout() 614 off = align_up_to(off, field_size); in create_layout() 616 off += field_size; in create_layout() 640 size_t field_size = NATIVE_SLOT_MAX_SIZE; in create_layout() local 646 off = align_up_to(off, field_size); in create_layout() 655 off += field_size; in create_layout() 663 size_t field_size = sizeof(uint32_t); in create_layout() local 667 off = (off + field_size - 1) & ~(field_size - 1); in create_layout() 669 off += field_size; in create_layout()
|
D | upb.c | 4000 size_t field_size = upb_msg_fielddefsize(f); in make_layout() local 4008 fields[index].offset = upb_msglayout_place(l, field_size); in make_layout() 4021 size_t field_size = 0; in make_layout() local 4030 field_size = UPB_MAX(field_size, upb_msg_fielddefsize(f)); in make_layout() 4035 data_offset = upb_msglayout_place(l, field_size); in make_layout() 5108 static char field_size[] = { variable 5167 : field_size[field->descriptortype]; in _upb_msg_getraw() 5275 : field_size[field->descriptortype]; in upb_msg_set()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_memcpy.c | 85 unsigned field_size; in type_is_tightly_packed() local 86 if (!type_is_tightly_packed(field->type, &field_size)) in type_is_tightly_packed() 89 size = field->offset + field_size; in type_is_tightly_packed()
|
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/ |
D | gstspu-vobsub.c | 219 guint16 field_size; in gst_dvd_spu_exec_cmd_blk() local 226 field_size = GST_READ_UINT16_BE (data); in gst_dvd_spu_exec_cmd_blk() 228 if (G_UNLIKELY (data + field_size >= end)) in gst_dvd_spu_exec_cmd_blk() 231 gst_dvd_spu_parse_chg_colcon (dvdspu, data + 2, data + field_size); in gst_dvd_spu_exec_cmd_blk() 233 data += field_size; in gst_dvd_spu_exec_cmd_blk()
|
/third_party/protobuf/src/google/protobuf/ |
D | dynamic_message.cc | 778 int field_size = FieldSpaceUsed(type->field(i)); in GetPrototypeNoLock() local 779 size = AlignTo(size, std::min(kSafeAlignment, field_size)); in GetPrototypeNoLock() 781 size += field_size; in GetPrototypeNoLock() 808 int field_size = OneofFieldSpaceUsed(field); in GetPrototypeNoLock() local 809 size = AlignTo(size, std::min(kSafeAlignment, field_size)); in GetPrototypeNoLock() 811 size += field_size; in GetPrototypeNoLock()
|
D | wire_format.cc | 322 int field_size = field.GetLengthDelimitedSize(); in ComputeUnknownMessageSetItemsSize() local 323 size += io::CodedOutputStream::VarintSize32(field_size); in ComputeUnknownMessageSetItemsSize() 324 size += field_size; in ComputeUnknownMessageSetItemsSize()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | repeated_scalar_container.cc | 94 int field_size = reflection->FieldSize(*message, field_descriptor); in AssignItem() local 96 index = field_size + index; in AssignItem() 98 if (index < 0 || index >= field_size) { in AssignItem() 199 int field_size = reflection->FieldSize(*message, field_descriptor); in Item() local 201 index = field_size + index; in Item() 203 if (index < 0 || index >= field_size) { in Item()
|
D | message.cc | 1628 Py_ssize_t field_size; in ClearField() local 1629 if (PyString_AsStringAndSize(arg, &field_name, &field_size) < 0) { in ClearField() 1635 self->message, StringParam(field_name, field_size), &is_in_oneof); in ClearField()
|
/third_party/python/Modules/ |
D | _csv.c | 114 Py_ssize_t field_size; /* size of allocated buffer */ member 636 assert((size_t)self->field_size <= PY_SSIZE_T_MAX / sizeof(Py_UCS4)); in parse_grow_buff() 638 Py_ssize_t field_size_new = self->field_size ? 2 * self->field_size : 4096; in parse_grow_buff() 646 self->field_size = field_size_new; in parse_grow_buff() 659 if (self->field_len == self->field_size && !parse_grow_buff(self)) in parse_add_char() 1024 self->field_size = 0; in csv_reader()
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | Message.php | 1987 $field_size = $this->fieldJsonByteSize($field); 1988 $size += $field_size; 1996 $field_size = $this->fieldJsonByteSize($field); 1997 $size += $field_size; 2011 $field_size = $this->fieldJsonByteSize($field); 2012 $size += $field_size; 2013 if ($field_size != 0) {
|
/third_party/python/Modules/_ctypes/ |
D | stgdict.c | 346 Py_ssize_t field_size = 0; in PyCStructUnionType_update_stgdict() local 602 &field_size, bitsize, &bitofs, in PyCStructUnionType_update_stgdict() 610 &field_size, bitsize, &bitofs, in PyCStructUnionType_update_stgdict()
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | encoder.py | 202 field_size = value_size + tag_size 204 return field_size
|
/third_party/ffmpeg/libavfilter/ |
D | af_atempo.c | 247 #define RE_MALLOC_OR_FAIL(field, field_size) \ argument 250 field = av_malloc(field_size); \
|
/third_party/ffmpeg/libavformat/ |
D | mov.c | 2840 unsigned int i, entries, sample_size, field_size, num_bytes; in mov_read_stsz() local 2858 field_size = 32; in mov_read_stsz() 2862 field_size = avio_r8(pb); in mov_read_stsz() 2872 if (field_size != 4 && field_size != 8 && field_size != 16 && field_size != 32) { in mov_read_stsz() 2873 av_log(c->fc, AV_LOG_ERROR, "Invalid sample field size %u\n", field_size); in mov_read_stsz() 2879 if (entries >= (UINT_MAX - 4) / field_size) in mov_read_stsz() 2889 num_bytes = (entries*field_size+4)>>3; in mov_read_stsz() 2908 sc->sample_sizes[i] = get_bits_long(&gb, field_size); in mov_read_stsz()
|
/third_party/mesa3d/src/compiler/ |
D | glsl_types.cpp | 2755 unsigned field_size, field_align; in get_explicit_type_for_size_align() local 2757 fields[i].type->get_explicit_type_for_size_align(type_info, &field_size, &field_align); in get_explicit_type_for_size_align() 2761 *size = fields[i].offset + field_size; in get_explicit_type_for_size_align()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 930 message->field_size()); in ParseMessageStatement() 1947 containing_type->field_size()); in ParseOneof()
|
D | parser_unittest.cc | 2184 for (int i = 0; i < proto->field_size(); ++i) { in StripFieldTypeName()
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | php-upb.c | 4459 size_t field_size = upb_msg_fielddefsize(f); in make_layout() local 4467 fields[index].offset = upb_msglayout_place(l, field_size); in make_layout() 4478 size_t field_size = 0; in make_layout() local 4489 field_size = UPB_MAX(field_size, upb_msg_fielddefsize(f)); in make_layout() 4494 data_offset = upb_msglayout_place(l, field_size); in make_layout()
|