Lines Matching defs:value
26 #include "src/wasm/value-type.h"
33 #include "src/wasm/wasm-value.h"
300 Smi::cast(dispatch_tables->get(i + kDispatchTableIndexOffset)).value();
453 int function_index = Smi::cast(tuple->value2()).value();
503 Smi::cast(dispatch_tables.get(i + kDispatchTableIndexOffset)).value();
539 Smi::cast(dispatch_tables->get(i + kDispatchTableIndexOffset)).value();
578 Smi::cast(dispatch_tables->get(i + kDispatchTableIndexOffset)).value();
622 Smi::cast(dispatch_tables->get(i + kDispatchTableIndexOffset)).value();
681 *function_index = Smi::cast(tuple->value2()).value();
964 size_t new_pages = result_inplace.value() + pages;
974 // value provided by {GrowWasmMemoryInPlace}, to provide the atomic
976 return static_cast<int32_t>(result_inplace.value()); // success
991 DCHECK_EQ(result_inplace.value(), old_pages);
992 return static_cast<int32_t>(result_inplace.value()); // success
1122 Object value = object_ref();
1123 if (!value.IsWasmApiFunctionRef()) return Object();
1124 return JSReceiver::cast(WasmApiFunctionRef::cast(value).callable());
1350 auto value = WasmTableObject::Get(isolate, table_src, src_index);
1351 WasmTableObject::Set(isolate, table_dst, dst_index, value);
1738 uint32_t* encoded_index, uint32_t value) {
1739 encoded_values->set((*encoded_index)++, Smi::FromInt(value >> 16));
1740 encoded_values->set((*encoded_index)++, Smi::FromInt(value & 0xffff));
1744 uint32_t* encoded_index, uint64_t value) {
1746 static_cast<uint32_t>(value >> 32));
1748 static_cast<uint32_t>(value));
1752 uint32_t* encoded_index, uint32_t* value) {
1753 uint32_t msb = Smi::cast(encoded_values->get((*encoded_index)++)).value();
1754 uint32_t lsb = Smi::cast(encoded_values->get((*encoded_index)++)).value();
1755 *value = (msb << 16) | (lsb & 0xffff);
1759 uint32_t* encoded_index, uint64_t* value) {
1763 *value = (static_cast<uint64_t>(msb) << 32) | static_cast<uint64_t>(lsb);
2259 Handle<Object> value, ValueType expected,
2264 if (value->IsNull(isolate)) return true;
2270 if (!(WasmExternalFunction::IsWasmExternalFunction(*value) ||
2271 WasmCapiFunction::IsWasmCapiFunction(*value))) {
2289 LookupIterator it(isolate, value, key,
2297 value = it.GetDataValue();
2301 if (!value->IsSmi()) {
2308 if (!((repr == HeapType::kEq && value->IsSmi()) ||
2309 (repr != HeapType::kArray && value->IsWasmStruct()) ||
2310 value->IsWasmArray())) {
2325 if (WasmExportedFunction::IsWasmExportedFunction(*value)) {
2327 WasmExportedFunction::cast(*value);
2342 if (WasmJSFunction::IsWasmJSFunction(*value)) {
2346 if (!WasmJSFunction::cast(*value).MatchesSignature(
2356 if (WasmCapiFunction::IsWasmCapiFunction(*value)) {
2361 if (!WasmCapiFunction::cast(*value).MatchesSignature(