Home
last modified time | relevance | path

Searched refs:llen (Results 1 – 25 of 38) sorted by relevance

12

/external/toybox/toys/posix/
Dcpio.c227 ssize_t llen; in cpio_main() local
243 llen = sprintf(toybuf, in cpio_main()
249 xwrite(afd, toybuf, llen); in cpio_main()
253 llen = (llen + nlen) & 3; in cpio_main()
254 if (llen) xwrite(afd, &zero, 4-llen); in cpio_main()
257 llen = st.st_size; in cpio_main()
259 if (readlink(name, toybuf, sizeof(toybuf)-1) == llen) in cpio_main()
260 xwrite(afd, toybuf, llen); in cpio_main()
262 } else while (llen) { in cpio_main()
263 nlen = llen > sizeof(toybuf) ? sizeof(toybuf) : llen; in cpio_main()
[all …]
Dcksum.c55 uint64_t llen = 0, llen2; in do_cksum() local
67 llen += len; in do_cksum()
73 llen2 = llen; in do_cksum()
75 while (llen) { in do_cksum()
76 crc = cksum(crc, llen); in do_cksum()
77 llen >>= 8; in do_cksum()
/external/strace/tests-mx32/
Dfadvise64.c40 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
48 ret = syscall(__NR_fadvise64, fd, offset, llen, advice); in do_fadvise()
50 printf("fadvise64(%d, %lld, %llu, ", (int) fd, offset, llen); in do_fadvise()
53 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
55 printf("fadvise64(%d, %lld, %lld, ", (int) fd, offset, llen); in do_fadvise()
57 long len = (long) llen; in do_fadvise()
Dfadvise64_64.c47 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); in do_fadvise()
58 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen)); in do_fadvise()
61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
65 printf("fadvise64_64(%d, %lld, %lld, ", (int) fd, offset, llen); in do_fadvise()
Dfadvise.h41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
/external/strace/tests/
Dfadvise64.c40 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
48 ret = syscall(__NR_fadvise64, fd, offset, llen, advice); in do_fadvise()
50 printf("fadvise64(%d, %lld, %llu, ", (int) fd, offset, llen); in do_fadvise()
53 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
55 printf("fadvise64(%d, %lld, %lld, ", (int) fd, offset, llen); in do_fadvise()
57 long len = (long) llen; in do_fadvise()
Dfadvise64_64.c47 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); in do_fadvise()
58 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen)); in do_fadvise()
61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
65 printf("fadvise64_64(%d, %lld, %lld, ", (int) fd, offset, llen); in do_fadvise()
Dfadvise.h41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
/external/strace/tests-m32/
Dfadvise64.c40 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
48 ret = syscall(__NR_fadvise64, fd, offset, llen, advice); in do_fadvise()
50 printf("fadvise64(%d, %lld, %llu, ", (int) fd, offset, llen); in do_fadvise()
53 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
55 printf("fadvise64(%d, %lld, %lld, ", (int) fd, offset, llen); in do_fadvise()
57 long len = (long) llen; in do_fadvise()
Dfadvise64_64.c47 do_fadvise(long fd, long long offset, long long llen, long advice) in do_fadvise() argument
55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); in do_fadvise()
58 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen)); in do_fadvise()
61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); in do_fadvise()
65 printf("fadvise64_64(%d, %lld, %lld, ", (int) fd, offset, llen); in do_fadvise()
Dfadvise.h41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
/external/iputils/ninfod/
Dninfod_name.c172 int llen, ii; in encode_dnsname() local
177 llen = e - &name[i]; in encode_dnsname()
178 if (llen == 0) { in encode_dnsname()
186 if (llen >= 0x40) in encode_dnsname()
188 buf[i] = llen; in encode_dnsname()
189 for (ii = 0; ii < llen; ii++) { in encode_dnsname()
192 if (ii == 0 || ii == llen-1) { in encode_dnsname()
199 i += llen + 1; in encode_dnsname()
/external/wpa_supplicant_8/src/utils/
Dwpa_debug.c397 size_t i, llen; in _wpa_hexdump_ascii() local
449 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
451 for (i = 0; i < llen; i++) in _wpa_hexdump_ascii()
453 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
456 for (i = 0; i < llen; i++) { in _wpa_hexdump_ascii()
462 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
465 pos += llen; in _wpa_hexdump_ascii()
466 len -= llen; in _wpa_hexdump_ascii()
482 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
484 for (i = 0; i < llen; i++) in _wpa_hexdump_ascii()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_pixarlog.c760 int llen; in PixarLogDecode() local
783 llen = sp->stride * td->td_imagewidth; in PixarLogDecode()
849 if (nsamples % llen) { in PixarLogDecode()
852 "%lu, data truncated.", (unsigned long) llen, (unsigned long) nsamples); in PixarLogDecode()
853 nsamples -= nsamples % llen; in PixarLogDecode()
856 for (i = 0; i < nsamples; i += llen, up += llen) { in PixarLogDecode()
859 horizontalAccumulateF(up, llen, sp->stride, in PixarLogDecode()
861 op += llen * sizeof(float); in PixarLogDecode()
864 horizontalAccumulate16(up, llen, sp->stride, in PixarLogDecode()
866 op += llen * sizeof(uint16); in PixarLogDecode()
[all …]
/external/ltp/testcases/kernel/syscalls/listxattr/
Dlistxattr01.c48 static int has_attribute(const char *list, int llen, const char *attr) in has_attribute() argument
52 for (i = 0; i < llen; i += strlen(list + i) + 1) { in has_attribute()
/external/ltp/testcases/kernel/syscalls/flistxattr/
Dflistxattr01.c49 static int has_attribute(const char *list, int llen, const char *attr) in has_attribute() argument
53 for (i = 0; i < llen; i += strlen(list + i) + 1) { in has_attribute()
/external/ltp/testcases/kernel/syscalls/llistxattr/
Dllistxattr01.c49 static int has_attribute(const char *list, int llen, const char *attr) in has_attribute() argument
53 for (i = 0; i < llen; i += strlen(list + i) + 1) { in has_attribute()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c509 int llen; local
524 llen = os_strlen(levelstr);
525 sbuf = os_malloc(llen + len);
529 os_memcpy(sbuf, levelstr, llen);
530 os_memcpy(sbuf + llen, buf, len);
546 if (sendto(sock, sbuf, llen + len, 0,
Dctrl_iface_named_pipe.c483 int llen; in wpa_supplicant_ctrl_iface_send() local
492 llen = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send()
493 sbuf = os_malloc(llen + len); in wpa_supplicant_ctrl_iface_send()
497 os_memcpy(sbuf, levelstr, llen); in wpa_supplicant_ctrl_iface_send()
498 os_memcpy(sbuf + llen, buf, len); in wpa_supplicant_ctrl_iface_send()
506 if (!WriteFile(dst->pipe, sbuf, llen + len, &written, in wpa_supplicant_ctrl_iface_send()
/external/libcap-ng/libcap-ng-0.7/utils/
Dnetcap.c165 int llen; in collect_process_info() local
170 if ((llen = readlink(ln, line, sizeof(line)-1)) < 0) in collect_process_info()
172 line[llen] = 0; in collect_process_info()
/external/mksh/src/
Ddot.mkshrc46 llen=${%line}
47 (( llen == -1 )) && llen=${#line}
48 (( llen = llen ? (llen + COLUMNS - 1) / COLUMNS : 1 ))
49 if (( (curlin += llen) >= LINES )); then
53 curlin=$llen
Dmisc.c1655 int llen; in do_realpath() local
1772 llen = readlink(Xstring(xs, xp), ldest, pathlen); in do_realpath()
1773 if (llen < 0) in do_realpath()
1776 ldest[llen] = '\0'; in do_realpath()
1862 llen = errno; in do_realpath()
1866 errno = llen; in do_realpath()
/external/u-boot/drivers/video/
Domap3_dss.c45 writel(venc_cfg->llen, &venc->llen); in omap3_dss_venc_config()
/external/scapy/scapy/layers/tls/
Dcert.py963 llen = len(self) - 1
964 if llen < 0:
973 while idx <= llen:
976 if idx != llen:
/external/u-boot/arch/arm/include/asm/arch-omap3/
Ddss.h97 u32 llen; /* 0x1C */ member

12