/external/clang/test/Lexer/ |
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/ |
2004-05-07-VarArrays.c | 3 int foo(int len, char arr[][len], int X) {
|
offsetof.c | 9 int test(int len) { 10 return __builtin_offsetof(struct sockaddr_un, sun_path[len+1]);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/ |
SimpleDERReader.java | 28 public SimpleDERReader(byte[] b, int off, int len) 30 resetInput(b, off, len); 38 public void resetInput(byte[] b, int off, int len) 42 count = len; 53 private byte[] readBytes(int len) throws IOException 55 if (len > count) 58 byte[] b = new byte[len]; 60 System.arraycopy(buffer, pos, b, 0, len); 62 pos += len; 63 count -= len; 75 int len = readByte() & 0xff; local 101 int len = readLength(); local 118 int len = readLength(); local 135 int len = readLength(); local 150 int len = readLength(); local [all...] |
/frameworks/rs/ |
rsCompatibilityLib.cpp | 23 int len; local 25 len = __system_property_get(key, value); 26 if (len > 0) { 27 return len; 31 len = strlen(default_value); 32 memcpy(value, default_value, len + 1); 34 return len;
|
/external/dropbear/libtomcrypt/src/misc/ |
burn_stack.c | 20 @param len amount of stack to burn in bytes 22 void burn_stack(unsigned long len) 26 if (len > (unsigned long)sizeof(buf)) 27 burn_stack(len - sizeof(buf));
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
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/ |
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 < 16777216UL) [all...] |
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
sha1_adapter.cc | 9 void SHA1(const unsigned char* data, size_t len, unsigned char* hash) { 10 base::SHA1HashBytes(data, len, hash);
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/short_integer/ |
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/dropbear/libtomcrypt/ |
parsenames.pl | 9 $len = length($b); 12 $len = $len + length($obj); 14 if ($len > 100) { 16 $len = length($obj);
|
/external/apache-http/src/org/apache/http/util/ |
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) { 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, len) 116 append(b.buffer(), off, len); local [all...] |
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) { 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, len) 149 append(b.buffer(), off, len); local [all...] |
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcsnlen.c | 35 size_t len; local 37 for (len = 0; len < maxlen; len++, s++) { 41 return (len);
|
/external/chromium_org/native_client_sdk/src/examples/tutorial/dlopen/ |
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/ |
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) 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/ |
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) 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/ |
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) 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/ |
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) 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/ |
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) 30 LTC_ARGCHK(len != NULL); 32 if (*len < 16) { 33 *len = 16; 38 *len = 16;
|
/external/dropbear/libtomcrypt/src/modes/ofb/ |
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) 30 LTC_ARGCHK(len != NULL); 32 if ((unsigned long)ofb->blocklen > *len) { 33 *len = ofb->blocklen; 37 *len = ofb->blocklen;
|
/external/wpa_supplicant_8/src/eap_common/ |
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);
|
/bionic/libc/bionic/ |
__memmove_chk.cpp | 45 size_t len, size_t dest_len) 47 if (__predict_false(len > dest_len)) { 52 return memmove(dest, src, len);
|
__strncpy_chk.cpp | 45 size_t len, size_t dest_len) 47 if (__predict_false(len > dest_len)) { 52 return strncpy(dest, src, len);
|
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_ci.c | 43 void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len) 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=%i", len) [all...] |