Home
last modified time | relevance | path

Searched refs:result_length (Results 1 - 11 of 11) sorted by relevance

/third_party/node/deps/v8/src/objects/
H A Dbigint.cc451 int result_length = bigint::MultiplyResultLength(GetDigits(x), GetDigits(y)); in Multiply() local
453 if (!MutableBigInt::New(isolate, result_length).ToHandle(&result)) { in Multiply()
486 int result_length = bigint::DivideResultLength(GetDigits(x), GetDigits(y)); in Divide() local
487 if (!MutableBigInt::New(isolate, result_length).ToHandle(&quotient)) { in Divide()
514 int result_length = bigint::ModuloResultLength(GetDigits(y)); in Remainder() local
515 if (!MutableBigInt::New(isolate, result_length).ToHandle(&remainder)) { in Remainder()
536 int result_length = in Add() local
539 if (!MutableBigInt::New(isolate, result_length).ToHandle(&result)) { in Add()
540 // Allocation fails when {result_length} exceeds the max BigInt size. in Add()
556 int result_length in Subtract() local
638 int result_length = BitwiseAnd() local
644 int result_length = BitwiseAnd() local
653 int result_length = bigint::BitwiseAnd_PosNeg_ResultLength(x->length()); BitwiseAnd() local
667 int result_length = BitwiseXor() local
673 int result_length = BitwiseXor() local
680 int result_length = BitwiseXor() local
695 int result_length = bigint::BitwiseOrResultLength(x->length(), y->length()); BitwiseOr() local
1208 int result_length = input_length + will_overflow; AbsoluteAddOne() local
1250 const int result_length = bigint::LeftShift_ResultLength( LeftShiftByAbsolute() local
1274 const int result_length = RightShiftByAbsolute() local
1434 int result_length = bigint::AsUintN_Neg_ResultLength(static_cast<int>(n)); AsUintN() local
1439 int result_length = AsUintN() local
[all...]
H A Delements.h122 uint32_t concat_size, uint32_t result_length);
/third_party/libcoap/src/
H A Dcoap_tinydtls.c374 unsigned char *result, size_t result_length) { in get_psk_info()
442 if (psk_identity->length > result_length) { in get_psk_info()
444 result_length); in get_psk_info()
447 result_length = psk_identity->length; in get_psk_info()
449 memcpy(result, psk_identity->s, result_length); in get_psk_info()
450 return result_length; in get_psk_info()
464 if (psk_key->length > result_length) { in get_psk_info()
466 result_length); in get_psk_info()
469 result_length = psk_key->length; in get_psk_info()
471 memcpy(result, psk_key->s, result_length); in get_psk_info()
370 get_psk_info(struct dtls_context_t *dtls_context, const session_t *dtls_session, dtls_credentials_type_t type, const uint8_t *id, size_t id_len, unsigned char *result, size_t result_length) get_psk_info() argument
[all...]
/third_party/node/src/
H A Dnode_i18n.cc224 int32_t result_length; in TranscodeUcs2FromUtf8() local
225 u_strFromUTF8(*destbuf, destbuf.capacity(), &result_length, in TranscodeUcs2FromUtf8()
229 destbuf.SetLength(result_length); in TranscodeUcs2FromUtf8()
233 destbuf.AllocateSufficientStorage(result_length); in TranscodeUcs2FromUtf8()
234 u_strFromUTF8(*destbuf, result_length, &result_length, in TranscodeUcs2FromUtf8()
237 destbuf.SetLength(result_length); in TranscodeUcs2FromUtf8()
253 int32_t result_length; in TranscodeUtf8FromUcs2() local
257 u_strToUTF8(*destbuf, destbuf.capacity(), &result_length, in TranscodeUtf8FromUcs2()
260 destbuf.SetLength(result_length); in TranscodeUtf8FromUcs2()
[all...]
/third_party/node/deps/v8/src/zone/
H A Dzone-list-inl.h36 int result_length = length_ + length; in AddAll() local
37 if (capacity_ < result_length) Resize(result_length, zone); in AddAll()
43 length_ = result_length; in AddAll()
/third_party/node/deps/v8/src/ast/
H A Dast-value-factory.cc222 int result_length = 0; in AllocateFlat() local
226 result_length += current->string->length(); in AllocateFlat()
233 ->NewRawOneByteString(result_length, AllocationType::kOld) in AllocateFlat()
238 result_length; in AllocateFlat()
252 ->NewRawTwoByteString(result_length, AllocationType::kOld) in AllocateFlat()
257 result_length; in AllocateFlat()
/third_party/node/deps/v8/src/builtins/
H A Dgrowable-fixed-array-gen.cc62 const TNode<Smi> result_length = SmiTag(length()); in ToJSArray() local
64 AllocateJSArray(array_map, var_array_.value(), result_length); in ToJSArray()
H A Dbuiltins-string.cc249 Isolate* isolate, String string, SeqString result, int result_length, in ConvertCaseHelper()
270 for (int i = 0; i < result_length;) { in ConvertCaseHelper()
285 } else if (result_length == string.length()) { in ConvertCaseHelper()
248 ConvertCaseHelper( Isolate* isolate, String string, SeqString result, int result_length, unibrow::Mapping<Converter, 128>* mapping) ConvertCaseHelper() argument
/third_party/node/deps/v8/src/bigint/
H A Dbitwise.cc161 int result_length = X.len() - digit_shift; in RightShift_ResultLength() local
162 if (result_length <= 0) return 0; in RightShift_ResultLength()
185 if (rounding_can_overflow) ++result_length; in RightShift_ResultLength()
192 return result_length; in RightShift_ResultLength()
/third_party/node/deps/v8/src/strings/
H A Duri.cc193 int result_length = in Decode() local
196 isolate, result, isolate->factory()->NewRawTwoByteString(result_length), in Decode()
/third_party/python/Modules/
H A Dposixmodule.c4378 int result_length; in os__getfinalpathname_impl() local
4401 result_length = GetFinalPathNameByHandleW(hFile, target_path, in os__getfinalpathname_impl() local
4405 if (!result_length) { in os__getfinalpathname_impl()
4411 if (result_length < buf_size) { in os__getfinalpathname_impl()
4417 result_length * sizeof(*tmp)); in os__getfinalpathname_impl()
4423 buf_size = result_length; in os__getfinalpathname_impl()
4427 result = PyUnicode_FromWideChar(target_path, result_length); in os__getfinalpathname_impl()

Completed in 24 milliseconds