/external/clang/test/Lexer/ |
H A D | digraph.c | 9 void copy(char d<::>, const char s<::>, int len) 11 while (len-- >= 0) 13 d<:len:> = s<:len:>; variable
|
/external/clang/test/CodeGen/ |
H A D | 2004-05-07-VarArrays.c | 3 int foo(int len, char arr[][len], int X) { argument
|
H A D | offsetof.c | 9 int test(int len) { argument 10 return __builtin_offsetof(struct sockaddr_un, sun_path[len+1]);
|
/external/dropbear/libtomcrypt/ |
H A D | parsenames.pl | 9 $len = length($b); 12 $len = $len + length($obj); 14 if ($len > 100) { 16 $len = length($obj);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/ |
H A D | SimpleDERReader.java | 28 public SimpleDERReader(byte[] b, int off, int len) argument 30 resetInput(b, off, len); 38 public void resetInput(byte[] b, int off, int len) argument 42 count = len; 53 private byte[] readBytes(int len) throws IOException argument 55 if (len > count) 58 byte[] b = new byte[len]; 60 System.arraycopy(buffer, pos, b, 0, len); 62 pos += len; 63 count -= len; [all...] |
/external/dropbear/libtomcrypt/src/misc/ |
H A D | burn_stack.c | 20 @param len amount of stack to burn in bytes 22 void burn_stack(unsigned long len) argument 26 if (len > (unsigned long)sizeof(buf)) 27 burn_stack(len - sizeof(buf));
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/utf8/ |
H A D | der_length_utf8_string.c | 46 unsigned long x, len; local 51 len = 0; 56 len += der_utf8_charsize(in[x]); 59 if (len < 128) { 61 *outlen = 2 + len; 62 } else if (len < 256) { 64 *outlen = 3 + len; 65 } else if (len < 65536UL) { 67 *outlen = 4 + len; 68 } else if (len < 1677721 [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
H A D | wps_attr_parse.c | 22 const u8 *pos, u16 len) 26 if (len != 1) { 28 len); 34 if (len != 1) { 36 "length %u", len); 42 if (len != WPS_NONCE_LEN) { 44 "length %u", len); 50 if (len != WPS_NONCE_LEN) { 52 "length %u", len); 58 if (len ! 21 wps_set_attr(struct wps_parse_attr *attr, u16 type, const u8 *pos, u16 len) argument 405 u16 type, len; local [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/short_integer/ |
H A D | der_length_short_integer.c | 28 unsigned long z, y, len; local 49 len = 1; 52 ++len; 55 len += z; 58 len += (num&(1UL<<((z<<3) - 1))) ? 1 : 0; 61 *outlen = len;
|
/external/apache-http/src/org/apache/http/util/ |
H A D | ByteArrayBuffer.java | 46 private int len; field in class:ByteArrayBuffer 58 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 62 public void append(final byte[] b, int off, int len) { argument 66 if ((off < 0) || (off > b.length) || (len < 0) || 67 ((off + len) < 0) || ((off + len) > b.length)) { 70 if (len == 0) { 73 int newlen = this.len + len; 77 System.arraycopy(b, off, this.buffer, this.len, le 90 append(final char[] b, int off, int len) argument 112 append(final CharArrayBuffer b, int off, int len) argument 147 setLength(int len) argument [all...] |
H A D | CharArrayBuffer.java | 48 private int len; field in class:CharArrayBuffer 60 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 64 public void append(final char[] b, int off, int len) { argument 68 if ((off < 0) || (off > b.length) || (len < 0) || 69 ((off + len) < 0) || ((off + len) > b.length)) { 72 if (len == 0) { 75 int newlen = this.len + len; 79 System.arraycopy(b, off, this.buffer, this.len, le 96 append(final CharArrayBuffer b, int off, int len) argument 119 append(final byte[] b, int off, int len) argument 145 append(final ByteArrayBuffer b, int off, int len) argument 191 setLength(int len) argument [all...] |
/external/v8/test/mjsunit/ |
H A D | string-indexof-2.js | 55 for(var len = 1; i + len < lipsum.length; len += 7) { 56 var substring = lipsum.substring(i, i + len); 61 "Lipsum substring " + i + ".." + (i + len-1) + " not found"); 62 assertEquals(lipsum.substring(index, index + len), substring, 63 "Wrong lipsum substring found: " + i + ".." + (i + len - 1) + "/" + 64 index + ".." + (index + len - 1)); 66 assertEquals(i, index, "Lipsum match at " + i + ".." + (i + len - 1));
|
/external/dropbear/libtomcrypt/src/modes/cbc/ |
H A D | cbc_getiv.c | 23 @param len [in/out] The max size and resulting size of the initial vector 27 int cbc_getiv(unsigned char *IV, unsigned long *len, symmetric_CBC *cbc) argument 30 LTC_ARGCHK(len != NULL); 32 if ((unsigned long)cbc->blocklen > *len) { 33 *len = cbc->blocklen; 37 *len = cbc->blocklen;
|
/external/dropbear/libtomcrypt/src/modes/cfb/ |
H A D | cfb_getiv.c | 23 @param len [in/out] The max size and resulting size of the initial vector 27 int cfb_getiv(unsigned char *IV, unsigned long *len, symmetric_CFB *cfb) argument 30 LTC_ARGCHK(len != NULL); 32 if ((unsigned long)cfb->blocklen > *len) { 33 *len = cfb->blocklen; 37 *len = cfb->blocklen;
|
/external/dropbear/libtomcrypt/src/modes/ctr/ |
H A D | ctr_getiv.c | 23 @param len [in/out] The max size and resulting size of the initial vector 27 int ctr_getiv(unsigned char *IV, unsigned long *len, symmetric_CTR *ctr) argument 30 LTC_ARGCHK(len != NULL); 32 if ((unsigned long)ctr->blocklen > *len) { 33 *len = ctr->blocklen; 37 *len = ctr->blocklen;
|
/external/dropbear/libtomcrypt/src/modes/f8/ |
H A D | f8_getiv.c | 23 @param len [in/out] The max size and resulting size of the initial vector 27 int f8_getiv(unsigned char *IV, unsigned long *len, symmetric_F8 *f8) argument 30 LTC_ARGCHK(len != NULL); 32 if ((unsigned long)f8->blocklen > *len) { 33 *len = f8->blocklen; 37 *len = f8->blocklen;
|
/external/dropbear/libtomcrypt/src/modes/lrw/ |
H A D | lrw_getiv.c | 23 @param len Length ... must be at least 16 :-) 27 int lrw_getiv(unsigned char *IV, unsigned long *len, symmetric_LRW *lrw) argument 30 LTC_ARGCHK(len != NULL); 32 if (*len < 16) { 33 *len = 16; 38 *len = 16;
|
/external/dropbear/libtomcrypt/src/modes/ofb/ |
H A D | ofb_getiv.c | 23 @param len [in/out] The max size and resulting size of the initial vector 27 int ofb_getiv(unsigned char *IV, unsigned long *len, symmetric_OFB *ofb) argument 30 LTC_ARGCHK(len != NULL); 32 if ((unsigned long)ofb->blocklen > *len) { 33 *len = ofb->blocklen; 37 *len = ofb->blocklen;
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
H A D | chap.c | 26 size_t len[3]; local 29 len[0] = 1; 31 len[1] = secret_len; 33 len[2] = challenge_len; 34 md5_vector(3, addr, len, response);
|
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | chap.c | 19 size_t len[3]; local 22 len[0] = 1; 24 len[1] = secret_len; 26 len[2] = challenge_len; 27 return md5_vector(3, addr, len, response);
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | chap.c | 19 size_t len[3]; local 22 len[0] = 1; 24 len[1] = secret_len; 26 len[2] = challenge_len; 27 return md5_vector(3, addr, len, response);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | chap.c | 19 size_t len[3]; local 22 len[0] = 1; 24 len[1] = secret_len; 26 len[2] = challenge_len; 27 return md5_vector(3, addr, len, response);
|
/external/bluetooth/bluedroid/bta/ag/ |
H A D | bta_ag_ci.c | 43 void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len) argument 46 UINT16 len_remaining = len; 49 if (len > (RFCOMM_DATA_POOL_BUF_SIZE - sizeof(tBTA_AG_CI_RX_WRITE) - 1)) 50 len = RFCOMM_DATA_POOL_BUF_SIZE - sizeof(tBTA_AG_CI_RX_WRITE) - 1; 54 if (len_remaining < len) 55 len = len_remaining; 57 if ((p_buf = (tBTA_AG_CI_RX_WRITE *) GKI_getbuf((UINT16)(sizeof(tBTA_AG_CI_RX_WRITE) + len + 1))) != NULL) 63 strncpy(p_data_area, p_data, len); 64 p_data_area[len] = 0; 68 APPL_TRACE_ERROR1("ERROR: Unable to allocate buffer to hold AT response code. len [all...] |
/external/dropbear/libtomcrypt/src/math/ |
H A D | rand_prime.c | 20 int rand_prime(void *N, long len, prng_state *prng, int wprng) argument 28 if (len < 0) { 30 len = -len; 36 if (len < 2 || len > 512) { 46 buf = XCALLOC(1, len); 53 if (prng_descriptor[wprng].read(buf, len, prng) != (unsigned long)len) { 60 buf[len [all...] |
/external/elfutils/libasm/ |
H A D | disasm_str.c | 38 size_t len; member in struct:buffer 43 buffer_cb (char *str, size_t len, void *arg) argument 47 if (len > buffer->len) 49 return len - buffer->len; 51 buffer->buf = mempcpy (buffer->buf, str, len); 52 buffer->len = len; 60 GElf_Addr addr, const char *fmt, char **bufp, size_t len, 59 disasm_str(DisasmCtx_t *ctx, const uint8_t **startp, const uint8_t *end, GElf_Addr addr, const char *fmt, char **bufp, size_t len, void *symcbarg) argument [all...] |