Home
last modified time | relevance | path

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

/AliOS-Things-master/components/amp/jslib/
A Dgen_bytecode_macos.sh1 ./qjsc_macos -c -m -M GPIO -N jslib_gpio -o bytecode/jslib_gpio.c src/gpio.js
2 ./qjsc_macos -c -m -N jslib_events -o bytecode/jslib_events.c src/events.js
3 ./qjsc_macos -c -m -M events -M CRYPTO -N jslib_crypto -o bytecode/jslib_crypto.c src/crypto.js
8 ./qjsc_macos -c -m -M REPL -M os -M std -N jslib_repl -o bytecode/jslib_repl.c src/repl.js
9 ./qjsc_macos -c -m -M events -M UART -N jslib_uart -o bytecode/jslib_uart.c src/uart.js
10 ./qjsc_macos -c -m -M events -M FS -N jslib_fs -o bytecode/jslib_fs.c src/fs.js
12 ./qjsc_macos -c -m -M kv -N jslib_device -o bytecode/jslib_device.c src/device.js
15 ./qjsc_macos -c -m -M MQTT -M events -N jslib_mqtt -o bytecode/jslib_mqtt.c src/mqtt.js
16 ./qjsc_macos -c -m -M events -M TCP -N jslib_tcp -o bytecode/jslib_tcp.c src/tcp.js
17 ./qjsc_macos -c -m -M events -M UDP -N jslib_udp -o bytecode/jslib_udp.c src/udp.js
[all …]
A Dgen_bytecode_linux.sh1 ./qjsc_linux -c -m src/gpio.js -N jslib_gpio -M GPIO -o bytecode/jslib_gpio.c
2 ./qjsc_linux -c -m src/events.js -N jslib_events -o bytecode/jslib_events.c
3 ./qjsc_linux -c -m src/crypto.js -N jslib_crypto -M events -M CRYPTO -o bytecode/jslib_crypto.c
5 ./qjsc_linux -c -m src/appota.js -N jslib_appota -M events -M APPOTA -o bytecode/jslib_appota.c
8 ./qjsc_linux -c -m src/repl.js -o bytecode/jslib_repl.c -N jslib_repl -M REPL -M os -M std
9 ./qjsc_linux -c -m src/uart.js -o bytecode/jslib_uart.c -N jslib_uart -M events -M UART
10 ./qjsc_linux -c -m src/fs.js -o bytecode/jslib_fs.c -N jslib_fs -M events -M FS
12 ./qjsc_linux -c -m src/device.js -o bytecode/jslib_device.c -N jslib_device -M kv
15 ./qjsc_linux -c -m src/mqtt.js -N jslib_mqtt -M MQTT -M events -o bytecode/jslib_mqtt.c
16 ./qjsc_linux -c -m src/tcp.js -N jslib_tcp -M events -M TCP -o bytecode/jslib_tcp.c
[all …]
A Dgen_bytecode.bat1 .\qjsc.exe -c -m -M GPIO -N jslib_gpio -o bytecode\jslib_gpio.c src\gpio.js
2 .\qjsc.exe -c -m -N jslib_events -o bytecode\jslib_events.c src\events.js
3 .\qjsc.exe -c -m -M events -M CRYPTO -N jslib_crypto -o bytecode\jslib_crypto.c src\crypto.js
5 .\qjsc.exe -c -m -M events -M APPOTA -N jslib_appota -o bytecode\jslib_appota.c src\appota.js
8 .\qjsc.exe -c -m -M REPL -M os -M std -N jslib_repl -o bytecode\jslib_repl.c src\repl.js
9 .\qjsc.exe -c -m -M events -M UART -N jslib_uart -o bytecode\jslib_uart.c src\uart.js
10 .\qjsc.exe -c -m -M events -M FS -N jslib_fs -o bytecode\jslib_fs.c src\fs.js
12 .\qjsc.exe -c -m -M kv -N jslib_device -o bytecode\jslib_device.c src\device.js
13 .\qjsc.exe -c -m -M events -M NETMGR -N jslib_netmgr -o bytecode\jslib_netmgr.c src\netmgr.js
15 .\qjsc.exe -c -m -M events -M MQTT -N jslib_mqtt -o bytecode\jslib_mqtt.c src\mqtt.js
[all …]
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmpy-tool.py131 opcode = bytecode[ip]
197 def extract_prelude(bytecode, ip): argument
199 b = bytecode[ip_ref[0]]
241 self.bytecode = bytecode
259 qst = self.bytecode[ip] | self.bytecode[ip + 1] << 8
701 read_byte(f, bytecode)
707 bytecode.append(qst & 0xFF)
708 bytecode.append(qst >> 8)
712 while not bytecode.is_full():
714 f, sz = mp_opcode_format(bytecode.buf, bytecode.idx - 1, False)
[all …]
/AliOS-Things-master/components/py_engine/tests/cmdline/
A Dcmd_showbc.py.exp2 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
38 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
316 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
371 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
389 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
413 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
429 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
446 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
470 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
491 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
[all …]
A Dcmd_verbose.py.exp1 File cmdline/cmd_verbose.py, code block '<module>' (descriptor: \.\+, bytecode \.\+ bytes)
2 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
A Dcmd_parsetree.py.exp32 File cmdline/cmd_parsetree.py, code block '<module>' (descriptor: \.\+, bytecode @\.\+ bytes)
33 Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
/AliOS-Things-master/components/py_engine/engine/py/
A Dobjgenerator.c58 const uint8_t *ip = self_fun->bytecode; in gen_wrap_call()
95 uintptr_t prelude_offset = ((uintptr_t *)self_fun->bytecode)[0]; in native_gen_wrap_call()
99 prelude_offset = (const byte *)prelude_bytes->data - self_fun->bytecode; in native_gen_wrap_call()
101 const uint8_t *ip = self_fun->bytecode + prelude_offset; in native_gen_wrap_call()
122 uintptr_t start_offset = ((uintptr_t *)self_fun->bytecode)[1]; in native_gen_wrap_call()
123 o->code_state.ip = MICROPY_MAKE_POINTER_CALLABLE((void *)(self_fun->bytecode + start_offset)); in native_gen_wrap_call()
195 …= MICROPY_MAKE_POINTER_CALLABLE((const void *)(self->code_state.fun_bc->bytecode + 2 * sizeof(uint… in mp_obj_gen_resume()
A Dobjfun.c168 const byte *bc = fun->bytecode; in mp_obj_fun_get_name()
198 #define DECODE_CODESTATE_SIZE(bytecode, n_state_out_var, state_size_out_var) \ argument
200 const uint8_t *ip = bytecode; \
223 DECODE_CODESTATE_SIZE(self->bytecode, n_state, state_size); in mp_obj_fun_bc_prepare_codestate()
261 DECODE_CODESTATE_SIZE(self->bytecode, n_state, state_size); in fun_bc_call()
299 const byte *bytecode_ptr = self->bytecode; in fun_bc_call()
395 o->bytecode = code; in mp_obj_new_fun_bc()
414 mp_call_fun_t fun = MICROPY_MAKE_POINTER_CALLABLE((void *)self->bytecode); in fun_native_call()
A Dobjfun.h34 const byte *bytecode; // bytecode for the function member
A Dprofile.h54 void mp_prof_extract_prelude(const byte *bytecode, mp_bytecode_prelude_t *prelude);
A Dbc.c120 code_state->ip = self->bytecode + (size_t)code_state->ip; in mp_setup_code_state()
A Dprofile.c40 void mp_prof_extract_prelude(const byte *bytecode, mp_bytecode_prelude_t *prelude) { in mp_prof_extract_prelude() argument
41 const byte *ip = bytecode; in mp_prof_extract_prelude()
A Dvm.c1466 const byte *ip = code_state->fun_bc->bytecode; in mp_execute_bytecode()
A Demitnative.c96 #define OFFSETOF_OBJ_FUN_BC_BYTECODE (offsetof(mp_obj_fun_bc_t, bytecode) / sizeof(uintptr_t))
/AliOS-Things-master/components/py_engine/engine/lib/re1.5/
A Dre1.5.h139 #define HANDLE_ANCHORED(bytecode, is_anchored) ((is_anchored) ? (bytecode) + NON_ANCHORED_PREFIX : … argument
/AliOS-Things-master/components/py_engine/tests/micropython/
A Ddecorator.py.exp1 bytecode
A Ddecorator.py4 @micropython.bytecode
/AliOS-Things-master/components/py_engine/engine/mpy-cross/
A DREADME.md20 bytecode, and such options can be passed to the cross compiler. For example,
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/doc/
A Dquickjs.texi157 Only output bytecode in a C file. The default is to output an executable file.
159 Output @code{main()} and bytecode in a C file. The default is to output an
859 If the script or module was compiled to bytecode with @code{qjsc}, it
865 Note: the bytecode format is linked to a given QuickJS
867 execution. Hence the bytecode should not be loaded from untrusted
868 sources. That's why there is no option to output the bytecode to a
925 The compiler generates bytecode directly with no intermediate
927 optimizations passes are done over the generated bytecode.
929 A stack-based bytecode was chosen because it is simple and generates
951 The generated C source contains the bytecode of the compiled functions
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A DTODO12 - use 2 bytecode DynBufs in JSFunctionDef, one for reading, one for writing
A Dquickjs.c650 JSString* bytecode; /* also contains the flags */ member
4801 p->u.regexp.bytecode = NULL; in JS_NewObjectFromShape()
6058 compute_jsstring_size(p->u.regexp.bytecode, hp); in JS_ComputeMemoryUsage()
41404 JS_FreeValueRT(rt, JS_MKPTR(JS_TAG_STRING, re->bytecode)); in js_regexp_finalizer()
41500 re->bytecode = JS_VALUE_GET_STRING(bc); in js_regexp_constructor_internal()
41643 JS_FreeValue(ctx, JS_MKPTR(JS_TAG_STRING, re->bytecode)); in js_regexp_compile()
41645 re->bytecode = JS_VALUE_GET_STRING(bc); in js_regexp_compile()
41672 flags = lre_get_flags(re->bytecode->u.str8);
41759 flags = lre_get_flags(re->bytecode->u.str8); in js_regexp_get_flag()
41869 re_bytecode = re->bytecode->u.str8; in js_regexp_exec()
[all …]
/AliOS-Things-master/components/py_engine/engine/
A DREADME.md26 bytecode, in both cases either from an on-device filesystem or "frozen" into
36 into precompiled bytecode.
/AliOS-Things-master/components/amp/ampsim/
A DCMakeLists.txt42 aux_source_directory(../jslib/bytecode DIR_JSLIB)
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c5122 const duk_uint8_t *bytecode; member
7857 #define DUK_HCOMPFUNC_GET_BYTECODE(heap,h) ((h)->bytecode)
7859 (h)->bytecode = (v); \
7994 duk_instr_t *bytecode; member
61213 res->bytecode = NULL;
96320 (long) (pc - re_ctx->bytecode),
96884 re_ctx.bytecode = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_bytecode);
96885 re_ctx.bytecode_end = re_ctx.bytecode + DUK_HSTRING_GET_BYTELEN(h_bytecode);
96891 pc = re_ctx.bytecode;
96894 re_ctx.bytecode = pc;
[all …]

Completed in 378 milliseconds