/external/toybox/toys/posix/ |
D | cpio.c | 229 ssize_t llen; in cpio_main() local 245 llen = sprintf(toybuf, in cpio_main() 251 xwrite(afd, toybuf, llen); in cpio_main() 255 llen = (llen + nlen) & 3; in cpio_main() 256 if (llen) xwrite(afd, &zero, 4-llen); in cpio_main() 259 llen = st.st_size; in cpio_main() 261 if (readlink(name, toybuf, sizeof(toybuf)-1) == llen) in cpio_main() 262 xwrite(afd, toybuf, llen); in cpio_main() 264 } else while (llen) { in cpio_main() 265 nlen = llen > sizeof(toybuf) ? sizeof(toybuf) : llen; in cpio_main() [all …]
|
D | cksum.c | 45 uint64_t llen = 0, llen2; in do_cksum() local 58 llen += len; in do_cksum() 64 llen2 = llen; in do_cksum() 66 while (llen) { in do_cksum() 67 crc = cksum(crc, llen); in do_cksum() 68 llen >>= 8; in do_cksum()
|
/external/strace/tests/ |
D | fadvise64.c | 40 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()
|
D | fadvise64_64.c | 47 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()
|
D | fadvise.h | 41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
|
/external/strace/tests-mx32/ |
D | fadvise64.c | 40 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()
|
D | fadvise64_64.c | 47 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()
|
D | fadvise.h | 41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
|
/external/strace/tests-m32/ |
D | fadvise64.c | 40 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()
|
D | fadvise64_64.c | 47 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()
|
D | fadvise.h | 41 static void do_fadvise(long fd, long long offset, long long llen, long advice);
|
/external/iputils/ninfod/ |
D | ninfod_name.c | 172 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/ |
D | wpa_debug.c | 393 size_t i, llen; in _wpa_hexdump_ascii() local 439 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii() 441 for (i = 0; i < llen; i++) in _wpa_hexdump_ascii() 443 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii() 446 for (i = 0; i < llen; i++) { in _wpa_hexdump_ascii() 452 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii() 455 pos += llen; in _wpa_hexdump_ascii() 456 len -= llen; in _wpa_hexdump_ascii() 472 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii() 474 for (i = 0; i < llen; i++) in _wpa_hexdump_ascii() [all …]
|
/external/pdfium/third_party/libtiff/ |
D | tif_pixarlog.c | 748 int llen; in PixarLogDecode() local 771 llen = sp->stride * td->td_imagewidth; in PixarLogDecode() 830 if (nsamples % llen) { in PixarLogDecode() 833 "%lu, data truncated.", (unsigned long) llen, (unsigned long) nsamples); in PixarLogDecode() 834 nsamples -= nsamples % llen; in PixarLogDecode() 837 for (i = 0; i < nsamples; i += llen, up += llen) { in PixarLogDecode() 840 horizontalAccumulateF(up, llen, sp->stride, in PixarLogDecode() 842 op += llen * sizeof(float); in PixarLogDecode() 845 horizontalAccumulate16(up, llen, sp->stride, in PixarLogDecode() 847 op += llen * sizeof(uint16); in PixarLogDecode() [all …]
|
/external/libvncserver/libvncserver/ |
D | websockets.c | 252 int n, linestart = 0, len = 0, llen, base64 = TRUE; in webSocketsHandshake() local 289 llen = len - linestart; in webSocketsHandshake() 290 if (((llen >= 2)) && (buf[len-1] == '\n')) { in webSocketsHandshake() 292 if ((llen == 2) && (strncmp("\r\n", line, 2) == 0)) { in webSocketsHandshake() 313 } else if ((llen >= 16) && ((strncmp("GET ", line, min(llen,4))) == 0)) { in webSocketsHandshake() 319 } else if ((strncasecmp("host: ", line, min(llen,6))) == 0) { in webSocketsHandshake() 323 } else if ((strncasecmp("origin: ", line, min(llen,8))) == 0) { in webSocketsHandshake() 327 } else if ((strncasecmp("sec-websocket-key1: ", line, min(llen,20))) == 0) { in webSocketsHandshake() 331 } else if ((strncasecmp("sec-websocket-key2: ", line, min(llen,20))) == 0) { in webSocketsHandshake() 337 } else if ((strncasecmp("sec-websocket-protocol: ", line, min(llen,24))) == 0) { in webSocketsHandshake() [all …]
|
/external/syslinux/com32/modules/ |
D | pmload.c | 69 addr_t lstart, llen; in boot_raw() local 123 if (syslinux_memmap_largest(amap, SMT_FREE, &lstart, &llen)) in boot_raw() 126 if (llen < stack_frame_size + MIN_STACK + 16) in boot_raw() 130 stack_pointer = (lstart + llen - stack_frame_size) & ~15; in boot_raw()
|
D | elf.c | 71 addr_t lstart, llen; in boot_elf() local 189 if (syslinux_memmap_largest(amap, SMT_FREE, &lstart, &llen)) in boot_elf() 192 if (llen < stack_frame_size + MIN_STACK + 16) in boot_elf() 196 stack_pointer = (lstart + llen - stack_frame_size) & ~15; in boot_elf()
|
/external/lz4/lib/ |
D | lz4opt.h | 220 size_t i, llen, litlen, mlen, best_mlen, price, offset, best_off, match_num, last_pos; in LZ4HC_compress_optimal() local 238 llen = ip - anchor; in LZ4HC_compress_optimal() 256 price = LZ4HC_sequencePrice(llen + litlen, mlen) - LZ4HC_literalsPrice(llen); in LZ4HC_compress_optimal() 274 price = LZ4HC_literalsPrice(llen + litlen) - LZ4HC_literalsPrice(llen); in LZ4HC_compress_optimal() 309 … price = LZ4HC_sequencePrice(llen + litlen, mlen) - LZ4HC_literalsPrice(llen); in LZ4HC_compress_optimal()
|
/external/ltp/testcases/kernel/syscalls/listxattr/ |
D | listxattr01.c | 48 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/ |
D | flistxattr01.c | 49 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/ |
D | llistxattr01.c | 49 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/ |
D | ctrl_iface_udp.c | 509 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,
|
D | ctrl_iface_named_pipe.c | 484 int llen; in wpa_supplicant_ctrl_iface_send() local 493 llen = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send() 494 sbuf = os_malloc(llen + len); in wpa_supplicant_ctrl_iface_send() 498 os_memcpy(sbuf, levelstr, llen); in wpa_supplicant_ctrl_iface_send() 499 os_memcpy(sbuf + llen, buf, len); in wpa_supplicant_ctrl_iface_send() 507 if (!WriteFile(dst->pipe, sbuf, llen + len, &written, in wpa_supplicant_ctrl_iface_send()
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
D | netcap.c | 165 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/ |
D | dot.mkshrc | 46 llen=${%line} 47 (( llen == -1 )) && llen=${#line} 48 (( llen = llen ? (llen + COLUMNS - 1) / COLUMNS : 1 )) 49 if (( (curlin += llen) >= LINES )); then 53 curlin=$llen
|