Lines Matching defs:size
1292 size_t* argc, // [in-out] Specifies the size of the provided argv array
2528 NAPI_EXTERN napi_status napi_create_buffer(napi_env env, size_t size, void** data, napi_value* result)
2533 RETURN_STATUS_IF_FALSE(env, size > 0, napi_invalid_arg);
2541 if (size > MAX_BYTE_LENGTH) {
2542 HILOG_ERROR("Creat failed, current size: %{public}2f MiB, limit size: %{public}2f MiB",
2543 static_cast<float>(size) / static_cast<float>(ONEMIB_BYTE_SIZE),
2549 Local<panda::BufferRef> obj = BufferRef::New(vm, size);
2579 HILOG_ERROR("Creat failed, current size: %{public}2f MiB, limit size: %{public}2f MiB",
2620 HILOG_ERROR("Creat failed, current size: %{public}2f MiB, limit size: %{public}2f MiB",
2819 "equal to the size in bytes of the array passed in");
3549 uint32_t size = (uint32_t)word_count;
3550 Local<panda::JSValueRef> value = panda::BigIntRef::CreateBigWords(vm, sign, size,
3569 size_t size = static_cast<size_t>(value->GetWordsArraySize(vm));
3571 *wordCount = size;
3574 if (size > *wordCount) {
3575 size = *wordCount;
3578 value->GetWordsArray(vm, &sign, size, words);
3584 *wordCount = size;
3616 size_t size = 2; // 2: Indicates that the number of elements is 2
3619 BigIntGetWordsArray(vm, bigintObj, &sign, &size, reinterpret_cast<uint64_t*>(&tag));
3620 if (sign == 0 && ((size == 1) || (size == 2))) { // 2: Indicates that the number of elements is 2
3706 uint32_t size = (uint32_t)word_count;
3707 Local<panda::JSValueRef> value = panda::BigIntRef::CreateBigWords(vm, sign, size, words);
3736 size_t size = static_cast<size_t>(BigintObj->GetWordsArraySize(vm));
3738 *word_count = size;
3741 if (size > *word_count) {
3742 size = *word_count;
3745 BigintObj->GetWordsArray(vm, &sign, size, words);
3751 *word_count = size;