HomeSort by relevance Sort by last modified time
    Searched refs:len (Results 1 - 25 of 16077) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/chromium_org/third_party/skia/tests/
MiniDataTest.cpp 7 for (size_t len = 0; len <= 26; len++) {
8 SkMiniData md(s, len);
9 REPORTER_ASSERT(r, md.len() == len);
10 REPORTER_ASSERT(r, 0 == memcmp(md.data(), s, len));
13 REPORTER_ASSERT(r, copy.len() == len);
14 REPORTER_ASSERT(r, 0 == memcmp(copy.data(), s, len));
    [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/chromium_org/base/
hash.cc 10 extern "C" uint32_t SuperFastHash(const char* data, int len);
14 uint32 SuperFastHash(const char* data, int len) {
15 return ::SuperFastHash(data, len);
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/include/linux/
string.h 3 void *memdup(const void *src, size_t len);
4 int str_append(char **s, int *len, const char *a);
  /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/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);
  /libcore/benchmarks/src/benchmarks/
SystemArrayCopyBenchmark.java 30 final int len = arrayLength; local
31 char[] src = new char[len];
32 char[] dst = new char[len];
34 System.arraycopy(src, 0, dst, 0, len);
39 final int len = arrayLength; local
40 byte[] src = new byte[len];
41 byte[] dst = new byte[len];
43 System.arraycopy(src, 0, dst, 0, len);
48 final int len = arrayLength; local
49 short[] src = new short[len];
57 final int len = arrayLength; local
66 final int len = arrayLength; local
75 final int len = arrayLength; local
84 final int len = arrayLength; local
93 final int len = arrayLength; local
    [all...]
  /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/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/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/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/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_ERROR("ERROR: Unable to allocate buffer to hold AT response code. len=%i", len)
    [all...]
  /external/elfutils/0.153/libasm/
disasm_str.c 38 size_t len; member in struct:buffer
43 buffer_cb (char *str, size_t len, void *arg)
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,
    [all...]
  /external/chromium_org/third_party/smhasher/src/
Hashes.h 12 void sumhash ( const void * key, int len, uint32_t seed, void * out );
13 void sumhash32 ( const void * key, int len, uint32_t seed, void * out );
15 void DoNothingHash ( const void * key, int len, uint32_t seed, void * out );
16 void crc32 ( const void * key, int len, uint32_t seed, void * out );
18 void randhash_32 ( const void * key, int len, uint32_t seed, void * out );
19 void randhash_64 ( const void * key, int len, uint32_t seed, void * out );
20 void randhash_128 ( const void * key, int len, uint32_t seed, void * out );
25 void md5_32 ( const void * key, int len, uint32_t seed, void * out );
26 void sha1_32a ( const void * key, int len, uint32_t seed, void * out );
31 void FNV ( const void * key, int len, uint32_t seed, void * out )
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
path.c 31 size_t len = (ret >= size) ? size - 1 : ret; local
32 memcpy(dest, src, len);
33 dest[len] = '\0';
61 size_t len; local
63 len = strlen(perf_dir);
64 if (n < len + 1)
66 memcpy(buf, perf_dir, len);
67 if (len && !is_dir_sep(perf_dir[len-1]))
68 buf[len++] = '/'
91 unsigned len; local
107 unsigned len; local
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkMiniData.cpp 11 // If any of those bottom 3 bits are set, it's from a ShortData's len. And if no bits are
18 size_t len; member in struct:__anon19802::LongData
19 uint8_t data[8]; // There are actually len >= 8 bytes here.
21 static uint64_t Create(const void* data, size_t len) {
22 SkASSERT(len > 7);
23 LongData* s = (LongData*)sk_malloc_throw(sizeof(size_t) + len);
24 s->len = len;
25 memcpy(s->data, data, len);
35 // Order matters here. len must align with the least signficant bits of a pointer
37 uint8_t len; member in struct:__anon19802::ShortData
77 size_t SkMiniData::len() const { function in class:SkMiniData
    [all...]
  /bionic/libc/include/
strings.h 47 #define bcopy(b1, b2, len) \
48 (void)(__builtin___memmove_chk((b2), (b1), (len), __bos0(b2)))
49 #define bzero(b, len) \
50 (void)(__builtin___memset_chk((b), '\0', (len), __bos0(b)))
52 #define bcopy(b1, b2, len) (void)(__builtin_memmove((b2), (b1), (len)))
53 #define bzero(b, len) (void)(__builtin_memset((b), '\0', (len)))
  /bootable/recovery/minadbd/
transport.h 24 int readx(int fd, void *ptr, size_t len);
25 int writex(int fd, const void *ptr, size_t len);

Completed in 954 milliseconds

1 2 3 4 5 6 7 8 91011>>