/AliOS-Things-master/components/py_engine/adapter/haas600/genhdr/ |
A D | qstrdefs.generated.h | 3 QDEF(MP_QSTRnull, (const byte*)"\x00\x00" "") 4 QDEF(MP_QSTR_NULL, (const byte*)"\x00\x00" "") 5 QDEF(MP_QSTR_, (const byte*)"\x05\x00" "") 6 QDEF(MP_QSTR___abs__, (const byte*)"\x95\x07" "__abs__") 7 QDEF(MP_QSTR___add__, (const byte*)"\xc4\x07" "__add__") 63 QDEF(MP_QSTR__, (const byte*)"\xfa\x01" "_") 107 QDEF(MP_QSTR_IN, (const byte*)"\x22\x02" "IN") 221 QDEF(MP_QSTR_e, (const byte*)"\xc0\x01" "e") 252 QDEF(MP_QSTR_gc, (const byte*)"\x61\x02" "gc") 272 QDEF(MP_QSTR_id, (const byte*)"\x28\x02" "id") [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas510/genhdr/ |
A D | qstrdefs.generated.h | 3 QDEF(MP_QSTRnull, (const byte*)"\x00\x00" "") 4 QDEF(MP_QSTR_NULL, (const byte*)"\x00\x00" "") 5 QDEF(MP_QSTR_, (const byte*)"\x05\x00" "") 6 QDEF(MP_QSTR___abs__, (const byte*)"\x95\x07" "__abs__") 7 QDEF(MP_QSTR___add__, (const byte*)"\xc4\x07" "__add__") 63 QDEF(MP_QSTR__, (const byte*)"\xfa\x01" "_") 107 QDEF(MP_QSTR_IN, (const byte*)"\x22\x02" "IN") 221 QDEF(MP_QSTR_e, (const byte*)"\xc0\x01" "e") 252 QDEF(MP_QSTR_gc, (const byte*)"\x61\x02" "gc") 272 QDEF(MP_QSTR_id, (const byte*)"\x28\x02" "id") [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas/genhdr/ |
A D | qstrdefs.generated.h | 3 QDEF(MP_QSTRnull, (const byte *)"\x00\x00" "") 4 QDEF(MP_QSTR_NULL, (const byte *)"\x00\x00" "") 5 QDEF(MP_QSTR_, (const byte *)"\x05\x00" "") 6 QDEF(MP_QSTR___abs__, (const byte *)"\x95\x07" "__abs__") 63 QDEF(MP_QSTR__, (const byte *)"\xfa\x01" "_") 107 QDEF(MP_QSTR_IN, (const byte *)"\x22\x02" "IN") 221 QDEF(MP_QSTR_e, (const byte *)"\xc0\x01" "e") 1350 QDEF(MP_QSTR_s, (const byte*)"\xd6\x01" "s") 1351 QDEF(MP_QSTR_x, (const byte*)"\xdd\x01" "x") 1352 QDEF(MP_QSTR_y, (const byte*)"\xdc\x01" "y") [all …]
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_blit_0.c | 60 byte <<= 1; in BlitBto1() 77 byte <<= 1; in BlitBto1() 105 Uint8 byte = 0, bit; in BlitBto2() local 114 byte <<= 1; in BlitBto2() 153 byte <<= 1; in BlitBto3() 190 byte <<= 1; in BlitBto4() 278 byte <<= 1; in BlitBto2Key() 312 byte <<= 1; in BlitBto3Key() 347 byte <<= 1; in BlitBto4Key() 392 byte <<= 1; in BlitBtoNAlpha() [all …]
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | qstr.c | 133 STATIC const byte *find_qstr(qstr q) { in find_qstr() 144 STATIC qstr qstr_add(const byte *q_ptr) { in qstr_add() 260 const byte *qd = find_qstr(q); in qstr_hash() 265 const byte *qd = find_qstr(q); in qstr_len() 270 const byte *qd = find_qstr(q); in qstr_str() 274 const byte *qstr_data(qstr q, size_t *len) { in qstr_data() 275 const byte *qd = find_qstr(q); in qstr_data() 338 STATIC const byte *find_uncompressed_string(uint8_t n) { in find_uncompressed_string() 339 const byte *c = (byte *)compressed_string_data; in find_uncompressed_string() 354 const byte *src = (byte *)src_chr + 1; in mp_decompress_rom_string() [all …]
|
A D | objstr.h | 36 const byte *data; 39 …_OBJ(obj_name, str) mp_obj_str_t obj_name = {{&mp_type_str}, 0, sizeof(str) - 1, (const byte *)str} 54 const byte *mp_obj_str_get_data_no_check(mp_obj_t self_in, size_t *len); 56 size_t str_len; const byte *str_data = mp_obj_str_get_data_no_check(str_obj_in, &str_len); 59 const byte *str_data; size_t str_len; if (mp_obj_is_qstr(str_obj_in)) \ 65 void mp_str_print_json(const mp_print_t *print, const byte *str_data, size_t str_len); 68 mp_obj_t mp_obj_new_str_copy(const mp_obj_type_t *type, const byte *data, size_t len); 69 mp_obj_t mp_obj_new_str_of_type(const mp_obj_type_t *type, const byte *data, size_t len); 74 const byte *str_index_to_ptr(const mp_obj_type_t *type, const byte *self_data, size_t self_len, 76 const byte *find_subbytes(const byte *haystack, size_t hlen, const byte *needle, size_t nlen, int d…
|
A D | persistentcode.c | 129 STATIC byte *extract_prelude(const byte **ip, bytecode_prelude_t *prelude) { in extract_prelude() 138 byte *ip_info = (byte *)*ip; in extract_prelude() 316 byte *ip_read = *ip; in load_prelude() 377 byte *ip = fun_data; in load_raw_code() 550 byte header[4]; in mp_raw_code_load() 600 byte buf[BYTES_FOR_INT]; in mp_print_uint() 631 byte obj_type; in save_obj() 648 byte obj_type; in save_obj() 709 const byte *ip_top = (const byte *)rc->fun_data + rc->fun_data_len; in save_raw_code() 730 const byte *ip = (const byte *)rc->fun_data + rc->prelude_offset; in save_raw_code() [all …]
|
A D | bc.h | 187 const byte *line_info; 188 const byte *opcodes; 193 const byte *handler; 207 const byte *ip; 225 mp_uint_t mp_decode_uint(const byte **ptr); 226 mp_uint_t mp_decode_uint_value(const byte *ptr); 227 const byte *mp_decode_uint_skip(const byte *ptr); 233 void mp_bytecode_print2(const mp_print_t *print, const byte *code, size_t len, const mp_uint_t *con… 234 const byte *mp_bytecode_print_str(const mp_print_t *print, const byte *ip); 245 uint mp_opcode_format(const byte *ip, size_t *opcode_size, bool count_var_uint); [all …]
|
A D | binary.h | 41 mp_obj_t mp_binary_get_val(char struct_type, char val_type, byte *p_base, byte **ptr); 42 void mp_binary_set_val(char struct_type, char val_type, mp_obj_t val_in, byte *p_base, byte **ptr); 43 long long mp_binary_get_int(size_t size, bool is_signed, bool big_endian, const byte *src); 44 void mp_binary_set_int(size_t val_sz, bool big_endian, byte *dest, mp_uint_t val);
|
A D | vstr.c | 142 void vstr_add_byte(vstr_t *vstr, byte b) { in vstr_add_byte() 143 byte *buf = (byte *)vstr_add_len(vstr, 1); in vstr_add_byte() 152 byte *buf = (byte *)vstr_add_len(vstr, 1); in vstr_add_char() 153 *buf = (byte)c; in vstr_add_char() 155 byte *buf = (byte *)vstr_add_len(vstr, 2); in vstr_add_char() 159 byte *buf = (byte *)vstr_add_len(vstr, 3); in vstr_add_char() 165 byte *buf = (byte *)vstr_add_len(vstr, 4); in vstr_add_char() 202 void vstr_ins_byte(vstr_t *vstr, size_t byte_pos, byte b) { in vstr_ins_byte()
|
A D | unicode.c | 72 unichar utf8_get_char(const byte *s) { in utf8_get_char() 87 const byte *utf8_next_char(const byte *s) { in utf8_next_char() 95 mp_uint_t utf8_ptr_to_index(const byte *s, const byte *ptr) { in utf8_ptr_to_index() 106 size_t utf8_charlen(const byte *str, size_t len) { in utf8_charlen() 108 for (const byte *top = str + len; str < top; ++str) { in utf8_charlen() 183 bool utf8_check(const byte *p, size_t len) { in utf8_check() 185 const byte *end = p + len; in utf8_check() 187 byte c = *p; in utf8_check()
|
A D | qstr.h | 55 const byte *qstrs[]; 62 mp_uint_t qstr_compute_hash(const byte *data, size_t len); 71 const byte *qstr_data(qstr q, size_t *len); 77 void mp_decompress_rom_string(byte *dst, mp_rom_error_text_t src); 78 #define MP_IS_COMPRESSED_ROM_STRING(s) (*(byte *)(s) == 0xff)
|
A D | binary.c | 196 long long mp_binary_get_int(size_t size, bool is_signed, bool big_endian, const byte *src) { in mp_binary_get_int() 219 mp_obj_t mp_binary_get_val(char struct_type, char val_type, byte *p_base, byte **ptr) { in mp_binary_get_val() 220 byte *p = *ptr; in mp_binary_get_val() 269 void mp_binary_set_int(size_t val_sz, bool big_endian, byte *dest, mp_uint_t val) { in mp_binary_set_int() 274 memcpy(dest, (byte *)&val + sizeof(mp_uint_t) - val_sz, val_sz); in mp_binary_set_int() 276 const byte *src; in mp_binary_set_int() 278 src = (const byte *)&val + val_sz; in mp_binary_set_int() 280 src = (const byte *)&val + sizeof(mp_uint_t); in mp_binary_set_int() 288 void mp_binary_set_val(char struct_type, char val_type, mp_obj_t val_in, byte *p_base, byte **ptr) { in mp_binary_set_val() 289 byte *p = *ptr; in mp_binary_set_val()
|
/AliOS-Things-master/components/linkkit/mqtt/impl/ |
A D | MQTTSerializePublish.c | 73 MQTT_HEADER_SET_TYPE(header.byte, PUBLISH); in MQTTSerialize_publish() 74 MQTT_HEADER_SET_DUP(header.byte, dup); in MQTTSerialize_publish() 75 MQTT_HEADER_SET_QOS(header.byte, qos); in MQTTSerialize_publish() 76 MQTT_HEADER_SET_RETAIN(header.byte, retained); in MQTTSerialize_publish() 77 writeChar(&ptr, header.byte); /* write header */ in MQTTSerialize_publish() 117 MQTT_HEADER_SET_TYPE(header.byte, packettype); in MQTTSerialize_ack() 118 MQTT_HEADER_SET_DUP(header.byte, dup); in MQTTSerialize_ack() 119 MQTT_HEADER_SET_QOS(header.byte, ((packettype == PUBREL) ? 1 : 0)); in MQTTSerialize_ack() 120 writeChar(&ptr, header.byte); /* write header */ in MQTTSerialize_ack()
|
A D | MQTTDeserializePublish.c | 48 header.byte = readChar(&curdata); in MQTTDeserialize_publish() 49 if (MQTT_HEADER_GET_TYPE(header.byte) != PUBLISH) { in MQTTDeserialize_publish() 52 *dup = MQTT_HEADER_GET_DUP(header.byte); in MQTTDeserialize_publish() 53 *qos = MQTT_HEADER_GET_QOS(header.byte); in MQTTDeserialize_publish() 54 *retained = MQTT_HEADER_GET_RETAIN(header.byte); in MQTTDeserialize_publish() 97 header.byte = readChar(&curdata); in MQTTDeserialize_ack() 98 *dup = MQTT_HEADER_GET_DUP(header.byte); in MQTTDeserialize_ack() 99 *packettype = MQTT_HEADER_GET_TYPE(header.byte); in MQTTDeserialize_ack()
|
A D | MQTTSubscribeClient.c | 71 header.byte = 0; in MQTTSerialize_subscribe() 72 MQTT_HEADER_SET_TYPE(header.byte, SUBSCRIBE); in MQTTSerialize_subscribe() 73 MQTT_HEADER_SET_DUP(header.byte, dup); in MQTTSerialize_subscribe() 74 MQTT_HEADER_SET_QOS(header.byte, 1); in MQTTSerialize_subscribe() 75 writeChar(&ptr, header.byte); /* write header */ in MQTTSerialize_subscribe() 114 header.byte = readChar(&curdata); in MQTTDeserialize_suback() 115 if (MQTT_HEADER_GET_TYPE(header.byte) != SUBACK) { in MQTTDeserialize_suback()
|
A D | MQTTUnsubscribeClient.c | 70 header.byte = 0; in MQTTSerialize_unsubscribe() 71 MQTT_HEADER_SET_TYPE(header.byte, UNSUBSCRIBE); in MQTTSerialize_unsubscribe() 72 MQTT_HEADER_SET_DUP(header.byte, dup); in MQTTSerialize_unsubscribe() 73 MQTT_HEADER_SET_QOS(header.byte, 1); in MQTTSerialize_unsubscribe() 74 writeChar(&ptr, header.byte); /* write header */ in MQTTSerialize_unsubscribe()
|
A D | MQTTConnectClient.c | 76 header.byte = 0; in MQTTSerialize_connect() 77 MQTT_HEADER_SET_TYPE(header.byte, CONNECT); in MQTTSerialize_connect() 79 writeChar(&ptr, header.byte); /* write header */ in MQTTSerialize_connect() 146 header.byte = readChar(&curdata); in MQTTDeserialize_connack() 147 if (MQTT_HEADER_GET_TYPE(header.byte) != CONNACK) { in MQTTDeserialize_connack() 185 header.byte = 0; in MQTTSerialize_zero() 186 MQTT_HEADER_SET_TYPE(header.byte, packettype); in MQTTSerialize_zero() 187 writeChar(&ptr, header.byte); /* write header */ in MQTTSerialize_zero()
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modubinascii.c | 57 byte *in = bufinfo.buf, *out = (byte *)vstr.buf; in mod_binascii_hexlify() 59 byte d = (*in >> 4); in mod_binascii_hexlify() 86 byte *in = bufinfo.buf, *out = (byte *)vstr.buf; in mod_binascii_unhexlify() 87 byte hex_byte = 0; in mod_binascii_unhexlify() 89 byte hex_ch = *in++; in mod_binascii_unhexlify() 109 static int mod_binascii_sextet(byte ch) { in mod_binascii_sextet() 128 byte *in = bufinfo.buf; in mod_binascii_a2b_base64() 132 byte *out = (byte *)vstr.buf; in mod_binascii_a2b_base64() 176 byte *in = bufinfo.buf, *out = (byte *)vstr.buf; in mod_binascii_b2a_base64() 198 out = (byte *)vstr.buf; in mod_binascii_b2a_base64()
|
A D | moduwebsocket.c | 45 byte mask[4]; 46 byte state; 47 byte to_recv; 48 byte mask_pos; 49 byte buf_pos; 50 byte buf[6]; 51 byte opts; 53 byte ws_flags; 55 byte last_flags; 102 byte frame_type = self->buf[0]; in websocket_read() [all …]
|
A D | moduzlib.c | 52 byte *p = (void *)data; in read_src_stream() 58 byte c; in read_src_stream() 102 uzlib_uncompress_init(&o->decomp, m_new(byte, dict_sz), dict_sz); in decompio_make_new() 113 o->decomp.dest_limit = (byte *)buf + size; in decompio_read() 122 return o->decomp.dest - (byte *)buf; in decompio_read() 159 byte *dest_buf = m_new(byte, dest_buf_size); in mod_uzlib_decompress() 165 decomp->source_limit = (byte *)bufinfo.buf + bufinfo.len; in mod_uzlib_decompress() 190 dest_buf = m_renew(byte, dest_buf, dest_buf_size, dest_buf_size + 256); in mod_uzlib_decompress() 198 dest_buf = (byte *)m_renew(byte, dest_buf, dest_buf_size, final_sz); in mod_uzlib_decompress()
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | _frozen_mpy.c | 38 (const byte*)"\xf9\x03" "uPy", 39 (const byte*)"\xcc\x01" "i", 40 (const byte*)"\xfe\x0d" "frozentest.py", 45 STATIC const byte fun_data_frozentest__lt_module_gt_[92] = { 88 … const_obj_frozentest__lt_module_gt__0 = {{&mp_type_str}, 246, 34, (const byte*)"\x61\x20\x6c\x6f\… 89 … const_obj_frozentest__lt_module_gt__1 = {{&mp_type_str}, 200, 38, (const byte*)"\x61\x20\x73\x74\… 90 …const_obj_frozentest__lt_module_gt__2 = {{&mp_type_bytes}, 57, 11, (const byte*)"\x62\x79\x74\x65\…
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | _frozen_mpy.c | 38 (const byte*)"\xf9\x03" "uPy", 39 (const byte*)"\xcc\x01" "i", 40 (const byte*)"\xfe\x0d" "frozentest.py", 45 STATIC const byte fun_data_frozentest__lt_module_gt_[92] = { 88 … const_obj_frozentest__lt_module_gt__0 = {{&mp_type_str}, 246, 34, (const byte*)"\x61\x20\x6c\x6f\… 89 … const_obj_frozentest__lt_module_gt__1 = {{&mp_type_str}, 200, 38, (const byte*)"\x61\x20\x73\x74\… 90 …const_obj_frozentest__lt_module_gt__2 = {{&mp_type_bytes}, 57, 11, (const byte*)"\x62\x79\x74\x65\…
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | _frozen_mpy.c | 38 (const byte *)"\xf9\x03" 40 (const byte *)"\xcc\x01" 42 (const byte *)"\xfe\x0d" 146 (const byte*)"\x61\x20\x6c\x6f\x6e\x67\x20\x73\x74\x72\x69\x6e\x67\x20" 154 (const byte*)"\x61\x20\x73\x74\x72\x69\x6e\x67\x20\x74\x68\x61\x74\x20" 162 (const byte *)"\x62\x79\x74\x65\x73\x20\x31\x32\x33\x34\x01"
|
/AliOS-Things-master/components/SDL2/test/ |
A D | utf8.txt | 56 preferable) solution to represent each individual byte of a malformed 168 3.3.1 2-byte sequence with last byte missing (U+0000): "�" | 169 3.3.2 3-byte sequence with last byte missing (U+0000): "��" | 170 3.3.3 4-byte sequence with last byte missing (U+0000): "���" | 171 3.3.4 5-byte sequence with last byte missing (U+0000): "����" | 172 3.3.5 6-byte sequence with last byte missing (U+0000): "�����" | 173 3.3.6 2-byte sequence with last byte missing (U-000007FF): "�" | 174 3.3.7 3-byte sequence with last byte missing (U-0000FFFF): "�" | 175 3.3.8 4-byte sequence with last byte missing (U-001FFFFF): "���" | 176 3.3.9 5-byte sequence with last byte missing (U-03FFFFFF): "����" | [all …]
|