Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 67) sorted by relevance

123

/components/legacy/fdt/libfdt/
A Dlibfdt.h1224 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local
1225 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32()
1259 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local
1260 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64()
1336 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local
1337 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32()
1342 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64()
1498 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32()
1533 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u64()
1670 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u32()
[all …]
/components/libc/compilers/common/
A Dcstdlib.c77 char tmp[33]; in ltoa() local
78 char *tp = tmp; in ltoa()
104 while (v || tp == tmp) in ltoa()
118 while (tp > tmp) in ltoa()
150 char tmp[33]; in ultoa() local
151 char *tp = tmp; in ultoa()
166 while (v || tp == tmp) in ultoa()
178 while (tp > tmp) in ultoa()
/components/net/lwip/lwip-2.1.2/src/core/
A Ddef.c202 char *tmp = result + bufsize - 1; in lwip_itoa() local
219 *tmp = 0; in lwip_itoa()
220 while ((n != 0) && (tmp > res)) { in lwip_itoa()
222 tmp--; in lwip_itoa()
223 *tmp = val; in lwip_itoa()
231 if (*tmp == 0) { in lwip_itoa()
238 memmove(res, tmp, (size_t)((result + bufsize) - tmp)); in lwip_itoa()
/components/dfs/dfs_v2/filesystems/procfs/
A Dproc.c60 char *tmp = RT_NULL; in proc_find() local
67 tmp = rt_strdup(*name); in proc_find()
68 if (tmp) in proc_find()
76 rt_free(tmp); in proc_find()
130 rt_free(tmp); in proc_find()
470 if (tmp) in remove_proc_subtree()
473 tmp = RT_NULL; in remove_proc_subtree()
476 tmp = iter; in remove_proc_subtree()
484 if (tmp) in remove_proc_subtree()
487 tmp = RT_NULL; in remove_proc_subtree()
[all …]
A Dproc_devices.c163 char tmp[256] = {0}; in save_info() local
168 rt_snprintf(tmp, 256, "%d %s\n", dev->index, dev_name); in save_info()
169 tmp[255] = 0; in save_info()
171 len = rt_strlen(tmp); in save_info()
174 strcat(dev->buf, tmp); in save_info()
190 strcat(dev->buf, tmp); in save_info()
/components/net/lwip/lwip-2.1.2/test/fuzz/
A Doutput_to_pcap.sh15 hexdump -C $i > $1/$$.tmp
16 text2pcap $1/$$.tmp ${i}.pcap
23 hexdump -C $i > $1/$$.tmp
24 text2pcap $1/$$.tmp ${i}.pcap
27 rm -f $1/$$.tmp
/components/net/lwip/lwip-2.0.3/test/fuzz/
A Doutput_to_pcap.sh15 hexdump -C $i > $1/$$.tmp
16 text2pcap $1/$$.tmp ${i}.pcap
23 hexdump -C $i > $1/$$.tmp
24 text2pcap $1/$$.tmp ${i}.pcap
27 rm -f $1/$$.tmp
/components/drivers/ofw/libfdt/
A Dlibfdt.h1327 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local
1328 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32()
1362 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local
1363 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64()
1482 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local
1483 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32()
1488 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64()
1695 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32()
1730 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u64()
1873 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u32()
[all …]
/components/libc/cplusplus/cpp11/
A Datomic_8.c24 uint64_t tmp; in __atomic_load_8() local
26 tmp = *val_ptr; in __atomic_load_8()
28 return tmp; in __atomic_load_8()
44 uint64_t tmp; in __atomic_exchange_8() local
46 tmp = *val_ptr; in __atomic_exchange_8()
49 return tmp; in __atomic_exchange_8()
155 uint64_t tmp;\
157 tmp = *val_ptr;\
160 return tmp;\
/components/net/lwip/lwip-1.4.1/src/netif/ppp/
A Dvj.c102 (f) = htonl(tmp); \
106 (f) = htonl(tmp); \
113 (f) = htons(tmp); \
117 (f) = htons(tmp); \
471 u32_t tmp; in vj_uncompress_tcp() local
518 th->ackno = htonl(tmp); in vj_uncompress_tcp()
520 th->seqno = htonl(tmp); in vj_uncompress_tcp()
527 th->seqno = htonl(tmp); in vj_uncompress_tcp()
582 tmp += *bp++; in vj_uncompress_tcp()
584 tmp = (tmp & 0xffff) + (tmp >> 16); in vj_uncompress_tcp()
[all …]
A Drandm.c126 u_char tmp[16]; in avGenRand() local
134 MD5Final(tmp, &md5); in avGenRand()
136 MEMCPY(buf, tmp, n); in avGenRand()
/components/drivers/include/drivers/
A Dofw_raw.h38 uint32_t tmp[] = { __VA_ARGS__ }; \
39 for (int i = 0; i < sizeof(tmp) / sizeof(tmp[0]); ++i) \
41 tmp[i] = cpu_to_fdt32(tmp[i]); \
43 ret += ops(fdt, nodeoffset, prop, tmp, sizeof(tmp)); \
/components/drivers/usb/cherryusb/common/
A Dusb_list.h49 usb_slist_t *tmp = l; in usb_slist_add_tail() local
51 while (tmp->next) { in usb_slist_add_tail()
52 tmp = tmp->next; in usb_slist_add_tail()
56 tmp->next = n; in usb_slist_add_tail()
79 usb_slist_t *tmp = l; in usb_slist_remove() local
81 while (tmp->next && tmp->next != n) { in usb_slist_remove()
82 tmp = tmp->next; in usb_slist_remove()
86 if (tmp->next != (usb_slist_t *)0) { in usb_slist_remove()
87 tmp->next = tmp->next->next; in usb_slist_remove()
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Dvj.c504 u32_t tmp; in vj_uncompress_tcp() local
550 tmp = lwip_ntohl(th->ackno) + i; in vj_uncompress_tcp()
551 th->ackno = lwip_htonl(tmp); in vj_uncompress_tcp()
552 tmp = lwip_ntohl(th->seqno) + i; in vj_uncompress_tcp()
553 th->seqno = lwip_htonl(tmp); in vj_uncompress_tcp()
560 th->seqno = lwip_htonl(tmp); in vj_uncompress_tcp()
605 tmp = n0->tot_len - vjlen + cs->cs_hlen; in vj_uncompress_tcp()
614 for (tmp = 0; hlen > 0; hlen -= 2) { in vj_uncompress_tcp()
615 tmp += (*bp++).v; in vj_uncompress_tcp()
617 tmp = (tmp & 0xffff) + (tmp >> 16); in vj_uncompress_tcp()
[all …]
A Dmagic.c164 u_char tmp[MD5_HASH_SIZE]; in magic_random_bytes() local
172 lwip_md5_finish(&md5_ctx, tmp); in magic_random_bytes()
176 MEMCPY(buf, tmp, n); in magic_random_bytes()
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dvj.c508 u32_t tmp; in vj_uncompress_tcp() local
554 tmp = lwip_ntohl(th->ackno) + i; in vj_uncompress_tcp()
555 th->ackno = lwip_htonl(tmp); in vj_uncompress_tcp()
556 tmp = lwip_ntohl(th->seqno) + i; in vj_uncompress_tcp()
557 th->seqno = lwip_htonl(tmp); in vj_uncompress_tcp()
564 th->seqno = lwip_htonl(tmp); in vj_uncompress_tcp()
609 tmp = n0->tot_len - vjlen + cs->cs_hlen; in vj_uncompress_tcp()
618 for (tmp = 0; hlen > 0; hlen -= 2) { in vj_uncompress_tcp()
619 tmp += (*bp++).v; in vj_uncompress_tcp()
621 tmp = (tmp & 0xffff) + (tmp >> 16); in vj_uncompress_tcp()
[all …]
A Dmagic.c164 u_char tmp[MD5_HASH_SIZE]; in magic_random_bytes() local
172 lwip_md5_finish(&md5_ctx, tmp); in magic_random_bytes()
176 MEMCPY(buf, tmp, n); in magic_random_bytes()
/components/dfs/dfs_v2/src/
A Ddfs_file.c589 if (tmp) in dfs_file_open()
1264 if (tmp) in dfs_file_stat()
1333 if (tmp) in dfs_file_lstat()
1442 if (tmp) in dfs_file_setattr()
1697 if (tmp) in dfs_file_unlink()
1817 if (tmp) in dfs_file_link()
1828 if (tmp) in dfs_file_link()
2049 if (tmp) in dfs_file_readlink()
2131 if (tmp) in dfs_file_rename()
2142 if (tmp) in dfs_file_rename()
[all …]
/components/libc/posix/libdl/arch/
A Darm.c22 Elf32_Addr *where, tmp; in dlmodule_relocate() local
45 tmp = sym_val - (Elf32_Addr)where + (addend << 2); in dlmodule_relocate()
46 tmp >>= 2; in dlmodule_relocate()
47 *where = (*where & 0xff000000) | (tmp & 0x00ffffff); in dlmodule_relocate()
/components/net/lwip/lwip-1.4.1/src/core/ipv4/
A Dinet_chksum.c196 u32_t sum = 0, tmp; in lwip_standard_chksum() local
215 tmp = sum + *pl++; /* ping */ in lwip_standard_chksum()
216 if (tmp < sum) { in lwip_standard_chksum()
217 tmp++; /* add back carry */ in lwip_standard_chksum()
220 sum = tmp + *pl++; /* pong */ in lwip_standard_chksum()
221 if (sum < tmp) { in lwip_standard_chksum()
A Dip_frag.c137 struct ip_reassdata *tmp; in ip_reass_tmr() local
139 tmp = r; in ip_reass_tmr()
143 ip_reass_free_complete_datagram(tmp, prev); in ip_reass_tmr()
685 u16_t tmp; in ip_frag() local
714 tmp = ntohs(IPH_OFFSET(iphdr)); in ip_frag()
715 ofo = tmp & IP_OFFMASK; in ip_frag()
716 omf = tmp & IP_MF; in ip_frag()
726 tmp = omf | (IP_OFFMASK & (ofo)); in ip_frag()
728 tmp = tmp | IP_MF; in ip_frag()
811 IPH_OFFSET_SET(iphdr, htons(tmp)); in ip_frag()
/components/drivers/pci/
A Daccess.c147 rt_uint32_t mask, tmp; in rt_pci_bus_write_config_generic_u32() local
150 tmp = HWREG32(base) & mask; in rt_pci_bus_write_config_generic_u32()
151 tmp |= value << ((reg & 0x3) * 8); in rt_pci_bus_write_config_generic_u32()
152 HWREG32(base) = tmp; in rt_pci_bus_write_config_generic_u32()
/components/dfs/dfs_v2/include/
A Ddfs_vfs.h43 #define dfs_vfs_for_each_subnode(node, tmp, dir, member) \ argument
44 rt_list_for_each_entry_safe(node, tmp, &dir->member.subnode, member.sibling)
/components/net/lwip/lwip-2.0.3/src/core/ipv4/
A Dip4_frag.c143 struct ip_reassdata *tmp; in ip_reass_tmr() local
145 tmp = r; in ip_reass_tmr()
149 ip_reass_free_complete_datagram(tmp, prev); in ip_reass_tmr()
733 u16_t tmp; in ip4_frag() local
740 tmp = lwip_ntohs(IPH_OFFSET(iphdr)); in ip4_frag()
741 ofo = tmp & IP_OFFMASK; in ip4_frag()
742 LWIP_ERROR("ip_frag(): MF already set", (tmp & IP_MF) == 0, return ERR_VAL); in ip4_frag()
826 tmp = (IP_OFFMASK & (ofo)); in ip4_frag()
828 tmp = tmp | IP_MF; in ip4_frag()
830 IPH_OFFSET_SET(iphdr, lwip_htons(tmp)); in ip4_frag()
/components/net/lwip/lwip-2.1.2/src/core/ipv4/
A Dip4_frag.c143 struct ip_reassdata *tmp; in ip_reass_tmr() local
145 tmp = r; in ip_reass_tmr()
149 ip_reass_free_complete_datagram(tmp, prev); in ip_reass_tmr()
755 u16_t tmp; in ip4_frag() local
767 tmp = lwip_ntohs(IPH_OFFSET(iphdr)); in ip4_frag()
768 ofo = tmp & IP_OFFMASK; in ip4_frag()
770 mf_set = tmp & IP_MF; in ip4_frag()
855 tmp = (IP_OFFMASK & (ofo)); in ip4_frag()
858 tmp = tmp | IP_MF; in ip4_frag()
860 IPH_OFFSET_SET(iphdr, lwip_htons(tmp)); in ip4_frag()

Completed in 67 milliseconds

123