Searched refs:TryNumberToSize (Results 1 – 8 of 8) sorted by relevance
/external/v8/src/builtins/ |
D | builtins-arraybuffer.cc | 37 if (!TryNumberToSize(*length, &byte_length)) { in ConstructBuffer() 265 CHECK(TryNumberToSize(*first_obj, &first_size)); in SliceHelper() 266 CHECK(TryNumberToSize(*new_len_obj, &new_len_size)); in SliceHelper()
|
D | builtins-sharedarraybuffer.cc | 76 if (!TryNumberToSize(*access_index_obj, &access_index) || in ValidateAtomicAccess()
|
/external/v8/src/ |
D | conversions-inl.h | 198 bool TryNumberToSize(Object* number, size_t* result) { in TryNumberToSize() function 229 bool is_valid = TryNumberToSize(number, &result); in NumberToSize()
|
D | conversions.h | 177 inline bool TryNumberToSize(Object* number, size_t* result);
|
D | elements.cc | 3451 TryNumberToSize(source->length(), ¤t_length) && in TryCopyElementsFastNumber() 3607 TryNumberToSize(source_js_array->length(), ¤t_length)) { in CopyElementsHandleImpl()
|
/external/v8/src/runtime/ |
D | runtime-utils.h | 55 CHECK(TryNumberToSize(*name##_object, &name));
|
D | runtime-typedarray.cc | 56 CHECK(TryNumberToSize(*length_obj, &length)); in RUNTIME_FUNCTION()
|
D | runtime-strings.cc | 282 CHECK(TryNumberToSize(array->length(), &actual_array_length)); in RUNTIME_FUNCTION()
|