/AliOS-Things-master/components/py_engine/tests/float/ |
A D | string_format2.py | 11 def test_fmt(conv, fill, alignment, sign, prefix, width, precision, type, arg): argument 18 fmt += fill 29 if fill == "0" and alignment == "=": 105 for fill in ("", "@", "0", " "): 109 test_fmt("", fill, alignment, sign, "", width, prec, type, num) 145 for fill in ("", " ", "0", "@"): 154 test_fmt("", fill, alignment, sign, "", width, prec, type, num) 156 test_fmt("", fill, alignment, sign, "", width, "", type, num) 165 for fill in ("", " ", "0", "@"): 174 test_fmt("", fill, alignment, sign, "", width, prec, type, num) [all …]
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | string_format2.py | 10 def test_fmt(conv, fill, alignment, sign, prefix, width, precision, type, arg): argument 17 fmt += fill 28 if fill == '0' and alignment == '=': 46 for fill in ('', ' ', '0', '@'): 50 test_fmt('', fill, alignment, sign, prefix, width, '', type, num) 55 for fill in ('', ' ', '0', '@'): 56 test_fmt('', fill, alignment, '', '', width, '', 'c', 48) 62 for fill in ('', ' ', '0', '@'): 64 test_fmt(conv, fill, alignment, '', '', width, '', 's', str)
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | mpprint.c | 69 if (!fill || fill == ' ') { in mp_print_strn() 72 } else if (fill == '0') { in mp_print_strn() 78 pad_chars = &fill; in mp_print_strn() 178 len += mp_print_strn(print, &sign, 1, flags, fill, 1); in mp_print_int() 183 len += mp_print_strn(print, "0", 1, flags, fill, 1); in mp_print_int() 184 len += mp_print_strn(print, &prefix_char, 1, flags, fill, 1); in mp_print_int() 307 fill = '0'; in mp_print_mp_int() 330 len += mp_print_strn(print, str, fmt_size, flags, fill, width); in mp_print_mp_int() 373 chrs += mp_print_strn(print, s, len, flags, fill, width); in mp_print_float() 411 char fill = ' '; in mp_vprintf() local [all …]
|
A D | mpprint.h | 72 int mp_print_strn(const mp_print_t *print, const char *str, size_t len, int flags, char fill, int w… 74 int mp_print_float(const mp_print_t *print, mp_float_t f, char fmt, int flags, char fill, int width…
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | framebuf1.py | 26 fbuf.fill(1) 28 fbuf.fill(0) 46 fbuf.fill(0) 51 fbuf.fill(0) 56 fbuf.fill(0) 61 fbuf.fill(0) 67 fbuf.fill(0) 72 fbuf.fill(0) 77 fbuf.fill(0) 91 fbuf.fill(0)
|
A D | framebuf16.py | 21 fbuf.fill(0xFFFF) 23 fbuf.fill(0x0000) 37 fbuf.fill(0x0000) 52 fbuf2.fill(0x0000) 57 fbuf.fill(0xFFFF)
|
A D | framebuf2.py | 23 fbuf.fill(3) 25 fbuf.fill(0) 39 fbuf.fill(0) 55 fbuf2.fill(0) 60 fbuf.fill(3)
|
A D | framebuf4.py | 21 fbuf.fill(0x0F) 23 fbuf.fill(0xA0)
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/crypto/ |
A D | crypto_adapter.c | 24 uint8_t fill = 16 - (inlen) % 16; in crypto_adapter_encrypt_cbc() local 29 fill_buff = (uint8_t *)aos_malloc(inlen + fill); in crypto_adapter_encrypt_cbc() 34 for (int i = 0; i < fill; i++) { in crypto_adapter_encrypt_cbc() 35 fill_buff[inlen + i] = fill; in crypto_adapter_encrypt_cbc() 38 enc_len = inlen+fill; in crypto_adapter_encrypt_cbc() 68 uint8_t fill; in crypto_adapter_decrypt_cbc() local 92 fill = out[inlen - 1]; in crypto_adapter_decrypt_cbc() 93 *out_len = inlen - fill; in crypto_adapter_decrypt_cbc()
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | md2.c | 174 size_t fill; in mbedtls_md2_update_ret() local 179 fill = 16 - ctx->left; in mbedtls_md2_update_ret() 181 fill = ilen; in mbedtls_md2_update_ret() 183 memcpy( ctx->buffer + ctx->left, input, fill ); in mbedtls_md2_update_ret() 185 ctx->left += fill; in mbedtls_md2_update_ret() 186 input += fill; in mbedtls_md2_update_ret() 187 ilen -= fill; in mbedtls_md2_update_ret()
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/ |
A D | inftrees.c | 50 unsigned fill; /* index for replicating entries */ local 232 fill = 1U << curr; 233 min = fill; /* save offset to next table */ 235 fill -= incr; 236 next[(huff >> drop) + fill] = here; 237 } while (fill != 0);
|
/AliOS-Things-master/components/amp/test/ |
A D | test_sh1106.js | 40 sh1106.fill(1); 44 sh1106.fill(1) 47 sh1106.fill(0)
|
/AliOS-Things-master/components/py_engine/external/unzip/src/ |
A D | inftrees.c | 50 unsigned fill; /* index for replicating entries */ local 234 fill = 1U << curr; 235 min = fill; /* save offset to next table */ 237 fill -= incr; 238 next[(huff >> drop) + fill] = here; 239 } while (fill != 0);
|
/AliOS-Things-master/components/ota/2ndboot/updater/xz/linux/lib/ |
A D | decompress_unxz.c | 252 int (*fill)(void *dest, unsigned int size), in unxz() 269 if (fill == NULL && flush == NULL) in unxz() 299 if (fill == NULL && flush == NULL) { in unxz() 303 if (b.in_pos == b.in_size && fill != NULL) { in unxz() 309 in_size = fill(in, XZ_IOBUF_SIZE); in unxz()
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/infback9/ |
A D | inftree9.c | 50 unsigned fill; /* index for replicating entries */ local 228 fill = 1U << curr; 230 fill -= incr; 231 next[(huff >> drop) + fill] = this; 232 } while (fill != 0);
|
/AliOS-Things-master/solutions/javascript_demo/board/haas600/ |
A D | oled.js | 67 dispaly.fill(1) 70 dispaly.fill(0)
|
/AliOS-Things-master/solutions/javascript_demo/board/haas100/ |
A D | oled.js | 67 dispaly.fill(1) 70 dispaly.fill(0)
|
/AliOS-Things-master/components/mqtt/example/ |
A D | aiot_mqtt_sign.c | 253 size_t fill; in utils_sha256_update() local 261 fill = 64 - left; in utils_sha256_update() 270 if (left && ilen >= fill) { in utils_sha256_update() 271 memcpy((void *)(ctx->buffer + left), input, fill); in utils_sha256_update() 273 input += fill; in utils_sha256_update() 274 ilen -= fill; in utils_sha256_update()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/polarssl/ |
A D | md4.c | 194 int fill; in md4_update() local 201 fill = 64 - left; in md4_update() 209 if( left && ilen >= fill ) in md4_update() 212 input, fill ); in md4_update() 214 input += fill; in md4_update() 215 ilen -= fill; in md4_update()
|
A D | md5.c | 213 int fill; in md5_update() local 220 fill = 64 - left; in md5_update() 228 if( left && ilen >= fill ) in md5_update() 231 input, fill ); in md5_update() 233 input += fill; in md5_update() 234 ilen -= fill; in md5_update()
|
/AliOS-Things-master/components/amp/modules/ |
A D | sh1106.js | 33 this.framebuf = new Array(this.pages * this.width).fill(0) 99 fill(color) { method in SH1106 100 this.framebuf.fill(color == 0 ? 0 : 255) 212 this.fill(1)
|
/AliOS-Things-master/components/linksdk/components/ota/ |
A D | ota_md5.c | 199 uint32_t fill; in utils_md5_update() local 207 fill = 64 - left; in utils_md5_update() 216 if (left && ilen >= fill) { in utils_md5_update() 217 memcpy((void *)(ctx->buffer + left), input, fill); in utils_md5_update() 222 input += fill; in utils_md5_update() 223 ilen -= fill; in utils_md5_update()
|
/AliOS-Things-master/components/linksdk/core/utils/ |
A D | core_sha256.c | 182 size_t fill; in core_sha256_update() local 190 fill = 64 - left; in core_sha256_update() 199 if (left && ilen >= fill) { in core_sha256_update() 200 memcpy((void *)(ctx->buffer + left), input, fill); in core_sha256_update() 202 input += fill; in core_sha256_update() 203 ilen -= fill; in core_sha256_update()
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_md5.c | 209 uint32_t fill; in utils_md5_update() local 217 fill = 64 - left; in utils_md5_update() 226 if (left && ilen >= fill) { in utils_md5_update() 227 memcpy((void *)(ctx->buffer + left), input, fill); in utils_md5_update() 229 input += fill; in utils_md5_update() 230 ilen -= fill; in utils_md5_update()
|
A D | infra_sha256.c | 183 size_t fill; in utils_sha256_update() local 191 fill = 64 - left; in utils_sha256_update() 200 if (left && ilen >= fill) { in utils_sha256_update() 201 memcpy((void *)(ctx->buffer + left), input, fill); in utils_sha256_update() 203 input += fill; in utils_sha256_update() 204 ilen -= fill; in utils_sha256_update()
|