/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/node/deps/openssl/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 | 52 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/node/deps/v8/src/torque/ |
D | type-visitor.cc | 225 size_t field_size = 0; in ComputeType() local 226 std::tie(field_size, std::ignore) = *optional_size; in ComputeType() 227 offset += field_size; in ComputeType() 453 ResidueClass field_size = std::get<0>(field.GetFieldSizeInformation()); in VisitClassFieldsAndMethods() local 459 field_size * ResidueClass::Unknown()); in VisitClassFieldsAndMethods() 464 field_size *= *value; in VisitClassFieldsAndMethods() 469 field_size *= ResidueClass::Unknown(); in VisitClassFieldsAndMethods() 473 class_offset += field_size; in VisitClassFieldsAndMethods()
|
D | types.cc | 607 size_t field_size = std::get<0>(field.GetFieldSizeInformation()); in ComputeSlotKindsHelper() local 612 (offset + field_size + TargetArchitecture::TaggedSize() - 1) / in ComputeSlotKindsHelper() 638 offset += field_size; in ComputeSlotKindsHelper() 1204 size_t field_size = std::get<0>(field.GetFieldSizeInformation()); in ValidateAlignment() local 1205 at_offset += field_size; in ValidateAlignment()
|
/third_party/node/deps/v8/src/wasm/ |
D | struct-types.h | 76 uint32_t field_size = field(i).value_kind_size(); in InitializeOffsets() local 78 offset = RoundUp(offset, field_size); in InitializeOffsets() 80 offset += field_size; in InitializeOffsets()
|
/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()
|
/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/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/node/deps/v8/src/snapshot/ |
D | serializer.cc | 1146 int field_offset, int field_size, in OutputRawWithCustomField() argument 1150 DCHECK_GE(bytes_to_write, offset + field_size); in OutputRawWithCustomField() 1153 sink->PutRaw(field_value, field_size, "Bytes"); in OutputRawWithCustomField() 1154 written_so_far += offset + field_size; in OutputRawWithCustomField() 1155 bytes_to_write -= offset + field_size; in OutputRawWithCustomField()
|
/third_party/node/src/crypto/ |
D | crypto_ec.cc | 224 int field_size = EC_GROUP_get_degree(ecdh->group_); in ComputeSecret() local 225 size_t out_len = (field_size + 7) / 8; in ComputeSecret() 536 int field_size = EC_GROUP_get_degree(group); in DeriveBits() local 537 len = (field_size + 7) / 8; in DeriveBits()
|
/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 | 250 #define RE_MALLOC_OR_FAIL(field, field_size) \ argument 253 field = av_calloc(field_size, 1); \
|
/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()
|