Lines Matching refs:JSVM_Value
236 JSVM_Value script,
259 JSVM_Value script,
280 JSVM_Value script,
315 JSVM_Value* result);
368 JSVM_Value error);
423 * @brief This API queries a JSVM_Value to check if it represents an error object.
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,
433 JSVM_Value value,
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.
447 JSVM_Value code,
448 JSVM_Value msg,
449 JSVM_Value* result);
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.
462 JSVM_Value code,
463 JSVM_Value msg,
464 JSVM_Value* result);
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.
477 JSVM_Value code,
478 JSVM_Value msg,
479 JSVM_Value* result);
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.
492 JSVM_Value code,
493 JSVM_Value msg,
494 JSVM_Value* result);
505 JSVM_Value* result);
522 * @param result: JSVM_Value representing the new scope.
534 * @param scope: JSVM_Value representing the scope to be closed.
545 * @param result: JSVM_Value representing the new scope.
557 * @param scope: JSVM_Value representing the scope to be closed.
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.
578 JSVM_Value escapee,
579 JSVM_Value* result);
585 * @param value: The JSVM_Value for which a reference is being created.
592 JSVM_Value value,
636 * @brief If still valid, this API returns the JSVM_Value representing the
641 * @param result: The JSVM_Value referenced by the JSVM_Ref.
647 JSVM_Value* result);
653 * @param result: A JSVM_Value representing a JavaScript Array.
658 JSVM_Value* result);
668 * @param result: A JSVM_Value representing a JavaScript Array.
674 JSVM_Value* result);
687 * @param result: A JSVM_Value representing a JavaScript Array.
694 JSVM_Value* result);
745 JSVM_Value *result);
753 * @param result: A JSVM_Value representing a JavaScript Date.
759 JSVM_Value* result);
773 * @param result: A JSVM_Value representing an external value.
781 JSVM_Value* result);
787 * @param result: A JSVM_Value representing a JavaScript Object.
792 JSVM_Value* result);
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.
805 JSVM_Value description,
806 JSVM_Value* result);
815 * @param result: A JSVM_Value representing a JavaScript symbol.
822 JSVM_Value* result);
835 * @param result: A JSVM_Value representing a JavaScript TypedArray
842 JSVM_Value arraybuffer,
844 JSVM_Value* result);
857 * @param result:A JSVM_Value representing a JavaScript DataView.
863 JSVM_Value arraybuffer,
865 JSVM_Value* result);
872 * @param result: A JSVM_Value representing a JavaScript number.
878 JSVM_Value* result);
885 * @param result: A JSVM_Value representing a JavaScript number.
891 JSVM_Value* result);
898 * @param result: A JSVM_Value representing a JavaScript number.
904 JSVM_Value* result);
911 * @param result: A JSVM_Value representing a JavaScript number.
917 JSVM_Value* result);
924 * @param result: A JSVM_Value representing a JavaScript BigInt.
930 JSVM_Value* result);
937 * @param result: A JSVM_Value representing a JavaScript BigInt.
943 JSVM_Value* result);
953 * @param result: A JSVM_Value representing a JavaScript BigInt.
961 JSVM_Value* result);
970 * @param result: A JSVM_Value representing a JavaScript string.
977 JSVM_Value* result);
987 * @param result: A JSVM_Value representing a JavaScript string.
994 JSVM_Value* result);
1003 * @param result: A JSVM_Value representing a JavaScript string.
1010 JSVM_Value* result);
1016 * @param value: JSVM_Value representing the JavaScript Array whose length is being queried.
1022 JSVM_Value value,
1029 * @param arraybuffer: JSVM_Value representing the ArrayBuffer being queried.
1037 JSVM_Value arraybuffer,
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.
1052 JSVM_Value object,
1053 JSVM_Value* result);
1059 * @param typedarray: JSVM_Value representing the TypedArray whose properties to query.
1073 JSVM_Value typedarray,
1077 JSVM_Value* arraybuffer,
1085 * @param dataview: JSVM_Value representing the DataView whose properties to query.
1095 JSVM_Value dataview,
1098 JSVM_Value* arraybuffer,
1102 * @brief Returns JSVM_OK if the API succeeded. If a non-date JSVM_Value is
1107 * @param value: JSVM_Value representing a JavaScript Date.
1114 JSVM_Value value,
1121 * @param value: JSVM_Value representing JavaScript Boolean.
1124 * If a non-boolean JSVM_Value is passed in it returns JSVM_BOOLEAN_EXPECTED.
1128 JSVM_Value value,
1135 * @param value: JSVM_Value representing JavaScript number.
1138 * If a non-number JSVM_Value is passed in it returns JSVM_NUMBER_EXPECTED.
1142 JSVM_Value value,
1150 * @param value: JSVM_Value representing JavaScript BigInt.
1157 JSVM_Value value,
1166 * @param value: JSVM_Value representing JavaScript BigInt.
1173 JSVM_Value value,
1182 * @param value: JSVM_Value representing JavaScript BigInt.
1191 JSVM_Value value,
1200 * @param value: JSVM_Value representing JavaScript external value.
1202 * @return Returns JSVM_OK if the API succeeded. If a non-external JSVM_Value is passed in it returns JSVM_INVALID_ARG.
1206 JSVM_Value value,
1213 * @param value: JSVM_Value representing JavaScript number.
1215 * @return Returns JSVM_OK if the API succeeded. If a non-number JSVM_Value is passed in JSVM_NUMBER_EXPECTED.
1219 JSVM_Value value,
1226 * @param value: JSVM_Value representing JavaScript number.
1228 * @return Returns JSVM_OK if the API succeeded. If a non-number JSVM_Value is passed in JSVM_NUMBER_EXPECTED.
1232 JSVM_Value value,
1239 * @param value: JSVM_Value representing JavaScript string.
1245 * @return Returns JSVM_OK if the API succeeded. If a non-number JSVM_Value is passed in JSVM_NUMBER_EXPECTED.
1249 JSVM_Value value,
1258 * @param value: JSVM_Value representing JavaScript string.
1264 * @return Returns JSVM_OK if the API succeeded. If a non-number JSVM_Value is passed in JSVM_NUMBER_EXPECTED.
1268 JSVM_Value value,
1277 * @param value: JSVM_Value representing JavaScript string.
1283 * @return Returns JSVM_OK if the API succeeded. If a non-number JSVM_Value is passed in JSVM_NUMBER_EXPECTED.
1287 JSVM_Value value,
1293 * @brief This API returns the C primitive equivalent of the given JSVM_Value as a uint32_t.
1296 * @param value: JSVM_Value representing JavaScript number.
1297 * @param result: C primitive equivalent of the given JSVM_Value as a uint32_t.
1299 * If a non-number JSVM_Value is passed in it returns JSVM_NUMBER_EXPECTED.
1303 JSVM_Value value,
1311 * @param result: JSVM_Value representing JavaScript Boolean singleton to retrieve.
1317 JSVM_Value* result);
1323 * @param result: JSVM_Value representing JavaScript global object.
1328 JSVM_Value* result);
1334 * @param result: JSVM_Value representing JavaScript null object.
1339 JSVM_Value* result);
1345 * @param result: JSVM_Value representing JavaScript Undefined value.
1350 JSVM_Value* result);
1357 * @param result: JSVM_Value representing the coerced JavaScript Boolean.
1362 JSVM_Value value,
1363 JSVM_Value* result);
1371 * @param result: JSVM_Value representing the coerced JavaScript number.
1376 JSVM_Value value,
1377 JSVM_Value* result);
1384 * @param result: JSVM_Value representing the coerced JavaScript Object.
1389 JSVM_Value value,
1390 JSVM_Value* result);
1398 * @param result: JSVM_Value representing the coerced JavaScript string.
1403 JSVM_Value value,
1404 JSVM_Value* result);
1420 JSVM_Value value,
1435 JSVM_Value object,
1436 JSVM_Value constructor,
1449 JSVM_Value value,
1462 JSVM_Value value,
1470 * @param result: Whether the given JSVM_Value represents a JavaScript Date object.
1475 JSVM_Value value,
1483 * @param result: Whether the given JSVM_Value represents a TypedArray.
1488 JSVM_Value value,
1496 * @param result: Whether the given JSVM_Value represents a DataView.
1501 JSVM_Value value,
1511 * @param result: Whether the two JSVM_Value objects are equal.
1516 JSVM_Value lhs,
1517 JSVM_Value rhs,
1527 * @param result: Whether the two JSVM_Value objects are relaxed equal.
1532 JSVM_Value lhs,
1533 JSVM_Value rhs,
1546 JSVM_Value arraybuffer);
1558 JSVM_Value value,
1567 * @param result: A JSVM_Value representing an array of JavaScript values that represent
1574 JSVM_Value object,
1575 JSVM_Value* result);
1586 * @param result: result: A JSVM_Value representing an array of JavaScript values
1593 JSVM_Value object,
1597 JSVM_Value* result);
1610 JSVM_Value object,
1611 JSVM_Value key,
1612 JSVM_Value value);
1625 JSVM_Value object,
1626 JSVM_Value key,
1627 JSVM_Value* result);
1640 JSVM_Value object,
1641 JSVM_Value key,
1656 JSVM_Value object,
1657 JSVM_Value key,
1673 JSVM_Value object,
1674 JSVM_Value key,
1679 * a JSVM_Value created from the string passed in as utf8Name.
1689 JSVM_Value object,
1691 JSVM_Value value);
1695 * a JSVM_Value created from the string passed in as utf8Name.
1705 JSVM_Value object,
1707 JSVM_Value* result);
1711 * a JSVM_Value created from the string passed in as utf8Name.
1721 JSVM_Value object,
1736 JSVM_Value object,
1738 JSVM_Value value);
1751 JSVM_Value object,
1753 JSVM_Value* result);
1767 JSVM_Value object,
1783 JSVM_Value object,
1801 JSVM_Value object,
1818 JSVM_Value object);
1830 JSVM_Value object);
1839 * @param func: JSVM_Value representing the JavaScript function to be invoked.
1842 * @param result: JSVM_Value representing the JavaScript object returned.
1847 JSVM_Value recv,
1848 JSVM_Value func,
1850 const JSVM_Value* argv,
1851 JSVM_Value* result);
1868 * @param result: JSVM_Value representing the JavaScript function object for the newly
1877 JSVM_Value* result);
1890 * rest of argv is filled with JSVM_Value values that represent undefined. argv
1902 JSVM_Value* argv,
1903 JSVM_Value* thisArg,
1918 JSVM_Value* result);
1922 * a given JSVM_Value that represents the constructor for the object.
1925 * @param constructor: JSVM_Value representing the JavaScript function to be invoked as a constructor.
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
1935 JSVM_Value constructor,
1937 const JSVM_Value* argv,
1938 JSVM_Value* result);
1958 * @param result: A JSVM_Value representing the constructor function for the class.
1968 JSVM_Value* result);
1986 JSVM_Value jsObject,
2005 JSVM_Value jsObject,
2020 JSVM_Value jsObject,
2036 JSVM_Value value,
2053 JSVM_Value value,
2071 JSVM_Value jsObject,
2144 JSVM_Value* promise);
2161 JSVM_Value resolution);
2178 JSVM_Value rejection);
2189 JSVM_Value value,
2201 JSVM_Value jsonString,
2202 JSVM_Value* result);
2213 JSVM_Value jsonObject,
2214 JSVM_Value* result);
2337 * @param result: A JSVM_Value representing the constructor function for the class.
2349 JSVM_Value* result);
2412 JSVM_Value value,
2426 JSVM_Value value,
2440 JSVM_Value value,
2454 JSVM_Value value,
2468 JSVM_Value value,
2482 JSVM_Value value,
2496 JSVM_Value value,
2510 JSVM_Value value,
2524 JSVM_Value value,
2537 JSVM_Value value,
2551 JSVM_Value value,
2564 JSVM_Value value,
2575 * @param result: A JSVM_Value representing a JavaScript RegExp.
2585 JSVM_Value value,
2587 JSVM_Value* result);
2593 * @param result: A JSVM_Value representing a JavaScript Map.
2597 JSVM_Status JSVM_CDECL OH_JSVM_CreateMap(JSVM_Env env, JSVM_Value* result);
2609 JSVM_Value value,
2616 * @param result: A JSVM_Value representing a JavaScript Set.
2621 JSVM_Value* result);
2633 JSVM_Value value,
2640 * @param object: JSVM_Value representing JavaScript Object whose prototype to return.
2641 * @param result: JSVM_Value representing prototype of the given object.
2646 JSVM_Value object,
2647 JSVM_Value* result);
2659 JSVM_Value object,
2660 JSVM_Value prototype);
2667 * @param result: JSVM_Value representing the coerced JavaScript BigInt.
2673 JSVM_Value value,
2674 JSVM_Value* result);
2686 JSVM_Value value,
2699 * @param result: JSVM_Value representing the JavaScript function object for the newly
2709 const JSVM_Value* argv,
2710 JSVM_Value script,
2711 JSVM_Value* result);
2779 JSVM_Value *wasmModule);
2798 JSVM_Value wasmModule,
2803 * @brief Check whether the given JSVM_Value is a WebAssembly module.
2815 JSVM_Value value,
2833 JSVM_Value wasmModule,