Lines Matching full:param
104 * @param options: The options for initialize the JavaScript VM.
113 * @param options: The options for create the VM instance.
114 * @param result: The new VM instance.
124 * @param vm: The VM instance to be Destroyed.
133 * @param vm: The VM instance to open scope for.
134 * @param result: The new VM scope.
144 * @param vm: The VM instance to close scope for.
145 * @param scope: The VM scope to be closed.
155 * @param vm: The VM instance that the env will be created in.
156 * @param propertyCount: The number of elements in the properties array.
157 * @param properties: The array of property descriptor.
158 * @param result: The new environment created.
170 * @param vm: The VM instance that the env will be created in.
171 * @param index: The index of the environment in the snapshot.
172 * @param result: The new environment created.
183 * @param env: The environment to be destroyed.
192 * @param env: The environment that the JSVM-API call is invoked under.
193 * @param result: The new environment scope.
203 * @param env: The environment that the JSVM-API call is invoked under.
204 * @param scope: The environment scope to be closed.
214 * @param env: The environment that the JSVM-API call is invoked under.
215 * @param result: The VM instance of the environment.
225 * @param env: The environment that the JSVM-API call is invoked under.
226 * @param script: A JavaScript string containing the script yo be compiled.
227 * @param cachedData: Optional code cache data for the script.
228 * @param cacheDataLength: The length of cachedData array.
229 * @param eagerCompile: Whether to compile the script eagerly.
230 * @param cacheRejected: Whether the code cache rejected by compilation.
231 * @param result: The compiled script.
247 * @param env: The environment that the JSVM-API call is invoked under.
248 * @param script: A JavaScript string containing the script to be compiled.
249 * @param cachedData: Optional code cache data for the script.
250 * @param cacheDataLength: The length of cachedData array.
251 * @param eagerCompile: Whether to compile the script eagerly.
252 * @param cacheRejected: Whether the code cache rejected by compilation.
253 * @param origin: The information of source code.
254 * @param result: The compiled script.
271 * @param env: The environment that the JSVM-API call is invoked under.
272 * @param script: A JavaScript string containing the script to be compiled.
273 * @param optionCount: length of option array.
274 * @param options: Compile options to be passed.
275 * @param result: The compiled script.
288 * @param env: The environment that the JSVM-API call is invoked under.
289 * @param script: A compiled script to create code cache for.
290 * @param data: The data of the code cache.
291 * @param length: The length of the code cache data.
308 * @param env: The environment that the API is invoked under.
309 * @param script: A JavaScript string containing the script to execute.
310 * @param result: The value resulting from having executed the script.
321 * @param env: The environment that the JSVM-API call is invoked under.
322 * @param data: The data item to make available to bindings of this instance.
323 * @param finalizeCb: The function to call when the environment is being torn down. The function receives
325 * @param finalizeHint: Optional hint to pass to the finalize callback during collection.
338 * @param env: The environment that the JSVM-API call is invoked under.
339 * @param data: The data item that was previously associated with the currently running JSVM environment by
351 * @param env: The environment that the JSVM-API call is invoked under.
352 * @param result: The JSVM_ExtendedErrorInfo structure with more information about the error.
362 * @param env: The environment that the API is invoked under.
363 * @param error: The JavaScript value to be thrown.
373 * @param env: The environment that the API is invoked under.
374 * @param code: Optional error code to be set on the error.
375 * @param msg: C string representing the text to be associated with the error.
386 * @param env: The environment that the API is invoked under.
387 * @param code: Optional error code to be set on the error.
388 * @param msg: C string representing the text to be associated with the error.
399 * @param env: The environment that the API is invoked under.
400 * @param code: Optional error code to be set on the error.
401 * @param msg: C string representing the text to be associated with the error.
412 * @param env: The environment that the API is invoked under.
413 * @param code: Optional error code to be set on the error.
414 * @param msg: C string representing the text to be associated with the error.
425 * @param env: The environment that the API is invoked under.
426 * @param value: The JSVM_Value to be checked.
427 * @param result: Boolean value that is set to true if JSVM_Value represents an error,
439 * @param env: The environment that the API is invoked under.
440 * @param code: Optional JSVM_Value with the string for the error code to be associated with the error.
441 * @param msg: JSVM_Value that references a JavaScript string to be used as the message for the Error.
442 * @param result: JSVM_Value representing the error created.
454 * @param env: The environment that the API is invoked under.
455 * @param code: Optional JSVM_Value with the string for the error code to be associated with the error.
456 * @param msg: JSVM_Value that references a JavaScript string to be used as the message for the Error.
457 * @param result: JSVM_Value representing the error created.
469 * @param env: The environment that the API is invoked under.
470 * @param code: Optional JSVM_Value with the string for the error code to be associated with the error.
471 * @param msg: JSVM_Value that references a JavaScript string to be used as the message for the Error.
472 * @param result: JSVM_Value representing the error created.
484 * @param env: The environment that the API is invoked under.
485 * @param code: Optional JSVM_Value with the string for the error code to be associated with the error.
486 * @param msg: JSVM_Value that references a JavaScript string to be used as the message for the Error.
487 * @param result: JSVM_Value representing the error created.
499 * @param env: The environment that the API is invoked under.
500 * @param result: The exception if one is pending, NULL otherwise.
510 * @param env: The environment that the API is invoked under.
511 * @param result: Boolean value that is set to true if an exception is pending.
521 * @param env: The environment that the API is invoked under.
522 * @param result: JSVM_Value representing the new scope.
533 * @param env: The environment that the API is invoked under.
534 * @param scope: JSVM_Value representing the scope to be closed.
544 * @param env: The environment that the API is invoked under.
545 * @param result: JSVM_Value representing the new scope.
556 * @param env: The environment that the API is invoked under.
557 * @param scope: JSVM_Value representing the scope to be closed.
569 * @param env: The environment that the API is invoked under.
570 * @param scope: JSVM_Value representing the current scope.
571 * @param escapee: JSVM_Value representing the JavaScript Object to be escaped.
572 * @param result: JSVM_Value representing the handle to the escaped Object in the outer scope.
584 * @param env: The environment that the API is invoked under.
585 * @param value: The JSVM_Value for which a reference is being created.
586 * @param initialRefcount: Initial reference count for the new reference.
587 * @param result: JSVM_Ref pointing to the new reference.
599 * @param env: The environment that the API is invoked under.
600 * @param ref: JSVM_Ref to be deleted.
611 * @param env: The environment that the API is invoked under.
612 * @param ref: JSVM_Ref for which the reference count will be incremented.
613 * @param result: The new reference count.
625 * @param env: The environment that the API is invoked under.
626 * @param ref: JSVM_Ref for which the reference count will be decremented.
627 * @param result: The new reference count.
639 * @param env: The environment that the API is invoked under.
640 * @param ref: The JSVM_Ref for which the corresponding value is being requested.
641 * @param result: The JSVM_Value referenced by the JSVM_Ref.
652 * @param env: The environment that the API is invoked under.
653 * @param result: A JSVM_Value representing a JavaScript Array.
666 * @param env: The environment that the API is invoked under.
667 * @param length: The initial length of the Array.
668 * @param result: A JSVM_Value representing a JavaScript Array.
684 * @param env: The environment that the API is invoked under.
685 * @param byteLength: The length in bytes of the array buffer to create.
686 * @param data: Pointer to the underlying byte buffer of the ArrayBuffer.data can optionally be ignored by passing NULL.
687 * @param result: A JSVM_Value representing a JavaScript Array.
699 * @param byteLength: size of backing store memory.
700 * @param initialized: initialization status of the backing store memory.
701 * @param data: pointer that recieve the backing store memory pointer.
715 * @param data: pointer to the backing store memory.
726 * @param env: The environment that the API is invoked under.
727 * @param data: pointer to the backing store memory.
728 * @param backingStoreSize: size of backing store memory.
729 * @param offset: start position of the array buffer in the backing store memory.
730 * @param arrayBufferSize: size of the array buffer.
731 * @param result: pointer that recieve the array buffer.
751 * @param env: The environment that the API is invoked under.
752 * @param time: ECMAScript time value in milliseconds since 01 January, 1970 UTC.
753 * @param result: A JSVM_Value representing a JavaScript Date.
768 * @param env: The environment that the API is invoked under.
769 * @param data: Raw pointer to the external data.
770 * @param finalizeCb: Optional callback to call when the external value is being collected. JSVM_Finalize provides
772 * @param finalizeHint: Optional hint to pass to the finalize callback during collection.
773 * @param result: A JSVM_Value representing an external value.
786 * @param env: The environment that the API is invoked under.
787 * @param result: A JSVM_Value representing a JavaScript Object.
797 * @param env: The environment that the API is invoked under.
798 * @param description: Optional JSVM_Value which refers to a JavaScript string to be set as the description
800 * @param result: A JSVM_Value representing a JavaScript symbol.
812 * @param env: The environment that the API is invoked under.
813 * @param utf8description: UTF-8 C string representing the text to be used as the description for the symbol.
814 * @param length: The length of the description string in bytes, or JSVM_AUTO_LENGTH if it is null-terminated.
815 * @param result: A JSVM_Value representing a JavaScript symbol.
830 * @param env: The environment that the API is invoked under.
831 * @param type: Scalar datatype of the elements within the TypedArray.
832 * @param length: Number of elements in the TypedArray.
833 * @param arraybuffer: ArrayBuffer underlying the typed array.
834 * @param byteOffset: The byte offset within the ArrayBuffer from which to start projecting the TypedArray.
835 * @param result: A JSVM_Value representing a JavaScript TypedArray
853 * @param env: The environment that the API is invoked under.
854 * @param length: Number of elements in the DataView.
855 * @param arraybuffer: ArrayBuffer underlying the DataView.
856 * @param byteOffset: The byte offset within the ArrayBuffer from which to start projecting the DataView.
857 * @param result:A JSVM_Value representing a JavaScript DataView.
870 * @param env: The environment that the API is invoked under.
871 * @param value: Integer value to be represented in JavaScript.
872 * @param result: A JSVM_Value representing a JavaScript number.
883 * @param env: The environment that the API is invoked under.
884 * @param value: Unsigned integer value to be represented in JavaScript.
885 * @param result: A JSVM_Value representing a JavaScript number.
896 * @param env: The environment that the API is invoked under.
897 * @param value: Integer value to be represented in JavaScript.
898 * @param result: A JSVM_Value representing a JavaScript number.
909 * @param env: The environment that the API is invoked under.
910 * @param value: Double-precision value to be represented in JavaScript.
911 * @param result: A JSVM_Value representing a JavaScript number.
922 * @param env: The environment that the API is invoked under.
923 * @param value: Integer value to be represented in JavaScript.
924 * @param result: A JSVM_Value representing a JavaScript BigInt.
935 * @param env: The environment that the API is invoked under.
936 * @param value: Unsigned integer value to be represented in JavaScript.
937 * @param result: A JSVM_Value representing a JavaScript BigInt.
949 * @param env: The environment that the API is invoked under.
950 * @param signBit: Determines if the resulting BigInt will be positive or negative.
951 * @param wordCount: The length of the words array.
952 * @param words: An array of uint64_t little-endian 64-bit words.
953 * @param result: A JSVM_Value representing a JavaScript BigInt.
967 * @param env: The environment that the API is invoked under.
968 * @param str: Character buffer representing an ISO-8859-1-encoded string.
969 * @param length: The length of the string in bytes, or JSVM_AUTO_LENGTH if it is null-terminated.
970 * @param result: A JSVM_Value representing a JavaScript string.
983 * @param env: The environment that the API is invoked under.
984 * @param str: Character buffer representing a UTF16-LE-encoded string.
985 * @param length: The length of the string in two-byte code units, or JSVM_AUTO_LENGTH
987 * @param result: A JSVM_Value representing a JavaScript string.
1000 * @param env: The environment that the API is invoked under.
1001 * @param str: Character buffer representing a UTF8-encoded string.
1002 * @param length: The length of the string in bytes, or JSVM_AUTO_LENGTH if it is null-terminated.
1003 * @param result: A JSVM_Value representing a JavaScript string.
1015 * @param env: The environment that the API is invoked under.
1016 * @param value: JSVM_Value representing the JavaScript Array whose length is being queried.
1017 * @param result: uint32 representing length of the array.
1028 * @param env: The environment that the API is invoked under.
1029 * @param arraybuffer: JSVM_Value representing the ArrayBuffer being queried.
1030 * @param data: The underlying data buffer of the ArrayBuffer. If byte_length is 0, this may be NULL
1032 * @param byteLength: Length in bytes of the underlying data buffer.
1044 * @param env: The environment that the API is invoked under.
1045 * @param object: JSVM_Value representing JavaScript Object whose prototype to return. This returns
1047 * @param result: JSVM_Value representing prototype of the given object.
1058 * @param env: The environment that the API is invoked under.
1059 * @param typedarray: JSVM_Value representing the TypedArray whose properties to query.
1060 * @param type: Scalar datatype of the elements within the TypedArray.
1061 * @param length: The number of elements in the TypedArray.
1062 * @param data: The data buffer underlying the TypedArray adjusted by the byte_offset value so that it
1065 * @param arraybuffer: The ArrayBuffer underlying the TypedArray.
1066 * @param byteOffset: The byte offset within the underlying native array at which the first element of
1084 * @param env: The environment that the API is invoked under.
1085 * @param dataview: JSVM_Value representing the DataView whose properties to query.
1086 * @param bytelength: Number of bytes in the DataView.
1087 * @param data: The data buffer underlying the DataView.
1089 * @param arraybuffer: ArrayBuffer underlying the DataView.
1090 * @param byteOffset: The byte offset within the data buffer from which to start projecting the DataView.
1106 * @param env: The environment that the API is invoked under.
1107 * @param value: JSVM_Value representing a JavaScript Date.
1108 * @param result: Time value as a double represented as milliseconds
1120 * @param env: The environment that the API is invoked under.
1121 * @param value: JSVM_Value representing JavaScript Boolean.
1122 * @param result: C boolean primitive equivalent of the given JavaScript Boolean.
1134 * @param env: The environment that the API is invoked under.
1135 * @param value: JSVM_Value representing JavaScript number.
1136 * @param result: C double primitive equivalent of the given JavaScript number.
1149 * @param env: The environment that the API is invoked under.
1150 * @param value: JSVM_Value representing JavaScript BigInt.
1151 * @param result: C int64_t primitive equivalent of the given JavaScript BigInt.
1152 * @param lossless: Indicates whether the BigInt value was converted losslessly.
1165 * @param env: The environment that the API is invoked under.
1166 * @param value: JSVM_Value representing JavaScript BigInt.
1167 * @param result: C uint64_t primitive equivalent of the given JavaScript BigInt.
1168 * @param lossless: Indicates whether the BigInt value was converted losslessly.
1181 * @param env: The environment that the API is invoked under.
1182 * @param value: JSVM_Value representing JavaScript BigInt.
1183 * @param signBit: Integer representing if the JavaScript BigInt is positive or negative.
1184 * @param wordCount: Must be initialized to the length of the words array. Upon return, it will be set to
1186 * @param words: Pointer to a pre-allocated 64-bit word array.
1199 * @param env: The environment that the API is invoked under.
1200 * @param value: JSVM_Value representing JavaScript external value.
1201 * @param result: Pointer to the data wrapped by the JavaScript external value.
1212 * @param env: The environment that the API is invoked under.
1213 * @param value: JSVM_Value representing JavaScript number.
1214 * @param result: C int32 primitive equivalent of the given JavaScript number.
1225 * @param env: The environment that the API is invoked under.
1226 * @param value: JSVM_Value representing JavaScript number.
1227 * @param result: C int64 primitive equivalent of the given JavaScript number.
1238 * @param env: The environment that the API is invoked under.
1239 * @param value: JSVM_Value representing JavaScript string.
1240 * @param buf: Buffer to write the ISO-8859-1-encoded string into. If NULL is passed in, the
1242 * @param bufsize: Size of the destination buffer. When this value is insufficient, the returned string
1244 * @param result: Number of bytes copied into the buffer, excluding the null terminator.
1257 * @param env: The environment that the API is invoked under.
1258 * @param value: JSVM_Value representing JavaScript string.
1259 * @param buf: Buffer to write the UTF8-encoded string into. If NULL is passed in, the length
1261 * @param bufsize: Size of the destination buffer. When this value is insufficient, the returned
1263 * @param result: Number of bytes copied into the buffer, excluding the null terminator.
1276 * @param env: The environment that the API is invoked under.
1277 * @param value: JSVM_Value representing JavaScript string.
1278 * @param buf: Buffer to write the UTF16-LE-encoded string into. If NULL is passed in,
1280 * @param bufsize: Size of the destination buffer. When this value is insufficient,
1282 * @param result: Number of 2-byte code units copied into the buffer, excluding the null terminator.
1295 * @param env: The environment that the API is invoked under.
1296 * @param value: JSVM_Value representing JavaScript number.
1297 * @param result: C primitive equivalent of the given JSVM_Value as a uint32_t.
1309 * @param env: The environment that the API is invoked under.
1310 * @param value: The value of the boolean to retrieve.
1311 * @param result: JSVM_Value representing JavaScript Boolean singleton to retrieve.
1322 * @param env: The environment that the API is invoked under.
1323 * @param result: JSVM_Value representing JavaScript global object.
1333 * @param env: The environment that the API is invoked under.
1334 * @param result: JSVM_Value representing JavaScript null object.
1344 * @param env: The environment that the API is invoked under.
1345 * @param result: JSVM_Value representing JavaScript Undefined value.
1355 * @param env: The environment that the API is invoked under.
1356 * @param value: The JavaScript value to coerce.
1357 * @param result: JSVM_Value representing the coerced JavaScript Boolean.
1369 * @param env: The environment that the API is invoked under.
1370 * @param value: The JavaScript value to coerce.
1371 * @param result: JSVM_Value representing the coerced JavaScript number.
1382 * @param env: The environment that the API is invoked under.
1383 * @param value: The JavaScript value to coerce.
1384 * @param result: JSVM_Value representing the coerced JavaScript Object.
1396 * @param env: The environment that the API is invoked under.
1397 * @param value: The JavaScript value to coerce.
1398 * @param result: JSVM_Value representing the coerced JavaScript string.
1413 * @param env: The environment that the API is invoked under.
1414 * @param value: The JavaScript value whose type to query.
1415 * @param result: The type of the JavaScript value.
1426 * @param env: The environment that the API is invoked under.
1427 * @param object: The JavaScript value to check.
1428 * @param constructor: The JavaScript function object of the constructor function
1430 * @param result: Boolean that is set to true if object instanceof constructor is true.
1442 * @param env: The environment that the API is invoked under.
1443 * @param value: The JavaScript value to check.
1444 * @param result: Whether the given object is an array.
1455 * @param env: The environment that the API is invoked under.
1456 * @param value: The JavaScript value to check.
1457 * @param result: Whether the given object is an ArrayBuffer.
1468 * @param env: The environment that the API is invoked under.
1469 * @param value: The JavaScript value to check.
1470 * @param result: Whether the given JSVM_Value represents a JavaScript Date object.
1481 * @param env: The environment that the API is invoked under.
1482 * @param value: The JavaScript value to check.
1483 * @param result: Whether the given JSVM_Value represents a TypedArray.
1494 * @param env: The environment that the API is invoked under.
1495 * @param value: The JavaScript value to check.
1496 * @param result: Whether the given JSVM_Value represents a DataView.
1508 * @param env: The environment that the API is invoked under.
1509 * @param lhs: The JavaScript value to check.
1510 * @param rhs: The JavaScript value to check against.
1511 * @param result: Whether the two JSVM_Value objects are equal.
1524 * @param env: The environment that the API is invoked under.
1525 * @param lhs: The JavaScript value to check.
1526 * @param rhs: The JavaScript value to check against.
1527 * @param result: Whether the two JSVM_Value objects are relaxed equal.
1539 * @param env: The environment that the API is invoked under.
1540 * @param arraybuffer: The JavaScript ArrayBuffer to be detached.
1551 * @param env: The environment that the API is invoked under.
1552 * @param value: The JavaScript ArrayBuffer to be checked.
1553 * @param result: Whether the arraybuffer is detached.
1565 * @param env: The environment that the API is invoked under.
1566 * @param object: The object from which to retrieve the properties.
1567 * @param result: A JSVM_Value representing an array of JavaScript values that represent
1581 * @param env: The environment that the API is invoked under.
1582 * @param object: The object from which to retrieve the properties.
1583 * @param keyMode: Whether to retrieve prototype properties as well.
1584 * @param keyFilter: Which properties to retrieve (enumerable/readable/writable).
1585 * @param keyConversion: Whether to convert numbered property keys to strings.
1586 * @param result: result: A JSVM_Value representing an array of JavaScript values
1602 * @param env: The environment that the API is invoked under.
1603 * @param object: The object on which to set the property.
1604 * @param key: The name of the property to set.
1605 * @param value: The property value.
1617 * @param env: The environment that the API is invoked under.
1618 * @param object: The object from which to retrieve the property.
1619 * @param key: The name of the property to retrieve.
1620 * @param result: The value of the property.
1632 * @param env: The environment that the API is invoked under.
1633 * @param object: The object to query.
1634 * @param key: The name of the property whose existence to check.
1635 * @param result: Whether the property exists on the object or not.
1647 * @param env: The environment that the API is invoked under.
1648 * @param object: The object to query.
1649 * @param key: The name of the property to delete.
1650 * @param result: Whether the property deletion succeeded or not. result
1665 * @param env: The environment that the API is invoked under.
1666 * @param object: The object to query.
1667 * @param key: The name of the own property whose existence to check.
1668 * @param result: Whether the own property exists on the object or not.
1681 * @param env: The environment that the API is invoked under.
1682 * @param object: The object on which to set the property.
1683 * @param utf8Name: The name of the property to set.
1684 * @param value: The property value.
1697 * @param env: The environment that the API is invoked under.
1698 * @param object: The object from which to retrieve the property.
1699 * @param utf8Name: The name of the property to get.
1700 * @param result: The value of the property.
1713 * @param env: The environment that the API is invoked under.
1714 * @param object: The object to query.
1715 * @param utf8Name: The name of the property whose existence to check.
1716 * @param result: Whether the property exists on the object or not.
1728 * @param env: The environment that the API is invoked under.
1729 * @param object: The object from which to set the properties.
1730 * @param index: The index of the property to set.
1731 * @param value: The property value.
1743 * @param env: The environment that the API is invoked under.
1744 * @param object: The object from which to retrieve the property.
1745 * @param index: The index of the property to get.
1746 * @param result: The value of the property.
1759 * @param env: The environment that the API is invoked under.
1760 * @param object: The object to query.
1761 * @param index: The index of the property whose existence to check.
1762 * @param result: Whether the property exists on the object or not.
1774 * @param env: The environment that the API is invoked under.
1775 * @param object: The object to query.
1776 * @param index: The index of the property to delete.
1777 * @param result: Whether the element deletion succeeded or not. result
1793 * @param env: The environment that the API is invoked under.
1794 * @param object: The object from which to retrieve the properties.
1795 * @param propertyCount: The number of elements in the properties array.
1796 * @param properties: The array of property descriptors.
1812 * @param env: The environment that the API is invoked under.
1813 * @param object: The object to freeze.
1824 * @param env: The environment that the API is invoked under.
1825 * @param object: The object to seal.
1837 * @param env: The environment that the API is invoked under.
1838 * @param recv: The this value passed to the called function.
1839 * @param func: JSVM_Value representing the JavaScript function to be invoked.
1840 * @param argc: The count of elements in the argv array.
1841 * @param argv: Array of JSVM_values representing JavaScript values passed in as arguments to the function.
1842 * @param result: JSVM_Value representing the JavaScript object returned.
1861 * @param env: The environment that the API is invoked under.
1862 * @param utf8Name: Optional name of the function encoded as UTF8. This is visible
1864 * @param length: The length of the utf8name in bytes, or JSVM_AUTO_LENGTH if it
1866 * @param cb: The native function which should be called when this function
1868 * @param result: JSVM_Value representing the JavaScript function object for the newly
1883 * @param env: The environment that the API is invoked under.
1884 * @param cbinfo: The callback info passed into the callback function.
1885 * @param argc: Specifies the length of the provided argv array and receives the
1887 * @param argv: C array of JSVM_values to which the arguments will be copied. If
1892 * @param thisArg: Receives the JavaScript this argument for the call. thisArg
1894 * @param data: Receives the data pointer for the callback. data can optionally
1910 * @param env: The environment that the API is invoked under.
1911 * @param cbinfo: The callback info passed into the callback function.
1912 * @param result: The new.target of the constructor call.
1924 * @param env: The environment that the API is invoked under.
1925 * @param constructor: JSVM_Value representing the JavaScript function to be invoked as a constructor.
1926 * @param argc: The count of elements in the argv array.
1927 * @param argv: Array of JavaScript values as JSVM_Value representing the arguments to
1929 * @param result: JSVM_Value representing the JavaScript object returned, which
1945 * @param env: The environment that the API is invoked under.
1946 * @param utf8name: Name of the JavaScript constructor function. For clarity, it is
1948 * @param length: The length of the utf8name in bytes, or JSVM_AUTO_LENGTH if it
1950 * @param constructor: Struct include callback function that handles constructing instances of the class.
1955 * @param propertyCount: Number of items in the properties array argument.
1956 * @param properties: Array of property descriptors describing static and instance data
1958 * @param result: A JSVM_Value representing the constructor function for the class.
1974 * @param env: The environment that the API is invoked under.
1975 * @param jsObject: The JavaScript object that will be the wrapper for the native object.
1976 * @param nativeObject: The native instance that will be wrapped in the JavaScript object.
1977 * @param finalizeCb: Optional native callback that can be used to free the native instance
1979 * @param finalizeHint: Optional contextual hint that is passed to the finalize callback.
1981 * @param result: Optional reference to the wrapped object.
1998 * @param env: The environment that the API is invoked under.
1999 * @param jsObject: The object associated with the native instance.
2000 * @param result: Pointer to the wrapped native instance.
2013 * @param env: The environment that the API is invoked under.
2014 * @param jsObject: The object associated with the native instance.
2015 * @param result: Pointer to the wrapped native instance.
2029 * @param env: The environment that the API is invoked under.
2030 * @param value: The JavaScript object or external to be marked.
2031 * @param typeTag: The tag with which the object is to be marked.
2044 * @param env: The environment that the API is invoked under.
2045 * @param value: The JavaScript object or external whose type tag to examine.
2046 * @param typeTag: The tag with which to compare any tag found on the object.
2047 * @param result: Whether the type tag given matched the type tag on the object. false is also returned
2060 * @param env: The environment that the API is invoked under.
2061 * @param jsObject: The JavaScript object to which the native data will be attached.
2062 * @param finalizeData: Optional data to be passed to finalizeCb.
2063 * @param finalizeCb: Native callback that will be used to free the native data when the
2065 * @param finalizeHint: Optional contextual hint that is passed to the finalize callback.
2066 * @param result: Optional reference to the JavaScript object.
2084 * @param env: The environment that the API is invoked under.
2085 * @param result: The highest version of JSVM-API supported.
2095 * @param result: The information of the VM.
2108 * @param env: The environment that the API is invoked under.
2109 * @param changeInBytes: The change in externally allocated memory that is kept
2111 * @param result: The adjusted value
2123 * @param env: The environment that the API is invoked under.
2124 * @param level: The memory pressure level set to the current VM.
2134 * @param env: The environment that the API is invoked under.
2135 * @param deferred: A newly created deferred object which can later be
2138 * @param promise: The JavaScript promise associated with the deferred object.
2153 * @param env: The environment that the API is invoked under.
2154 * @param deferred: The deferred object whose associated promise to resolve.
2155 * @param resolution: The value with which to resolve the promise.
2170 * @param env: The environment that the API is invoked under.
2171 * @param deferred: The deferred object whose associated promise to resolve.
2172 * @param rejection: The value with which to reject the promise.
2182 * @param env: The environment that the API is invoked under.
2183 * @param value: The value to examine
2184 * @param isPromise: Flag indicating whether promise is a native promise object
2194 * @param env: The environment that the API is invoked under.
2195 * @param jsonString: The string to parse.
2196 * @param result: The parse value if successful.
2206 * @param env: The environment that the API is invoked under.
2207 * @param jsonObject: The object to stringify.
2208 * @param result: The string if successfully stringified.
2218 * @param vm: The environment that the API is invoked under.
2219 * @param contextCount: The object to stringify.
2220 * @param contexts: The array of contexts to add to the snapshot.
2221 * @param blobData: The snapshot data.
2222 * @param blobSize: The size of snapshot data.
2235 * @param vm: The VM whose heap statistics are returned.
2236 * @param result: The heap statistics data.
2246 * @param vm: The VM to start CPU profiler for.
2247 * @param result: The pointer to the CPU profiler.
2257 * @param vm: THe VM to start CPU profiler for.
2258 * @param profiler: The CPU profiler to stop.
2259 * @param stream: The output stream callback for receiving the data.
2260 * @param streamData: Optional data to be passed to the stream callback.
2272 * @param vm: The VM whose heap snapshot is taken.
2273 * @param stream: The output stream callback for receiving the data.
2274 * @param streamData: Optional data to be passed to the stream callback.
2285 * @param env: The environment that the API is invoked under.
2286 * @param host: The host to listen to for inspector connections.
2287 * @param port: The port to listen to for inspector connections.
2298 * @param env: The environment that the API is invoked under.
2308 * @param env: The environment that the API is invoked under.
2309 * @param breakNextLine: Whether break on the next line of JavaScript code.
2322 * @param env: The environment that the API is invoked under.
2323 * @param utf8name: Name of the JavaScript constructor function. For clarity, it is
2325 * @param length: The length of the utf8name in bytes, or JSVM_AUTO_LENGTH if it
2327 * @param constructor: Struct include callback function that handles constructing instances of the class.
2332 * @param propertyCount: Number of items in the properties array argument.
2333 * @param properties: Array of property descriptors describing static and instance data
2335 * @param propertyHandlerCfg: The instance object triggers the corresponding callback function.
2336 * @param callAsFunctionCallback: Calling an instance object as a function will trigger this callback.
2337 * @param result: A JSVM_Value representing the constructor function for the class.
2355 * @param env: The environment that the API is invoked under.
2356 * @param isLocked: Flag indicating whether the current thread holds the lock for the specified environment.
2366 * @param env: The environment that the API is invoked under.
2375 * @param env: The environment that the API is invoked under.
2385 * @param env: The VM instance on which to start the task queue.
2386 * @param result: Whether the task queue was successfully started.
2396 * @param env: The VM instance on which to check microtasks.
2405 * @param env: The VM instance on which to check microtasks.
2406 * @param value: The JavaScript value to check.
2407 * @param isCallable: Whether the given value is callable.
2419 * @param env: The VM instance on which to check microtasks.
2420 * @param value: The JavaScript value to check.
2421 * @param isUndefined: Whether the given value is Undefined.
2433 * @param env: The VM instance on which to check microtasks.
2434 * @param value: The JavaScript value to check.
2435 * @param isNull: Whether the given value is Null.
2447 * @param env: The VM instance on which to check microtasks.
2448 * @param value: The JavaScript value to check.
2449 * @param isNullOrUndefined: Whether the given value is Null or Undefined.
2461 * @param env: The VM instance on which to check microtasks.
2462 * @param value: The JavaScript value to check.
2463 * @param isBoolean: Whether the given value is Boolean.
2475 * @param env: The VM instance on which to check microtasks.
2476 * @param value: The JavaScript value to check.
2477 * @param isNumber: Whether the given value is Number.
2489 * @param env: The VM instance on which to check microtasks.
2490 * @param value: The JavaScript value to check.
2491 * @param isString: Whether the given value is String.
2503 * @param env: The VM instance on which to check microtasks.
2504 * @param value: The JavaScript value to check.
2505 * @param isSymbol: Whether the given value is Symbol.
2517 * @param env: The VM instance on which to check microtasks.
2518 * @param value: The JavaScript value to check.
2519 * @param isFunction: Whether the given value is Function.
2530 * @param env: The VM instance on which to check microtasks.
2531 * @param value: The JavaScript value to check.
2532 * @param isObject: Whether the given value is Object.
2544 * @param env: The VM instance on which to check microtasks.
2545 * @param value: The JavaScript value to check.
2546 * @param isBigInt: Whether the given value is BigInt.
2557 * @param env: The environment that the API is invoked under.
2558 * @param value: The JavaScript value to check.
2559 * @param isConstructor: Whether the given value is Constructor.
2572 * @param env: The environment that the API is invoked under.
2573 * @param value: The JavaScript string to convert to a regular expression.
2574 * @param flags: Regular expression flag bits.
2575 * @param result: A JSVM_Value representing a JavaScript RegExp.
2592 * @param env: The environment that the API is invoked under.
2593 * @param result: A JSVM_Value representing a JavaScript Map.
2602 * @param env: The environment that the API is invoked under.
2603 * @param value: The JavaScript value to check.
2604 * @param isMap: Whether the given value is Map.
2615 * @param env: The environment that the API is invoked under.
2616 * @param result: A JSVM_Value representing a JavaScript Set.
2626 * @param env: The environment that the API is invoked under.
2627 * @param value: The JavaScript value to check.
2628 * @param isSet: Whether the given value is Set.
2639 * @param env: The environment that the API is invoked under.
2640 * @param object: JSVM_Value representing JavaScript Object whose prototype to return.
2641 * @param result: JSVM_Value representing prototype of the given object.
2652 * @param env: The environment that the API is invoked under.
2653 * @param object: The object on which to set the prototype.
2654 * @param prototype: The prototype value.
2665 * @param env: The environment that the API is invoked under.
2666 * @param value: The JavaScript value to coerce.
2667 * @param result: JSVM_Value representing the coerced JavaScript BigInt.
2679 * @param env: The environment that the API is invoked under.
2680 * @param value: The JavaScript value to check.
2681 * @param result: Whether the given value is RegExp.
2692 * @param env: The environment that the API is invoked under.
2693 * @param funcName: A string containing the function's name. Pass NULL to create an anonymous function.
2694 * @param length: The length of the funcName in bytes, or JSVM_AUTO_LENGTH if it
2696 * @param argc: The count of elements in the argv array.
2697 * @param argv: Array of JSVM_Values representing JavaScript strings passed in as arguments to the function.
2698 * @param script: A JavaScript string containing the script to use as the function's body.
2699 * @param result: JSVM_Value representing the JavaScript function object for the newly
2717 * @param env: The environment that the API is invoked under.
2718 * @param script: A JavaScript string containing the script to be retained.
2729 * @param env: The environment that the API is invoked under.
2730 * @param script: A JavaScript string containing the script to be retained.
2741 * @param env: The environment that the API is invoked under.
2742 * @param pid: A process id to identify the inspector connection.
2743 * @param name: An alias for the inspector that under a specific pid.
2758 * @param env: The environment that the API is invoked under.
2759 * @param wasmBytecode: WebAssembly bytecode.
2760 * @param wasmBytecodeLength: WebAssembly bytecode length in byte.
2761 * @param cacheData: Optional WebAssembly cache.
2762 * @param cacheDataLength: Optional WebAssembly cache length in byte.
2763 * @param cacheRejected: Output parameter representing whether the provided cacheData is rejected.
2764 * @param wasmModule: Output parameter representing compiled WebAssembly module.
2785 * @param env: The environment that the API is invoked under.
2786 * @param wasmModule: The WebAssembly module to which the function to compiled belongs.
2787 * @param functionIndex: The index of the function to be compiled, should never be out of range.
2788 * @param optLevel: Optimization level the function will be compiled with.
2805 * @param env: The environment that the API is invoked under.
2806 * @param value: The JavaScript value to check.
2807 * @param result: Whether the given value is a WebAssembly module.
2821 * @param env: The environment that the API is invoked under.
2822 * @param wasmModule: The compiled WebAssembly module.
2823 * @param data: Output parameter representing generated WebAssembly module cache.
2824 * @param length: Output parameter representing byte length of generated WebAssembly module cache.
2840 * @param env: The environment that the API is invoked under.
2841 * @param cacheData: The cache data to be released, double free is undefined behaviors.
2842 * @param cacheType: The type of cache data.