Home
last modified time | relevance | path

Searched refs:field_len (Results 1 – 8 of 8) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/ec/
Doct.c91 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 …]
/external/python/cpython3/Modules/
D_csv.c101 Py_ssize_t field_len; /* length of current field */ member
532 (void *) self->field, self->field_len); in parse_save_field()
535 self->field_len = 0; in parse_save_field()
574 if (self->field_len >= _csvstate_global->field_limit) { in parse_add_char()
579 if (self->field_len == self->field_size && !parse_grow_buff(self)) in parse_add_char()
581 self->field[self->field_len++] = c; in parse_add_char()
772 self->field_len = 0; in parse_reset()
794 if (!PyErr_Occurred() && (self->field_len != 0 || in Reader_iternext()
993 Py_ssize_t field_len, int *quoted, in join_append_data() argument
1027 for (i = 0; field_data && (i < field_len); i++) { in join_append_data()
[all …]
/external/python/cpython2/Modules/
D_csv.c121 int field_len; /* length of current field */ member
544 field = PyString_FromStringAndSize(self->field, self->field_len); in parse_save_field()
547 self->field_len = 0; in parse_save_field()
591 if (self->field_len >= field_limit) { in parse_add_char()
596 if (self->field_len == self->field_size && !parse_grow_buff(self)) in parse_add_char()
598 self->field[self->field_len++] = c; in parse_add_char()
778 self->field_len = 0; in parse_reset()
798 if (!PyErr_Occurred() && (self->field_len != 0 || in Reader_iternext()
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c305 size_t field_len = CBS_len(&base) / 2; in parse_explicit_prime_curve() local
306 CBS_init(out_base_x, CBS_data(&base), field_len); in parse_explicit_prime_curve()
307 CBS_init(out_base_y, CBS_data(&base) + field_len, field_len); in parse_explicit_prime_curve()
/external/autotest/client/common_lib/cros/bluetooth/
Dbluetooth_socket.py207 (field_len,) = struct.unpack('B', buffer(eirdata, pos, 1))
208 if field_len == 0:
214 data = eirdata[pos+2:pos+field_len+1]
215 pos += field_len + 1
/external/v8/src/arm64/
Ddisasm-arm64.cc3427 unsigned field_len = 2; in SubstituteRegisterField() local
3434 field_len = 3; in SubstituteRegisterField()
3449 field_len = 3; in SubstituteRegisterField()
3452 field_len += eimm - &format[3]; in SubstituteRegisterField()
3465 return field_len; in SubstituteRegisterField()
3485 field_len = 3; in SubstituteRegisterField()
3491 field_len = 3; in SubstituteRegisterField()
3504 field_len = 3; in SubstituteRegisterField()
3547 return field_len; in SubstituteRegisterField()
3559 return field_len; in SubstituteRegisterField()
/external/vixl/src/aarch64/
Ddisasm-aarch64.cc4912 unsigned field_len = 2; in SubstituteRegisterField() local
4919 field_len = 3; in SubstituteRegisterField()
4934 field_len = 3; in SubstituteRegisterField()
4937 field_len += eimm - &format[3]; in SubstituteRegisterField()
4951 return field_len; in SubstituteRegisterField()
4974 field_len = 3; in SubstituteRegisterField()
4980 field_len = 3; in SubstituteRegisterField()
5006 field_len = i + 1; in SubstituteRegisterField()
5015 field_len = 3; in SubstituteRegisterField()
5069 return field_len; in SubstituteRegisterField()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c11919 size_t field_len = upb_fielddef_getjsonname(f, buf, len); in add_jsonname_table() local
11920 if (field_len > len) { in add_jsonname_table()
11922 buf = upb_grealloc(buf, 0, field_len); in add_jsonname_table()
11923 len = field_len; in add_jsonname_table()