Home
last modified time | relevance | path

Searched refs:bytelength (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Python/
H A Dcodecs.c1061 get_standard_encoding(const char *encoding, int *bytelength) in get_standard_encoding() argument
1070 *bytelength = 3; in get_standard_encoding()
1075 *bytelength = 2; in get_standard_encoding()
1094 *bytelength = 4; in get_standard_encoding()
1113 *bytelength = 3; in get_standard_encoding()
1129 int bytelength; in PyCodec_SurrogatePassErrors() local
1152 code = get_standard_encoding(encoding, &bytelength); in PyCodec_SurrogatePassErrors()
1161 if (end - start > PY_SSIZE_T_MAX / bytelength) in PyCodec_SurrogatePassErrors()
1162 end = start + PY_SSIZE_T_MAX / bytelength; in PyCodec_SurrogatePassErrors()
1163 res = PyBytes_FromStringAndSize(NULL, bytelength*(en in PyCodec_SurrogatePassErrors()
[all...]
/third_party/node/deps/v8/src/objects/
H A Dbigint.cc1340 int bytelength = length() * kDigitSize; in GetBitfieldForSerialization() local
1341 return SignBits::encode(sign()) | LengthBits::encode(bytelength); in GetBitfieldForSerialization()
1354 int bytelength = length() * kDigitSize; in SerializeDigits() local
1355 memcpy(storage, digits, bytelength); in SerializeDigits()
1372 int bytelength = LengthBits::decode(bitfield); in FromSerializedDigits() local
1373 DCHECK(digits_storage.length() == bytelength); in FromSerializedDigits()
1375 int length = (bytelength + kDigitSize - 1) / kDigitSize; // Round up. in FromSerializedDigits()
1382 memcpy(digits, digits_storage.begin(), bytelength); in FromSerializedDigits()
1384 reinterpret_cast<void*>(reinterpret_cast<Address>(digits) + bytelength); in FromSerializedDigits()
1385 memset(padding_start, 0, length * kDigitSize - bytelength); in FromSerializedDigits()
[all...]
H A Dvalue-serializer.cc346 int bytelength = BigInt::DigitsByteLengthForBitfield(bitfield); in WriteBigIntContents() local
349 if (ReserveRawBytes(bytelength).To(&dest)) { in WriteBigIntContents()
1557 int bytelength = BigInt::DigitsByteLengthForBitfield(bitfield); in ReadBigInt() local
1559 if (!ReadRawBytes(bytelength).To(&digits_storage)) { in ReadBigInt()
/third_party/node/src/
H A Djs_native_api.h428 size_t* bytelength,
H A Djsvm.h1086 * @param bytelength: Number of bytes in the DataView.
1096 size_t* bytelength,

Completed in 12 milliseconds