Home
last modified time | relevance | path

Searched refs:padding_length (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/fp32/
Dpad_fp32_coder.cc44 if (pad_param_->padding_length < MAX_PAD_SIZE) { in ReSize()
46 for (int i = 0; i < pad_param_->padding_length; ++i) { in ReSize()
49 …CODE(ExtendPaddings(pad_param_->paddings_, MAX_PAD_SIZE, ori_paddings, pad_param_->padding_length), in ReSize()
51 pad_param_->padding_length = MAX_PAD_SIZE; in ReSize()
/third_party/ntfs-3g/libntfs-3g/
Defs.c322 u16 padding_length; in ntfs_efs_fixup_attribute() local
363 padding_length = le16_to_cpu(appended_bytes); in ntfs_efs_fixup_attribute()
364 if (padding_length > 511 || padding_length > na->data_size-2) { in ntfs_efs_fixup_attribute()
367 padding_length, (long long)oldsize); in ntfs_efs_fixup_attribute()
370 newsize = oldsize - padding_length - 2; in ntfs_efs_fixup_attribute()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/
Dpad_fp32_test.cc34 … float *output_data, PaddingMode mode, int *paddings, int padding_length, float constant_value,
61 … float *output_data, PaddingMode mode, int *paddings, int padding_length, float constant_value, in Prepare() argument
74 param_.padding_length = padding_length; in Prepare()
75 for (auto i = 0; i < padding_length; ++i) { in Prepare()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dpad_fp32.cc62 if (pad_param_->padding_length < MAX_PAD_SIZE) { in ReSize()
64 for (auto i = 0; i < pad_param_->padding_length; ++i) { in ReSize()
67 …et = ExtendPaddings(pad_param_->paddings_, MAX_PAD_SIZE, ori_paddings, pad_param_->padding_length); in ReSize()
71 pad_param_->padding_length = MAX_PAD_SIZE; in ReSize()
336 pad_param_->padding_length = MAX_PAD_SIZE; in CopyPaddingFromInput()
/third_party/openssl/ssl/record/
Dssl3_record.c1412 size_t padding_length; in ssl3_cbc_remove_padding() local
1422 padding_length = rec->data[rec->length - 1]; in ssl3_cbc_remove_padding()
1423 good = constant_time_ge_s(rec->length, padding_length + overhead); in ssl3_cbc_remove_padding()
1425 good &= constant_time_ge_s(block_size, padding_length + 1); in ssl3_cbc_remove_padding()
1426 rec->length -= good & (padding_length + 1); in ssl3_cbc_remove_padding()
1448 size_t padding_length, to_check, i; in tls1_cbc_remove_padding() local
1466 padding_length = rec->data[rec->length - 1]; in tls1_cbc_remove_padding()
1471 rec->length -= padding_length + 1; in tls1_cbc_remove_padding()
1475 good = constant_time_ge_s(rec->length, overhead + padding_length); in tls1_cbc_remove_padding()
1490 unsigned char mask = constant_time_ge_8_s(padding_length, i); in tls1_cbc_remove_padding()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dpad_parameter.h37 int padding_length; member
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dpad_infer.c46 param->padding_length = size; in PadInferShape()
/third_party/mindspore/mindspore/lite/test/ut/nnacl/infer/
Dpad_infer_test.cc67 parameter->padding_length = 4; in TEST_F()
98 parameter->padding_length = 6; in TEST_F()
/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_common.cc51 int padding_length = static_cast<int>(message_total_length - part_message.length()); in FormatInfo() local
52 std::string left_padding(static_cast<uint64_t>(ceil(padding_length / 2.0)), '='); in FormatInfo()
53 std::string right_padding(static_cast<uint64_t>(floor(padding_length / 2.0)), '='); in FormatInfo()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/
Dpad.cc64 if (param->padding_length == DIMENSION_2D * in_ndim) { in CheckSpecs()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_asconf.c110 uint16_t i, param_length, cause_length, padding_length; in sctp_asconf_error_response() local
118 padding_length = tlv_length % 4; in sctp_asconf_error_response()
119 if (padding_length != 0) { in sctp_asconf_error_response()
120 padding_length = 4 - padding_length; in sctp_asconf_error_response()
122 buf_len = param_length + padding_length; in sctp_asconf_error_response()
145 for (i = 0; i < padding_length; i++) { in sctp_asconf_error_response()
Dsctp_output.c9481 uint16_t padding_length; local
9500 padding_length = chunk_length % 4;
9501 if (padding_length != 0) {
9502 padding_length = 4 - padding_length;
9504 if (padding_length != 0) {
9505 if (sctp_add_pad_tombuf(last_mbuf, padding_length) == NULL) {
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dpad_int8.cc272 pad_param_->padding_length = MAX_SHAPE_SIZE; in CopyPaddingFromInput()
/third_party/mbedtls/tests/suites/
Dtest_suite_ssl.function3475 * - otherwise it must be in [0, 255] and is padding_length from RFC 5246:
3478 * that gives this padding_length is automatically selected.
3486 unsigned char padlen; /* excluding the padding_length byte */
3510 * The +1 is for the padding_length byte, not counted in padlen. */
3522 * The +1 is for the padding_length byte, not counted in padlen. */