/external/ppp/pppd/ |
D | chap-new.c | 285 int clen = 1, nlen, len; in chap_generate_challenge() local 292 clen = *p; in chap_generate_challenge() 294 memcpy(p + 1 + clen, ss->name, nlen); in chap_generate_challenge() 296 len = CHAP_HDRLEN + 1 + clen + nlen; in chap_generate_challenge() 426 int clen, nlen; in chap_respond() local 437 clen = pkt[0]; in chap_respond() 438 nlen = len - (clen + 1); in chap_respond() 441 slprintf(rname, sizeof(rname), "%.*v", nlen, pkt + clen + 1); in chap_respond() 461 clen = *p; in chap_respond() 463 memcpy(p + clen + 1, cs->name, nlen); in chap_respond() [all …]
|
D | chap-md5.c | 48 int clen; in chap_md5_generate_challenge() local 50 clen = (int)(drand48() * (MD5_MAX_CHALLENGE - MD5_MIN_CHALLENGE)) in chap_md5_generate_challenge() 52 *cp++ = clen; in chap_md5_generate_challenge() 53 random_bytes(cp, clen); in chap_md5_generate_challenge()
|
D | ccp.c | 1076 int len, clen, type, nb; local 1095 clen = len; 1100 clen = p[1]; 1105 if (!ao->mppe || clen != CILEN_MPPE) { 1204 if (!ao->deflate || clen != CILEN_DEFLATE 1249 if (!ao->bsd_compress || clen != CILEN_BSD_COMPRESS) { 1291 if (!ao->predictor_1 || clen != CILEN_PREDICTOR_1) { 1304 if (!ao->predictor_2 || clen != CILEN_PREDICTOR_2) { 1329 BCOPY(p, retp, clen); 1330 retp += clen; [all …]
|
/external/openssl/crypto/asn1/ |
D | x_long.c | 109 int clen, pad, i; in long_i2c() local 123 clen = BN_num_bits_word(utmp); in long_i2c() 125 if(!(clen & 0x7)) pad = 1; in long_i2c() 129 clen = (clen + 7) >> 3; in long_i2c() 133 for(i = clen - 1; i >= 0; i--) { in long_i2c() 139 return clen + pad; in long_i2c()
|
/external/openssl/crypto/rsa/ |
D | rsa_test.c | 220 int clen = 0; in main() local 237 clen = key1(key, ctext_ex); in main() 240 clen = key2(key, ctext_ex); in main() 243 clen = key3(key, ctext_ex); in main() 250 if (num != clen) in main() 276 if (num != clen) in main() 296 num = RSA_private_decrypt(clen, ctext_ex, ptext, key, in main() 308 for(n = 0 ; n < clen ; ++n) in main()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | eap_gpsk_common.c | 52 size_t i, n, hashlen, left, clen; in eap_gpsk_gkdf_cmac() local 71 clen = left > hashlen ? hashlen : left; in eap_gpsk_gkdf_cmac() 72 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_cmac() 73 opos += clen; in eap_gpsk_gkdf_cmac() 74 left -= clen; in eap_gpsk_gkdf_cmac() 87 size_t i, n, hashlen, left, clen; in eap_gpsk_gkdf_sha256() local 105 clen = left > hashlen ? hashlen : left; in eap_gpsk_gkdf_sha256() 106 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_sha256() 107 opos += clen; in eap_gpsk_gkdf_sha256() 108 left -= clen; in eap_gpsk_gkdf_sha256()
|
D | eap_pax_common.c | 65 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left; in eap_pax_kdf() local 67 os_memcpy(pos, mac, clen); in eap_pax_kdf() 68 pos += clen; in eap_pax_kdf() 69 left -= clen; in eap_pax_kdf()
|
/external/wpa_supplicant/ |
D | eap_gpsk_common.c | 52 size_t i, n, hashlen, left, clen; in eap_gpsk_gkdf_cmac() local 70 clen = left > hashlen ? hashlen : left; in eap_gpsk_gkdf_cmac() 71 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_cmac() 72 opos += clen; in eap_gpsk_gkdf_cmac() 73 left -= clen; in eap_gpsk_gkdf_cmac() 86 size_t i, n, hashlen, left, clen; in eap_gpsk_gkdf_sha256() local 104 clen = left > hashlen ? hashlen : left; in eap_gpsk_gkdf_sha256() 105 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_sha256() 106 opos += clen; in eap_gpsk_gkdf_sha256() 107 left -= clen; in eap_gpsk_gkdf_sha256()
|
D | eap_pax_common.c | 65 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left; in eap_pax_kdf() local 67 os_memcpy(pos, mac, clen); in eap_pax_kdf() 68 pos += clen; in eap_pax_kdf() 69 left -= clen; in eap_pax_kdf()
|
D | tlsv1_common.c | 301 size_t clen; in tlsv1_record_send() local 330 clen = buf + buf_size - pos; in tlsv1_record_send() 331 if (clen < rl->hash_size) { in tlsv1_record_send() 338 if (crypto_hash_finish(hmac, pos, &clen) < 0) { in tlsv1_record_send() 344 pos, clen); in tlsv1_record_send() 345 pos += clen; in tlsv1_record_send()
|
/external/bluetooth/bluez/lib/ |
D | hci.c | 1102 if (hci_send_cmd(dd, r->ogf, r->ocf, r->clen, r->cparam) < 0) in hci_send_req() 1242 rq.clen = CREATE_CONN_CP_SIZE; in hci_create_connection() 1273 rq.clen = DISCONNECT_CP_SIZE; in hci_disconnect() 1323 rq.clen = CHANGE_LOCAL_NAME_CP_SIZE; in hci_write_local_name() 1346 rq.clen = REMOTE_NAME_REQ_CP_SIZE; in hci_read_remote_name_with_clock_offset() 1381 rq.clen = REMOTE_NAME_REQ_CANCEL_CP_SIZE; in hci_read_remote_name_cancel() 1403 rq.clen = READ_REMOTE_VERSION_CP_SIZE; in hci_read_remote_version() 1435 rq.clen = READ_REMOTE_FEATURES_CP_SIZE; in hci_read_remote_features() 1468 rq.clen = READ_REMOTE_EXT_FEATURES_CP_SIZE; in hci_read_remote_ext_features() 1503 rq.clen = READ_CLOCK_OFFSET_CP_SIZE; in hci_read_clock_offset() [all …]
|
/external/bluetooth/bluez/tools/ |
D | hciattach_st.c | 45 uint8_t *cparam, int clen, uint8_t *rparam, int rlen) in do_command() argument 54 cp[3] = clen; in do_command() 56 if (clen > 0) in do_command() 57 memcpy(cp + 4, cparam, clen); in do_command() 62 for (i = 0; i < clen + 4; i++) in do_command() 67 if (write(fd, cp, clen + 4) < 0) in do_command()
|
D | hciattach.c | 494 int clen = 0; /* Command len */ in csr() local 511 clen = 5 + (5 + 6) * 2; in csr() 536 if (write(fd, cmd, clen) != clen) { in csr() 567 clen = 5 + (5 + 4)*2; in csr() 580 if (write(fd, cmd, clen) != clen) { in csr() 636 for(i = 0; i < clen; i++) in csr() 638 fprintf(stderr, "Writing CSR UART speed %d [%s]\n", clen, temp + 1); in csr() 646 if (write(fd, cmd, clen) != clen) { in csr()
|
/external/icu4c/i18n/ |
D | uni2name.cpp | 97 int32_t clen = UTF_CHAR_LENGTH(c); in handleTransliterate() local 102 text.handleReplaceBetween(cursor, cursor+clen, str); in handleTransliterate() 105 limit += len-clen; // change in length in handleTransliterate() 107 cursor += clen; in handleTransliterate()
|
/external/chromium/third_party/icu/source/i18n/ |
D | uni2name.cpp | 97 int32_t clen = UTF_CHAR_LENGTH(c); in handleTransliterate() local 102 text.handleReplaceBetween(cursor, cursor+clen, str); in handleTransliterate() 105 limit += len-clen; // change in length in handleTransliterate() 107 cursor += clen; in handleTransliterate()
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
D | SDL_ph_mouse.c | 54 int clen, i; in ph_CreateWMCursor() local 89 clen = (w/8)*h; in ph_CreateWMCursor() 92 for (i=0; i<clen; ++i) in ph_CreateWMCursor() 102 cursor->ph_cursor->images[i+clen] |= databit; in ph_CreateWMCursor() 107 cursor->ph_cursor->hdr.len =sizeof(PhCursorDef_t) + clen*2 - sizeof(PhRegionDataHdr_t); in ph_CreateWMCursor()
|
/external/bluetooth/bluez/test/ |
D | bdaddr.c | 73 rq.clen = ERICSSON_WRITE_BD_ADDR_CP_SIZE; in ericsson_write_bd_addr() 106 rq.clen = ERICSSON_STORE_IN_FLASH_CP_SIZE; in ericsson_store_in_flash() 146 rq.clen = sizeof(cmd) + 1; in csr_write_bd_addr() 187 rq.clen = sizeof(cmd) + 1; in csr_reset_device() 215 rq.clen = TI_WRITE_BD_ADDR_CP_SIZE; in ti_write_bd_addr() 243 rq.clen = BCM_WRITE_BD_ADDR_CP_SIZE; in bcm_write_bd_addr() 271 rq.clen = ZEEVO_WRITE_BD_ADDR_CP_SIZE; in zeevo_write_bd_addr()
|
/external/e2fsprogs/lib/ext2fs/ |
D | inode.c | 510 int clen, i, inodes_per_block, length; in ext2fs_read_inode_full() local 565 clen = length; in ext2fs_read_inode_full() 567 clen = fs->blocksize - offset; in ext2fs_read_inode_full() 578 clen); in ext2fs_read_inode_full() 581 length -= clen; in ext2fs_read_inode_full() 582 ptr += clen; in ext2fs_read_inode_full() 617 int clen, i, length; in ext2fs_write_inode_full() local 689 clen = length; in ext2fs_write_inode_full() 691 clen = fs->blocksize - offset; in ext2fs_write_inode_full() 703 ptr, clen); in ext2fs_write_inode_full() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
D | tlsv1_client_write.c | 334 size_t clen; in tlsv1_key_x_rsa() local 357 clen = end - *pos; in tlsv1_key_x_rsa() 361 *pos, &clen); in tlsv1_key_x_rsa() 369 WPA_PUT_BE16(*pos - 2, clen); in tlsv1_key_x_rsa() 371 *pos, clen); in tlsv1_key_x_rsa() 372 *pos += clen; in tlsv1_key_x_rsa() 439 size_t rlen, hlen, clen; in tls_write_client_certificate_verify() local 525 clen = end - pos; in tls_write_client_certificate_verify() 528 pos, &clen) < 0) { in tls_write_client_certificate_verify() 534 WPA_PUT_BE16(signed_start, clen); in tls_write_client_certificate_verify() [all …]
|
D | tlsv1_record.c | 157 size_t clen; in tlsv1_record_send() local 186 clen = buf + buf_size - pos; in tlsv1_record_send() 187 if (clen < rl->hash_size) { in tlsv1_record_send() 194 if (crypto_hash_finish(hmac, pos, &clen) < 0) { in tlsv1_record_send() 200 pos, clen); in tlsv1_record_send() 201 pos += clen; in tlsv1_record_send()
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
D | SDL_x11mouse.c | 59 int clen, i; in X11_CreateWMCursor() local 72 clen = (w/8)*h; in X11_CreateWMCursor() 73 x_data = (char *)SDL_malloc(clen); in X11_CreateWMCursor() 79 x_mask = (char *)SDL_malloc(clen); in X11_CreateWMCursor() 86 for ( i=0; i<clen; ++i ) { in X11_CreateWMCursor()
|
/external/bluetooth/hcidump/parser/ |
D | l2cap.c | 525 int clen = btohs(cmd->len) - L2CAP_CONF_REQ_SIZE; in conf_req() local 531 dcid, btohs(h->flags), clen); in conf_req() 533 if (clen > 0) in conf_req() 534 conf_opt(level + 1, h->data, clen, frm->in, dcid); in conf_req() 542 int clen = btohs(cmd->len) - L2CAP_CONF_RSP_SIZE; in conf_rsp() local 548 scid, btohs(h->flags), result, clen); in conf_rsp() 550 if (clen > 0) { in conf_rsp() 556 conf_list(level + 1, h->data, clen); in conf_rsp() 558 conf_opt(level + 1, h->data, clen, frm->in, scid); in conf_rsp()
|
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
D | regexp-dna.js | 1682 var ilen, clen, variable 1702 clen = dnaInput.length
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
D | regexp-dna.js | 1682 var ilen, clen, variable 1702 clen = dnaInput.length
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
D | SDL_audiocvt.c | 1232 int i, clen; in SDL_RateSLOW() local 1237 clen = (int)((double)cvt->len_cvt / cvt->rate_incr); in SDL_RateSLOW() 1245 for ( i=clen; i; --i ) { in SDL_RateSLOW() 1256 clen &= ~1; in SDL_RateSLOW() 1259 for ( i=clen/2; i; --i ) { in SDL_RateSLOW() 1272 output = cvt->buf+clen; in SDL_RateSLOW() 1274 for ( i=clen; i; --i ) { in SDL_RateSLOW() 1285 clen &= ~1; in SDL_RateSLOW() 1286 output = (Uint16 *)(cvt->buf+clen); in SDL_RateSLOW() 1288 for ( i=clen/2; i; --i ) { in SDL_RateSLOW() [all …]
|