Home
last modified time | relevance | path

Searched +full:js +full:- +full:native +full:- +full:api (Results 1 – 25 of 192) sorted by relevance

12345678

/third_party/node/
DMakefile1 -include config.mk
10 STAGINGSERVER ?= node-www
12 OSTYPE := $(shell uname -s | tr '[A-Z]' '[a-z]')
13 COVTESTS ?= test-cov
14 COV_SKIP_TESTS ?= core_line_numbers.js,testFinalizer.js,test_function/test.js
16 GNUMAKEFLAGS += --no-print-directory
23 PARALLEL_ARGS = -j $(JOBS)
25 PARALLEL_ARGS = -J
29 TAP_V8 := --junitout $(PWD)/v8-tap.xml
30 TAP_V8_INTL := --junitout $(PWD)/v8-intl-tap.xml
[all …]
Dvcbuild.bat8 if /i "%1"=="--help" goto help
9 if /i "%1"=="-help" goto help
12 if /i "%1"=="-?" goto help
13 if /i "%1"=="--?" goto help
19 set NATIVE_SUITES=addons js-native-api node-api
24 @rem Same as the test-ci target in Makefile
74 :next-arg
75 if "%1"=="" goto args-done
76 if /i "%1"=="debug" set config=Debug&goto arg-ok
77 if /i "%1"=="release" set config=Release&set ltcg=1&set cctest=1&goto arg-ok
[all …]
/third_party/node/doc/api/
Dn-api.md1 # N-API
3 <!--introduced_in=v8.0.0-->
4 <!-- type=misc -->
6 > Stability: 2 - Stable
8 N-API (pronounced N as in the letter, followed by API)
9 is an API for building native Addons. It is independent from
11 Node.js itself. This API will be Application Binary Interface (ABI) stable
12 across versions of Node.js. It is intended to insulate Addons from
14 compiled for one major version to run on later major versions of Node.js without
15 recompilation. The [ABI Stability][] guide provides a more in-depth explanation.
[all …]
Daddons.md3 <!--introduced_in=v0.10.0-->
4 <!-- type=misc -->
6 _Addons_ are dynamically-linked shared objects written in C++. The
7 [`require()`][require] function can load addons as ordinary Node.js modules.
10 There are three options for implementing addons: N-API, nan, or direct
11 use of internal V8, libuv and Node.js libraries. Unless there is a need for
12 direct access to functionality which is not exposed by N-API, use N-API.
13 Refer to [C/C++ addons with N-API](n-api.html) for more information on N-API.
15 When not using N-API, implementing addons is complicated,
18 * V8: the C++ library Node.js uses to provide the
[all …]
Dreport.md3 <!--introduced_in=v11.8.0-->
4 <!-- type=misc -->
6 > Stability: 2 - Stable
8 <!-- name=report -->
10 Delivers a JSON-formatted diagnostic summary, written to a file.
14 and native stack traces, heap statistics, platform information, resource
17 triggering programmatically through API calls.
29 "dumpEventTime": "2018-12-21T00:50:11Z",
35 "--report-uncaught-exception",
36 "/home/nodeuser/project/node/test/report/test-exception.js",
[all …]
/third_party/jerryscript/docs/
D03.API-EXAMPLE.md1 …iding the way to run JavaScript in a large range of environments - from desktops to low-memory mic…
3 This guide is intended to introduce you to JerryScript embedding API and to create a minimal JavaSc…
4 The examples are not using all API methods please also check out the API reference document which c…
18 $ git clone https://github.com/jerryscript-project/jerryscript.git
19 $ jerryscript/tools/build.py --builddir=$(pwd)/example_build --cmake-param="-DCMAKE_INSTALL_PREFIX=…
20 $ make -C $(pwd)/example_build install
25 In this guide we will use `pkg-config` to ease the usage of headers and libraries.
32 Test if the `pkg-config` works for JerryScript:
35 $ pkg-config --cflags --libs libjerry-core libjerry-port-default libjerry-ext libjerry-libm
40 The most basic example to test the engine is to create an `api-example-1.c` file containing the fol…
[all …]
D16.MIGRATION-GUIDE.md7 During the development it was important to minimize the changes in the API functions and types.
8 Each API method removal or chang is described below providing a ***before*** and ***after***
10 For more information on the current API methods please check the [API reference](02.API-REFERENCE.m…
16 - `jerry-internal.h`
20 - `jerry-api.h` to `jerryscript.h`
21 - `jerry-port.h` to `jerryscript-port.h`
23 ***Removed API types***
25 - `jerry_char_ptr_t` usage replaced with `jerry_char_t *`
26 - `jerry_object_free_callback_t` replaced by `jerry_object_native_free_callback_t`
28 ***Removed API methods***
[all …]
D15.MODULE-SYSTEM.md4 …ndard's relevant part can be found [here](https://www.ecma-international.org/ecma-262/6.0/#sec-mod…
5 Embedders wishing to use native builtin modules with ES6 imports can use the [Port API](05.PORT-API
12 main.js
14 ```js
15 import { exported_value } from "./module.js"
20 module.js
22 ```js
35 * `import * as module from 'module.js`
37 * `export {variable} from 'module.js'`
39 * `export * from 'module.js'`
[all …]
/third_party/node/.github/workflows/
Dpythonpackage.yml7 runs-on: ubuntu-latest
9 fail-fast: false
10 max-parallel: 1
12 python-version: [3.8] # [2.7, 3.5, 3.6, 3.7]
14 - uses: actions/checkout@v2
15 - name: Set up Python ${{ matrix.python-version }}
16 uses: actions/setup-python@v1
18 python-version: ${{ matrix.python-version }}
19 - name: Compile Node.js
22 make -j2 V=1
[all …]
/third_party/jsframework/
DBUILD.gn6 # http://www.apache.org/licenses/LICENSE-2.0
19 get_label_info(":gen_jsf_c", "target_out_dir") + "/dist/strip.native.min.js"
22 # get_label_info(":gen_snapshot", "target_out_dir") + "/strip.native.min.js"
29 "package-lock.json",
41 node_modules = "//prebuilts/build-tools/common/js-framework/node_modules"
42 nodejs_path = "//prebuilts/build-tools/common/nodejs/node-v12.18.4-linux-x64"
44 buildfile = "//third_party/jsframework/build.js"
105 "runtime/main/page/api/Differ.ts",
106 "runtime/main/page/api/index.ts",
107 "runtime/main/page/api/misc.ts",
[all …]
/third_party/node/doc/guides/
Ddiagnostic-tooling-support-tiers.md3 Diagnostic tooling is important to the consumers of Node.js. It is used both
8 The Node.js project has assessed the tools and the APIs which support those
12 * Tier 1 - Must always be working(CI tests passing) for all
13 Current and LTS Node.js releases. A release will not be shipped if the test
14 suite for the tool/API is not green. To be considered for inclusion
16 must exist in the Node.js CI so that it can be run as part of the release
19 release branches should break this tool/API if the next major release
25 * The tool must have a guide or other documentation in the Node.js GitHub
28 * The tool must only be using APIs exposed by Node.js as opposed to
32 * Tier 2 - Must be working(CI tests passing) for all
[all …]
Dadding-new-napi-api.md1 # Contributing a new API to N-API
3 N-API is the next-generation ABI-stable API for native modules.
4 While improving the API surface is encouraged and welcomed, the following are
6 N-API API.
8 * A new API **must** adhere to N-API API shape and spirit.
9 * **Must** be a C API.
15 * **Must** be a necessary API and not a nice to have. Convenience APIs
16 belong in node-addon-api.
17 * **Must** not change the signature of an existing N-API API or break
18 ABI compatibility with other versions of Node.js.
[all …]
/third_party/node/test/
DREADME.md1 # Node.js Core Tests
3 This directory contains code and data used to test the Node.js implementation.
6 directory, see [the guide on writing tests](../doc/guides/writing-tests.md).
9 [the contributing guide](../doc/guides/contributing/pull-requests.md#step-6-test).
11 For the tests to run on Windows, be sure to clone Node.js source code with the
17 | ------------------- | --------------- | --------------- |
18 | `abort` | Yes | Tests for when the `--abort-on-uncaught-exception` flag i…
19 | `addons` | Yes | Tests for [addon](https://nodejs.org/api/addons.html) fun…
20 | `async-hooks` | Yes | Tests for [async_hooks](https://nodejs.org/api/async_hook…
23 | `code-cache` | No | Tests for a Node.js binary compiled with V8 code cache. |
[all …]
/third_party/ejdb/src/bindings/ejdb2_react_native/
DREADME.md1 # EJDB2 React Native binding
3 Embeddable JSON Database engine http://ejdb.org Node.js binding.
10 Since `2020-12-22` a new version scheme is used and the major version
18 - React native `0.61+`
19 - [Yarn](https://yarnpkg.com) package manager
23 - Android
24 - OSX not yet implemented, work in progress.
31 react-native link ejdb2_react_native
36 ```js
51API docs](https://github.com/Softmotions/ejdb/blob/master/src/bindings/ejdb2_react_native/binding/…
[all …]
/third_party/node/tools/node_modules/eslint/node_modules/iconv-lite/
DREADME.md1JS character encoding conversion [![Build Status](https://travis-ci.org/ashtuchkin/iconv-lite.svg?…
3 …* Doesn't need native code compilation. Works on Windows and in sandboxed environments like [Cloud…
4 …* Used in popular projects like [Express.js (body_parser)](https://github.com/expressjs/body-parse…
6 …* Faster than [node-iconv](https://github.com/bnoordhuis/node-iconv) (see below for performance co…
7 * Intuitive encode/decode API
9 …* [Deprecated] Can extend Node.js primitives (buffers, streams) to support all iconv-lite encoding…
10 …* In-browser usage via [Browserify](https://github.com/substack/node-browserify) (~180k gzip compr…
11 …* Typescript [type definition file](https://github.com/ashtuchkin/iconv-lite/blob/master/lib/index…
12 …* React Native is supported (need to explicitly `npm install` two more modules: `buffer` and `stre…
15 …NPM Stats](https://nodei.co/npm/iconv-lite.png?downloads=true&downloadRank=true)](https://npmjs.or…
[all …]
/third_party/node/deps/npm/node_modules/iconv-lite/
DREADME.md1JS character encoding conversion [![Build Status](https://travis-ci.org/ashtuchkin/iconv-lite.svg?…
3 …* Doesn't need native code compilation. Works on Windows and in sandboxed environments like [Cloud…
4 …* Used in popular projects like [Express.js (body_parser)](https://github.com/expressjs/body-parse…
6 …* Faster than [node-iconv](https://github.com/bnoordhuis/node-iconv) (see below for performance co…
7 * Intuitive encode/decode API
9 …* [Deprecated] Can extend Node.js primitives (buffers, streams) to support all iconv-lite encoding…
10 …* In-browser usage via [Browserify](https://github.com/substack/node-browserify) (~180k gzip compr…
11 …* Typescript [type definition file](https://github.com/ashtuchkin/iconv-lite/blob/master/lib/index…
12 …* React Native is supported (need to explicitly `npm install` two more modules: `buffer` and `stre…
15 …NPM Stats](https://nodei.co/npm/iconv-lite.png?downloads=true&downloadRank=true)](https://npmjs.or…
[all …]
/third_party/node/test/node-api/test_worker_buffer_callback/
Dtest_worker_buffer_callback.c4 #include "../../js-native-api/common.h"
28 // This is a slight variation on the non-N-API test: We create an ArrayBuffer in NAPI_MODULE_INIT()
29 // rather than a Node.js Buffer, since testing the latter would only test in NAPI_MODULE_INIT()
30 // the same code paths and not the ones specific to N-API. in NAPI_MODULE_INIT()
/third_party/node/deps/npm/node_modules/node-fetch-npm/
DREADME.md2 node-fetch-npm
5 [![npm version][npm-image]][npm-url]
6 [![build status][travis-image]][travis-url]
7 [![coverage status][codecov-image]][codecov-url]
9 A light-weight module that brings `window.fetch` to Node.js
11 `node-fetch-npm` is a fork of [`node-fetch`](https://npm.im/node-fetch) used in
12 npm itself, through [`make-fetch-happen`](https://npm.im/make-fetch-happen). It
14 `node-fetch`'s own design goals (such as picking a specific cookie library,
17 This library is *not a replacement* for `node-fetch`, nor does it intend to
25js to run browser-specific [Fetch polyfill](https://github.com/github/fetch), why not go from nati…
[all …]
/third_party/jsframework/runtime/main/page/entry/
Dinit.ts10 * http://www.apache.org/licenses/LICENSE-2.0
22 * page controls from native
24 * - init bundle
26 * corresponded with the API of page manager (framework.js)
37 import { updateActions } from '../api/misc';
47 $app_define$(...args: any[]): void; // eslint-disable-line camelcase
48 $app_bootstrap$(name: string): void; // eslint-disable-line camelcase
49 $app_require$(name: string): void; // eslint-disable-line camelcase
113 // Compile js bundle code and get result.
124 * @param {string} functionCode - Js bundle code.
[all …]
/third_party/node/deps/npm/node_modules/bluebird/
DREADME.md2 <img src="http://promisesaplus.com/assets/logo-small.png" alt="Promises/A+ logo"
7 [![Build Status](https://travis-ci.org/petkaantonov/bluebird.svg?branch=master)](https://travis-ci.…
8 [![coverage-98%](https://img.shields.io/badge/coverage-98%25-brightgreen.svg?style=flat)](http://pe…
10 …ebird), the [mailing list](https://groups.google.com/forum/#!forum/bluebird-js) or chat on [IRC](h…
16 …ocs/getting-started.html) for further documentation, references and instructions. See the [**API r…
22js 10 are significantly faster than before. Bluebird still includes a lot of features like cancell…
38 Copyright (c) 2013-2017 Petka Antonov
/third_party/node/tools/node_modules/eslint/node_modules/callsites/
Dreadme.md1 # callsites [![Build Status](https://travis-ci.org/sindresorhus/callsites.svg?branch=master)](https…
3 > Get callsites from the [V8 stack trace API](https://v8.dev/docs/stack-trace-api)
15 ```js
20 //=> '/Users/sindresorhus/dev/callsites/test.js'
27 ## API section in callsites [![Build Status](https://travis-ci.org/sindresorhus/callsites.svg?branch=master)](https://travis-ci.org/sindresorhus/callsites)
31 - `getThis`: returns the value of `this`.
32 - `getTypeName`: returns the type of `this` as a string. This is the name of the function stored in…
33 - `getFunction`: returns the current function.
34 - `getFunctionName`: returns the name of the current function, typically its `name` property. If a …
35 - `getMethodName`: returns the name of the property of `this` or one of its prototypes that holds t…
[all …]
/third_party/boost/libs/locale/doc/html/
Ddefault_encoding_under_windows.html1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xht…
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
9 <script type="text/javascript" src="jquery.js"></script>
10 <script type="text/javascript" src="dynsections.js"></script>
12 <script type="text/javascript" src="resize.js"></script>
13 <script type="text/javascript" src="navtree.js"></script>
21 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
26 <td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
27 <td style="padding-left: 0.5em;">
[all …]
/third_party/node/deps/npm/node_modules/colors/
DREADME.md1 # colors.js
2 [![Build Status](https://travis-ci.org/Marak/colors.js.svg?branch=master)](https://travis-ci.org/Ma…
4 [![dependencies](https://david-dm.org/Marak/colors.js.svg)](https://david-dm.org/Marak/colors.js)
5 [![devDependencies](https://david-dm.org/Marak/colors.js/dev-status.svg)](https://david-dm.org/Mara…
7 …en Issues to provide feedback, and check the `develop` branch for the latest bleeding-edge updates.
9 ## get color and style in your node.js console
11 ![Demo](https://raw.githubusercontent.com/Marak/colors.js/master/screenshots/colors.png)
21 - black
22 - red
23 - green
[all …]
/third_party/node/tools/node_modules/eslint/node_modules/repeat-string/
DREADME.md1-string [![NPM version](https://img.shields.io/npm/v/repeat-string.svg?style=flat)](https://www.np…
10 $ npm install --save repeat-string
15 ### [repeat](index.js#L41)
23 ```js
24 var repeat = require('repeat-string');
37 Repeat string is significantly faster than the native method (which is itself faster than [repeatin…
41 repeat-string █████████████████████████ (26,953,977 ops/sec)
43 native ██████████████████ (19,453,895 ops/sec)
46 repeat-string █████████████████████████ (19,445,252 ops/sec)
48 native ████████████████████ (16,020,598 ops/sec)
[all …]
/third_party/node/src/
Daliased_buffer.h7 #include "util-inl.h"
13 * Do not use this class directly when creating instances of it - use the
16 * This class encapsulates the technique of having a native buffer mapped to
17 * a JS object. Writes to the native buffer can happen efficiently without
18 * going through JS, and the data is then available to user's via the exposed
19 * JS object.
22 * write to JS program state w/out going through the standard
23 * (monitored) API. Thus any VM capabilities to detect the modification are
45 buffer_ = static_cast<NativeT*>(ab->GetContents().Data()); in AliasedBufferBase()
53 * Create an AliasedBufferBase over a sub-region of another aliased buffer.
[all …]

12345678