/external/wpa_supplicant_8/src/crypto/ |
D | sha256-internal.c | 129 md->curlen = 0; in sha256_init() 153 if (md->curlen >= sizeof(md->buf)) in sha256_process() 157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { in sha256_process() 164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); in sha256_process() 165 os_memcpy(md->buf + md->curlen, in, n); in sha256_process() 166 md->curlen += n; in sha256_process() 169 if (md->curlen == SHA256_BLOCK_SIZE) { in sha256_process() 173 md->curlen = 0; in sha256_process() 192 if (md->curlen >= sizeof(md->buf)) in sha256_done() 196 md->length += md->curlen * 8; in sha256_done() [all …]
|
D | sha512-internal.c | 160 md->curlen = 0; in sha512_init() 185 if (md->curlen >= sizeof(md->buf)) in sha512_process() 189 if (md->curlen == 0 && inlen >= SHA512_BLOCK_SIZE) { in sha512_process() 196 n = MIN(inlen, (SHA512_BLOCK_SIZE - md->curlen)); in sha512_process() 197 os_memcpy(md->buf + md->curlen, in, n); in sha512_process() 198 md->curlen += n; in sha512_process() 201 if (md->curlen == SHA512_BLOCK_SIZE) { in sha512_process() 205 md->curlen = 0; in sha512_process() 224 if (md->curlen >= sizeof(md->buf)) in sha512_done() 228 md->length += md->curlen * CONST64(8); in sha512_done() [all …]
|
D | sha384-internal.c | 54 md->curlen = 0; in sha384_init() 82 if (md->curlen >= sizeof(md->buf)) in sha384_done()
|
D | sha512_i.h | 16 u32 curlen; member
|
D | sha256_i.h | 16 u32 state[8], curlen; member
|
/external/e2fsprogs/lib/ext2fs/ |
D | sha256.c | 76 __u32 state[8], curlen; member 121 md->sha256.curlen = 0; in sha256_init() 140 if (md->sha256.curlen == 0 && inlen >= SHA256_BLOCKSIZE) { in sha256_process() 146 n = MIN(inlen, (SHA256_BLOCKSIZE - md->sha256.curlen)); in sha256_process() 147 memcpy(md->sha256.buf + md->sha256.curlen, in, (size_t)n); in sha256_process() 148 md->sha256.curlen += n; in sha256_process() 151 if (md->sha256.curlen == SHA256_BLOCKSIZE) { in sha256_process() 154 md->sha256.curlen = 0; in sha256_process() 166 md->sha256.length += md->sha256.curlen * 8; in sha256_done() 169 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0x80; in sha256_done() [all …]
|
D | sha512.c | 106 unsigned long curlen; member 155 md->sha512.curlen = 0; in sha512_init() 172 md->sha512.length += md->sha512.curlen * CONST64(8); in sha512_done() 175 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0x80; in sha512_done() 180 if (md->sha512.curlen > 112) { in sha512_done() 181 while (md->sha512.curlen < 128) { in sha512_done() 182 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0; in sha512_done() 185 md->sha512.curlen = 0; in sha512_done() 190 while (md->sha512.curlen < 120) { in sha512_done() 191 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0; in sha512_done() [all …]
|
/external/f2fs-tools/tools/ |
D | sha512.c | 126 unsigned long curlen; member 175 md->sha512.curlen = 0; in sha512_init() 192 md->sha512.length += md->sha512.curlen * CONST64(8); in sha512_done() 195 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0x80; in sha512_done() 200 if (md->sha512.curlen > 112) { in sha512_done() 201 while (md->sha512.curlen < 128) { in sha512_done() 202 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0; in sha512_done() 205 md->sha512.curlen = 0; in sha512_done() 210 while (md->sha512.curlen < 120) { in sha512_done() 211 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0; in sha512_done() [all …]
|
/external/elfutils/src/ |
D | strings.c | 332 size_t curlen = *unprinted == NULL ? 0 : strlen (*unprinted); in process_chunk_mb() local 356 ++curlen; in process_chunk_mb() 360 if (curlen >= min_len) in process_chunk_mb() 391 curlen = 0; in process_chunk_mb() 400 if (curlen != 0) in process_chunk_mb() 401 *unprinted = xstrndup ((const char *) start, curlen); in process_chunk_mb() 417 size_t curlen = *unprinted == NULL ? 0 : strlen (*unprinted); in process_chunk() local 424 ++curlen; in process_chunk() 428 if (curlen >= min_len) in process_chunk() 454 curlen = 0; in process_chunk() [all …]
|
/external/syslinux/com32/lib/zlib/ |
D | trees.c | 718 int curlen; /* length of current code */ local 728 curlen = nextlen; nextlen = tree[n+1].Len; 729 if (++count < max_count && curlen == nextlen) { 732 s->bl_tree[curlen].Freq += count; 733 } else if (curlen != 0) { 734 if (curlen != prevlen) s->bl_tree[curlen].Freq++; 741 count = 0; prevlen = curlen; 744 } else if (curlen == nextlen) { 763 int curlen; /* length of current code */ local 773 curlen = nextlen; nextlen = tree[n+1].Len; [all …]
|
/external/zlib/src/ |
D | trees.c | 712 int curlen; /* length of current code */ local 722 curlen = nextlen; nextlen = tree[n+1].Len; 723 if (++count < max_count && curlen == nextlen) { 726 s->bl_tree[curlen].Freq += count; 727 } else if (curlen != 0) { 728 if (curlen != prevlen) s->bl_tree[curlen].Freq++; 735 count = 0; prevlen = curlen; 738 } else if (curlen == nextlen) { 757 int curlen; /* length of current code */ local 767 curlen = nextlen; nextlen = tree[n+1].Len; [all …]
|
/external/pdfium/third_party/zlib_v128/ |
D | trees.c | 712 int curlen; /* length of current code */ in scan_tree() local 722 curlen = nextlen; nextlen = tree[n+1].Len; in scan_tree() 723 if (++count < max_count && curlen == nextlen) { in scan_tree() 726 s->bl_tree[curlen].Freq += count; in scan_tree() 727 } else if (curlen != 0) { in scan_tree() 728 if (curlen != prevlen) s->bl_tree[curlen].Freq++; in scan_tree() 735 count = 0; prevlen = curlen; in scan_tree() 738 } else if (curlen == nextlen) { in scan_tree() 757 int curlen; /* length of current code */ in send_tree() local 767 curlen = nextlen; nextlen = tree[n+1].Len; in send_tree() [all …]
|
/external/python/cpython2/Modules/zlib/ |
D | trees.c | 712 int curlen; /* length of current code */ local 722 curlen = nextlen; nextlen = tree[n+1].Len; 723 if (++count < max_count && curlen == nextlen) { 726 s->bl_tree[curlen].Freq += count; 727 } else if (curlen != 0) { 728 if (curlen != prevlen) s->bl_tree[curlen].Freq++; 735 count = 0; prevlen = curlen; 738 } else if (curlen == nextlen) { 757 int curlen; /* length of current code */ local 767 curlen = nextlen; nextlen = tree[n+1].Len; [all …]
|
/external/libxml2/ |
D | testlimits.c | 167 size_t curlen = 0; variable 192 curlen = 0; in hugeRead() 205 curlen = 0; in hugeRead() 214 curlen += len; in hugeRead() 215 if (curlen >= maxlen) { in hugeRead() 220 if (curlen > dotlen) { in hugeRead() 339 curlen = 0; in crazyRead() 351 curlen = 0; in crazyRead() 360 curlen += len; in crazyRead() 361 if (curlen >= maxlen) { in crazyRead()
|
/external/python/cpython2/Lib/encodings/ |
D | punycode.py | 58 curlen = selective_len(str, char) 59 delta = (curlen+1) * (char - oldchar)
|
/external/python/cpython2/Lib/email/ |
D | header.py | 454 curlen = linelen + max(0, len(this)-1) * joinlen 463 elif curlen + partlen > maxlen:
|
/external/fio/ |
D | init.c | 1972 int curlen, first = 1; in show_debug_categories() local 1974 curlen = 0; in show_debug_categories() 1978 if (first || curlen + strlen(dl->name) >= 80) { in show_debug_categories() 1981 curlen = 0; in show_debug_categories() 1983 curlen += printf("\t\t\t%s", dl->name); in show_debug_categories() 1984 curlen += 3 * (8 - 1); in show_debug_categories() 1986 curlen += printf(","); in show_debug_categories() 1988 curlen += printf("%s", dl->name); in show_debug_categories() 1990 curlen += printf(","); in show_debug_categories()
|
/external/python/cpython2/Objects/stringlib/ |
D | string_format.h | 159 Py_ssize_t curlen = output->ptr - startptr; in output_extend() local 160 Py_ssize_t maxlen = curlen + count + output->size_increment; in output_extend() 165 output->ptr = startptr + curlen; in output_extend()
|
/external/icu/icu4c/source/common/ |
D | uloc_tag.c | 562 int32_t len, curlen; in _addExtensionToList() local 565 curlen = (int32_t)uprv_strlen(cur->key); in _addExtensionToList() 567 if (len == 1 && curlen == 1) { in _addExtensionToList() 579 } else if (curlen == 1) { in _addExtensionToList()
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 990 Py_ssize_t curlen; in builtin_map() local 1005 curlen = _PyObject_LengthHint(curseq, 8); in builtin_map() 1006 if (curlen > len) in builtin_map() 1007 len = curlen; in builtin_map()
|
/external/curl/lib/ |
D | connect.c | 952 int curlen = sizeof(curval); in Curl_sndbufset() local 967 if(getsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, (char *)&curval, &curlen) == 0) in Curl_sndbufset()
|