/third_party/jerryscript/tests/unit-core/ |
D | test-arraybuffer.c | 82 jerry_value_t arraybuffer = jerry_eval (eval_arraybuffer_src, in test_read_with_offset() local 86 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in test_read_with_offset() 87 TEST_ASSERT (jerry_value_is_arraybuffer (arraybuffer)); in test_read_with_offset() 88 TEST_ASSERT (jerry_get_arraybuffer_byte_length (arraybuffer) == 15); in test_read_with_offset() 94 jerry_length_t copied = jerry_arraybuffer_read (arraybuffer, offset, buffer, 20); in test_read_with_offset() 103 jerry_release_value (arraybuffer); in test_read_with_offset() 118 jerry_value_t arraybuffer = jerry_eval (eval_arraybuffer_src, in test_write_with_offset() local 122 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in test_write_with_offset() 123 TEST_ASSERT (jerry_value_is_arraybuffer (arraybuffer)); in test_write_with_offset() 124 TEST_ASSERT (jerry_get_arraybuffer_byte_length (arraybuffer) == 15); in test_write_with_offset() [all …]
|
D | test-dataview.c | 36 jerry_value_t arraybuffer = jerry_create_arraybuffer (16); in main() local 37 jerry_value_t view1 = jerry_create_dataview (arraybuffer, 0, 16); in main() 44 TEST_ASSERT (jerry_binary_operation (JERRY_BIN_OP_STRICT_EQUAL, internal_buffer, arraybuffer)); in main() 49 jerry_value_t view2 = jerry_create_dataview (arraybuffer, 12, 4); in main() 53 TEST_ASSERT (jerry_binary_operation (JERRY_BIN_OP_STRICT_EQUAL, internal_buffer, arraybuffer)); in main() 67 jerry_value_t view4 = jerry_create_dataview (arraybuffer, 20, 10); in main() 98 jerry_release_value (arraybuffer); in main()
|
D | test-typedarray.c | 99 jerry_value_t arraybuffer = jerry_get_typedarray_buffer (typedarray, &byte_offset, &byte_length); in test_typedarray_info() local 100 TEST_ASSERT (jerry_value_is_arraybuffer (arraybuffer)); in test_typedarray_info() 105 jerry_release_value (arraybuffer); in test_typedarray_info() 219 jerry_value_t arraybuffer; in test_typedarray_complex_creation() local 223 arraybuffer = jerry_create_arraybuffer_external (arraybuffer_size, buffer_ext, NULL); in test_typedarray_complex_creation() 227 arraybuffer = jerry_create_arraybuffer (arraybuffer_size); in test_typedarray_complex_creation() 237 arraybuffer, in test_typedarray_complex_creation() 244 jerry_release_value (arraybuffer); in test_typedarray_complex_creation() 423 jerry_value_t arraybuffer = jerry_create_arraybuffer_external (length, buf, NULL); in test_detached_arraybuffer() local 424 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in test_detached_arraybuffer() [all …]
|
/third_party/node/test/js-native-api/test_dataview/ |
D | test_dataview.c | 13 napi_value arraybuffer = args[0]; in CreateDataView() local 15 NAPI_CALL(env, napi_typeof(env, arraybuffer, &valuetype0)); in CreateDataView() 21 NAPI_CALL(env, napi_is_arraybuffer(env, arraybuffer, &is_arraybuffer)); in CreateDataView() 46 napi_create_dataview(env, length, arraybuffer, in CreateDataView()
|
/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() 199 napi_value arraybuffer; in Detach() local 200 NAPI_CALL(env, napi_get_typedarray_info(env, args[0], NULL, NULL, NULL, &arraybuffer, NULL)); in Detach() 201 NAPI_CALL(env, napi_detach_arraybuffer(env, arraybuffer)); in Detach()
|
/third_party/ejdb/src/bindings/ejdb2_node/ |
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);
|
/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 | 2770 napi_value arraybuffer, in napi_get_arraybuffer_info() argument 2774 CHECK_ARG(env, arraybuffer); in napi_get_arraybuffer_info() 2776 v8::Local<v8::Value> value = v8impl::V8LocalValueFromJsValue(arraybuffer); in napi_get_arraybuffer_info() 2807 napi_value arraybuffer, in napi_create_typedarray() argument 2811 CHECK_ARG(env, arraybuffer); in napi_create_typedarray() 2814 v8::Local<v8::Value> value = v8impl::V8LocalValueFromJsValue(arraybuffer); in napi_create_typedarray() 2878 napi_value* arraybuffer, in napi_get_typedarray_info() argument 2919 if (data != nullptr || arraybuffer != nullptr) { in napi_get_typedarray_info() 2930 if (arraybuffer != nullptr) { in napi_get_typedarray_info() 2931 *arraybuffer = v8impl::JsValueFromV8LocalValue(buffer); in napi_get_typedarray_info() [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/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/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/ |
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/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | assets.dart | 36 await html.HttpRequest.request(url, responseType: 'arraybuffer');
|
/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/ |
D | BUILD.gn | 100 "jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer-prototype.c", 101 "jerry-core/ecma/builtin-objects/ecma-builtin-arraybuffer.c", 186 "jerry-core/ecma/operations/ecma-arraybuffer-object.c",
|
/third_party/node/deps/npm/node_modules/psl/ |
D | yarn.lock | 206 arraybuffer.slice@~0.0.7: 208 …resolved "https://registry.yarnpkg.com/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz#3bbc4275dd5… 310 base64-arraybuffer@0.1.5: 312 …resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#739267719… 1247 arraybuffer.slice "~0.0.7" 1248 base64-arraybuffer "0.1.5" 3939 base64-arraybuffer "0.1.5" 4100 to-arraybuffer "^1.0.0" 4266 to-arraybuffer@^1.0.0: 4268 …resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466…
|
/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/jerry-core/ecma/base/ |
D | ecma-globals.h | 906 ecma_value_t arraybuffer; /**< for typedarray: internal arraybuffer */ member
|
/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/node/doc/api/ |
D | n-api.md | 2367 napi_value arraybuffer, 2375 * `[in] arraybuffer`: `ArrayBuffer` underlying the typed array. 2403 napi_value arraybuffer, 2410 * `[in] arraybuffer`: `ArrayBuffer` underlying the `DataView`. 2703 napi_value arraybuffer, 2709 * `[in] arraybuffer`: `napi_value` representing the `ArrayBuffer` being queried. 2786 napi_value* arraybuffer, 2799 * `[out] arraybuffer`: The `ArrayBuffer` underlying the `TypedArray`. 2824 napi_value* arraybuffer, 2834 * `[out] arraybuffer`: `ArrayBuffer` underlying the `DataView`. [all …]
|
/third_party/node/test/fixtures/wpt/interfaces/ |
D | html.idl | 2103 enum BinaryType { "blob", "arraybuffer" };
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V14.md | 4273 * [[`90f7a5c010`](https://github.com/nodejs/node/commit/90f7a5c010)] - **src**: set arraybuffer\_un…
|