Searched refs:xsum (Results 1 – 4 of 4) sorted by relevance
/external/e2fsprogs/intl/ |
D | xsize.h | 57 xsum (size_t size1, size_t size2) in xsum() function 70 return xsum (xsum (size1, size2), size3); in xsum3() 80 return xsum (xsum (xsum (size1, size2), size3), size4); in xsum4()
|
D | vasnprintf.c | 212 size_t augmented_length = xsum (length, n); in VASNPRINTF() 228 augmented_length = xsum (length, 1); in VASNPRINTF() 297 width = xsum (xtimes (width, 10), *digitp++ - '0'); in VASNPRINTF() 320 precision = xsum (xtimes (precision, 10), *digitp++ - '0'); in VASNPRINTF() 431 tmp_length = xsum (tmp_length, precision); in VASNPRINTF() 438 tmp_length = xsum (tmp_length, precision); in VASNPRINTF() 482 tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ in VASNPRINTF() 583 ENSURE_ALLOCATION (xsum (length, 1)); in VASNPRINTF() 789 xsum (xtimes (allocated, 2), 12); in VASNPRINTF() 824 xmax (xsum (length, count), xtimes (allocated, 2)); in VASNPRINTF() [all …]
|
D | printf-parse.c | 93 a_allocated = xsum (n, 1); \ in PRINTF_PARSE() 146 n = xsum (xtimes (n, 10), *np - '0'); in PRINTF_PARSE() 216 n = xsum (xtimes (n, 10), *np - '0'); in PRINTF_PARSE() 273 n = xsum (xtimes (n, 10), *np - '0'); in PRINTF_PARSE()
|
/external/u-boot/net/ |
D | net.c | 1244 ulong xsum; in net_process_received_packet() local 1248 xsum = ip->ip_p; in net_process_received_packet() 1249 xsum += (ntohs(ip->udp_len)); in net_process_received_packet() 1250 xsum += (ntohl(ip->ip_src.s_addr) >> 16) & 0x0000ffff; in net_process_received_packet() 1251 xsum += (ntohl(ip->ip_src.s_addr) >> 0) & 0x0000ffff; in net_process_received_packet() 1252 xsum += (ntohl(ip->ip_dst.s_addr) >> 16) & 0x0000ffff; in net_process_received_packet() 1253 xsum += (ntohl(ip->ip_dst.s_addr) >> 0) & 0x0000ffff; in net_process_received_packet() 1262 xsum += ntohs(sumdata); in net_process_received_packet() 1270 xsum += sumdata; in net_process_received_packet() 1272 while ((xsum >> 16) != 0) { in net_process_received_packet() [all …]
|