Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/AliOS-Things-master/components/py_engine/tests/extmod/
A Dure1.py11 m = r.match("abc") variable
12 print(m.group(0))
14 m.group(1)
20 str(m)
27 m.group(2)
37 print(m)
39 print(m)
44 print(m)
46 print(m)
87 print(m)
[all …]
A Dure_namedclass.py18 print(m.group(i))
24 m = re.match(r"\w+", "1234hello567 abc") variable
25 print_groups(m)
27 m = re.match(r"(\w+)\s+(\w+)", "ABC \t1234hello567 abc") variable
28 print_groups(m)
30 m = re.match(r"(\S+)\s+(\D+)", "ABC \thello abc567 abc") variable
31 print_groups(m)
33 m = re.match(r"(([0-9]*)([a-z]*)\d*)", "1234hello567") variable
34 print_groups(m)
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/
A Dtest_bignum.js240 assert(1m === 1m);
241 assert(1m !== 2m);
242 test_less(1m, 2m);
243 test_eq(2m, 2m);
262 assert(123m + 1m === 124m);
263 assert(123m - 1m === 122m);
265 assert(3.2m * 3m === 9.6m);
266 assert(10m / 2m === 5m);
269 assert(10m % 3m === 1m);
270 assert(-10m % 3m === -1m);
[all …]
/AliOS-Things-master/components/SDL2/src/render/
A DSDL_d3dmath.c32 Float4X4 m; in MatrixIdentity() local
33 SDL_zero(m); in MatrixIdentity()
38 return m; in MatrixIdentity()
43 Float4X4 m; in MatrixMultiply() local
60 return m; in MatrixMultiply()
65 Float4X4 m; in MatrixScaling() local
71 return m; in MatrixScaling()
85 return m; in MatrixTranslation()
100 return m; in MatrixRotationX()
115 return m; in MatrixRotationY()
[all …]
/AliOS-Things-master/components/py_engine/tests/basics/
A Dmemoryview1.py18 m = memoryview(b) variable
19 print(len(m))
20 print(m[0], m[1], m[-1])
21 print(list(m))
25 m[0] = 1
29 m[0:2] = b'00'
35 m = memoryview(b) variable
36 m[0] = 1
38 print(list(m))
52 print(list(m))
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/kernels/
A Dctc_beam_search_decoder_test.cc99 m.PopulateTensor<float>(m.inputs(), in TEST()
101 m.PopulateTensor<int>(m.sequence_length(), {2}); in TEST()
102 m.Invoke(); in TEST()
126 m.inputs(), in TEST()
133 m.PopulateTensor<int>(m.sequence_length(), {3, 3, 3}); in TEST()
134 m.Invoke(); in TEST()
158 m.inputs(), in TEST()
165 m.PopulateTensor<int>(m.sequence_length(), {3, 3}); in TEST()
166 m.Invoke(); in TEST()
206 m.PopulateTensor<int>(m.sequence_length(), {1, 2, 3}); in TEST()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngdebug.h60 # define png_debug(l,m) _RPT0(_CRT_WARN,m PNG_STRING_NEWLINE) argument
63 # define png_debug1(l,m,p1) _RPT1(_CRT_WARN,m PNG_STRING_NEWLINE,p1) argument
66 # define png_debug2(l,m,p1,p2) \ argument
81 # define png_debug(l,m) \ argument
89 # define png_debug1(l,m,p1) \ argument
106 # define png_debug(l,m) \ argument
112 m,PNG_STRING_NEWLINE); \
117 # define png_debug1(l,m,p1) \ argument
123 m,PNG_STRING_NEWLINE); \
134 m,PNG_STRING_NEWLINE); \
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/priv/
A Dapi_msg.h61 #define API_MSG_M_DEF_SEM(m) *m argument
63 #define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m)
66 #define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m)
185 void lwip_netconn_do_newconn (void *m);
186 void lwip_netconn_do_delconn (void *m);
187 void lwip_netconn_do_bind (void *m);
188 void lwip_netconn_do_connect (void *m);
189 void lwip_netconn_do_disconnect (void *m);
190 void lwip_netconn_do_listen (void *m);
191 void lwip_netconn_do_send (void *m);
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/priv/
A Dapi_msg.h61 #define API_MSG_M_DEF_SEM(m) *m argument
63 #define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m)
66 #define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m)
185 void lwip_netconn_do_newconn (void *m);
186 void lwip_netconn_do_delconn (void *m);
187 void lwip_netconn_do_bind (void *m);
188 void lwip_netconn_do_connect (void *m);
189 void lwip_netconn_do_disconnect (void *m);
190 void lwip_netconn_do_listen (void *m);
191 void lwip_netconn_do_send (void *m);
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/polarssl/
A Darc4.c51 unsigned char *m; in arc4_setup() local
55 m = ctx->m; in arc4_setup()
58 m[i] = (unsigned char) i; in arc4_setup()
66 a = m[i]; in arc4_setup()
68 m[i] = m[j]; in arc4_setup()
69 m[j] = (unsigned char) a; in arc4_setup()
79 unsigned char *m; in arc4_crypt() local
83 m = ctx->m; in arc4_crypt()
87 x = ( x + 1 ) & 0xFF; a = m[x]; in arc4_crypt()
90 m[x] = (unsigned char) b; in arc4_crypt()
[all …]
/AliOS-Things-master/components/libc_stub/compilers/armlibc/sys/
A Dstat.h20 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument
21 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument
22 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument
23 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument
24 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument
25 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument
26 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument
/AliOS-Things-master/components/libc_stub/compilers/iar/sys/
A Dstat.h20 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument
21 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument
22 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument
23 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument
24 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument
25 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument
26 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument
/AliOS-Things-master/components/SDL2/src/stdlib/
A DSDL_malloc.c2720 if (p != m->dv && p != m->top) { in do_check_free_chunk()
2924 do_check_any_chunk(m, m->dv); in do_check_malloc_state()
3394 m->smallbins = m->treebins = 0; in reset_on_error()
3395 m->dvsize = m->topsize = 0; in reset_on_error()
3399 m->top = m->dv = 0; in reset_on_error()
3500 check_top_chunk(m, m->top); in add_segment()
3542 (m->top == 0) ? 0 : segment_holding(m, (char *) m->top); in sys_alloc()
3668 init_top(m, m->top, m->topsize + tsize); in sys_alloc()
3793 init_top(m, m->top, m->topsize - released); in sys_trim()
4598 m->seg.size = m->footprint = m->max_footprint = tsize; in init_user_mstate()
[all …]
/AliOS-Things-master/components/mbedtls/library/
A Darc4.c72 unsigned char *m; in mbedtls_arc4_setup() local
76 m = ctx->m; in mbedtls_arc4_setup()
79 m[i] = (unsigned char) i; in mbedtls_arc4_setup()
87 a = m[i]; in mbedtls_arc4_setup()
89 m[i] = m[j]; in mbedtls_arc4_setup()
90 m[j] = (unsigned char) a; in mbedtls_arc4_setup()
102 unsigned char *m; in mbedtls_arc4_crypt() local
106 m = ctx->m; in mbedtls_arc4_crypt()
110 x = ( x + 1 ) & 0xFF; a = m[x]; in mbedtls_arc4_crypt()
113 m[x] = (unsigned char) b; in mbedtls_arc4_crypt()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/scripts/
A Dlib.mk37 archive-src-y := $(foreach m, $(archive-y), $(if $(wildcard $(addprefix $(srctree)/$(src)/,$($(m:.a…
44 …rc-y) $(archive-custom-valid), $(obj-y)) $(foreach m, $(archive-src-y) $(archive-custom-valid), $(…
51 multi-used-y := $(sort $(foreach m,$(obj-y), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m))))
55 multi-objs-y := $(foreach m, $(multi-used-y), $($(m:.o=-objs)) $($(m:.o=-y)))
62 $(foreach m, $(1), $(if $($(m:.o=$(strip $2))), $(eval $(m:.o=$(strip $2)) := $(patsubst %/, %/buil…
82 …-archive-src-y += $(foreach m, $(mobjs-archive-y), $(if $(wildcard $(addprefix $(srctree)/$(src)/,…
89 mobjs-obj-y := $(foreach m, $(mobjs-archive-src-y), $($(m:.a=-y)))
117 …y := $(foreach m, $(filter-out $(subdir-obj-y), $(obj-y)), $(if $(strip $($(m:.o=-objs)) $($(m:.o=…
189 $(foreach m, $(notdir $1), \
190 $(eval $(obj)/$m: \
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_dirread.c641 if ((m > FLT_MAX) || (m < FLT_MIN)) in TIFFReadDirEntryFloat()
2988 if (m.i[0]==0 || m.i[1]==0) in TIFFReadDirEntryCheckedRational()
2991 *value=(double)m.i[0]/(double)m.i[1]; in TIFFReadDirEntryCheckedRational()
3019 if ((int32)m.i[0]==0 || m.i[1]==0) in TIFFReadDirEntryCheckedSrational()
4320 for (m=dir, n=0; n<dircount; m++, n++) in TIFFReadDirectoryFindEntry()
4775 if ((m<off)||(m<(tmsize_t)sizeof(uint16))||(m>tif->tif_size)) { in TIFFFetchDirectory()
4798 if ((m<off)||(m<(tmsize_t)sizeof(uint64))||(m>tif->tif_size)) { in TIFFFetchDirectory()
4830 if ((m<off)||(m<(tmsize_t)(dircount16*dirsize))||(m>tif->tif_size)) { in TIFFFetchDirectory()
4845 if ((m<off)||(m<(tmsize_t)sizeof(uint32))||(m>tif->tif_size)) in TIFFFetchDirectory()
4857 if ((m<off)||(m<(tmsize_t)sizeof(uint64))||(m>tif->tif_size)) in TIFFFetchDirectory()
[all …]
A Dtif_ojpeg.c625 for (m=0; m<sp->qtable_offset_count; m++) in OJPEGPrintDir()
632 for (m=0; m<sp->dctable_offset_count; m++) in OJPEGPrintDir()
639 for (m=0; m<sp->actable_offset_count; m++) in OJPEGPrintDir()
778 for (m=0; m<sp->lines_per_strile; m++) in OJPEGPreDecodeSkipScanlines()
1765 for (m=0; m<sp->samples_per_pixel; m++) in OJPEGReadHeaderInfoSecTablesQTable()
1800 sp->sof_tq[m]=m; in OJPEGReadHeaderInfoSecTablesQTable()
1826 for (m=0; m<sp->samples_per_pixel; m++) in OJPEGReadHeaderInfoSecTablesDcTable()
1895 for (m=0; m<sp->samples_per_pixel; m++) in OJPEGReadHeaderInfoSecTablesAcTable()
1938 sp->sos_tda[m]=(sp->sos_tda[m]|m); in OJPEGReadHeaderInfoSecTablesAcTable()
2303 for (m=0; m<sp->samples_per_pixel_per_plane; m++) in OJPEGWriteStreamSof()
[all …]
/AliOS-Things-master/components/vfs/
A Dvfs_adapt.c14 kmutex_t *m; in vfs_lock_create() local
16 m = krhino_mm_alloc(sizeof(kmutex_t)); in vfs_lock_create()
17 if (m == NULL) { in vfs_lock_create()
21 ret = krhino_mutex_create(m, "VFS"); in vfs_lock_create()
23 krhino_mm_free(m); in vfs_lock_create()
27 return (void *)m; in vfs_lock_create()
34 kmutex_t *m = (kmutex_t *)lock; in vfs_lock_free() local
36 if (m == NULL) { in vfs_lock_free()
40 ret = krhino_mutex_del(m); in vfs_lock_free()
45 krhino_mm_free(m); in vfs_lock_free()
/AliOS-Things-master/components/osal_aos/rhino/
A Daos_mutex.c22 kmutex_t *m; in aos_mutex_new() local
28 m = aos_malloc(sizeof(kmutex_t)); in aos_mutex_new()
29 if (m == NULL) { in aos_mutex_new()
33 ret = krhino_mutex_create(m, "AOS"); in aos_mutex_new()
36 aos_free(m); in aos_mutex_new()
39 *mutex = m; in aos_mutex_new()
47 kmutex_t *m; in aos_mutex_create() local
54 m = aos_malloc(sizeof(kmutex_t)); in aos_mutex_create()
55 if (m == NULL) { in aos_mutex_create()
62 aos_free(m); in aos_mutex_create()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/examples/
A Dpi_bigdecimal.js9 const CHUD_A = 13591409m;
10 const CHUD_B = 545140134m;
11 const CHUD_C = 640320m;
12 const CHUD_C3 = 10939058860032000m; /* C^3/24 */
20 G = (2m * b1 - 1m) * (6m * b1 - 1m) * (6m * b1 - 5m);
35 G = 0m;
47 G = (CHUD_C / 12m) * BigDecimal.sqrt(CHUD_C,
/AliOS-Things-master/components/amp/jslib/
A Dgen_bytecode.bat1 .\qjsc.exe -c -m -M GPIO -N jslib_gpio -o bytecode\jslib_gpio.c src\gpio.js
2 .\qjsc.exe -c -m -N jslib_events -o bytecode\jslib_events.c src\events.js
3 .\qjsc.exe -c -m -M events -M CRYPTO -N jslib_crypto -o bytecode\jslib_crypto.c src\crypto.js
5 .\qjsc.exe -c -m -M events -M APPOTA -N jslib_appota -o bytecode\jslib_appota.c src\appota.js
8 .\qjsc.exe -c -m -M REPL -M os -M std -N jslib_repl -o bytecode\jslib_repl.c src\repl.js
9 .\qjsc.exe -c -m -M events -M UART -N jslib_uart -o bytecode\jslib_uart.c src\uart.js
10 .\qjsc.exe -c -m -M events -M FS -N jslib_fs -o bytecode\jslib_fs.c src\fs.js
12 .\qjsc.exe -c -m -M kv -N jslib_device -o bytecode\jslib_device.c src\device.js
13 .\qjsc.exe -c -m -M events -M NETMGR -N jslib_netmgr -o bytecode\jslib_netmgr.c src\netmgr.js
15 .\qjsc.exe -c -m -M events -M MQTT -N jslib_mqtt -o bytecode\jslib_mqtt.c src\mqtt.js
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/microfrontend/
A Daudio_microfrontend.cc47 data->sample_rate = m["sample_rate"].AsInt32(); in Init()
50 config.window.size_ms = m["window_size"].AsInt32(); in Init()
51 config.window.step_size_ms = m["window_step"].AsInt32(); in Init()
59 m["min_signal_remaining"].AsFloat(); in Init()
64 config.log_scale.enable_log = m["enable_log"].AsBool(); in Init()
70 data->left_context = m["left_context"].AsInt32(); in Init()
71 data->right_context = m["right_context"].AsInt32(); in Init()
72 data->frame_stride = m["frame_stride"].AsInt32(); in Init()
73 data->zero_padding = m["zero_padding"].AsBool(); in Init()
74 data->out_scale = m["out_scale"].AsInt32(); in Init()
[all …]
/AliOS-Things-master/components/py_engine/engine/lib/libm/
A Datan2f.c31 uint32_t m,ix,iy; in atan2f() local
39 m = ((iy>>31)&1) | ((ix>>30)&2); /* 2*sign(x)+sign(y) */ in atan2f()
45 switch (m) { in atan2f()
54 return m&1 ? -pi/2 : pi/2; in atan2f()
58 switch (m) { in atan2f()
65 switch (m) { in atan2f()
75 return m&1 ? -pi/2 : pi/2; in atan2f()
78 if ((m&2) && iy+(26<<23) < ix) /*|y/x| < 0x1p-26, x < 0 */ in atan2f()
82 switch (m) { in atan2f()
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/
A Datan2.c49 uint32_t m,lx,ly,ix,iy; in atan2() local
57 m = ((iy>>31)&1) | ((ix>>30)&2); /* 2*sign(x)+sign(y) */ in atan2()
63 switch(m) { in atan2()
72 return m&1 ? -pi/2 : pi/2; in atan2()
76 switch(m) { in atan2()
83 switch(m) { in atan2()
93 return m&1 ? -pi/2 : pi/2; in atan2()
96 if ((m&2) && iy+(64<<20) < ix) /* |y/x| < 0x1p-64, x<0 */ in atan2()
100 switch (m) { in atan2()
/AliOS-Things-master/components/freetype/src/tools/docmaker/
A Dcontent.py156 if m and len( m.group( 1 ) ) <= margin:
169 if m:
244 if m:
391 if m:
422 m = n + 1
423 while m < count and not blocks[m].content:
425 m = m + 1
491 if m:
516 if m:
517 processor.headers[m.group( 2 )] = m.group( 1 );
[all …]

Completed in 80 milliseconds

12345678910>>...19