Searched refs:cast_value (Results 1 – 2 of 2) sorted by relevance
14426 ValueType cast_value = 0; in ExternalArrayIntSetter() local14430 cast_value = static_cast<ValueType>(int_value); in ExternalArrayIntSetter()14433 cast_value = static_cast<ValueType>(DoubleToInt32(double_value)); in ExternalArrayIntSetter()14439 receiver->set(index, cast_value); in ExternalArrayIntSetter()14441 return isolate->factory()->NewNumberFromInt(cast_value); in ExternalArrayIntSetter()14489 uint32_t cast_value = 0; in SetValue() local14493 cast_value = static_cast<uint32_t>(int_value); in SetValue()14496 cast_value = static_cast<uint32_t>(DoubleToUint32(double_value)); in SetValue()14502 array->set(index, cast_value); in SetValue()14504 return array->GetIsolate()->factory()->NewNumberFromUint(cast_value); in SetValue()[all …]
4159 ElementType cast_value = Traits::defaultValue(); in SetValue() local4163 cast_value = from_int(int_value); in SetValue()4166 cast_value = from_double(double_value); in SetValue()4172 array->set(index, cast_value); in SetValue()4174 return Traits::ToHandle(array->GetIsolate(), cast_value); in SetValue()