/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/fec/ |
dotprod.h | 4 int len; /* Number of coefficients */ member in struct:dotprod
|
/external/strace/ |
seccomp_fprog.h | 2 unsigned short len; member in struct:seccomp_fprog
|
/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]);
|
/frameworks/rs/ |
rsCompatibilityLib.cpp | 23 int len; local 25 len = __system_property_get(key, value); 27 len = 0; 29 if (len > 0) { 30 return len; 34 len = strlen(default_value); 35 memcpy(value, default_value, len + 1); 37 return len;
|
/external/tlsdate/src/common/ |
strnlen.c | 12 size_t len; local 14 for (len = 0; len < limit; len++) 18 return len;
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/util/ |
ByteArrayBuffer.java | 40 private int len; field in class:ByteArrayBuffer 52 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 56 public void append(final byte[] b, int off, int len) { 60 if ((off < 0) || (off > b.length) || (len < 0) || 61 ((off + len) < 0) || ((off + len) > b.length)) { 64 if (len == 0) { 67 int newlen = this.len + len; 71 System.arraycopy(b, off, this.buffer, this.len, len) [all...] |
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
leb128_unittest.cc | 39 size_t len; local 64 CHECK(read_unsigned_LEB_128(u1, &len) == 0 && len == sizeof(u1)); 65 CHECK(read_unsigned_LEB_128(u2, &len) == 1 && len == sizeof(u2)); 66 CHECK(read_unsigned_LEB_128(u3, &len) == 126 && len == sizeof(u3)); 67 CHECK(read_unsigned_LEB_128(u4, &len) == 127 && len == sizeof(u4)); 68 CHECK(read_unsigned_LEB_128(u5, &len) == 128 && len == sizeof(u5)) [all...] |
/external/elfutils/libelf/ |
chdr_xlate.h | 6 Elf32_cvt_chdr (void *dest, const void *src, size_t len, int encode) 8 if (len == 0) 14 memmove (dest, src, len); 16 if (len >= sizeof (Elf32_Chdr)) 21 Elf64_cvt_chdr (void *dest, const void *src, size_t len, int encode) 23 if (len == 0) 29 memmove (dest, src, len); 31 if (len >= sizeof (Elf64_Chdr))
|
/libcore/benchmarks/src/benchmarks/ |
SystemArrayCopyBenchmark.java | 29 final int len = arrayLength; local 30 char[] src = new char[len]; 31 char[] dst = new char[len]; 33 System.arraycopy(src, 0, dst, 0, len); 38 final int len = arrayLength; local 39 byte[] src = new byte[len]; 40 byte[] dst = new byte[len]; 42 System.arraycopy(src, 0, dst, 0, len); 47 final int len = arrayLength; local 48 short[] src = new short[len]; 56 final int len = arrayLength; local 65 final int len = arrayLength; local 74 final int len = arrayLength; local 83 final int len = arrayLength; local 92 final int len = arrayLength; local [all...] |
/system/bt/osi/src/ |
properties.c | 26 int len = -1; local 28 return len; 30 len = strlen(default_value); 31 if (len >= PROPERTY_VALUE_MAX) 32 len = PROPERTY_VALUE_MAX - 1; 34 memcpy(value, default_value, len); 35 value[len] = '\0'; 36 return len;
|
/toolchain/binutils/binutils-2.25/libiberty/ |
xstrndup.c | 51 size_t len = strlen (s); local 53 if (n < len) 54 len = n; 56 result = XNEWVEC (char, len + 1); 58 result[len] = '\0'; 59 return (char *) memcpy (result, s, len);
|
bcopy.c | 15 bcopy (const void *src, void *dest, size_t len) 21 while (len--) 26 const char *lasts = (const char *)src + (len-1); 27 char *lastd = (char *)dest + (len-1); 28 while (len--)
|
/external/fio/t/ |
log.c | 9 size_t len; local 12 len = vsnprintf(buffer, sizeof(buffer), format, args); 14 len = min(len, sizeof(buffer) - 1); 16 return fwrite(buffer, len, 1, stderr); 23 size_t len; local 26 len = vsnprintf(buffer, sizeof(buffer), format, args); 28 len = min(len, sizeof(buffer) - 1); 30 return fwrite(buffer, len, 1, stdout) [all...] |
/external/fio/ |
log.c | 12 size_t len; local 14 len = vsnprintf(buffer, sizeof(buffer), str, args); 15 len = min(len, sizeof(buffer) - 1); 18 len = fio_server_text_output(FIO_LOG_INFO, buffer, len); 22 len = fwrite(buffer, len, 1, f_out); 24 return len; 27 int log_local_buf(const char *buf, size_t len) 41 size_t len; local 69 size_t len; local [all...] |
/external/vboot_reference/firmware/lib/ |
stateful_util.c | 13 void StatefulInit(MemcpyState *state, void *buf, uint64_t len) 16 state->remaining_len = len; 20 void *StatefulSkip(MemcpyState *state, uint64_t len) 24 if (len > state->remaining_len) { 28 state->remaining_buf += len; 29 state->remaining_len -= len; 33 void *StatefulMemcpy(MemcpyState *state, void *dst, uint64_t len) 37 if (len > state->remaining_len) { 41 Memcpy(dst, state->remaining_buf, len); 42 state->remaining_buf += len; [all...] |
/external/apache-http/src/org/apache/http/util/ |
ByteArrayBuffer.java | 51 private int len; field in class:ByteArrayBuffer 63 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 67 public void append(final byte[] b, int off, int len) { 71 if ((off < 0) || (off > b.length) || (len < 0) || 72 ((off + len) < 0) || ((off + len) > b.length)) { 75 if (len == 0) { 78 int newlen = this.len + len; 82 System.arraycopy(b, off, this.buffer, this.len, len) 121 append(b.buffer(), off, len); local [all...] |
CharArrayBuffer.java | 53 private int len; field in class:CharArrayBuffer 65 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 69 public void append(final char[] b, int off, int len) { 73 if ((off < 0) || (off > b.length) || (len < 0) || 74 ((off + len) < 0) || ((off + len) > b.length)) { 77 if (len == 0) { 80 int newlen = this.len + len; 84 System.arraycopy(b, off, this.buffer, this.len, len) 154 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);
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
strndup.c | 29 size_t len; local 31 len = strnlen(str, maxlen); 32 copy = malloc(len + 1); 34 (void)memcpy(copy, str, len); 35 copy[len] = '\0';
|
/external/curl/src/ |
tool_strdup.c | 27 size_t len; local 33 len = strlen(str); 35 if(len >= ((size_t)-1) / sizeof(char)) 38 newstr = malloc((len+1)*sizeof(char)); 42 memcpy(newstr, str, (len+1)*sizeof(char));
|
/external/toybox/toys/other/ |
count.c | 21 int len; local 25 len = xread(0, toybuf, sizeof(toybuf)); 26 if (!len) break; 27 size += len; 28 xwrite(1, toybuf, len);
|
/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);
|
/external/wpa_supplicant_8/src/wps/ |
wps_attr_parse.c | 21 u8 id, u8 len, const u8 *pos) 23 wpa_printf(MSG_EXCESSIVE, "WPS: WFA subelement id=%u len=%u", 24 id, len); 27 if (len != 1) { 29 "%u", len); 36 attr->authorized_macs_len = len; 39 if (len != 1) { 41 "Shareable length %u", len); 47 if (len != 1) { 49 "length %u", len); 588 u16 type, len; local [all...] |