Home
last modified time | relevance | path

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

12345

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/resource/
A Dresource_variable_test.cc42 ResourceVariable var; in TEST() local
50 EXPECT_TRUE(var.IsInitialized()); in TEST()
51 auto* value = var.GetTensor(); in TEST()
68 ResourceVariable var; in TEST() local
77 auto* value = var.GetTensor(); in TEST()
92 ResourceVariable var; in TEST() local
105 auto* value = var.GetTensor(); in TEST()
117 value = var.GetTensor(); in TEST()
132 ResourceVariable var; in TEST() local
146 auto* value = var.GetTensor(); in TEST()
[all …]
/AliOS-Things-master/components/udisplay/src/
A Dudisplay.c49 if ((x1 > ctx->var.xres) || (y1 > ctx->var.yres) || \ in display_draw_rect()
50 ((x1 + w) > ctx->var.xres) || ((y1 + h) > ctx->var.yres)) { in display_draw_rect()
57 if (ctx->var.bits_per_pixel == 32 || ctx->var.bits_per_pixel == 24) { in display_draw_rect()
102 (y + ctx->var.yoffset) * ctx->var.xres; in display_draw_rect()
249 fb_var_screeninfo_t *var = &ctx->var; in udisplay_pan_display() local
254 var->yoffset = (fb_id > 0) ? fb_id * var->yres : 0; in udisplay_pan_display()
362 fb_var_screeninfo_t *var = &ctx->var; in udisplay_pattern_rgb32() local
372 buf = (uint8_t *)aos_malloc(var->xres * var->yres * \ in udisplay_pattern_rgb32()
407 fb_var_screeninfo_t *var = &ctx->var; in udisplay_pattern_rgb16() local
417 buf = (uint8_t *)aos_malloc(var->xres * var->yres * in udisplay_pattern_rgb16()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/
A Ddwc_list.h212 (var) = DWC_LIST_NEXT(var))
215 for((var) = DWC_LIST_FIRST(list), (var2) = DWC_LIST_NEXT(var); \
222 (var) = DWC_LIST_PREV(var))
251 (var) = SLIST_NEXT(var, field))
324 (var) = SIMPLEQ_NEXT(var, field))
392 (var) = TAILQ_NEXT(var, field))
397 (var) = TAILQ_PREV(var, headname, field))
494 (var) = DWC_CIRCLEQ_NEXT(var, field))
497 for((var) = DWC_CIRCLEQ_FIRST(head), var2 = DWC_CIRCLEQ_NEXT(var, field); \
499 (var) = var2, var2 = DWC_CIRCLEQ_NEXT(var, field))
[all …]
/AliOS-Things-master/components/drivers/external_device/ili9341/src/
A Dili9341_fb.c155 memset(&info->var, 0, sizeof(fb_var_screeninfo_t)); in ili9341_fb_init()
156 info->var.xres = _lcd.width; in ili9341_fb_init()
157 info->var.yres = _lcd.height; in ili9341_fb_init()
158 info->var.xres_virtual = _lcd.width; in ili9341_fb_init()
159 info->var.yres_virtual = _lcd.height; in ili9341_fb_init()
160 info->var.width = _lcd.width; in ili9341_fb_init()
161 info->var.height = _lcd.height; in ili9341_fb_init()
164 info->var.bits_per_pixel = 4 * 8; in ili9341_fb_init()
167 info->var.bits_per_pixel = 2 * 8; in ili9341_fb_init()
169 info->screen_size = info->var.xres * info->var.yres * info->var.bits_per_pixel / 8; in ili9341_fb_init()
[all …]
/AliOS-Things-master/components/SDL2/src/video/emscripten/
A DSDL_emscriptenmouse.c81 var w = $0; in Emscripten_CreateCursor()
82 var h = $1; in Emscripten_CreateCursor()
83 var hot_x = $2; in Emscripten_CreateCursor()
84 var hot_y = $3; in Emscripten_CreateCursor()
85 var pixels = $4; in Emscripten_CreateCursor()
91 var ctx = canvas.getContext("2d"); in Emscripten_CreateCursor()
94 var data = image.data; in Emscripten_CreateCursor()
95 var src = pixels >> 2; in Emscripten_CreateCursor()
96 var dst = 0; in Emscripten_CreateCursor()
97 var num; in Emscripten_CreateCursor()
[all …]
A DSDL_emscriptenframebuffer.c73 var w = $0; in Emscripten_UpdateWindowFramebuffer()
74 var h = $1; in Emscripten_UpdateWindowFramebuffer()
75 var pixels = $2; in Emscripten_UpdateWindowFramebuffer()
78 var SDL2 = Module['SDL2']; in Emscripten_UpdateWindowFramebuffer()
89 var data = SDL2.image.data; in Emscripten_UpdateWindowFramebuffer()
90 var src = pixels >> 2; in Emscripten_UpdateWindowFramebuffer()
91 var dst = 0; in Emscripten_UpdateWindowFramebuffer()
92 var num; in Emscripten_UpdateWindowFramebuffer()
124 var data8 = SDL2.data8; in Emscripten_UpdateWindowFramebuffer()
125 var i = 3; in Emscripten_UpdateWindowFramebuffer()
[all …]
/AliOS-Things-master/components/SDL2/src/locale/emscripten/
A DSDL_syslocale.c31 var buf = $0; in SDL_SYS_GetPreferredLocales()
32 var buflen = $1; in SDL_SYS_GetPreferredLocales()
33 var list = undefined; in SDL_SYS_GetPreferredLocales()
38var oneOfThese = navigator.userLanguage || navigator.language || navigator.browserLanguage || navi… in SDL_SYS_GetPreferredLocales()
48 var str = ""; /* Can't do list.join() because we need to fit in buflen. */ in SDL_SYS_GetPreferredLocales()
49 for (var i = 0; i < list.length; i++) { in SDL_SYS_GetPreferredLocales()
50 var item = list[i]; in SDL_SYS_GetPreferredLocales()
65 for (var i = 0; i < buflen; i++) { in SDL_SYS_GetPreferredLocales()
/AliOS-Things-master/components/freetype/include/internal/
A Dftstream.h306 #define FT_READ_BYTE( var ) FT_READ_MACRO( FT_Stream_ReadChar, FT_Byte, var ) argument
307 #define FT_READ_CHAR( var ) FT_READ_MACRO( FT_Stream_ReadChar, FT_Char, var ) argument
308 #define FT_READ_SHORT( var ) FT_READ_MACRO( FT_Stream_ReadUShort, FT_Short, var ) argument
309 #define FT_READ_USHORT( var ) FT_READ_MACRO( FT_Stream_ReadUShort, FT_UShort, var ) argument
310 #define FT_READ_OFF3( var ) FT_READ_MACRO( FT_Stream_ReadUOffset, FT_Long, var ) argument
311 #define FT_READ_UOFF3( var ) FT_READ_MACRO( FT_Stream_ReadUOffset, FT_ULong, var ) argument
312 #define FT_READ_LONG( var ) FT_READ_MACRO( FT_Stream_ReadULong, FT_Long, var ) argument
313 #define FT_READ_ULONG( var ) FT_READ_MACRO( FT_Stream_ReadULong, FT_ULong, var ) argument
315 #define FT_READ_SHORT_LE( var ) FT_READ_MACRO( FT_Stream_ReadUShortLE, FT_Short, var ) argument
317 #define FT_READ_LONG_LE( var ) FT_READ_MACRO( FT_Stream_ReadULongLE, FT_Long, var ) argument
[all …]
/AliOS-Things-master/components/SDL2/src/audio/emscripten/
A DSDL_emscriptenaudio.c37 var SDL2 = Module['SDL2']; in FeedAudioDevice()
39 for (var c = 0; c < numChannels; ++c) { in FeedAudioDevice()
45 for (var j = 0; j < $1; ++j) { in FeedAudioDevice()
103 var SDL2 = Module['SDL2']; in HandleCaptureProcess()
112 for (var j = 0; j < $1; ++j) { in HandleCaptureProcess()
116 for (var j = 0; j < $1; ++j) { in HandleCaptureProcess()
149 var SDL2 = Module['SDL2']; in EMSCRIPTENAUDIO_CloseDevice()
206 var SDL2 = Module['SDL2']; in EMSCRIPTENAUDIO_OpenDevice()
256 var SDL2 = Module['SDL2']; in EMSCRIPTENAUDIO_OpenDevice()
280 var SDL2 = Module['SDL2']; in EMSCRIPTENAUDIO_OpenDevice()
[all …]
/AliOS-Things-master/components/drivers/core/fbdev/src/
A Dfb.c155 memcpy(&info->var, var, sizeof(fb_var_screeninfo_t)); in fb_set_var()
166 uint32_t yres = info->var.yres; in fb_pan_display()
169 if (!var) in fb_pan_display()
172 if (var->xoffset > 0 && (!fix->xpanstep || in fb_pan_display()
173 (var->xoffset % fix->xpanstep))) in fb_pan_display()
177 var->yoffset > info->var.yres_virtual - yres || in fb_pan_display()
178 var->xoffset > info->var.xres_virtual - info->var.xres) in fb_pan_display()
181 err = info->fbops->fb_pan_display(var, info); in fb_pan_display()
184 info->var.xoffset = var->xoffset; in fb_pan_display()
185 info->var.yoffset = var->yoffset; in fb_pan_display()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dtest262_errors.txt7 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 …]
/AliOS-Things-master/components/littlevgl/src/lv_misc/
A Dlv_anim.h70 void * var; /**<Variable to animate*/ member
120 static inline void lv_anim_set_exec_cb(lv_anim_t * a, void * var, lv_anim_exec_xcb_t exec_cb) in lv_anim_set_exec_cb() argument
122 a->var = var; in lv_anim_set_exec_cb()
160 a->var = a; in lv_anim_set_custom_exec_cb()
238 bool lv_anim_del(void * var, lv_anim_exec_xcb_t exec_cb);
253 return lv_anim_del(a->var, (lv_anim_exec_xcb_t)exec_cb); in lv_anim_custom_del()
A Dlv_anim.c88 …if(a->exec_cb != NULL) lv_anim_del(a->var, a->exec_cb); /*fp == NULL would delete all animations o… in lv_anim_create()
100 if(new_anim->exec_cb) new_anim->exec_cb(new_anim->var, new_anim->start); in lv_anim_create()
116 bool lv_anim_del(void * var, lv_anim_exec_xcb_t exec_cb) in lv_anim_del() argument
126 if(a->var == var && (a->exec_cb == exec_cb || exec_cb == NULL)) { in lv_anim_del()
408 if(a->exec_cb) a->exec_cb(a->var, new_value); in anim_task()
/AliOS-Things-master/components/py_engine/tests/import/
A Dimport2a.py1 from import1b import var
3 print(var)
5 from import1b import var as var2
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/
A Dsys.h454 #define SYS_ARCH_INC(var, val) do { \ argument
457 var += val; \
463 #define SYS_ARCH_DEC(var, val) do { \ argument
466 var -= val; \
472 #define SYS_ARCH_GET(var, ret) do { \ argument
475 ret = var; \
481 #define SYS_ARCH_SET(var, val) do { \ argument
484 var = val; \
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/
A Dsys.h462 #define SYS_ARCH_INC(var, val) do { \ argument
465 var += val; \
471 #define SYS_ARCH_DEC(var, val) do { \ argument
474 var -= val; \
480 #define SYS_ARCH_GET(var, ret) do { \ argument
483 ret = var; \
489 #define SYS_ARCH_SET(var, val) do { \ argument
492 var = val; \
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/
A Dsnmp_mib2_system.c232 const u8_t* var = NULL; in system_get_value() local
238 var = sysdescr; in system_get_value()
251 var = syscontact; in system_get_value()
255 var = sysname; in system_get_value()
259 var = syslocation; in system_get_value()
273 result = (s16_t)strlen((const char*)var); in system_get_value()
277 MEMCPY(value, var, result); in system_get_value()
/AliOS-Things-master/components/SDL2/src/dynapi/
A Dgendynapi.pl102 my $var = $6;
105 $var =~ s/\A\s+//;
106 $var =~ s/\s+\Z//;
/AliOS-Things-master/components/py_engine/tests/stress/
A Dqstr_limit.py12 var = make_id(l) variable
14 exec(var + "=1", g)
18 print(var in g)
/AliOS-Things-master/components/oss/src/model/
A DObjectCallbackBuilder.cc85 for (auto const& var : callbackVariable_) { in build() local
89 ss << "\"" << var.first << "\":\"" << var.second << "\""; in build()
/AliOS-Things-master/components/udisplay/example/
A Dudisplay_example.c105 ctx->var.xres, ctx->var.yres, \ in udisplay_comp_example()
106 ctx->var.bits_per_pixel, \ in udisplay_comp_example()
107 dump_rotate_str(ctx->var.rotate)); in udisplay_comp_example()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/StatisticsFunctions/
A Darm_std_f32.c79 float32_t var; /* Temporary varaince storage */ in arm_std_f32() local
176 var = ((sumOfSquares - squareOfSum) / (float32_t) (blockSize - 1.0f)); in arm_std_f32()
179 arm_sqrt_f32(var, pResult); in arm_std_f32()
/AliOS-Things-master/components/py_engine/tests/basics/
A Dbuiltin_setattr.py3 var = 132 variable in A
12 print(a.var)
/AliOS-Things-master/components/mbedtls/library/
A Decdh.c174 ctx->var = MBEDTLS_ECDH_VARIANT_NONE; in mbedtls_ecdh_init()
210 ctx->var = MBEDTLS_ECDH_VARIANT_MBEDTLS_2_0; in mbedtls_ecdh_setup()
257 switch( ctx->var ) in mbedtls_ecdh_free()
267 ctx->var = MBEDTLS_ECDH_VARIANT_NONE; in mbedtls_ecdh_free()
351 switch( ctx->var ) in mbedtls_ecdh_make_params()
400 switch( ctx->var ) in mbedtls_ecdh_read_params()
451 switch( ctx->var ) in mbedtls_ecdh_get_params()
522 switch( ctx->var ) in mbedtls_ecdh_make_public()
563 switch( ctx->var ) in mbedtls_ecdh_read_public()
641 switch( ctx->var ) in mbedtls_ecdh_calc_secret()
/AliOS-Things-master/components/csi/csi2/include/drv/
A Dsdif.h55 #define SDK_SIZEALIGN(var, alignbytes) \ argument
56 ((unsigned int)((var) + ((alignbytes)-1)) & (unsigned int)(~(unsigned int)((alignbytes)-1)))
68 #define SDK_ALIGN(var, alignbytes) var argument

Completed in 40 milliseconds

12345