/external/ppp/pppd/ |
chap-md5.c | 48 int clen; local 50 clen = (int)(drand48() * (MD5_MAX_CHALLENGE - MD5_MIN_CHALLENGE)) 52 *cp++ = clen; 53 random_bytes(cp, clen);
|
chap-new.c | 285 int clen = 1, nlen, len; local 292 clen = *p; 294 memcpy(p + 1 + clen, ss->name, nlen); 296 len = CHAP_HDRLEN + 1 + clen + nlen; 426 int clen, nlen; local 437 clen = pkt[0]; 438 nlen = len - (clen + 1); 441 slprintf(rname, sizeof(rname), "%.*v", nlen, pkt + clen + 1); 461 clen = *p; 463 memcpy(p + clen + 1, cs->name, nlen) 576 int clen, nlen; local [all...] |
/system/bluetooth/bluez-clean-headers/bluetooth/ |
hci_lib.h | 30 int clen; member in struct:hci_request
|
/external/openssl/crypto/asn1/ |
x_long.c | 109 int clen, pad, i; local 123 clen = BN_num_bits_word(utmp); 125 if(!(clen & 0x7)) pad = 1; 129 clen = (clen + 7) >> 3; 133 for(i = clen - 1; i >= 0; i--) { 139 return clen + pad;
|
/external/openssl/crypto/rsa/ |
rsa_test.c | 220 int clen = 0; local 237 clen = key1(key, ctext_ex); 240 clen = key2(key, ctext_ex); 243 clen = key3(key, ctext_ex); 250 if (num != clen) 276 if (num != clen) 296 num = RSA_private_decrypt(clen, ctext_ex, ptext, key, 308 for(n = 0 ; n < clen ; ++n)
|
/external/icu4c/i18n/ |
uni2name.cpp | 97 int32_t clen = UTF_CHAR_LENGTH(c); local 102 text.handleReplaceBetween(cursor, cursor+clen, str); 105 limit += len-clen; // change in length 107 cursor += clen;
|
/external/wpa_supplicant/ |
eap_pax_common.c | 65 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left; local 67 os_memcpy(pos, mac, clen); 68 pos += clen; 69 left -= clen;
|
eap_gpsk_common.c | 52 size_t i, n, hashlen, left, clen; local 70 clen = left > hashlen ? hashlen : left; 71 os_memcpy(opos, hash, clen); 72 opos += clen; 73 left -= clen; 86 size_t i, n, hashlen, left, clen; local 104 clen = left > hashlen ? hashlen : left; 105 os_memcpy(opos, hash, clen); 106 opos += clen; 107 left -= clen; [all...] |
tlsv1_common.c | 301 size_t clen; local 330 clen = buf + buf_size - pos; 331 if (clen < rl->hash_size) { 338 if (crypto_hash_finish(hmac, pos, &clen) < 0) { 344 pos, clen); 345 pos += clen;
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_pax_common.c | 65 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left; local 67 os_memcpy(pos, mac, clen); 68 pos += clen; 69 left -= clen;
|
eap_gpsk_common.c | 52 size_t i, n, hashlen, left, clen; local 71 clen = left > hashlen ? hashlen : left; 72 os_memcpy(opos, hash, clen); 73 opos += clen; 74 left -= clen; 87 size_t i, n, hashlen, left, clen; local 105 clen = left > hashlen ? hashlen : left; 106 os_memcpy(opos, hash, clen); 107 opos += clen; 108 left -= clen; [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_pax_common.c | 65 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left; local 67 os_memcpy(pos, mac, clen); 68 pos += clen; 69 left -= clen;
|
eap_gpsk_common.c | 49 size_t i, n, hashlen, left, clen; local 68 clen = left > hashlen ? hashlen : left; 69 os_memcpy(opos, hash, clen); 70 opos += clen; 71 left -= clen; 84 size_t i, n, hashlen, left, clen; local 102 clen = left > hashlen ? hashlen : left; 103 os_memcpy(opos, hash, clen); 104 opos += clen; 105 left -= clen; [all...] |
/external/pcre/ |
pcre_dfa_exec.c | 549 int clen, dlen; local 588 clen = 1; /* Number of bytes in the character */ 590 if (utf8) { GETCHARLEN(c, ptr, clen); } else 596 clen = 0; /* This indicates the end of the subject */ 614 if (clen == 0) printf("EOL\n"); 664 if (clen == 0 && poptable[codevalue] != 0) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_mouse.c | 54 int clen, i; local 89 clen = (w/8)*h; 92 for (i=0; i<clen; ++i) 102 cursor->ph_cursor->images[i+clen] |= databit; 107 cursor->ph_cursor->hdr.len =sizeof(PhCursorDef_t) + clen*2 - sizeof(PhRegionDataHdr_t);
|
/external/bluetooth/bluez/tools/ |
hciattach_st.c | 45 uint8_t *cparam, int clen, uint8_t *rparam, int rlen) 54 cp[3] = clen; 56 if (clen > 0) 57 memcpy(cp + 4, cparam, clen); 62 for (i = 0; i < clen + 4; i++) 67 if (write(fd, cp, clen + 4) < 0)
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
tlsv1_record.c | 157 size_t clen; local 186 clen = buf + buf_size - pos; 187 if (clen < rl->hash_size) { 194 if (crypto_hash_finish(hmac, pos, &clen) < 0) { 200 pos, clen); 201 pos += clen;
|
tlsv1_client_write.c | 334 size_t clen; local 357 clen = end - *pos; 361 *pos, &clen); 369 WPA_PUT_BE16(*pos - 2, clen); 371 *pos, clen); 372 *pos += clen; 439 size_t rlen, hlen, clen; local 525 clen = end - pos; 528 pos, &clen) < 0) { 534 WPA_PUT_BE16(signed_start, clen); [all...] |
/external/wpa_supplicant_8/src/tls/ |
tlsv1_record.c | 157 size_t clen; local 186 clen = buf + buf_size - pos; 187 if (clen < rl->hash_size) { 194 if (crypto_hash_finish(hmac, pos, &clen) < 0) { 200 pos, clen); 201 pos += clen;
|
tlsv1_client_write.c | 330 size_t clen; local 353 clen = end - *pos; 357 *pos, &clen); 365 WPA_PUT_BE16(*pos - 2, clen); 367 *pos, clen); 368 *pos += clen; 435 size_t rlen, hlen, clen; local 521 clen = end - pos; 524 pos, &clen) < 0) { 530 WPA_PUT_BE16(signed_start, clen); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11mouse.c | 59 int clen, i; local 72 clen = (w/8)*h; 73 x_data = (char *)SDL_malloc(clen); 79 x_mask = (char *)SDL_malloc(clen); 86 for ( i=0; i<clen; ++i ) {
|
/external/bluetooth/bluez/test/ |
lmptest.c | 62 rq.clen = ERICSSON_SEND_LMP_CP_SIZE; 95 rq.clen = ERICSSON_WRITE_EVENTS_CP_SIZE;
|
bdaddr.c | 73 rq.clen = ERICSSON_WRITE_BD_ADDR_CP_SIZE; 106 rq.clen = ERICSSON_STORE_IN_FLASH_CP_SIZE; 146 rq.clen = sizeof(cmd) + 1; 187 rq.clen = sizeof(cmd) + 1; 215 rq.clen = TI_WRITE_BD_ADDR_CP_SIZE; 243 rq.clen = BCM_WRITE_BD_ADDR_CP_SIZE; 271 rq.clen = ZEEVO_WRITE_BD_ADDR_CP_SIZE;
|
/external/bluetooth/bluez/lib/ |
hci.c | 1106 if (hci_send_cmd(dd, r->ogf, r->ocf, r->clen, r->cparam) < 0) 1249 rq.clen = CREATE_CONN_CP_SIZE; 1280 rq.clen = DISCONNECT_CP_SIZE; 1308 rq.clen = LE_ADD_DEVICE_TO_WHITE_LIST_CP_SIZE; 1337 rq.clen = LE_REMOVE_DEVICE_FROM_WHITE_LIST_CP_SIZE; 1437 rq.clen = CHANGE_LOCAL_NAME_CP_SIZE; 1463 rq.clen = REMOTE_NAME_REQ_CP_SIZE; [all...] |
/system/core/libzipfile/ |
zipfile.c | 79 uninflate(unsigned char* out, int unlen, const unsigned char* in, int clen) 91 zstream.avail_in = clen;
|