/external/clang/test/Lexer/ |
H A D | digraph.c | 10 void copy(char d<::>, const char s<::>, int len) 12 while (len-- >= 0) 14 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/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
H A D | xstrdup.c | 47 size_t len; local 50 len = strlen(str) + 1; 51 copy = yasm_xmalloc(len); 52 memcpy(copy, str, len); 59 size_t len = 0; local 62 while (len < max && str[len] != '\0') 63 len++; 64 copy = yasm_xmalloc(len+1); 65 memcpy(copy, str, len); [all...] |
/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/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
H A D | sha1_adapter.cc | 9 void SHA1(const unsigned char* data, size_t len, unsigned char* hash) { argument 10 base::SHA1HashBytes(data, len, hash);
|
/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/chromium_org/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/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/chromium_org/native_client_sdk/src/examples/tutorial/dlopen/ |
H A D | reverse.cc | 10 size_t len = strlen(s); local 11 char* reversed = static_cast<char*>(malloc(len + 1)); 12 for (int i = len - 1; i >= 0; --i) 13 reversed[len - i - 1] = s[i]; 14 reversed[len] = 0;
|
/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/lzma/CPP/7zip/Common/ |
H A D | MethodId.cpp | 16 int len = 32;
local 17 s[--len] = 0;
20 s[--len] = GetHex((Byte)id & 0xF);
22 s[--len] = GetHex((Byte)id & 0xF);
26 return s + len;
|
/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);
|