Searched refs:field_len (Results 1 – 8 of 8) sorted by relevance
/third_party/gstreamer/gstplugins_bad/sys/dvb/ |
D | camutils.c | 49 guint field_len; in cam_calc_length_field_size() local 52 field_len = 1; in cam_calc_length_field_size() 54 field_len = 3; in cam_calc_length_field_size() 56 field_len = 4; in cam_calc_length_field_size() 58 field_len = 5; in cam_calc_length_field_size() 60 return field_len; in cam_calc_length_field_size() 67 guint8 field_len = cam_calc_length_field_size (length); in cam_write_length_field() local 70 switch (field_len) { in cam_write_length_field() 78 buff[0] = TPDU_HEADER_SIZE_INDICATOR | (field_len - 1); in cam_write_length_field() 83 buff[0] = TPDU_HEADER_SIZE_INDICATOR | (field_len - 1); in cam_write_length_field() [all …]
|
/third_party/openssl/crypto/ec/ |
D | ec2_oct.c | 121 size_t field_len, i, skip; in ec_GF2m_simple_point2oct() local 143 field_len = (EC_GROUP_get_degree(group) + 7) / 8; in ec_GF2m_simple_point2oct() 146 POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ec_GF2m_simple_point2oct() 182 skip = field_len - BN_num_bytes(x); in ec_GF2m_simple_point2oct() 183 if (skip > field_len) { in ec_GF2m_simple_point2oct() 193 if (i != 1 + field_len) { in ec_GF2m_simple_point2oct() 200 skip = field_len - BN_num_bytes(y); in ec_GF2m_simple_point2oct() 201 if (skip > field_len) { in ec_GF2m_simple_point2oct() 243 size_t field_len, enc_len; in ec_GF2m_simple_oct2point() local 274 field_len = (m + 7) / 8; in ec_GF2m_simple_oct2point() [all …]
|
D | ecp_oct.c | 162 size_t field_len, i, skip; in ec_GFp_simple_point2oct() local 184 field_len = BN_num_bytes(group->field); in ec_GFp_simple_point2oct() 187 POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ec_GFp_simple_point2oct() 220 skip = field_len - BN_num_bytes(x); in ec_GFp_simple_point2oct() 221 if (skip > field_len) { in ec_GFp_simple_point2oct() 231 if (i != 1 + field_len) { in ec_GFp_simple_point2oct() 238 skip = field_len - BN_num_bytes(y); in ec_GFp_simple_point2oct() 239 if (skip > field_len) { in ec_GFp_simple_point2oct() 276 size_t field_len, enc_len; in ec_GFp_simple_oct2point() local 306 field_len = BN_num_bytes(group->field); in ec_GFp_simple_oct2point() [all …]
|
/third_party/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 91 const size_t field_len = BN_num_bytes(&group->field); in ec_GFp_simple_point2oct() local 92 size_t output_len = 1 /* type byte */ + field_len; in ec_GFp_simple_point2oct() 95 output_len += field_len; in ec_GFp_simple_point2oct() 109 form == POINT_CONVERSION_COMPRESSED ? y_buf : buf + 1 + field_len, in ec_GFp_simple_point2oct() 110 &field_len_out, field_len, point)) { in ec_GFp_simple_point2oct() 114 if (field_len_out != field_len) { in ec_GFp_simple_point2oct() 120 buf[0] = form + (y_buf[field_len - 1] & 1); in ec_GFp_simple_point2oct() 150 const size_t field_len = BN_num_bytes(&group->field); in ec_GFp_simple_oct2point() local 151 size_t enc_len = 1 /* type byte */ + field_len; in ec_GFp_simple_oct2point() 154 enc_len += field_len; in ec_GFp_simple_oct2point() [all …]
|
/third_party/gettext/gettext-tools/src/ |
D | msgl-header.c | 58 size_t field_len; in msgdomain_list_set_header_field() local 62 field_len = strlen (field); in msgdomain_list_set_header_field() 96 if (strncmp (h, field, field_len) == 0) in msgdomain_list_set_header_field() 179 size_t field_len = strlen (field); in message_list_delete_header_field() local 196 if (strncmp (h, field, field_len) == 0) in message_list_delete_header_field()
|
/third_party/gettext/gettext-tools/libgettextpo/ |
D | gettext-po.c | 339 size_t field_len = strlen (field); in po_header_field() local 344 if (strncmp (line, field, field_len) == 0 && line[field_len] == ':') in po_header_field() 350 value_start = line + field_len + 1; in po_header_field() 383 size_t field_len = strlen (field); in po_header_set_field() local 391 if (strncmp (line, field, field_len) == 0 && line[field_len] == ':') in po_header_set_field() 400 oldvalue_start = line + field_len + 1; in po_header_set_field() 434 result_len = header_len + newline + field_len + 2 + value_len + 1; in po_header_set_field() 439 memcpy (result + header_len + newline, field, field_len); in po_header_set_field() 440 *(result + header_len + newline + field_len) = ':'; in po_header_set_field() 441 *(result + header_len + newline + field_len + 1) = ' '; in po_header_set_field() [all …]
|
/third_party/python/Modules/ |
D | _csv.c | 108 Py_ssize_t field_len; /* length of current field */ member 539 (void *) self->field, self->field_len); in parse_save_field() 542 self->field_len = 0; in parse_save_field() 581 if (self->field_len >= _csvstate_global->field_limit) { in parse_add_char() 586 if (self->field_len == self->field_size && !parse_grow_buff(self)) in parse_add_char() 588 self->field[self->field_len++] = c; in parse_add_char() 779 self->field_len = 0; in parse_reset() 801 if (!PyErr_Occurred() && (self->field_len != 0 || in Reader_iternext() 998 Py_ssize_t field_len, int *quoted, in join_append_data() argument 1032 for (i = 0; field_data && (i < field_len); i++) { in join_append_data() [all …]
|
/third_party/boringssl/src/crypto/ec_extra/ |
D | ec_asn1.c | 317 size_t field_len = CBS_len(&base) / 2; in parse_explicit_prime_curve() local 318 CBS_init(out_base_x, CBS_data(&base), field_len); in parse_explicit_prime_curve() 319 CBS_init(out_base_y, CBS_data(&base) + field_len, field_len); in parse_explicit_prime_curve()
|