/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 85 const size_t field_len = BN_num_bytes(&group->field); in ec_point_to_bytes() local 86 size_t output_len = 1 /* type byte */ + field_len; in ec_point_to_bytes() 89 output_len += field_len; in ec_point_to_bytes() 101 assert(field_len_out == field_len); in ec_point_to_bytes() 104 ec_felem_to_bytes(group, buf + 1 + field_len, &field_len_out, &point->Y); in ec_point_to_bytes() 105 assert(field_len_out == field_len); in ec_point_to_bytes() 119 const size_t field_len = BN_num_bytes(&group->field); in ec_point_from_uncompressed() local 120 if (len != 1 + 2 * field_len || in[0] != POINT_CONVERSION_UNCOMPRESSED) { in ec_point_from_uncompressed() 126 if (!ec_felem_from_bytes(group, &x, in + 1, field_len) || in ec_point_from_uncompressed() 127 !ec_felem_from_bytes(group, &y, in + 1 + field_len, field_len) || in ec_point_from_uncompressed() [all …]
|
D | ec_test.cc | 1259 size_t field_len = (buf.size() - 1) / 2; in TEST() local 1261 EncodeHex(bssl::MakeConstSpan(buf).subspan(1, field_len))); in TEST() 1263 1 + field_len, field_len))); in TEST()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 85 const size_t field_len = BN_num_bytes(&group->field); in ec_point_to_bytes() local 86 size_t output_len = 1 /* type byte */ + field_len; in ec_point_to_bytes() 89 output_len += field_len; in ec_point_to_bytes() 101 assert(field_len_out == field_len); in ec_point_to_bytes() 104 ec_felem_to_bytes(group, buf + 1 + field_len, &field_len_out, &point->Y); in ec_point_to_bytes() 105 assert(field_len_out == field_len); in ec_point_to_bytes() 119 const size_t field_len = BN_num_bytes(&group->field); in ec_point_from_uncompressed() local 120 if (len != 1 + 2 * field_len || in[0] != POINT_CONVERSION_UNCOMPRESSED) { in ec_point_from_uncompressed() 126 if (!ec_felem_from_bytes(group, &x, in + 1, field_len) || in ec_point_from_uncompressed() 127 !ec_felem_from_bytes(group, &y, in + 1 + field_len, field_len) || in ec_point_from_uncompressed() [all …]
|
D | ec_test.cc | 1191 size_t field_len = (buf.size() - 1) / 2; in TEST() local 1193 EncodeHex(bssl::MakeConstSpan(buf).subspan(1, field_len))); in TEST() 1195 1 + field_len, field_len))); in TEST()
|
/external/python/cpython3/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 …]
|
/external/python/cpython2/Modules/ |
D | _csv.c | 121 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/ |
D | ec_asn1.c | 302 size_t field_len = CBS_len(&base) / 2; in parse_explicit_prime_curve() local 303 CBS_init(out_base_x, CBS_data(&base), field_len); in parse_explicit_prime_curve() 304 CBS_init(out_base_y, CBS_data(&base) + field_len, field_len); in parse_explicit_prime_curve()
|
/external/rust/crates/quiche/deps/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()
|
/external/python/asn1crypto/asn1crypto/ |
D | keys.py | 177 field_len = len(remaining) // 2 178 x = int_from_bytes(remaining[0:field_len]) 179 y = int_from_bytes(remaining[field_len:])
|
D | core.py | 3885 field_len = len(self._fields) 3893 if field < field_len: 3931 elif field_len > 0 and field + 1 <= field_len: 3969 while index < field_len:
|
/external/autotest/client/common_lib/cros/bluetooth/ |
D | bluetooth_socket.py | 207 (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/vixl/src/aarch64/ |
D | disasm-aarch64.cc | 9728 unsigned field_len = 1; in GetRegNumForField() local 9765 field_len++; in GetRegNumForField() 9769 field_len++; in GetRegNumForField() 9776 field_len++; in GetRegNumForField() 9781 field_len++; in GetRegNumForField() 9786 return std::make_pair(reg_num, field_len); in GetRegNumForField() 9791 unsigned field_len = 1; // Initially, count only the first character. in SubstituteRegisterField() local 9811 field_len += 2; in SubstituteRegisterField() 9819 field_len += rn.second; in SubstituteRegisterField() 9830 field_len = 3; in SubstituteRegisterField() [all …]
|
/external/iptables/iptables/ |
D | nft.c | 1146 uint8_t field_len[2] = { ETH_ALEN, sizeof(struct in_addr) }; in __add_nft_among() local 1149 field_len, sizeof(field_len)); in __add_nft_among()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 15992 size_t field_len = upb_fielddef_getjsonname(f, buf, len); in add_jsonname_table() local 15993 if (field_len > len) { in add_jsonname_table() 15995 buf = upb_grealloc(buf, 0, field_len); in add_jsonname_table() 15996 len = field_len; in add_jsonname_table()
|