Home
last modified time | relevance | path

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

12345

/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmdyn.c58 void *fn = NULL; in KMSDRM_GetSym() local
61 fn = SDL_LoadFunction(kmsdrmlibs[i].lib, fnname); in KMSDRM_GetSym()
62 if (fn != NULL) in KMSDRM_GetSym()
68 if (fn != NULL) in KMSDRM_GetSym()
69 SDL_Log("KMSDRM: Found '%s' in %s (%p)\n", fnname, kmsdrmlibs[i].libname, fn); in KMSDRM_GetSym()
74 if (fn == NULL) in KMSDRM_GetSym()
77 return fn; in KMSDRM_GetSym()
84 #define SDL_KMSDRM_SYM(rc,fn,params) SDL_DYNKMSDRMFN_##fn KMSDRM_##fn = NULL; argument
102 #define SDL_KMSDRM_SYM(rc,fn,params) KMSDRM_##fn = NULL; in SDL_KMSDRM_UnloadSymbols() argument
140 #define SDL_KMSDRM_SYM(rc,fn,params) KMSDRM_##fn = (SDL_DYNKMSDRMFN_##fn) KMSDRM_GetSym(#fn,thismod… in SDL_KMSDRM_LoadSymbols() argument
[all …]
A DSDL_kmsdrmdyn.h39 #define SDL_KMSDRM_SYM(rc,fn,params) \ argument
40 typedef rc (*SDL_DYNKMSDRMFN_##fn) params; \
41 extern SDL_DYNKMSDRMFN_##fn KMSDRM_##fn;
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylanddyn.c62 void *fn = NULL; in WAYLAND_GetSym() local
65 fn = SDL_LoadFunction(waylandlibs[i].lib, fnname); in WAYLAND_GetSym()
66 if (fn != NULL) in WAYLAND_GetSym()
72 if (fn != NULL) in WAYLAND_GetSym()
73 SDL_Log("WAYLAND: Found '%s' in %s (%p)\n", fnname, waylandlibs[i].libname, fn); in WAYLAND_GetSym()
78 if (fn == NULL) in WAYLAND_GetSym()
81 return fn; in WAYLAND_GetSym()
88 #define SDL_WAYLAND_SYM(rc,fn,params) SDL_DYNWAYLANDFN_##fn WAYLAND_##fn = NULL; argument
106 #define SDL_WAYLAND_SYM(rc,fn,params) WAYLAND_##fn = NULL; in SDL_WAYLAND_UnloadSymbols() argument
144 #define SDL_WAYLAND_SYM(rc,fn,params) WAYLAND_##fn = (SDL_DYNWAYLANDFN_##fn) WAYLAND_GetSym(#fn,thi… in SDL_WAYLAND_LoadSymbols() argument
[all …]
A DSDL_waylanddyn.h51 #define SDL_WAYLAND_SYM(rc,fn,params) \ argument
52 typedef rc (*SDL_DYNWAYLANDFN_##fn) params; \
53 extern SDL_DYNWAYLANDFN_##fn WAYLAND_##fn;
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11dyn.c81 void *fn = NULL; in X11_GetSym() local
84 fn = SDL_LoadFunction(x11libs[i].lib, fnname); in X11_GetSym()
85 if (fn != NULL) in X11_GetSym()
91 if (fn != NULL) in X11_GetSym()
92 printf("X11: Found '%s' in %s (%p)\n", fnname, x11libs[i].libname, fn); in X11_GetSym()
97 if (fn == NULL) in X11_GetSym()
100 return fn; in X11_GetSym()
106 #define SDL_X11_SYM(rc,fn,params,args,ret) SDL_DYNX11FN_##fn X11_##fn = NULL; argument
131 #define SDL_X11_SYM(rc,fn,params,args,ret) X11_##fn = NULL; in SDL_X11_UnloadSymbols() argument
172 #define SDL_X11_SYM(a,fn,x,y,z) X11_##fn = (SDL_DYNX11FN_##fn) X11_GetSym(#fn,thismod); in SDL_X11_LoadSymbols() argument
[all …]
A DSDL_x11dyn.h89 #define SDL_X11_SYM(rc,fn,params,args,ret) \ argument
90 typedef rc (*SDL_DYNX11FN_##fn) params; \
91 extern SDL_DYNX11FN_##fn X11_##fn;
/AliOS-Things-master/components/SDL2/include/
A DSDL_thread.h117 SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data,
122 SDL_CreateThreadWithStackSize(int (SDLCALL * fn) (void *),
133 #define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBegin… argument
137 #define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThrea… argument
138 #define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize(fn, … argument
165 SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data,
175 #define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBegin… argument
177 #define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize_REAL… argument
179 #define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThrea… argument
180 #define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize(fn, … argument
[all …]
/AliOS-Things-master/components/SDL2/src/dynapi/
A DSDL_dynapi.c114 #define SDL_DYNAPI_PROC(rc,fn,params,args,ret) \ argument
116 static rc SDLCALL fn##_DEFAULT params; \
117 extern rc SDLCALL fn##_REAL params;
123 #define SDL_DYNAPI_PROC(rc,fn,params,args,ret) SDL_DYNAPIFN_##fn fn; argument
129 #define SDL_DYNAPI_PROC(rc,fn,params,args,ret) static rc SDLCALL fn##_DEFAULT params; argument
135 #define SDL_DYNAPI_PROC(rc,fn,params,args,ret) fn##_DEFAULT, argument
142 #define SDL_DYNAPI_PROC(rc,fn,params,args,ret) \ argument
143 static rc SDLCALL fn##_DEFAULT params { \
145 ret jump_table.fn args; \
160 rc SDLCALL fn params { ret jump_table.fn args; } in SDL_DYNAPI_VARARGS()
[all …]
A Dgendynapi.pl75 my $fn = $5;
77 next if $existing{$fn}; # already slotted into the jump table.
128 print SDL_DYNAPI_PROCS_H "SDL_DYNAPI_PROC($rc,$fn,$paramstr,$argstr,$retstr)\n";
129 print SDL_DYNAPI_OVERRIDES_H "#define $fn ${fn}_REAL\n";
/AliOS-Things-master/components/ramfs/src/
A Dramfs.c286 if (strcmp(entry->fn, fn) == 0) { in ramfs_entry_get()
374 ret = ramfs_entry_dir_new(fn); in ramfs_entry_new()
384 new_entry->fn = ramfs_mm_alloc(strlen(fn) + 1); in ramfs_entry_new()
385 strcpy(new_entry->fn, fn); in ramfs_entry_new()
513 return ramfs_rmdir(fn); in ramfs_remove()
521 ramfs_mm_free(entry->fn); in ramfs_remove()
522 entry->fn = NULL; in ramfs_remove()
565 entry->fn = ramfs_mm_realloc(entry->fn, strlen(new) + 1); in ramfs_rename()
566 if (entry->fn == NULL) { in ramfs_rename()
853 fn[strlen(data)] = '\0'; in ramfs_readdir()
[all …]
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/facebody/src/
A DFacebodyClient.cc75 asyncExecute(new Runnable(fn)); in addFaceAsync()
111 asyncExecute(new Runnable(fn)); in addFaceEntityAsync()
147 asyncExecute(new Runnable(fn)); in blurFaceAsync()
183 asyncExecute(new Runnable(fn)); in bodyPostureAsync()
219 asyncExecute(new Runnable(fn)); in compareFaceAsync()
255 asyncExecute(new Runnable(fn)); in countCrowdAsync()
291 asyncExecute(new Runnable(fn)); in createFaceDbAsync()
327 asyncExecute(new Runnable(fn)); in deleteFaceAsync()
363 asyncExecute(new Runnable(fn)); in deleteFaceDbAsync()
399 asyncExecute(new Runnable(fn)); in deleteFaceEntityAsync()
[all …]
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/ocr/src/
A DOcrClient.cc75 asyncExecute(new Runnable(fn)); in detectCardScreenshotAsync()
111 asyncExecute(new Runnable(fn)); in getAsyncJobResultAsync()
147 asyncExecute(new Runnable(fn)); in recognizeAccountPageAsync()
183 asyncExecute(new Runnable(fn)); in recognizeBankCardAsync()
219 asyncExecute(new Runnable(fn)); in recognizeBusinessCardAsync()
255 asyncExecute(new Runnable(fn)); in recognizeBusinessLicenseAsync()
291 asyncExecute(new Runnable(fn)); in recognizeCharacterAsync()
327 asyncExecute(new Runnable(fn)); in recognizeChinapassportAsync()
363 asyncExecute(new Runnable(fn)); in recognizeDriverLicenseAsync()
399 asyncExecute(new Runnable(fn)); in recognizeDrivingLicenseAsync()
[all …]
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/imageseg/src/
A DImagesegClient.cc75 asyncExecute(new Runnable(fn)); in changeSkyAsync()
111 asyncExecute(new Runnable(fn)); in getAsyncJobResultAsync()
147 asyncExecute(new Runnable(fn)); in parseFaceAsync()
183 asyncExecute(new Runnable(fn)); in refineMaskAsync()
219 asyncExecute(new Runnable(fn)); in segmentAnimalAsync()
255 asyncExecute(new Runnable(fn)); in segmentBodyAsync()
291 asyncExecute(new Runnable(fn)); in segmentClothAsync()
327 asyncExecute(new Runnable(fn)); in segmentCommodityAsync()
363 asyncExecute(new Runnable(fn)); in segmentCommonImageAsync()
399 asyncExecute(new Runnable(fn)); in segmentFaceAsync()
[all …]
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/imageenhan/src/
A DImageenhanClient.cc75 asyncExecute(new Runnable(fn)); in assessCompositionAsync()
111 asyncExecute(new Runnable(fn)); in assessExposureAsync()
147 asyncExecute(new Runnable(fn)); in assessSharpnessAsync()
183 asyncExecute(new Runnable(fn)); in changeImageSizeAsync()
219 asyncExecute(new Runnable(fn)); in colorizeImageAsync()
255 asyncExecute(new Runnable(fn)); in enhanceImageColorAsync()
291 asyncExecute(new Runnable(fn)); in erasePersonAsync()
327 asyncExecute(new Runnable(fn)); in extendImageStyleAsync()
363 asyncExecute(new Runnable(fn)); in generateDynamicImageAsync()
399 asyncExecute(new Runnable(fn)); in getAsyncJobResultAsync()
[all …]
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_system.c53 void (*fn)(void *); member
60 void (*fn)(void *) = targ->fn; in dfl_entry() local
65 fn(farg); in dfl_entry()
77 targ->fn = fn; in aos_task_new()
298 if (fn == NULL) { in aos_timer_create()
322 amp_timer->cb = fn; in aos_timer_create()
504 char fn[128]; in dumpsys_task_func() local
505 snprintf(fn, sizeof fn, "/proc/self/task/%s/comm", ent->d_name); in dumpsys_task_func()
506 FILE *fp = fopen(fn, "r"); in dumpsys_task_func()
510 bzero(fn, sizeof fn); in dumpsys_task_func()
[all …]
/AliOS-Things-master/components/py_engine/engine/drivers/sdcard/
A Dsdtest.py19 fn = "/fc/rats.txt"
22 with open(fn, "w") as f:
30 with open(fn, "r") as f:
34 fn = "/fc/rats1.txt"
37 with open(fn, "w") as f:
41 with open(fn, "r") as f:
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/objectdet/src/
A DObjectdetClient.cc75 asyncExecute(new Runnable(fn)); in classifyVehicleInsuranceAsync()
111 asyncExecute(new Runnable(fn)); in detectMainBodyAsync()
147 asyncExecute(new Runnable(fn)); in detectObjectAsync()
183 asyncExecute(new Runnable(fn)); in detectTransparentImageAsync()
219 asyncExecute(new Runnable(fn)); in detectVehicleAsync()
255 asyncExecute(new Runnable(fn)); in detectWhiteBaseImageAsync()
291 asyncExecute(new Runnable(fn)); in generateVehicleRepairPlanAsync()
327 asyncExecute(new Runnable(fn)); in getVehicleRepairPlanAsync()
363 asyncExecute(new Runnable(fn)); in recognizeVehicleDamageAsync()
399 asyncExecute(new Runnable(fn)); in recognizeVehicleDashboardAsync()
[all …]
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/
A D__rem_pio2.c51 double_t z,w,t,r,fn; in __rem_pio2() local
121 fn = (double_t)x*invpio2 + toint - toint; in __rem_pio2()
122 n = (int32_t)fn; in __rem_pio2()
123 r = x - fn*pio2_1; in __rem_pio2()
124 w = fn*pio2_1t; /* 1st round, good to 85 bits */ in __rem_pio2()
131 w = fn*pio2_2; in __rem_pio2()
133 w = fn*pio2_2t - ((t-r)-w); in __rem_pio2()
139 w = fn*pio2_3; in __rem_pio2()
141 w = fn*pio2_3t - ((t-r)-w); in __rem_pio2()
/AliOS-Things-master/components/SDL2/src/libm/
A De_rem_pio2.c71 double z=0.0,w,t,r,fn; in __ieee754_rem_pio2() local
108 fn = (double)n; in __ieee754_rem_pio2()
109 r = t-fn*pio2_1; in __ieee754_rem_pio2()
110 w = fn*pio2_1t; /* 1st round good to 85 bit */ in __ieee754_rem_pio2()
121 w = fn*pio2_2; in __ieee754_rem_pio2()
123 w = fn*pio2_2t-((t-r)-w); in __ieee754_rem_pio2()
129 w = fn*pio2_3; in __ieee754_rem_pio2()
131 w = fn*pio2_3t-((t-r)-w); in __ieee754_rem_pio2()
/AliOS-Things-master/components/SDL2/test/
A Dtestloadso.c32 fntype fn = NULL; in main() local
62 fn = (fntype) SDL_LoadFunction(lib, symname); in main()
63 if (fn == NULL) { in main()
68 SDL_Log("Found %s in %s at %p\n", symname, libname, fn); in main()
72 fn(" HELLO, WORLD!\n"); in main()
/AliOS-Things-master/components/a2sa/src/framework/
A Dsound_pcm.c17 char fn[256]; in aos_device_name_hint() local
23 memset(fn, 0, sizeof(fn)); in aos_device_name_hint()
24 snprintf(fn, sizeof(fn), "/dev/pcmC%uD%u%c", i, j, 'p'); in aos_device_name_hint()
25 fd = open(fn, O_RDWR|O_NONBLOCK); in aos_device_name_hint()
43 memset(fn, 0, sizeof(fn)); in aos_device_name_hint()
44 snprintf(fn, sizeof(fn), "/dev/pcmC%uD%u%c", card, j, 'p'); in aos_device_name_hint()
45 fd = open(fn, O_RDWR|O_NONBLOCK); in aos_device_name_hint()
68 char fn[256]; in aos_pcm_open() local
82 memset(fn, 0, sizeof(fn)); in aos_pcm_open()
103 memset(fn, 0, sizeof(fn)); in aos_pcm_open()
[all …]
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/imagerecog/src/
A DImagerecogClient.cc70 auto fn = [this, request, handler, context]() in classifyingRubbishAsync() local
75 asyncExecute(new Runnable(fn)); in classifyingRubbishAsync()
106 auto fn = [this, request, handler, context]() in detectFruitsAsync() local
111 asyncExecute(new Runnable(fn)); in detectFruitsAsync()
147 asyncExecute(new Runnable(fn)); in detectImageElementsAsync()
183 asyncExecute(new Runnable(fn)); in recognizeImageColorAsync()
219 asyncExecute(new Runnable(fn)); in recognizeImageStyleAsync()
255 asyncExecute(new Runnable(fn)); in recognizeLogoAsync()
291 asyncExecute(new Runnable(fn)); in recognizeSceneAsync()
327 asyncExecute(new Runnable(fn)); in recognizeVehicleTypeAsync()
[all …]
/AliOS-Things-master/components/py_engine/engine/lib/libm/
A Def_rem_pio2.c114 float z,w,t,r,fn; local
151 fn = (float)n;
152 r = t-fn*pio2_1;
153 w = fn*pio2_1t; /* 1st round good to 40 bit */
164 w = fn*pio2_2;
166 w = fn*pio2_2t-((t-r)-w);
172 w = fn*pio2_3;
174 w = fn*pio2_3t-((t-r)-w);
/AliOS-Things-master/components/osal_aos/rhino/
A Daos_timer.c19 aos_status_t aos_timer_new(aos_timer_t *timer, void (*fn)(void *, void *), void *arg, in aos_timer_new()
29 …ret = krhino_timer_dyn_create((ktimer_t **)(timer), "AOS", (timer_cb_t)fn, MS2TICK(ms), MS2TICK(ro… in aos_timer_new()
54 aos_status_t aos_timer_new_ext(aos_timer_t *timer, void (*fn)(void *, void *), void *arg, in aos_timer_new_ext()
65 …ret = krhino_timer_dyn_create((ktimer_t **)(timer), "AOS", (timer_cb_t)fn, MS2TICK(ms), MS2TICK(ro… in aos_timer_new_ext()
70 aos_status_t aos_timer_create(aos_timer_t *timer, void (*fn)(void *, void *), void *arg, in aos_timer_create()
81 …ret = krhino_timer_dyn_create((ktimer_t **)(timer), "AOS", (timer_cb_t)fn, MS2TICK(ms), MS2TICK(ro… in aos_timer_create()
/AliOS-Things-master/components/ramfs/internal/
A Dramfs_api.h55 int32_t ramfs_open(void *fp, const char* fn, uint32_t mode);
66 int32_t ramfs_create_const(const char *fn, const void *data, uint32_t len);
84 int32_t ramfs_remove(const char *fn);
196 int32_t ramfs_readdir(void *dp, char *fn);

Completed in 49 milliseconds

12345