/AliOS-Things-master/components/py_engine/engine/py/ |
A D | scope.c | 53 scope->kind = kind; in scope_new() 54 scope->pn = pn; in scope_new() 65 scope->id_info = m_new(id_info_t, scope->id_info_alloc); in scope_new() 67 return scope; in scope_new() 70 void scope_free(scope_t *scope) { in scope_free() argument 71 m_del(id_info_t, scope->id_info, scope->id_info_alloc); in scope_free() 72 m_del(scope_t, scope, 1); in scope_free() 82 if (scope->id_info_len >= scope->id_info_alloc) { in scope_find_or_add_id() 83 …scope->id_info = m_renew(id_info_t, scope->id_info, scope->id_info_alloc, scope->id_info_alloc + M… in scope_find_or_add_id() 90 id_info = &scope->id_info[scope->id_info_len++]; in scope_find_or_add_id() [all …]
|
A D | emitcommon.c | 33 void mp_emit_common_get_id_for_modification(scope_t *scope, qstr qst) { in mp_emit_common_get_id_for_modification() argument 35 id_info_t *id = scope_find_or_add_id(scope, qst, ID_INFO_KIND_GLOBAL_IMPLICIT); in mp_emit_common_get_id_for_modification() 36 if (SCOPE_IS_FUNC_LIKE(scope->kind) && id->kind == ID_INFO_KIND_GLOBAL_IMPLICIT) { in mp_emit_common_get_id_for_modification() 42 …p(emit_t *emit, const mp_emit_method_table_id_ops_t *emit_method_table, scope_t *scope, qstr qst) { in mp_emit_common_id_op() argument 45 id_info_t *id = scope_find(scope, qst); in mp_emit_common_id_op()
|
A D | emitbc.c | 53 scope_t *scope; member 249 emit->scope->num_pos_args + emit->scope->num_kwonly_args in emit_write_bytecode_byte_obj() 265 emit->scope->num_pos_args + emit->scope->num_kwonly_args in emit_write_bytecode_byte_raw_code() 315 emit->scope = scope; in mp_emit_bc_start_pass() 329 mp_uint_t n_state = scope->num_locals + scope->stack_size; in mp_emit_bc_start_pass() 341 size_t n_exc_stack = scope->exc_stack_size; in mp_emit_bc_start_pass() 377 for (int i = 0; i < scope->num_pos_args + scope->num_kwonly_args; i++) { in mp_emit_bc_start_pass() 407 id_info_t *id = &emit->scope->id_info[i]; in mp_emit_bc_end_pass() 433 emit->scope->num_pos_args + emit->scope->num_kwonly_args in mp_emit_bc_end_pass() 437 emit->scope->num_pos_args + emit->scope->num_kwonly_args); in mp_emit_bc_end_pass() [all …]
|
A D | scope.h | 94 void scope_free(scope_t *scope); 95 id_info_t *scope_find_or_add_id(scope_t *scope, qstr qstr, id_info_kind_t kind); 96 id_info_t *scope_find(scope_t *scope, qstr qstr); 97 id_info_t *scope_find_global(scope_t *scope, qstr qstr); 98 void scope_check_to_close_over(scope_t *scope, id_info_t *id);
|
A D | emitnative.c | 247 scope_t *scope; member 371 emit->scope = scope; in emit_native_start_pass() 380 mp_uint_t num_args = emit->scope->num_pos_args + emit->scope->num_kwonly_args; in emit_native_start_pass() 426 emit->n_state = scope->num_locals + scope->stack_size; in emit_native_start_pass() 482 …ASM_MOV_REG_IMM(emit->as, REG_ARG_3, MP_OBJ_FUN_MAKE_SIG(scope->num_pos_args, scope->num_pos_args,… in emit_native_start_pass() 510 emit->n_state = scope->num_locals + scope->stack_size; in emit_native_start_pass() 635 for (int i = 0; i < scope->num_pos_args + scope->num_kwonly_args; i++) { in emit_native_start_pass() 694 size_t table_off = emit->scope->num_pos_args + emit->scope->num_kwonly_args + 1; in emit_native_end_pass() 717 nqstr = emit->scope->num_pos_args + emit->scope->num_kwonly_args; in emit_native_end_pass() 747 emit->scope->num_pos_args, emit->scope->scope_flags, 0); in emit_native_end_pass() [all …]
|
A D | emit.h | 106 void (*start_pass)(emit_t *emit, pass_kind_t pass, scope_t *scope); 150 …void (*make_function)(emit_t *emit, scope_t *scope, mp_uint_t n_pos_defaults, mp_uint_t n_kw_defau… 151 …void (*make_closure)(emit_t *emit, scope_t *scope, mp_uint_t n_closed_over, mp_uint_t n_pos_defaul… 164 static inline void mp_emit_common_get_id_for_load(scope_t *scope, qstr qst) { in mp_emit_common_get_id_for_load() argument 165 scope_find_or_add_id(scope, qst, ID_INFO_KIND_GLOBAL_IMPLICIT); in mp_emit_common_get_id_for_load() 168 void mp_emit_common_get_id_for_modification(scope_t *scope, qstr qst); 169 …op(emit_t *emit, const mp_emit_method_table_id_ops_t *emit_method_table, scope_t *scope, qstr qst); 201 void mp_emit_bc_start_pass(emit_t *emit, pass_kind_t pass, scope_t *scope); 248 void mp_emit_bc_make_function(emit_t *emit, scope_t *scope, mp_uint_t n_pos_defaults, mp_uint_t n_k… 249 void mp_emit_bc_make_closure(emit_t *emit, scope_t *scope, mp_uint_t n_closed_over, mp_uint_t n_pos…
|
A D | compile.c | 244 scope->parent = comp->scope_cur; in scope_new_and_link() 245 scope->next = NULL; in scope_new_and_link() 247 comp->scope_head = scope; in scope_new_and_link() 253 s->next = scope; in scope_new_and_link() 255 return scope; in scope_new_and_link() 3068 comp->scope_cur = scope; in compile_scope() 3076 scope->stack_size = 0; in compile_scope() 3077 scope->exc_stack_size = 0; in compile_scope() 3233 comp->scope_cur = scope; in compile_scope_inline_asm() 3426 scope->num_locals = 0; in scope_compute_things() [all …]
|
A D | bc.h | 74 #define MP_BC_PRELUDE_SIG_ENCODE(S, E, scope, out_byte, out_env) \ argument 77 size_t F = scope->scope_flags & MP_SCOPE_FLAG_ALL_SIG; \ 78 size_t A = scope->num_pos_args; \ 79 size_t K = scope->num_kwonly_args; \ 80 size_t D = scope->num_def_pos_args; \
|
A D | py.cmake | 116 ${MICROPY_PY_DIR}/scope.c
|
/AliOS-Things-master/components/uvoice/media/ |
A D | uvoice_fade.c | 11 int *pos, int scope, int channels) in fade_out_proc_8bit() argument 26 sample_val /= (double)scope; in fade_out_proc_8bit() 49 if (sample_pos >= scope) in fade_in_proc_8bit() 58 sample_val /= (double)scope; in fade_in_proc_8bit() 63 if (sample_pos < scope) in fade_in_proc_8bit() 66 if (sample_pos >= scope) in fade_in_proc_8bit() 92 sample_val /= (double)scope; in fade_out_proc_16bit() 115 if (sample_pos >= scope) in fade_in_proc_16bit() 124 sample_val /= (double)scope; in fade_in_proc_16bit() 129 if (sample_pos < scope) in fade_in_proc_16bit() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | test262_errors.txt | 7 test262/test/language/expressions/arrow-function/eval-var-scope-syntax-err.js:47: Test262Error: Exp… 8 test262/test/language/expressions/async-arrow-function/eval-var-scope-syntax-err.js:49: TypeError: … 9 test262/test/language/expressions/async-function/named-eval-var-scope-syntax-err.js:33: TypeError: … 10 test262/test/language/expressions/async-function/nameless-eval-var-scope-syntax-err.js:33: TypeErro… 11 test262/test/language/expressions/async-generator/eval-var-scope-syntax-err.js:28: Test262Error: Ex… 17 test262/test/language/expressions/function/eval-var-scope-syntax-err.js:48: Test262Error: Expected … 18 test262/test/language/expressions/generators/eval-var-scope-syntax-err.js:49: Test262Error: Expecte… 20 test262/test/language/expressions/object/method-definition/async-meth-eval-var-scope-syntax-err.js:… 25 test262/test/language/statements/async-function/eval-var-scope-syntax-err.js:33: TypeError: $DONE()… 29 test262/test/language/statements/function/eval-var-scope-syntax-err.js:49: Test262Error: Expected a… [all …]
|
A D | quickjs.c | 21517 while (scope >= 0) { in is_child_scope() 21520 scope = fd->scopes[scope].parent; in is_child_scope() 21618 while (scope >= 0) { in get_first_lexical_var() 21622 scope = fd->scopes[scope].parent; in get_first_lexical_var() 21645 scope = s->cur_func->scopes[scope].parent; in close_scopes() 23281 int scope; member 23298 scope = 0; in get_lvalue() 23402 *pscope = scope; in get_lvalue() 30244 int scope; in resolve_variables() local 31914 for (scope = 0; scope < fd->scope_count; scope++) { in js_create_function() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/ |
A D | gradlew.bat | 8 @rem Set local scope for the variables with windows NT shell 78 @rem End local scope for the variables with windows NT shell
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/doc/ |
A D | TODO | 8 * Overall edit for scope. Portions are phrased as an introduction to
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/profiler/ |
A D | README.md | 29 start of a function, so that its scope is the function scope and it allows to 43 A `ScopeLabel` may however have any scope, for instance: 76 To actually profile a code scope, it is enough to construct a `ScopeProfile`
|
/AliOS-Things-master/components/posix/include/ |
A D | pthread.h | 144 int pthread_attr_setscope(pthread_attr_t *attr, int scope); 145 int pthread_attr_getscope(const pthread_attr_t *attr, int *scope);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_if_enhanced/inc/ |
A D | avrcp_api.h | 1005 avrcp_scope_t scope; member 1322 avrcp_scope_t scope; /* The requested scope */ member 1338 avrcp_scope_t scope; /* The requested scope */ member
|
/AliOS-Things-master/components/cplusplus/ |
A D | README.md | 195 或者编译带try-catch的代码时提示变量未定义:error: 'msg' was not declared in this scope
|
/AliOS-Things-master/components/littlevgl/docs/ |
A D | CODING_STYLE.md | 29 * Use the smallest required scope
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/ |
A D | hal_trace.h | 130 #define ASSERT_DUMP_ARGS const char *scope, unsigned int line, const char *fmt, ...
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/ |
A D | train.py | 198 merged_summaries = tf.compat.v1.summary.merge_all(scope='eval')
|
A D | input_data.py | 493 self.merged_summaries_ = tf.compat.v1.summary.merge_all(scope='data')
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/ |
A D | COPYING | 73 covered by this License; they are outside its scope. The act of 132 the scope of this License.
|
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/ |
A D | PPPD_FOLLOWUP | 236 is about detaching from the terminal, which is out of the embedded scope.
|
/AliOS-Things-master/components/py_engine/ |
A D | aos.mk | 187 …ngine/py/objmap.c engine/py/objslice.c engine/py/parsenum.c engine/py/scope.c
|