Home
last modified time | relevance | path

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

12345678910

/AliOS-Things-master/components/uagent/src/
A Duagent_core.c18 ua_func_t func; member
25 ua_func_t func; member
32 ua_func_t func; member
156 switch (func) in uagent_register()
232 p->func = func; in uagent_request_service()
260 const ua_func_t func, in update_create_uagent_service_node() argument
291 uagent_service_tb[i]->func = func; in update_create_uagent_service_node()
333 const ua_func_t func, in ext_request_service() argument
346 p->func = func; in ext_request_service()
439 if (p->func == uagent_service_tb[i]->func) { in uagent_routine()
[all …]
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
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()
40 mod_func_tree->header->func = func; in add_list()
51 if (p->func == func) { /* found it alredy in list, just update */ in add_list()
62 p->next->func = func; in add_list()
80 int del_list(mod_func_t *mod_func_tree, const ua_func_t func) in del_list() argument
87 if (p->func == func) {/* header matches, remove it */ in del_list()
96 if (p->func == func) { in del_list()
A Duagent_send.c27 static int delay_send(const ua_mod_t mod, const ua_func_t func, in delay_send() argument
88 …ut_msg_index++, uagent_service_attr.dn, uagent_service_attr.to_console, mod, func, msg_pub_base64); in delay_send()
91 … out_msg_index++, uagent_service_attr.dn, uagent_service_attr.to_console, mod, func, out); in delay_send()
95 … out_msg_index++, uagent_service_attr.dn, uagent_service_attr.to_console, mod, func, out); in delay_send()
123 int uagent_send(const ua_mod_t mod, const ua_func_t func, in uagent_send() argument
140 rc = delay_send(mod, func, len, data, policy); in uagent_send()
195 UAGENT_ERR("[uA]uagent send may fail from 0x%x 0x%x as not inited", mod, func); in uagent_send()
202 const ua_mod_t mod, const ua_func_t func, const void *data) in uagent_ack() argument
210 uganet_send_id++, uagent_service_attr.dn, uagent_service_attr.to_console, mod, func, in uagent_ack()
214 uagent_service_attr.dn, uagent_service_attr.to_console, mod, func, in uagent_ack()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dhal_sdio.h254 uint8_t sdio_io_readb(struct sdio_function *func,
257 int32_t sdio_io_writeb(struct sdio_function *func,
260 uint16_t sdio_io_readw(struct sdio_function *func,
263 int32_t sdio_io_writew(struct sdio_function *func,
266 uint32_t sdio_io_readl(struct sdio_function *func,
269 int32_t sdio_io_writel(struct sdio_function *func,
282 int32_t sdio_attach_irq(struct sdio_function *func,
284 int32_t sdio_detach_irq(struct sdio_function *func);
285 int32_t sdio_enable_func(struct sdio_function *func);
290 void hal_sdio_enable_irq(struct sdio_function *func);
[all …]
/AliOS-Things-master/components/freetype/src/base/
A Dftadvanc.c77 FT_Face_GetAdvancesFunc func; in FT_Get_Advance() local
86 func = face->driver->clazz->get_advances; in FT_Get_Advance()
87 if ( func && LOAD_ADVANCE_FAST_CHECK( flags ) ) in FT_Get_Advance()
92 error = func( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
113 FT_Face_GetAdvancesFunc func; in FT_Get_Advances() local
129 func = face->driver->clazz->get_advances; in FT_Get_Advances()
130 if ( func && LOAD_ADVANCE_FAST_CHECK( flags ) ) in FT_Get_Advances()
132 error = func( face, start, count, flags, padvances ); in FT_Get_Advances()
/AliOS-Things-master/components/freetype/src/otvalid/
A Dotvcommn.h55 OTV_Validate_Func func[3]; member
123 valid->func[0] = OTV_FUNC( x ); \
130 valid->func[0] = OTV_FUNC( x ); \
131 valid->func[1] = OTV_FUNC( y ); \
177 valid->func[0] = OTV_FUNC( x ); \
183 valid->func[0] = OTV_FUNC( x ); \
184 valid->func[1] = OTV_FUNC( y ); \
190 valid->func[0] = OTV_FUNC( x ); \
191 valid->func[1] = OTV_FUNC( y ); \
192 valid->func[2] = OTV_FUNC( z ); \
[all …]
A Dotvcommn.c647 OTV_Validate_Func func; in otv_x_Ox() local
660 func = valid->func[valid->nesting_level]; in otv_x_Ox()
663 func( table + FT_NEXT_USHORT( p ), valid ); in otv_x_Ox()
677 OTV_Validate_Func func; in otv_u_C_x_Ox() local
695 func = valid->func[valid->nesting_level]; in otv_u_C_x_Ox()
844 OTV_Validate_Func func; in otv_u_O_O_x_Onx() local
864 func = valid->func[valid->nesting_level]; in otv_u_O_O_x_Onx()
873 func( table + offset, valid ); in otv_u_O_O_x_Onx()
931 OTV_Validate_Func func; in otv_u_O_O_O_O_x_Onx() local
956 func = valid->func[valid->nesting_level]; in otv_u_O_O_O_O_x_Onx()
[all …]
A Dotvgdef.c53 OTV_Validate_Func func; in otv_O_x_Ox() local
71 func = valid->func[valid->nesting_level]; in otv_O_x_Ox()
75 func( table + FT_NEXT_USHORT( p ), valid ); in otv_O_x_Ox()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Ddsp.h143 #define WEBP_DSP_INIT(func) do { \ argument
144 static volatile VP8CPUInfo func ## _last_cpuinfo_used = \
145 (VP8CPUInfo)&func ## _last_cpuinfo_used; \
146 static pthread_mutex_t func ## _lock = PTHREAD_MUTEX_INITIALIZER; \
147 if (pthread_mutex_lock(&func ## _lock)) break; \
148 if (func ## _last_cpuinfo_used != VP8GetCPUInfo) func(); \
149 func ## _last_cpuinfo_used = VP8GetCPUInfo; \
150 (void)pthread_mutex_unlock(&func ## _lock); \
229 #define WEBP_DSP_INIT_STUB(func) \ argument
230 extern void func(void); \
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/net_os/
A Ds_memory.h13 extern void *s_malloc(size_t size,char* func,unsigned int line);
14 extern void *s_realloc(void *rmem, size_t newsize,char* func,unsigned int line);
15 extern void *s_calloc(size_t count, size_t size,char* func,unsigned int line);
17 extern void *s_kmalloc(size_t size, gfp_t flags,char* func,unsigned int line);
18 extern void *s_kzalloc(size_t size, gfp_t flags,char* func,unsigned int line);
20 extern void *s_krealloc(const void *p, size_t new_size, gfp_t flags,char* func,unsigned int line);
35 #define skmalloc1(size, flags,func) (\ argument
38 ret = s_kmalloc(size, flags,func, __LINE__);\
/AliOS-Things-master/components/sensor/include/
A Dsensor_hal.h13 #define SENSOR_DRV_ADD(func) \ argument
14 int __sensor_##func##_func__(void){ \
15 return func(); \
/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_drawline.c144 DrawLineFunc func; in SDL_DrawLine() local
150 func = SDL_CalculateDrawLineFunc(dst->format); in SDL_DrawLine()
151 if (!func) { in SDL_DrawLine()
161 func(dst, x1, y1, x2, y2, color, SDL_TRUE); in SDL_DrawLine()
173 DrawLineFunc func; in SDL_DrawLines() local
179 func = SDL_CalculateDrawLineFunc(dst->format); in SDL_DrawLines()
180 if (!func) { in SDL_DrawLines()
199 func(dst, x1, y1, x2, y2, color, draw_end); in SDL_DrawLines()
A DSDL_blendfillrect.c289 int (*func)(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRects() local
313 func = SDL_BlendFillRect_RGB555; in SDL_BlendFillRects()
319 func = SDL_BlendFillRect_RGB565; in SDL_BlendFillRects()
326 func = SDL_BlendFillRect_RGB888; in SDL_BlendFillRects()
328 func = SDL_BlendFillRect_ARGB8888; in SDL_BlendFillRects()
337 if (!func) { in SDL_BlendFillRects()
339 func = SDL_BlendFillRect_RGB; in SDL_BlendFillRects()
341 func = SDL_BlendFillRect_RGBA; in SDL_BlendFillRects()
350 status = func(dst, &rect, blendMode, r, g, b, a); in SDL_BlendFillRects()
A DSDL_blendpoint.c285 int (*func)(SDL_Surface * dst, int x, int y, in SDL_BlendPoints() local
309 func = SDL_BlendPoint_RGB555; in SDL_BlendPoints()
316 func = SDL_BlendPoint_RGB565; in SDL_BlendPoints()
324 func = SDL_BlendPoint_RGB888; in SDL_BlendPoints()
326 func = SDL_BlendPoint_ARGB8888; in SDL_BlendPoints()
335 if (!func) { in SDL_BlendPoints()
337 func = SDL_BlendPoint_RGB; in SDL_BlendPoints()
339 func = SDL_BlendPoint_RGBA; in SDL_BlendPoints()
355 status = func(dst, x, y, blendMode, r, g, b, a); in SDL_BlendPoints()
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_dyn.c32 #define DFB_SYM(ret, name, args, al, func) ret (*name) args; argument
42 #define DFB_SYM(ret, name, args, al, func) ret name args { func SDL_DirectFB_Symbols.name al ; } argument
57 #define DFB_SYM(ret, name, args, al, func) if (!(SDL_DirectFB_Symbols.name = SDL_LoadFunction(handl… in SDL_DirectFB_LoadLibrary() argument
/AliOS-Things-master/components/py_engine/tests/unix/
A Dffi_float.py23 strtof = libc.func("f", "strtof", "sp")
32 strtod = libc.func("d", "strtod", "sp")
37 tgamma = libm.func("d", "tgamma", "d")
/AliOS-Things-master/components/uagent/include/
A Duagent.h30 const ua_func_t func, const char *func_name,
41 int uagent_unregister(const ua_mod_t mod, const ua_func_t func);
58 const ua_func_t func, const unsigned short len,
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/swig/
A Dlibwebp.swig93 %define DECODE_AUTODOC(func)
94 %feature("autodoc", #func "(uint8_t data) -> (rgb, width, height)") func;
369 %define CALL_ENCODE_LOSSY_WRAPPER(func)
371 public static byte[] func(
373 return wrap_##func(
379 %define CALL_ENCODE_LOSSLESS_WRAPPER(func)
381 public static byte[] func(
383 return wrap_##func(
404 %define CALL_ENCODE_LOSSY_WRAPPER(func)
408 webp = wrap_##func(
[all …]
/AliOS-Things-master/components/SDL2/test/
A Dtestgl2.c29 #define SDL_PROC(ret,func,params) ret (APIENTRY *func) params; argument
53 #define SDL_PROC(ret,func,params) data->func=func; in LoadContext() argument
55 #define SDL_PROC(ret,func,params) \ in LoadContext()
57 data->func = SDL_GL_GetProcAddress(#func); \ in LoadContext()
58 if ( ! data->func ) { \ in LoadContext()
59 return SDL_SetError("Couldn't load GL function %s: %s", #func, SDL_GetError()); \ in LoadContext()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/
A Dbinary_function.h34 R (*func)(T1, T2)) { in BroadcastBinaryFunction4DSlow()
55 output_data[out_idx] = func(in1_val, in2_val); in BroadcastBinaryFunction4DSlow()
69 R (*func)(T1, T2)) { in BinaryFunction()
73 output_data[i] = func(input1_data[i], input2_data[i]); in BinaryFunction()
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestImageFilter.c158 struct func { in main() struct
162 struct func funcs[] = { in main()
177 for (k = 0; k < sizeof(funcs)/sizeof(struct func); k++) { in main()
240 struct func { in main() struct
245 struct func funcs[] = { in main()
259 for (k = 0; k < sizeof(funcs)/sizeof(struct func); k++) { in main()
294 struct func { in main() struct
299 struct func funcs[] = { in main()
305 for (k = 0; k < sizeof(funcs)/sizeof(struct func); k++) { in main()
373 struct func { in main() struct
[all …]
/AliOS-Things-master/components/amp/ui/render/include/
A Drender_public.h87 void *amp_debug_malloc(uint32_t size, char* func, int line);
90 void *amp_debug_calloc(uint32_t nitems, uint32_t size, char* func, int line);
93 void *amp_debug_realloc(void* addr, uint32_t size, char* func, int line);
95 void amp_debug_free(void* addr, char* func, int line);
/AliOS-Things-master/components/py_engine/tests/basics/
A Dtry_finally1.py87 def func(): function
94 func()
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dgatt.h364 bt_gatt_attr_func_t func,
377 bt_gatt_attr_func_t func, in bt_gatt_foreach_attr() argument
380 bt_gatt_foreach_attr_type(start_handle, end_handle, NULL, NULL, 0, func, in bt_gatt_foreach_attr()
850 bt_gatt_complete_func_t func; member
938 bt_gatt_indicate_func_t func; member
1017 void (*func)(struct bt_conn *conn, u8_t err, member
1095 bt_gatt_discover_func_t func; member
1176 bt_gatt_read_func_t func; member
1229 bt_gatt_write_func_t func; member
1280 bool sign, bt_gatt_complete_func_t func,
/AliOS-Things-master/components/py_engine/tests/micropython/
A Dheapalloc_exc_raise.py8 def func(): function
24 func()

Completed in 43 milliseconds

12345678910