/third_party/openssl/crypto/sm2/ |
D | sm2_crypt.c | 47 size_t field_size = 0; variable 54 field_size = (BN_num_bits(p) + 7) / 8; 61 return field_size; 84 const size_t field_size = ec_field_size(EC_KEY_get0_group(key)); in sm2_ciphertext_size() local 88 if (field_size == 0 || md_size < 0) in sm2_ciphertext_size() 92 sz = 2 * ASN1_object_size(0, field_size + 1, V_ASN1_INTEGER) in sm2_ciphertext_size() 124 size_t field_size; in sm2_encrypt() local 136 field_size = ec_field_size(group); in sm2_encrypt() 137 if (field_size == 0) { in sm2_encrypt() 162 x2y2 = OPENSSL_zalloc(2 * field_size); in sm2_encrypt() [all …]
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_internal.h | 265 #define DEFINE_ETNA_BITARRAY(name, num, field_size) \ argument 266 uint32_t name[(num) * (field_size) / 32] 269 etna_bitarray_set(uint32_t *array, size_t array_size, size_t field_size, in etna_bitarray_set() argument 272 size_t shift = (index * field_size) % 32; in etna_bitarray_set() 273 size_t offset = (index * field_size) / 32; in etna_bitarray_set() 275 assert(index < array_size * 32 / field_size); in etna_bitarray_set() 276 assert(value < 1 << field_size); in etna_bitarray_set() 281 #define etna_bitarray_set(array, field_size, index, value) \ argument 282 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/mindspore/tests/st/auto_parallel/ |
D | multifieldembeddinglookup_parallel.py | 178 def __init__(self, vocab_size, embedding_size, field_size, argument 182 embedding_size=embedding_size, field_size=field_size, 202 def __init__(self, vocab_size, embedding_size, field_size, argument 206 self.field_size = field_size 268 … field_size=self.field_size, param_init=self.param_init, target=self.target, 276 … field_size=self.field_size, param_init=self.param_init, target=self.target, 284 … field_size=self.field_size, param_init=self.param_init, target=self.target, 288 … field_size=self.field_size, param_init=self.param_init, target=self.target, 302 …fact = ParallelMultiHotFactory(vocab_size=32, embedding_size=64, field_size=64, param_init='one', …
|
/third_party/boost/libs/geometry/test/robustness/overlay/areal_areal/ |
D | recursive_polygons.cpp | 110 void test_all(int seed, int count, int field_size, int level, bool triangular, p_q_settings const& … in test_all() argument 118 boost::uniform_int<> random_coordinate(0, field_size - 1); in test_all() 152 int field_size = 10; in main() local 165 ("size", po::value<int>(&field_size)->default_value(10), "Size of the field") in main() 189 test_all<double, false, false>(seed, count, field_size, level, triangular, settings); in main() 193 test_all<double, false, true>(seed, count, field_size, level, triangular, settings); in main() 197 test_all<double, true, false>(seed, count, field_size, level, triangular, settings); in main() 201 test_all<double, true, true>(seed, count, field_size, level, triangular, settings); in main()
|
/third_party/boost/libs/geometry/test/robustness/convex_hull/ |
D | random_multi_points.cpp | 135 void test_all(int seed, int count, int field_size, int pcount, settings_type const& settings) in test_all() argument 143 boost::uniform_int<> random_coordinate(0, field_size - 1); in test_all() 175 int field_size = 10; in main() local 183 ("size", po::value<int>(&field_size)->default_value(10), "Size of the field") in main() 201 test_all<float>(seed, count, field_size, pcount, settings); in main() 205 test_all<double>(seed, count, field_size, pcount, settings); in main() 209 test_all<int>(seed, count, field_size, pcount, settings); in main()
|
/third_party/mindspore/tests/ut/python/parallel/ |
D | test_multi_field_embedding.py | 59 …def __init__(self, shape, field_size=10, slice_mode=nn.EmbeddingLookup.BATCH_SLICE, target="Device… argument 63 … field_size=field_size, slice_mode=slice_mode, operator=operator) 88 net = NetWithLoss(Net(shape, field_size=10, target='DEVICE')) 95 …net = NetWithLoss(Net(shape, field_size=9, slice_mode=nn.EmbeddingLookup.TABLE_ROW_SLICE, target='… 102 …net = NetWithLoss(Net(shape, field_size=10, slice_mode=nn.EmbeddingLookup.TABLE_COLUMN_SLICE, targ… 109 net = NetWithLoss(Net(shape, field_size=1, target='DEVICE', operator='MEAN'))
|
/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/boost/libs/geometry/test/robustness/common/ |
D | common_settings.hpp | 19 int field_size; member 27 , field_size(10) in common_settings()
|
/third_party/mindspore/third_party/patch/openssl/ |
D | CVE-2021-3711.patch | 6 return field_size; 13 - const size_t field_size = ec_field_size(EC_KEY_get0_group(key)); 22 - if (field_size == 0) { 28 - overhead = 10 + 2 * field_size + (size_t)md_size;
|
/third_party/mindspore/tests/st/model_zoo_tests/wide_and_deep/python_file_for_ci/ |
D | config.py | 54 self.field_size = 39 84 self.field_size = args.field_size
|
D | wide_and_deep.py | 136 self.field_size = config.field_size 147 self.deep_input_dims = self.field_size * self.emb_dim 196 mask = self.reshape(wt_hldr, (self.batch_size, self.field_size, 1)) 204 deep_in = self.reshape(vx, (-1, self.field_size * self.emb_dim))
|
/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/mesa3d/src/vulkan/util/ |
D | vk_cmd_queue_gen.py | 274 field_size = "1" 276 field_size = "sizeof(*%s)" % field_name 277 …eue->alloc, %s * %s, 8, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND);" % (field_name, field_size, param.len) 279 …copy = "memcpy((%s)%s, %s, %s * %s);" % (const_cast, field_name, param.name, field_size, param.len)
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/ |
D | get_parallel_info.cc | 45 int64_t field_size = tensor_layout->get_field_size(); in GetParameterLayout() local 49 …py::make_tuple(device_arrangement, tensor_map, slice_shape, field_size, uniform_split, opt_shard_g… in GetParameterLayout()
|
/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/mindspore/mindspore/parallel/ |
D | _tensor.py | 306 def _reshape_param_data_with_weight(param_data, dev_mat, field_size): argument 330 tensor_slices_new = np.array(tensor_slices[0][:, i]).reshape(field_size, -1) 333 … np.array(tensor_slices[j][:, i]).reshape(field_size, -1)), axis=1)
|
/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()
|
/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()
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/tensor_layout/ |
D | tensor_layout.h | 55 void set_field_size(int64_t field_size) { field_size_ = field_size; } in set_field_size() argument
|
/third_party/mindspore/mindspore/nn/layer/ |
D | embedding.py | 476 def __init__(self, vocab_size, embedding_size, field_size, param_init='normal', target='CPU', argument 481 self.field_size = validator.check_positive_int(field_size, 'field_size', self.cls_name) 560 num_segments = batch_size * self.field_size 561 bias = Range(0, num_segments, self.field_size)() 606 merged_vectors = self.reshape(merged_vectors, (batch_size, self.field_size, -1))
|
/third_party/mindspore/tests/st/model_zoo_tests/DeepFM/src/ |
D | deepfm.py | 200 self.field_size = config.data_field_size 213 self.deep_input_dims = self.field_size * self.emb_dim 243 mask = self.Reshape(wt_hldr, (self.batch_size, self.field_size, 1)) 258 deep_in = self.Reshape(vx, (-1, self.field_size * self.emb_dim))
|