Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 130) sorted by relevance

123456

/AliOS-Things-master/components/py_engine/engine/py/
A Dshowbc.c41 #define DECODE_ULABEL do { unum = (ip[0] | (ip[1] << 8)); ip += 2; } while (0)
42 #define DECODE_SLABEL do { unum = (ip[0] | (ip[1] << 8)) - 0x8000; ip += 2; } while (0)
47 qst = ip[0] | ip[1] << 8; \
48 ip += 2;
65 ip = (byte *)MP_ALIGN(ip, sizeof(void *)); \
70 ip = (byte *)MP_ALIGN(ip, sizeof(mp_obj_t)); \
122 ip += n_info; in mp_bytecode_print()
157 switch (*ip++) { in mp_bytecode_print_str()
359 ip += 1; in mp_bytecode_print_str()
546 return ip; in mp_bytecode_print_str()
[all …]
A Dvm.c64 #define DECODE_ULABEL size_t ulab = (ip[0] | (ip[1] << 8)); ip += 2
65 #define DECODE_SLABEL size_t slab = (ip[0] | (ip[1] << 8)) - 0x8000; ip += 2
70 qstr qst = ip[0] | ip[1] << 8; \
86 ip = (byte*)MP_ALIGN(ip, sizeof(void*)); \
90 ip = (byte*)MP_ALIGN(ip, sizeof(mp_obj_t)); \
273 const byte *ip = code_state->ip; in mp_execute_bytecode() local
983 code_state->ip = ip; in mp_execute_bytecode()
1020 code_state->ip = ip; in mp_execute_bytecode()
1064 code_state->ip = ip; in mp_execute_bytecode()
1105 code_state->ip = ip; in mp_execute_bytecode()
[all …]
A Dbc.c120 code_state->ip = self->bytecode + (size_t)code_state->ip; in mp_setup_code_state()
277 const byte *ip = code_state->ip; in mp_setup_code_state() local
281 ip += n_info; in mp_setup_code_state()
292 ip = MP_ALIGN(ip, sizeof(mp_uint_t)); in mp_setup_code_state()
296 code_state->ip = ip; in mp_setup_code_state()
315 const byte *ip_start = ip; in mp_opcode_format()
322 ip += 1; in mp_opcode_format()
325 ip += 3; in mp_opcode_format()
328 ip += 1; in mp_opcode_format()
335 ip += 2; in mp_opcode_format()
[all …]
A Dprofile.c56 qstr block_name = ip[0] | (ip[1] << 8); in mp_prof_extract_prelude()
57 qstr source_file = ip[2] | (ip[3] << 8); in mp_prof_extract_prelude()
415 const byte *ip = code_state->ip; in mp_prof_instr_tick() local
416 if (*ip == MP_BC_RETURN_VALUE || *ip == MP_BC_YIELD_VALUE) { in mp_prof_instr_tick()
450 #define DECODE_ULABEL do { unum = (ip[0] | (ip[1] << 8)); ip += 2; } while (0)
451 #define DECODE_SLABEL do { unum = (ip[0] | (ip[1] << 8)) - 0x8000; ip += 2; } while (0)
454 qst = ip[0] | ip[1] << 8; \
455 ip += 2;
939 return ip; in mp_prof_opcode_decode()
954 ip, in mp_prof_print_instr()
[all …]
A Dpersistentcode.c139 *ip += n_info; in extract_prelude()
140 *ip += n_cell; in extract_prelude()
307 ip[0] = simple_name; in load_prelude_qstrs()
310 ip[2] = source_file; in load_prelude_qstrs()
336 ++ip; in load_bytecode()
348 ip += sz; in load_bytecode()
671 save_qstr(print, qw, ip[0] | (ip[1] << 8)); // simple_name in save_prelude_qstrs()
672 save_qstr(print, qw, ip[2] | (ip[3] << 8)); // source_file in save_prelude_qstrs()
681 qstr qst = ip[1] | (ip[2] << 8); in save_bytecode()
683 ip += 3; in save_bytecode()
[all …]
A Dbc.h106 #define MP_BC_PRELUDE_SIG_DECODE_INTO(ip, S, E, F, A, K, D) \ argument
108 uint8_t z = *(ip)++; \
117 z = *(ip)++; \
129 #define MP_BC_PRELUDE_SIG_DECODE(ip) \ argument
150 #define MP_BC_PRELUDE_SIZE_DECODE_INTO(ip, I, C) \ argument
156 z = *(ip)++; \
166 #define MP_BC_PRELUDE_SIZE_DECODE(ip) \ argument
168 MP_BC_PRELUDE_SIZE_DECODE_INTO(ip, n_info, n_cell); \
207 const byte *ip; member
234 const byte *mp_bytecode_print_str(const mp_print_t *print, const byte *ip);
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/apps/
A Ddhcps.h121 #define MARK_RANGE1_IP_BIT(table, ip) ((table.ip_range[0]) | (1 << ((ip) - 1))) argument
123 #define MARK_RANGE2_IP_BIT(table, ip) ((table.ip_range[1]) | (1 << ((ip) - 1))) argument
125 #define MARK_RANGE3_IP_BIT(table, ip) ((table.ip_range[2]) | (1 << ((ip) - 1))) argument
127 #define MARK_RANGE4_IP_BIT(table, ip) ((table.ip_range[3]) | (1 << ((ip) - 1))) argument
129 #define MARK_RANGE5_IP_BIT(table, ip) ((table.ip_range[4]) | (1 << ((ip) - 1))) argument
131 #define MARK_RANGE6_IP_BIT(table, ip) ((table.ip_range[5]) | (1 << ((ip) - 1))) argument
133 #define MARK_RANGE7_IP_BIT(table, ip) ((table.ip_range[6]) | (1 << ((ip) - 1))) argument
135 #define MARK_RANGE8_IP_BIT(table, ip) ((table.ip_range[7]) | (1 << ((ip) - 1))) argument
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/network/dhcp/
A Ddhcps.h123 #define MARK_RANGE1_IP_BIT(table, ip) ((table.ip_range[0]) | (1 << ((ip) - 1))) argument
125 #define MARK_RANGE2_IP_BIT(table, ip) ((table.ip_range[1]) | (1 << ((ip) - 1))) argument
127 #define MARK_RANGE3_IP_BIT(table, ip) ((table.ip_range[2]) | (1 << ((ip) - 1))) argument
129 #define MARK_RANGE4_IP_BIT(table, ip) ((table.ip_range[3]) | (1 << ((ip) - 1))) argument
131 #define MARK_RANGE5_IP_BIT(table, ip) ((table.ip_range[4]) | (1 << ((ip) - 1))) argument
133 #define MARK_RANGE6_IP_BIT(table, ip) ((table.ip_range[5]) | (1 << ((ip) - 1))) argument
135 #define MARK_RANGE7_IP_BIT(table, ip) ((table.ip_range[6]) | (1 << ((ip) - 1))) argument
137 #define MARK_RANGE8_IP_BIT(table, ip) ((table.ip_range[7]) | (1 << ((ip) - 1))) argument
/AliOS-Things-master/components/py_engine/engine/shared/netutils/
A Dnetutils.c36 mp_obj_t netutils_format_ipv4_addr(uint8_t *ip, netutils_endian_t endian) { in netutils_format_ipv4_addr() argument
40 ip_len = snprintf(ip_str, 16, "%u.%u.%u.%u", ip[3], ip[2], ip[1], ip[0]); in netutils_format_ipv4_addr()
42 ip_len = snprintf(ip_str, 16, "%u.%u.%u.%u", ip[0], ip[1], ip[2], ip[3]); in netutils_format_ipv4_addr()
49 mp_obj_t netutils_format_inet_addr(uint8_t *ip, mp_uint_t port, netutils_endian_t endian) { in netutils_format_inet_addr() argument
51 tuple[0] = netutils_format_ipv4_addr(ip, endian), in netutils_format_inet_addr()
A Ddhcpserver.c114 static int dhcp_socket_bind(struct udp_pcb **udp, uint32_t ip, uint16_t port) { in dhcp_socket_bind() argument
116 IP4_ADDR(&addr, ip >> 24 & 0xff, ip >> 16 & 0xff, ip >> 8 & 0xff, ip & 0xff); in dhcp_socket_bind()
121 static int dhcp_socket_sendto(struct udp_pcb **udp, const void *buf, size_t len, uint32_t ip, uint1… in dhcp_socket_sendto() argument
134 IP4_ADDR(&dest, ip >> 24 & 0xff, ip >> 16 & 0xff, ip >> 8 & 0xff, ip & 0xff); in dhcp_socket_sendto()
203 memcpy(&dhcp_msg.yiaddr, &d->ip.addr, 4); in dhcp_server_process()
246 if (memcmp(o + 2, &d->ip.addr, 3) != 0) { in dhcp_server_process()
278 opt_write_n(&opt, DHCP_OPT_SERVER_ID, 4, &d->ip.addr); in dhcp_server_process()
280 opt_write_n(&opt, DHCP_OPT_ROUTER, 4, &d->ip.addr); // aka gateway; can have mulitple addresses in dhcp_server_process()
290 void dhcp_server_init(dhcp_server_t *d, ip_addr_t *ip, ip_addr_t *nm) { in dhcp_server_init() argument
291 ip_addr_copy(d->ip, *ip); in dhcp_server_init()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/
A Dsnmp_core.c289 oid[0] = ip4_addr1(ip); in snmp_ip4_to_oid()
290 oid[1] = ip4_addr2(ip); in snmp_ip4_to_oid()
291 oid[2] = ip4_addr3(ip); in snmp_ip4_to_oid()
292 oid[3] = ip4_addr4(ip); in snmp_ip4_to_oid()
321 ip6_addr_set_any(ip); in snmp_oid_to_ip6()
372 idx = snmp_ip_to_oid(ip, oid); in snmp_ip_port_to_oid()
388 if (IP_IS_ANY_TYPE_VAL(*ip)) { in snmp_ip_to_oid()
392 } else if (IP_IS_V6(ip)) { in snmp_ip_to_oid()
437 memset(ip, 0, sizeof(*ip)); in snmp_oid_to_ip()
453 IP_SET_TYPE(ip, IPADDR_TYPE_V4); in snmp_oid_to_ip()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Source/SoftmaxFunctions/
A Darm_softmax_s8.c110 const int8x16_t ip = vldrbq_z_s8(&input[i * 16], p); in arm_softmax_s8() local
111 max = vmaxvq_p_s8(max, ip, p); in arm_softmax_s8()
121 int32x4_t ip = vldrbq_s32(&input[idx * 4]); in arm_softmax_s8() local
122 ip = vsubq_n_s32(ip, max); in arm_softmax_s8()
123 mve_pred16_t p = vcmpgeq_n_s32(ip, diff_min); in arm_softmax_s8()
126 ip = vmulq_n_s32(ip, mask); in arm_softmax_s8()
159 int32x4_t ip = vldrbq_s32(&input[idx]); in arm_softmax_s8() local
160 ip = vsubq_n_s32(ip, max); in arm_softmax_s8()
162 mve_pred16_t p = vcmpgeq_n_s32(ip, diff_min); in arm_softmax_s8()
168 ip = vmulq_n_s32(ip, mask); in arm_softmax_s8()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/SoftmaxFunctions/
A Darm_softmax_s8.c110 const int8x16_t ip = vldrbq_z_s8(&input[i * 16], p); in arm_softmax_s8() local
111 max = vmaxvq_p_s8(max, ip, p); in arm_softmax_s8()
121 int32x4_t ip = vldrbq_s32(&input[idx * 4]); in arm_softmax_s8() local
122 ip = vsubq_n_s32(ip, max); in arm_softmax_s8()
123 mve_pred16_t p = vcmpgeq_n_s32(ip, diff_min); in arm_softmax_s8()
126 ip = vmulq_n_s32(ip, mask); in arm_softmax_s8()
159 int32x4_t ip = vldrbq_s32(&input[idx]); in arm_softmax_s8() local
160 ip = vsubq_n_s32(ip, max); in arm_softmax_s8()
162 mve_pred16_t p = vcmpgeq_n_s32(ip, diff_min); in arm_softmax_s8()
168 ip = vmulq_n_s32(ip, mask); in arm_softmax_s8()
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dvj.c165 u16_t ilen = IPH_HL(ip); in vj_compress_tcp()
216 ip = (struct ip_hdr *)np->payload; in vj_compress_tcp()
400 MEMCPY(&cs->cs_ip, ip, hlen); in vj_compress_tcp()
443 MEMCPY(&cs->cs_ip, ip, hlen); in vj_compress_tcp()
444 IPH_PROTO_SET(ip, cs->cs_id); in vj_compress_tcp()
468 struct ip_hdr *ip; in vj_uncompress_uncomp() local
470 ip = (struct ip_hdr *)nb->payload; in vj_uncompress_uncomp()
471 hlen = IPH_HL(ip) << 2; in vj_uncompress_uncomp()
472 if (IPH_PROTO(ip) >= MAX_SLOTS in vj_uncompress_uncomp()
485 IPH_PROTO_SET(ip, IP_PROTO_TCP); in vj_uncompress_uncomp()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djidctfst.S236 str r0, [ip, #QY(0)]
237 str r1, [ip, #QY(1)]
238 str r2, [ip, #QY(2)]
250 add ip, ip, #4
252 cmp ip, r0
271 PLD [ip, #32]
272 ldmia ip!, {r0-r7}
425 cmp ip, r0
448 add ip, ip, #4
450 cmp ip, r0
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dchecksum-icc.c19 read_one_file(FILE *ip, const char *name) in read_one_file() argument
28 int ch = getc(ip); in read_one_file()
43 if (ferror(ip)) in read_one_file()
76 FILE *ip = fopen(argv[i], "rb"); in main() local
78 if (ip == NULL || !read_one_file(ip, argv[i])) in main()
86 (void)fclose(ip); in main()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_pixarlog.c987 ip += 3; in horizontalDifferenceF()
1001 ip += 4; in horizontalDifferenceF()
1033 r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); in horizontalDifference16()
1039 ip += 3; in horizontalDifference16()
1045 r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); in horizontalDifference16()
1046 b2 = wp[2] = CLAMP(ip[2]); a2 = wp[3] = CLAMP(ip[3]); in horizontalDifference16()
1051 ip += 4; in horizontalDifference16()
1058 REPEAT(stride, wp[0] = CLAMP(ip[0]); wp++; ip++) in horizontalDifference16()
1092 ip += 3; in horizontalDifference8()
1105 ip += 4; in horizontalDifference8()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/ActivationFunctions/
A Darm_relu6_s8.c56 int32_t ip = data[i]; in arm_relu6_s8() local
58 ip = MAX(ip, 0); in arm_relu6_s8()
59 data[i] = MIN(ip, 6); in arm_relu6_s8()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Source/ActivationFunctions/
A Darm_relu6_s8.c56 int32_t ip = data[i]; in arm_relu6_s8() local
58 ip = MAX(ip, 0); in arm_relu6_s8()
59 data[i] = MIN(ip, 6); in arm_relu6_s8()
/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_global.c43 int32_t core_global_set_mqtt_backup_ip(aiot_sysdep_portfile_t *sysdep, char ip[16]) in core_global_set_mqtt_backup_ip()
45 int cpy_len = strlen(ip) > 15 ? 15 : strlen(ip); in core_global_set_mqtt_backup_ip()
48 memcpy(g_core_global.mqtt_backup_ip, ip, cpy_len); in core_global_set_mqtt_backup_ip()
54 int32_t core_global_get_mqtt_backup_ip(aiot_sysdep_portfile_t *sysdep, char ip[16]) in core_global_get_mqtt_backup_ip()
57 memcpy(ip, g_core_global.mqtt_backup_ip, strlen(g_core_global.mqtt_backup_ip)); in core_global_get_mqtt_backup_ip()
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmpy-tool.py132 ip_start = ip
142 ip += 1
143 ip += 3
146 ip += 1
151 ip += 1
153 ip += 2
213 ip = ip_ref[0]
215 ip2 = ip
259 qst = self.bytecode[ip] | self.bytecode[ip + 1] << 8
457 ip = self.ip
[all …]
/AliOS-Things-master/components/freetype/src/psaux/
A Dt1decode.c367 FT_Byte* ip; in t1_decoder_parse_charstrings() local
430 while ( ip < limit ) in t1_decoder_parse_charstrings()
455 switch ( *ip++ ) in t1_decoder_parse_charstrings()
515 if ( ip > limit ) in t1_decoder_parse_charstrings()
522 switch ( *ip++ ) in t1_decoder_parse_charstrings()
561 if ( ip + 4 > limit ) in t1_decoder_parse_charstrings()
572 ip += 4; in t1_decoder_parse_charstrings()
600 if ( ip[-1] >= 32 ) in t1_decoder_parse_charstrings()
602 if ( ip[-1] < 247 ) in t1_decoder_parse_charstrings()
614 value = ( ( ip[-2] - 247 ) * 256 ) + ip[-1] + 108; in t1_decoder_parse_charstrings()
[all …]
/AliOS-Things-master/components/amp/example-js/
A Dwifi.js8 var ip = WIFI.getInfo().ip; variable
13 console.log('ip is ' + ip);
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/
A Dsnmp.h151 void mib2_add_arp_entry(struct netif *ni, ip4_addr_t *ip);
152 void mib2_remove_arp_entry(struct netif *ni, ip4_addr_t *ip);
154 #define mib2_add_arp_entry(ni,ip) argument
155 #define mib2_remove_arp_entry(ni,ip) argument
181 #define mib2_add_arp_entry(ni,ip) argument
182 #define mib2_remove_arp_entry(ni,ip) argument
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/
A Dsnmp.h151 void mib2_add_arp_entry(struct netif *ni, ip4_addr_t *ip);
152 void mib2_remove_arp_entry(struct netif *ni, ip4_addr_t *ip);
154 #define mib2_add_arp_entry(ni,ip) argument
155 #define mib2_remove_arp_entry(ni,ip) argument
181 #define mib2_add_arp_entry(ni,ip) argument
182 #define mib2_remove_arp_entry(ni,ip) argument

Completed in 45 milliseconds

123456