Home
last modified time | relevance | path

Searched refs:js (Results 1 – 25 of 517) sorted by relevance

12345678910>>...21

/external/jsmn/test/
Dtests.c147 const char *js = "{\"x\": \"va\\\\ue\", \"y\": \"value y\"}"; in test_partial_string() local
150 for (i = 1; i <= strlen(js); i++) { in test_partial_string()
151 r = jsmn_parse(&p, js, i, tok, sizeof(tok)/sizeof(tok[0])); in test_partial_string()
152 if (i == strlen(js)) { in test_partial_string()
154 check(tokeq(js, tok, 5, in test_partial_string()
173 const char *js = "[ 1, true, [123, \"hello\"]]"; in test_partial_array() local
176 for (i = 1; i <= strlen(js); i++) { in test_partial_array()
177 r = jsmn_parse(&p, js, i, tok, sizeof(tok)/sizeof(tok[0])); in test_partial_array()
178 if (i == strlen(js)) { in test_partial_array()
180 check(tokeq(js, tok, 6, in test_partial_array()
[all …]
/external/antlr/runtime/JavaScript/build/
Dantlr3.properties9 org/antlr.js,\
10 org/antlr/runtime/RecognizerSharedState.js,\
11 org/antlr/runtime/IndexOutOfBoundsExceptions.js,\
12 org/antlr/runtime/RecognitionException.js,\
13 org/antlr/runtime/MismatchedTokenException.js,\
14 org/antlr/runtime/UnwantedTokenException.js,\
15 org/antlr/runtime/MissingTokenException.js,\
16 org/antlr/runtime/NoViableAltException.js,\
17 org/antlr/runtime/EarlyExitException.js,\
18 org/antlr/runtime/MismatchedSetException.js,\
[all …]
/external/skqp/modules/pathkit/
DMakefile8 cp ../../out/pathkit/pathkit.js ./npm-wasm/bin
10 ./compile.sh asm.js
11 cp ../../out/pathkit/pathkit.js ./npm-asmjs/bin/pathkit.js
12 cp ../../out/pathkit/pathkit.js.mem ./npm-asmjs/bin/pathkit.js.mem
38 npx karma start ./karma.conf.js --single-run
39 ASM_JS=1 npx karma start ./karma.conf.js --single-run
44 npx karma start ./karma.conf.js --no-single-run --watch-poll
49 ASM_JS=1 npx karma start ./karma.conf.js --no-single-run --watch-poll
61 cp ../../out/dockerbuild/pathkit.js ./npm-wasm/bin/test/pathkit.js
65 gcr.io/skia-public/emsdk-release:1.38.16_v1 /SRC/infra/pathkit/build_pathkit.sh asm.js
[all …]
/external/skia/modules/pathkit/
DMakefile8 cp ../../out/pathkit/pathkit.js ./npm-wasm/bin
10 ./compile.sh asm.js
11 cp ../../out/pathkit/pathkit.js ./npm-asmjs/bin/pathkit.js
12 cp ../../out/pathkit/pathkit.js.mem ./npm-asmjs/bin/pathkit.js.mem
38 npx karma start ./karma.conf.js --single-run
39 ASM_JS=1 npx karma start ./karma.conf.js --single-run
44 npx karma start ./karma.conf.js --no-single-run --watch-poll
49 ASM_JS=1 npx karma start ./karma.conf.js --no-single-run --watch-poll
61 cp ../../out/dockerbuild/pathkit.js ./npm-wasm/bin/test/pathkit.js
65 gcr.io/skia-public/emsdk-release:1.38.16_v1 /SRC/infra/pathkit/build_pathkit.sh asm.js
[all …]
/external/libchrome/mojo/public/js/
DBUILD.gn13 "base.js",
15 "bindings.js",
16 "interface_types.js",
17 "lib/buffer.js",
18 "lib/codec.js",
19 "lib/connector.js",
20 "lib/control_message_handler.js",
21 "lib/control_message_proxy.js",
22 "lib/interface_endpoint_client.js",
23 "lib/interface_endpoint_handle.js",
[all …]
DREADME.md8 `mojo_bindings.js`, which could be generated by the GN target
9 `//mojo/public/js:bindings`.
12 emitted in a `.js` file with the name based on the input `.mojom` file. Suppose
50 out/gen/services/echo/public/interfaces/echo.mojom.js
55 * `mojo_bindings.js`
56 __Note: This file must be included before any `.mojom.js` files.__
57 * `echo.mojom.js`
61 <script src="URL/to/mojo_bindings.js"></script>
62 <script src="URL/to/echo.mojom.js"></script>
89 <script src="URL/to/mojo_bindings.js"></script>
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/
DBENCHMARKS1 $ python3.5 -OO bench/main.py bench/*.js
5 Benchmarking 'bench/apiviewer.js'... (953.2 KiB)
11 Benchmarking 'bench/bootstrap.js'... (49.0 KiB)
17 Benchmarking 'bench/DateTimeShortcuts.js'... (18.3 KiB)
23 Benchmarking 'bench/jquery-1.7.1.js'... (242.4 KiB)
29 Benchmarking 'bench/knockout-2.0.0.js'... (38.9 KiB)
35 Benchmarking 'bench/markermanager.js'... (28.6 KiB)
42 $ python3.4 -OO bench/main.py bench/*.js
46 Benchmarking 'bench/apiviewer.js'... (953.2 KiB)
52 Benchmarking 'bench/bootstrap.js'... (49.0 KiB)
[all …]
/external/v8/tools/
Dic-processor36 cat $log_file | $d8_exec $tools_path/splaytree.js $tools_path/codemap.js \
37 $tools_path/csvparser.js $tools_path/consarray.js \
38 $tools_path/profile.js $tools_path/profile_view.js \
39 $tools_path/logreader.js $tools_path/arguments.js \
40 $tools_path/ic-processor.js $tools_path/SourceMap.js \
41 $tools_path/ic-processor-driver.js -- $@ 2>/dev/null
Dmap-processor36 cat $log_file | $d8_exec $tools_path/splaytree.js $tools_path/codemap.js \
37 $tools_path/csvparser.js $tools_path/consarray.js \
38 $tools_path/profile.js $tools_path/profile_view.js \
39 $tools_path/logreader.js $tools_path/arguments.js \
40 $tools_path/map-processor.js $tools_path/SourceMap.js \
41 $tools_path/map-processor-driver.js -- $@ 2>/dev/null
Dlinux-tick-processor37 $tools_path/splaytree.js $tools_path/codemap.js \
38 $tools_path/csvparser.js $tools_path/consarray.js \
39 $tools_path/profile.js $tools_path/profile_view.js \
40 $tools_path/logreader.js $tools_path/arguments.js \
41 $tools_path/tickprocessor.js $tools_path/SourceMap.js \
42 $tools_path/tickprocessor-driver.js -- $@ 2>/dev/null
Dparse-processor37 $tools_path/splaytree.js $tools_path/codemap.js \
38 $tools_path/csvparser.js $tools_path/consarray.js \
39 $tools_path/profile.js $tools_path/profile_view.js \
40 $tools_path/logreader.js $tools_path/arguments.js \
41 $tools_path/parse-processor.js $tools_path/SourceMap.js \
42 $tools_path/parse-processor-driver.js -- $@ 2>/dev/null
Dwindows-tick-processor.bat30js %tools_dir%codemap.js %tools_dir%csvparser.js %tools_dir%consarray.js %tools_dir%profile.js %to…
Dandroid-sync.sh96 sync_file tools/consarray.js
97 sync_file tools/codemap.js
98 sync_file tools/csvparser.js
99 sync_file tools/profile.js
100 sync_file tools/splaytree.js
101 sync_file tools/profile_view.js
102 sync_file tools/logreader.js
103 sync_file tools/arguments.js
104 sync_file tools/tickprocessor.js
Dplot-timer-events79 $d8_exec $tools_path/csvparser.js $tools_path/splaytree.js \
80 $tools_path/codemap.js $tools_path/profile.js $tools_path/profile_view.js \
81 $tools_path/logreader.js $tools_path/arguments.js \
82 $tools_path/tickprocessor.js$tools_path/profviz/composer.js \
83 $tools_path/profviz/stdio.js \
/external/perfetto/ui/
DBUILD.gn110 # | Template for bundling js |
119 "rollup.config.js",
128 rebase_path("rollup.config.js", root_build_dir),
141 # | Bundles all *.js files together resolving CommonJS require() deps. |
144 # Bundle together all js sources into a bundle.js file, that will ultimately be
151 input = "$target_out_dir/frontend/index.js"
152 output = "$target_out_dir/frontend_bundle.js"
159 input = "$target_out_dir/controller/index.js"
160 output = "$target_out_dir/controller_bundle.js"
167 input = "$target_out_dir/engine/index.js"
[all …]
/external/v8/
DAndroid.v8gen.bp6 "src/js/macros.py",
8 "src/js/prologue.js",
9 "src/js/array.js",
10 "src/js/typedarray.js",
11 "src/js/intl.js",
/external/jsmn/example/
Djsondump.c28 static int dump(const char *js, jsmntok_t *t, size_t count, int indent) { in dump() argument
34 printf("%.*s", t->end - t->start, js+t->start); in dump()
37 printf("'%.*s'", t->end - t->start, js+t->start); in dump()
44 j += dump(js, t+1+j, count-j, indent+1); in dump()
46 j += dump(js, t+1+j, count-j, indent+1); in dump()
56 j += dump(js, t+1+j, count-j, indent+1); in dump()
67 char *js = NULL; in main() local
101 js = realloc_it(js, jslen + r + 1); in main()
102 if (js == NULL) { in main()
105 strncpy(js + jslen, buf, r); in main()
[all …]
/external/jsmn/
Djsmn.c35 static int jsmn_parse_primitive(jsmn_parser *parser, const char *js, in jsmn_parse_primitive() argument
42 for (; parser->pos < len && js[parser->pos] != '\0'; parser->pos++) { in jsmn_parse_primitive()
43 switch (js[parser->pos]) { in jsmn_parse_primitive()
52 if (js[parser->pos] < 32 || js[parser->pos] >= 127) { in jsmn_parse_primitive()
84 static int jsmn_parse_string(jsmn_parser *parser, const char *js, in jsmn_parse_string() argument
93 for (; parser->pos < len && js[parser->pos] != '\0'; parser->pos++) { in jsmn_parse_string()
94 char c = js[parser->pos]; in jsmn_parse_string()
117 switch (js[parser->pos]) { in jsmn_parse_string()
125 for(i = 0; i < 4 && parser->pos < len && js[parser->pos] != '\0'; i++) { in jsmn_parse_string()
127 if(!((js[parser->pos] >= 48 && js[parser->pos] <= 57) || /* 0-9 */ in jsmn_parse_string()
[all …]
/external/protobuf/python/google/protobuf/
Djson_format.py93 js = _MessageToJsonObject(message, including_default_value_fields)
94 return json.dumps(js, indent=2)
106 js = {}
108 message, js, including_default_value_fields)
117 def _RegularMessageToJsonObject(message, js, including_default_value_fields): argument
139 js[name] = js_map
142 js[name] = [_FieldToJsonObject(field, k, include_default)
145 js[name] = _FieldToJsonObject(field, value, include_default)
157 if name in js:
161 js[name] = {}
[all …]
/external/grpc-grpc/examples/node/
DREADME.md1 gRPC in 3 minutes (Node.js)
25 … to work with protocol buffers in Node.js - one approach uses [Protobuf.js](https://github.com/dco…
31 $ node ./dynamic_codegen/greeter_server.js &
33 $ node ./static_codegen/greeter_server.js &
40 $ node ./dynamic_codegen/greeter_client.js
42 $ node ./static_codegen/greeter_client.js
47 You can find a more detailed tutorial in [gRPC Basics: Node.js][]
50 [gRPC Basics: Node.js]:https://grpc.io/docs/tutorials/basic/node.html
/external/skqp/gn/
Dgn_to_bp.py298 js = gn_to_bp_utils.GenerateJSONFromGN(gn_args) variable
303 android_srcs = strip_slashes(js['targets']['//:skia']['sources'])
304 cflags = strip_slashes(js['targets']['//:skia']['cflags'])
305 cflags_cc = strip_slashes(js['targets']['//:skia']['cflags_cc'])
306 local_includes = strip_slashes(js['targets']['//:skia']['include_dirs'])
307 export_includes = strip_slashes(js['targets']['//:public']['include_dirs'])
309 dm_srcs = strip_slashes(js['targets']['//:dm']['sources'])
310 dm_includes = strip_slashes(js['targets']['//:dm']['include_dirs'])
312 nanobench_target = js['targets']['//:nanobench']
316 gn_to_bp_utils.GrabDependentValues(js, '//:dm', 'sources', dm_srcs, 'skia')
[all …]
/external/skia/gn/
Dgn_to_bp.py346 js = gn_to_bp_utils.GenerateJSONFromGN(gn_args) variable
351 android_srcs = strip_slashes(js['targets']['//:skia']['sources'])
352 cflags = strip_slashes(js['targets']['//:skia']['cflags'])
353 cflags_cc = strip_slashes(js['targets']['//:skia']['cflags_cc'])
354 local_includes = strip_slashes(js['targets']['//:skia']['include_dirs'])
355 export_includes = strip_slashes(js['targets']['//:public']['include_dirs'])
357 dm_srcs = strip_slashes(js['targets']['//:dm']['sources'])
358 dm_includes = strip_slashes(js['targets']['//:dm']['include_dirs'])
360 nanobench_target = js['targets']['//:nanobench']
364 gn_to_bp_utils.GrabDependentValues(js, '//:dm', 'sources', dm_srcs, 'skia')
[all …]
/external/skqp/tools/skqp/
Dgn_to_bp.py140 js = gn_to_bp_utils.GenerateJSONFromGN(gn_args) variable
145 srcs = strip_slashes(js['targets']['//:libskqp_app']['sources'])
146 cflags = strip_slashes(js['targets']['//:libskqp_app']['cflags'])
147 cflags_cc = strip_slashes(js['targets']['//:libskqp_app']['cflags_cc'])
148 local_includes = strip_slashes(js['targets']['//:libskqp_app']['include_dirs'])
149 defines = {str(d) for d in js['targets']['//:libskqp_app']['defines']}
154 gn_to_bp_utils.GrabDependentValues(js, '//:libskqp_app', 'sources', srcs, None)
155 gn_to_bp_utils.GrabDependentValues(js, '//:libskqp_app', 'include_dirs',
157 gn_to_bp_utils.GrabDependentValues(js, '//:libskqp_app', 'defines',
/external/skia/tools/skqp/
Dgn_to_bp.py138 js = gn_to_bp_utils.GenerateJSONFromGN(gn_args) variable
143 srcs = strip_slashes(js['targets']['//:libskqp_app']['sources'])
144 cflags = strip_slashes(js['targets']['//:libskqp_app']['cflags'])
145 cflags_cc = strip_slashes(js['targets']['//:libskqp_app']['cflags_cc'])
146 local_includes = strip_slashes(js['targets']['//:libskqp_app']['include_dirs'])
147 defines = {str(d) for d in js['targets']['//:libskqp_app']['defines']}
152 gn_to_bp_utils.GrabDependentValues(js, '//:libskqp_app', 'sources', srcs, None)
153 gn_to_bp_utils.GrabDependentValues(js, '//:libskqp_app', 'include_dirs',
155 gn_to_bp_utils.GrabDependentValues(js, '//:libskqp_app', 'defines',
/external/skia/modules/canvaskit/
Dcompile.sh225 --pre-js $BASE_DIR/preamble.js \
226 --pre-js $BASE_DIR/helper.js \
227 --pre-js $BASE_DIR/interface.js \
230 --pre-js $BASE_DIR/postamble.js \
231 --post-js $BASE_DIR/ready.js \
253 -o $BUILD_DIR/canvaskit.js

12345678910>>...21