Lines Matching refs:data
239 * @param cachedData: Optional code cache data for the script.
262 * @param cachedData: Optional code cache data for the script.
286 * @param data: The data of the code cache.
287 * @param length: The length of the code cache data.
294 const uint8_t** data,
315 * @brief This API associates data with the currently running JSVM environment. data can later be retrieved
319 * @param data: The data item to make available to bindings of this instance.
321 * data so that it might free it. JSVM_Finalize provides more details.
328 void* data,
333 * @brief This API retrieves data that was previously associated with the currently running JSVM environment
334 * via OH_JSVM_SetInstanceData(). If no data is set, the call will succeed and data will be set to NULL.
337 * @param data: The data item that was previously associated with the currently running JSVM environment by
344 void** data);
702 * represent fixed-length binary data buffers. They are normally used as a backing-buffer for TypedArray objects.
710 * @param data: Pointer to the underlying byte buffer of the ArrayBuffer.data can optionally be ignored by passing NULL.
718 void** data,
726 * @param data: pointer that recieve the backing store memory pointer.
729 * Returns {@link JSVM_INVALID_ARG } if data is null pointer.\n
735 void **data);
740 * @param data: pointer to the backing store memory.
743 * Returns {@link JSVM_INVALID_ARG } if data is null pointer.\n
746 JSVM_Status JSVM_CDECL OH_JSVM_FreeArrayBufferBackingStoreData(void *data);
749 * @brief This API create an array buffer using the backing store data.
752 * @param data: pointer to the backing store memory.
762 * 3. data or result is null pointer
766 void *data,
788 * @brief This API allocates a JavaScript value with external data attached to it. This is used to pass external
789 * data through JavaScript code, so it can be retrieved later by native code using OH_JSVM_GetValueExternal.
795 * @param data: Raw pointer to the external data.
805 void* data,
856 * objects provide an array-like view over an underlying data buffer where each element has the
879 * objects provide an array-like view over an underlying data buffer, but one which allows items
1069 * @brief This API is used to retrieve the underlying data buffer of an ArrayBuffer and its length.
1073 * @param data: The underlying data buffer of the ArrayBuffer. If byte_length is 0, this may be NULL
1075 * @param byteLength: Length in bytes of the underlying data buffer.
1082 void** data,
1107 * @param data: The data buffer underlying the TypedArray adjusted by the byte_offset value so that it
1112 * the arrays is located. The value for the data parameter has already been adjusted so that data points
1113 * to the first element in the array. Therefore, the first byte of the native array would be at data - byte_offset.
1122 void** data,
1133 * @param data: The data buffer underlying the DataView.
1136 * @param byteOffset: The byte offset within the data buffer from which to start projecting the DataView.
1144 void** data,
1253 * @brief This API retrieves the external data pointer that was previously passed to OH_JSVM_CreateExternal().
1257 * @param result: Pointer to the data wrapped by the JavaScript external value.
1756 * not perform any conversion between data types.
1972 * object is invoked and data. JSVM_Callback provides more details.
2000 * @param data: Receives the data pointer for the callback. data can optionally
2011 void** data);
2062 * Include Optional data to be passed to the constructor callback as the data
2065 * @param properties: Array of property descriptors describing static and instance data
2177 * @param jsObject: The JavaScript object to which the native data will be attached.
2178 * @param finalizeData: Optional data to be passed to finalizeCb.
2179 * @param finalizeCb: Native callback that will be used to free the native data when the
2348 * @param blobData: The snapshot data.
2349 * @param blobSize: The size of snapshot data.
2361 * @brief This function returns a set of statistics data of the heap of the VM.
2364 * @param result: The heap statistics data.
2389 * @param stream: The output stream callback for receiving the data.
2390 * @param streamData: Optional data to be passed to the stream callback.
2404 * @param stream: The output stream callback for receiving the data.
2405 * @param streamData: Optional data to be passed to the stream callback.
2466 * Include Optional data to be passed to the constructor callback as the data
2469 * @param properties: Array of property descriptors describing static and instance data
2963 * Returns {@link JSVM_INVALID_ARG } if any of env, wasmBytecode is NULL, or data length is invalid.\n
3019 * @param data: Output parameter representing generated WebAssembly module cache.
3030 const uint8_t** data,
3034 * @brief Release cache data with specified cache type.
3037 * @param cacheData: The cache data to be released, double free is undefined behaviors.
3038 * @param cacheType: The type of cache data.