/third_party/jerryscript/tests/unit-core/ |
D | test-arraybuffer.cpp | 142 jerry_value_t arraybuffer = jerry_create_arraybuffer (length); variable 143 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); 144 TEST_ASSERT (jerry_value_is_arraybuffer (arraybuffer)); 145 TEST_ASSERT (jerry_get_arraybuffer_byte_length (arraybuffer) == length); 146 jerry_release_value (arraybuffer); 152 jerry_value_t arraybuffer = jerry_create_arraybuffer (length); variable 153 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); 154 TEST_ASSERT (jerry_value_is_arraybuffer (arraybuffer)); 155 TEST_ASSERT (jerry_get_arraybuffer_byte_length (arraybuffer) == length); 160 jerry_length_t bytes_read = jerry_arraybuffer_read (arraybuffer, 0, data, 20); [all …]
|
D | test-typedarray.cpp | 100 jerry_value_t arraybuffer = jerry_get_typedarray_buffer (typedarray, &byte_offset, &byte_length); in test_typedarray_info() local 101 TEST_ASSERT (jerry_value_is_arraybuffer (arraybuffer)); in test_typedarray_info() 106 jerry_release_value (arraybuffer); in test_typedarray_info() 291 jerry_value_t arraybuffer = jerry_create_arraybuffer_external (length, buf, NULL); in test_detached_arraybuffer() local 292 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in test_detached_arraybuffer() 293 TEST_ASSERT (jerry_value_is_arraybuffer (arraybuffer)); in test_detached_arraybuffer() 294 TEST_ASSERT (jerry_get_arraybuffer_byte_length (arraybuffer) == length); in test_detached_arraybuffer() 296 jerry_value_t is_detachable = jerry_is_arraybuffer_detachable (arraybuffer); in test_detached_arraybuffer() 301 jerry_value_t res = jerry_detach_arraybuffer (arraybuffer); in test_detached_arraybuffer() 307 …ry_value_t typedarray = jerry_create_typedarray_for_arraybuffer_sz (types[idx], arraybuffer, 0, 4); in test_detached_arraybuffer() [all …]
|
D | test-dataview.cpp | 62 jerry_value_t arraybuffer = jerry_create_arraybuffer (16); variable 63 jerry_value_t view1 = jerry_create_dataview (arraybuffer, 0, 16); 70 TEST_ASSERT (jerry_binary_operation (JERRY_BIN_OP_STRICT_EQUAL, internal_buffer, arraybuffer)); 75 jerry_value_t view2 = jerry_create_dataview (arraybuffer, 12, 4); 79 TEST_ASSERT (jerry_binary_operation (JERRY_BIN_OP_STRICT_EQUAL, internal_buffer, arraybuffer)); 93 jerry_value_t view4 = jerry_create_dataview (arraybuffer, 20, 10); 124 jerry_release_value (arraybuffer);
|
D | BUILD.gn | 120 "test-arraybuffer.cpp",
|
/third_party/node/test/js-native-api/test_dataview/ |
D | test_dataview.c | 13 napi_value arraybuffer = args[0]; in CreateDataView() local 15 NODE_API_CALL(env, napi_typeof(env, arraybuffer, &valuetype0)); in CreateDataView() 21 NODE_API_CALL(env, napi_is_arraybuffer(env, arraybuffer, &is_arraybuffer)); in CreateDataView() 46 napi_create_dataview(env, length, arraybuffer, in CreateDataView()
|
/third_party/node/deps/v8/src/builtins/ |
D | arraybuffer.tq | 5 namespace arraybuffer { 7 // #sec-get-arraybuffer.prototype.bytelength 27 // #sec-get-arraybuffer.prototype.maxbytelength 57 // #sec-get-arraybuffer.prototype.resizable 123 // #sec-arraybuffer.isview 138 } // namespace arraybuffer
|
/third_party/node/test/js-native-api/test_typedarray/ |
D | test_typedarray.c | 114 napi_value arraybuffer; in NullArrayBuffer() local 116 napi_create_external_arraybuffer(env, data, 0, NULL, NULL, &arraybuffer)); in NullArrayBuffer() 117 return arraybuffer; in NullArrayBuffer() 201 napi_value arraybuffer; in Detach() local 204 env, args[0], NULL, NULL, NULL, &arraybuffer, NULL)); in Detach() 205 NODE_API_CALL(env, napi_detach_arraybuffer(env, arraybuffer)); in Detach()
|
/third_party/node/src/ |
D | js_native_api.h | 398 napi_value arraybuffer, 407 napi_value arraybuffer, 415 napi_value* arraybuffer, 420 napi_value arraybuffer, 430 napi_value* arraybuffer, 535 napi_value arraybuffer);
|
D | js_native_api_v8.cc | 2916 napi_value arraybuffer, in napi_get_arraybuffer_info() argument 2920 CHECK_ARG(env, arraybuffer); in napi_get_arraybuffer_info() 2922 v8::Local<v8::Value> value = v8impl::V8LocalValueFromJsValue(arraybuffer); in napi_get_arraybuffer_info() 2954 napi_value arraybuffer, in napi_create_typedarray() argument 2958 CHECK_ARG(env, arraybuffer); in napi_create_typedarray() 2961 v8::Local<v8::Value> value = v8impl::V8LocalValueFromJsValue(arraybuffer); in napi_create_typedarray() 3025 napi_value* arraybuffer, in napi_get_typedarray_info() argument 3066 if (data != nullptr || arraybuffer != nullptr) { in napi_get_typedarray_info() 3076 if (arraybuffer != nullptr) { in napi_get_typedarray_info() 3077 *arraybuffer = v8impl::JsValueFromV8LocalValue(buffer); in napi_get_typedarray_info() [all …]
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry.c | 3721 ecma_object_t *arraybuffer; in jerry_create_arraybuffer_external() local 3725 …arraybuffer = ecma_arraybuffer_new_object_external (0, NULL, (ecma_object_native_free_callback_t) … in jerry_create_arraybuffer_external() 3729 arraybuffer = ecma_arraybuffer_new_object_external (size, in jerry_create_arraybuffer_external() 3734 return jerry_return (ecma_make_object_value (arraybuffer)); in jerry_create_arraybuffer_external() 4214 … const jerry_value_t arraybuffer, /**< ArrayBuffer to use */ in jerry_create_typedarray_for_arraybuffer_sz() argument 4221 if (ecma_is_value_error_reference (arraybuffer)) in jerry_create_typedarray_for_arraybuffer_sz() 4235 if (!ecma_is_arraybuffer (arraybuffer)) in jerry_create_typedarray_for_arraybuffer_sz() 4243 arraybuffer, in jerry_create_typedarray_for_arraybuffer_sz() 4255 JERRY_UNUSED (arraybuffer); in jerry_create_typedarray_for_arraybuffer_sz() 4273 const jerry_value_t arraybuffer) /**< ArrayBuffer to use */ in jerry_create_typedarray_for_arraybuffer() argument [all …]
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-arraybuffer.c | 33 #define BUILTIN_UNDERSCORED_ID arraybuffer
|
D | ecma-builtins.inc.h | 355 arraybuffer)
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-typedarray-object.c | 566 ext_object_p->u.pseudo_array.u2.arraybuffer = ecma_make_object_value (new_arraybuffer_p); in ecma_typedarray_create_object_with_length() 606 ext_object_p->u.pseudo_array.u2.arraybuffer = ecma_make_object_value (arraybuffer_p); in ecma_typedarray_create_object_with_buffer() 978 return ecma_get_object_from_value (ext_object_p->u.pseudo_array.u2.arraybuffer); in ecma_typedarray_get_arraybuffer() 1008 …object_t *arraybuffer_p = ecma_get_object_from_value (ext_object_p->u.pseudo_array.u2.arraybuffer); in ecma_typedarray_get_length()
|
/third_party/jerryscript/jerry-core/include/ |
D | jerryscript-core.h | 697 const jerry_value_t arraybuffer, 701 const jerry_value_t arraybuffer);
|
/third_party/jerryscript/jerry-core/ |
D | BUILD.gn | 50 "ecma/builtin-objects/ecma-builtin-arraybuffer-prototype.c", 51 "ecma/builtin-objects/ecma-builtin-arraybuffer.c", 136 "ecma/operations/ecma-arraybuffer-object.c",
|
/third_party/jerryscript/ |
D | BUILD.gn | 135 "jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer-prototype.c", 136 "jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer.c", 221 "jerry-core/ecma/operations/ecma-arraybuffer-object.c",
|
/third_party/jerryscript/jerry-core/profiles/ |
D | README.md | 110 … the [ArrayBuffer](http://www.ecma-international.org/ecma-262/6.0/#sec-arraybuffer-objects) and [T…
|
/third_party/jerryscript/docs/ |
D | 02.API-REFERENCE.md | 1618 jerry_value_t arraybuffer = jerry_create_arraybuffer (16); 1619 jerry_value_t dataview = jerry_create_dataview (arraybuffer, 0, 16); 1627 jerry_release_value (arraybuffer); 4025 jerry_value_t arraybuffer = jerry_create_arraybuffer (16); 4026 jerry_value_t dataview = jerry_create_dataview (arraybuffer, 0, 16); 4031 jerry_release_value (arraybuffer); 4767 The JavaScript equivalent of this function is: `new %TypedArray%(arraybuffer)` where `%TypedArray%`… 4783 const jerry_value_t arraybuffer); 4787 - `arraybuffer` - the ArrayBuffer to use for the new TypedArray 4828 The JavaScript equivalent of this function is: `new %TypedArray%(arraybuffer, byteOffset, length)` … [all …]
|
D | 03.API-EXAMPLE.md | 563 …umber, null, object, string, undefined or some special type of objects (arraybuffer, symbols, etc).
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-globals.h | 906 ecma_value_t arraybuffer; /**< for typedarray: internal arraybuffer */ member
|
/third_party/node/doc/api/ |
D | n-api.md | 2631 napi_value arraybuffer, 2639 * `[in] arraybuffer`: `ArrayBuffer` underlying the typed array. 2668 napi_value arraybuffer, 2675 * `[in] arraybuffer`: `ArrayBuffer` underlying the `DataView`. 3082 napi_value arraybuffer, 3088 * `[in] arraybuffer`: `napi_value` representing the `ArrayBuffer` being queried. 3168 napi_value* arraybuffer, 3181 * `[out] arraybuffer`: The `ArrayBuffer` underlying the `TypedArray`. 3209 napi_value* arraybuffer, 3219 * `[out] arraybuffer`: `ArrayBuffer` underlying the `DataView`. [all …]
|
D | v8.md | 1171 [`deserializer.transferArrayBuffer()`]: #deserializertransferarraybufferid-arraybuffer 1177 [`serializer.transferArrayBuffer()`]: #serializertransferarraybufferid-arraybuffer
|
/third_party/node/deps/v8/include/ |
D | js_protocol.pdl | 980 arraybuffer 1025 arraybuffer 1086 arraybuffer 1135 arraybuffer
|
/third_party/node/deps/v8/ |
D | BUILD.bazel | 784 "src/builtins/arraybuffer.tq", 1092 "src/builtins/builtins-arraybuffer.cc",
|
/third_party/node/test/fixtures/wpt/interfaces/ |
D | html.idl | 2134 enum BinaryType { "blob", "arraybuffer" };
|