/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | list_slice_assign.py | 5 l = list(x) variable 7 print(l) 10 print(l) 13 print(l) 16 print(l) 20 print(l) 23 print(l) 26 print(l) 30 print(l) 33 print(l) [all …]
|
A D | list_sort.py | 3 print(l) 5 l.sort() 6 print(l) 7 print(l == sorted(l)) 11 print(l) 12 print(l == sorted(l, key=lambda x: -x)) 16 print(l) 22 print(l == sorted(l, reverse=True)) 27 print(l == sorted(l, reverse=False)) 32 print(l[0], l[-1]) [all …]
|
A D | list_slice_assign_grow.py | 3 l = list(x) variable 4 l[0:0] = [10] 5 print(l) 6 l = list(x) variable 8 print(l) 9 l = list(x) variable 11 print(l) 15 print(l) 19 print(l) 24 print(l) [all …]
|
A D | list_extend.py | 3 l = [1, 2] variable 5 print(l) 8 print(l) 11 print(l) 14 print(l) 17 print(l) 20 l += [] 21 print(l) 23 l += [3] 24 print(l) [all …]
|
A D | bytearray_slice_assign.py | 11 l = bytearray(x) variable 13 print(l) 16 print(l) 19 print(l) 22 print(l) 26 print(l) 29 print(l) 32 print(l) 36 print(l) 39 print(l) [all …]
|
A D | builtin_divmod_intbig.py | 9 l = (1 << 65) + 123 variable 10 print(divmod(3, l)) 11 print(divmod(l, 5)) 12 print(divmod(l + 3, l)) 13 print(divmod(l * 20, l + 2))
|
A D | del_subscr.py | 1 l = [1, 2, 3] variable 2 print(l) 3 del l[0] 4 print(l) 5 del l[-1] 6 print(l)
|
A D | subclass_native_specmeth.py | 6 l = mylist([1, 2, 3]) variable 7 print(l) 8 print([e for e in l]) 16 l = mylist2([1, 2, 3]) variable 17 print(l) 18 print([e for e in l])
|
A D | dict_fromkeys.py | 2 l = list(d.keys()) variable 3 l.sort() 4 print(l) 7 l = list(d.values()) variable 8 l.sort() 9 print(l)
|
/AliOS-Things-master/components/py_engine/tests/stress/ |
A D | qstr_limit.py | 10 for l in range(254, 259): 12 var = make_id(l) 25 for l in range(254, 259): 32 for l in range(254, 259): 33 id = make_id(l) 45 id = make_id(l) 58 id = make_id(l) 66 id = make_id(l) 78 print("ok", l) 85 exec("import " + make_id(l) + "." + make_id(l, "A")) [all …]
|
A D | list_sort.py | 2 l = list(range(2000)) variable 3 l.sort() 4 print(l[0], l[-1]) 5 l.sort(reverse=True) 6 print(l[0], l[-1])
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/ |
A D | test_bignum.js | 159 test_less(2l, 3l); 160 test_eq(3l, 3l); 183 assert(!BigFloat.isFinite(1l/0l)); 185 assert(BigFloat.abs(-3l) === 3l); 186 assert(BigFloat.sign(-3l) === -1l); 190 assert(BigFloat.pow(2.1l, 1.6l) === 3.277561666451861947162828744873745l); 201 assert(BigFloat.floor(2.5l) === 2l); 202 assert(BigFloat.ceil(2.5l) === 3l); 204 assert(BigFloat.round(2.5l) === 3l); 206 assert(BigFloat.fmod(3l,2l) === 1l); [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/TransformFunctions/ |
A D | arm_cfft_radix2_q31.c | 116 l = i + n2; in arm_radix2_butterfly_q31() 129 pSrc[2u * l] = p0; in arm_radix2_butterfly_q31() 155 l = i + n2; in arm_radix2_butterfly_q31() 189 l = i + n2; in arm_radix2_butterfly_q31() 196 pSrc[2u * l] = xt; in arm_radix2_butterfly_q31() 201 l = i + n2; in arm_radix2_butterfly_q31() 225 unsigned i, j, k, l; in arm_radix2_butterfly_inverse_q31() local 244 l = i + n2; in arm_radix2_butterfly_inverse_q31() 280 l = i + n2; in arm_radix2_butterfly_inverse_q31() 312 l = i + n2; in arm_radix2_butterfly_inverse_q31() [all …]
|
A D | arm_cfft_radix2_f32.c | 122 uint32_t i, j, k, l; in arm_radix2_butterfly_f32() local 146 l = i + n2; in arm_radix2_butterfly_f32() 190 l = i + n2; in arm_radix2_butterfly_f32() 253 l = i + n2; in arm_radix2_butterfly_f32() 291 uint32_t i, j, k, l; in arm_radix2_butterfly_inverse_f32() local 309 l = i + n2; in arm_radix2_butterfly_inverse_f32() 349 l = i + n2; in arm_radix2_butterfly_inverse_f32() 418 l = i + n2; in arm_radix2_butterfly_inverse_f32() 450 l = i + n2; in arm_radix2_butterfly_inverse_f32() 464 pSrc[2u * l] = p2; in arm_radix2_butterfly_inverse_f32() [all …]
|
A D | arm_cfft_radix2_q15.c | 118 l = i + n2; in arm_radix2_butterfly_q15() 153 l++; in arm_radix2_butterfly_q15() 273 l = i + n2; in arm_radix2_butterfly_q15() 286 l = i + n2; in arm_radix2_butterfly_q15() 325 l = i + n2; in arm_radix2_butterfly_q15() 397 l = i + n2; in arm_radix2_butterfly_q15() 447 l = i + n2; in arm_radix2_butterfly_inverse_q15() 481 l++; in arm_radix2_butterfly_inverse_q15() 602 l = i + n2; in arm_radix2_butterfly_inverse_q15() 644 l = i + n2; in arm_radix2_butterfly_inverse_q15() [all …]
|
A D | arm_cfft_q31.c | 139 uint32_t i, l; in arm_cfft_radix4by2_q31() local 152 l = i + n2; in arm_cfft_radix4by2_q31() 153 xt = (pSrc[2 * i] >> 2) - (pSrc[2 * l] >> 2); in arm_cfft_radix4by2_q31() 156 yt = (pSrc[2 * i + 1] >> 2) - (pSrc[2 * l + 1] >> 2); in arm_cfft_radix4by2_q31() 164 pSrc[2u * l] = p0 << 1; in arm_cfft_radix4by2_q31() 165 pSrc[2u * l + 1u] = p1 << 1; in arm_cfft_radix4by2_q31() 199 uint32_t i, l; in arm_cfft_radix4by2_inverse_q31() local 212 l = i + n2; in arm_cfft_radix4by2_inverse_q31() 213 xt = (pSrc[2 * i] >> 2) - (pSrc[2 * l] >> 2); in arm_cfft_radix4by2_inverse_q31() 224 pSrc[2u * l] = p0 << 1; in arm_cfft_radix4by2_inverse_q31() [all …]
|
/AliOS-Things-master/components/py_engine/tests/pyb/ |
A D | led.py | 19 for l in leds: 20 l.on() 21 assert l.intensity() == 255 23 l.off() 24 assert l.intensity() == 0 28 for l in 2 * leds: 29 l.toggle() 34 for l in pwm_leds: 36 l.intensity(i) 37 assert l.intensity() == i [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/ |
A D | pngdebug.h | 66 # define png_debug2(l,m,p1,p2) \ argument 81 # define png_debug(l,m) \ argument 83 int num_tabs=l; \ 89 # define png_debug1(l,m,p1) \ argument 91 int num_tabs=l; \ 99 int num_tabs=l; \ 106 # define png_debug(l,m) \ argument 108 int num_tabs=l; \ 119 int num_tabs=l; \ 130 int num_tabs=l; \ [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/MatrixFunctions/ |
A D | arm_mat_inverse_f32.c | 182 l = 0u; 240 j = numCols - l; 301 j = (numCols - l); 345 if (i == l) 364 j = (numCols - l); 395 pInT1 = pInT1 + l; 411 l++; 508 l = 0u; 618 if (i == l) 655 pInT1 = pInT1 + l; [all …]
|
A D | arm_mat_inverse_f64.c | 182 l = 0u; 240 j = numCols - l; 301 j = (numCols - l); 345 if (i == l) 364 j = (numCols - l); 395 pInT1 = pInT1 + l; 411 l++; 508 l = 0u; 618 if (i == l) 655 pInT1 = pInT1 + l; [all …]
|
/AliOS-Things-master/components/py_engine/tests/jni/ |
A D | list.py | 9 l = ArrayList() variable 10 print(l) 11 l.add("one") 12 l.add("two") 14 print(l.toString()) 15 print(l) 16 print(l[0], l[1])
|
/AliOS-Things-master/components/py_engine/engine/extmod/webrepl/ |
A D | webrepl_setup.py | 45 for l in f: 46 if "webrepl" in l: 47 if l.startswith("#"): 57 for l in old_f: 59 if patt in l: 61 if action and l.startswith("#"): 62 l = l[1:] 63 elif not action and not l.startswith("#"): 64 l = "#" + l 65 new_f.write(l)
|
/AliOS-Things-master/components/py_engine/tests/micropython/ |
A D | heapalloc_traceback.py | 37 for l in buf.getvalue().split("\n"): 39 if l.startswith(" File "): 40 l = l.split('"') variable 41 print(l[0], l[2]) 43 print(l)
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_xcf.c | 374 SDL_free (l); in free_xcf_layer() 378 xcf_layer * l; in read_xcf_layer() local 388 printf ("layer (%d,%d) type=%d '%s'\n", l->width, l->height, l->layer_type, l->name); in read_xcf_layer() 409 return l; in read_xcf_layer() 427 printf ("channel (%u,%u) '%s'\n", l->width, l->height, l->name); in read_xcf_channel() 458 return l; in read_xcf_channel() 487 SDL_free (l); in free_xcf_level() 491 xcf_level * l; in read_xcf_level() local 505 return l; in read_xcf_level() 603 Uint8 l; in rgb2grey() local [all …]
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | utimeq1.py | 79 l = [] 84 l.append(tuple(item)) 85 dprint(l) 86 return l 104 l = pop_all(h) variable 105 for i in range(len(l) - 1): 106 diff = ticks_diff(l[i + 1][0], l[i][0]) 115 l = pop_all(h) 116 diff = ticks_diff(l[1][0], l[0][0])
|