Home
last modified time | relevance | path

Searched refs:func_name (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/uagent/src/
A Duagent_utility.c30 int add_list(mod_func_t *mod_func_tree, const ua_func_t func, char *func_name) in add_list() argument
33 if (NULL != mod_func_tree && NULL != func_name) { in add_list()
34 …EBUG("will add list mod %s func %d func name %s\n", mod_func_tree->mod_info.name, func, func_name); in add_list()
41 … memset(mod_func_tree->header->func_name, 0, sizeof(mod_func_tree->header->func_name)); in add_list()
42 …strncpy(mod_func_tree->header->func_name, func_name, sizeof(mod_func_tree->header->func_name) - 1); in add_list()
46 …UAGENT_ERR("[uA]alloc memory of func %s for mod %s fail\n", func_name, mod_func_tree->mod_info.nam… in add_list()
52 memset(header->func_name, 0, sizeof(header->func_name)); in add_list()
53 strncpy(header->func_name, func_name, sizeof(header->func_name) - 1); in add_list()
63 memset(p->next->func_name, 0, sizeof(p->next->func_name)); in add_list()
64 strncpy(p->next->func_name, func_name, sizeof(p->next->func_name) - 1); in add_list()
[all …]
A Duagent_core.c33 char func_name[UAGENT_FUNC_NAME_SIZE]; member
151 const ua_func_t func, const char *func_name, in uagent_register() argument
171 memset(uagent_exchange_service.func_name, 0, sizeof(uagent_exchange_service.func_name)); in uagent_register()
172 …strncpy(uagent_exchange_service.func_name, func_name==NULL?"":func_name, sizeof(uagent_exchange_se… in uagent_register()
316 static void update_func_list(const ua_mod_t mod, const ua_func_t func, char *func_name, const char … in update_func_list() argument
322 add_list(mod_func[i], func, func_name); in update_func_list()
383 p->src, service_info->func_name, rc); in uagent_routine()
385 … update_func_list(p->src, service_info->func, service_info->func_name, UAGENT_FUNC_UA_REGISTER); in uagent_routine()
610 UAGENT_INFO("[uA]Summit func %d name %s\n", p->func, p->func_name); in service_report_func_list()
621 cJSON_AddStringToObject(json, "funcname", p->func_name); in service_report_func_list()
[all …]
/AliOS-Things-master/components/py_engine/tests/extmod/
A Dutime_res.py38 for func_name, _ in EXPECTED_MAP:
40 time_func = getattr(utime, func_name, None) or globals()[func_name]
45 results_map[func_name].add(now)
47 results_map[func_name] = {now}
50 for func_name, min_len in EXPECTED_MAP:
51 print("Testing %s" % func_name)
52 results = results_map.get(func_name)
55 elif func_name == "ticks_cpu" and results == {0}:
61 % (func_name, len(results), "s"[: len(results) != 1], TEST_TIME, min_len)
/AliOS-Things-master/components/linkkit/infra/
A Dinfra_mem_stats.c37 char *func_name; member
281 if (calling_stack_pos->func_name) { in _del_mem_table()
282 HAL_Free(calling_stack_pos->func_name); in _del_mem_table()
283 calling_stack_pos->func_name = NULL; in _del_mem_table()
332 if (!strcmp(call_pos->func_name, f) && (call_pos->line == l)) { in _count_malloc_internal()
344 entry->func_name = LITE_strdup(f); in _count_malloc_internal()
661 HAL_Free(module_pos->mem_statis.calling_stack.func_name); in LITE_dump_malloc_free_stats()
676 if (call_pos->func_name) { in LITE_dump_malloc_free_stats()
678 call_pos->func_name, call_pos->line); in LITE_dump_malloc_free_stats()
681 HAL_Free(call_pos->func_name); in LITE_dump_malloc_free_stats()
/AliOS-Things-master/components/uagent/include/
A Duagent.h30 const ua_func_t func, const char *func_name,
A Duagent_type.h109 char func_name[UAGENT_FUNC_NAME_SIZE]; member
/AliOS-Things-master/components/uagent/internal/
A Duagent_inner_api.h32 int add_list(mod_func_t *mod_func_tree, const ua_func_t func, char *func_name);
/AliOS-Things-master/components/cli/src/
A Dcli_uagent.c81 p->func_name, p->service, p->argu)) { in cli_uagent_init()
/AliOS-Things-master/components/ulog/src/
A Dulog_init.c254 …if (0 != uagent_register(UAGENT_MOD_ULOG, "uLog", MOD_VER, p->func, p->func_name, p->service, p->a… in ulog_init()
/AliOS-Things-master/components/osal_aos/include/aos/
A Dosal_debug.h443 void aos_except_process(int errno, const char *file, int line, const char *func_name, void *caller);
/AliOS-Things-master/components/freetype/src/base/
A Dftobjs.c4493 const FT_String* func_name = set ? set_name : get_name; in ft_property_do() local
4516 func_name, module_name )); in ft_property_do()
4524 func_name, module_name )); in ft_property_do()
4534 func_name, module_name )); in ft_property_do()
4548 func_name, module_name )); in ft_property_do()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dquickjs.c606 JSAtom func_name; member
15551 name_atom = b->func_name; in js_closure()
28301 fd->func_name = JS_ATOM_NULL; in js_new_function_def()
28389 JS_FreeAtom(ctx, fd->func_name); in js_free_function_def()
32024 b->func_name = fd->func_name; in js_create_function()
32275 if (func_name == JS_ATOM_eval || func_name == JS_ATOM_arguments) { in js_parse_function_check_names()
32319 fd->func_name = JS_ATOM_NULL; in js_parse_function_class_fields_init()
32402 func_name = JS_DupAtom(ctx, func_name); in js_parse_function_decl2()
32458 fd->func_name = func_name; in js_parse_function_decl2()
32723 JSAtom func_name = fd->func_name; in js_parse_function_decl2() local
[all …]
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c41016 const char *func_name; in duk_bi_function_prototype_to_string() local
41027 func_name = ""; in duk_bi_function_prototype_to_string()
41029 func_name = duk_to_string(thr, -1); in duk_bi_function_prototype_to_string()
41030 DUK_ASSERT(func_name != NULL); in duk_bi_function_prototype_to_string()
41034 duk_push_sprintf(thr, "function %s() { [ecmascript code] }", (const char *) func_name); in duk_bi_function_prototype_to_string()
41036 duk_push_sprintf(thr, "function %s() { [native code] }", (const char *) func_name); in duk_bi_function_prototype_to_string()
41038 duk_push_sprintf(thr, "function %s() { [bound code] }", (const char *) func_name); in duk_bi_function_prototype_to_string()

Completed in 351 milliseconds