Searched refs:len (Results 1 - 25 of 9402) sorted by relevance

1234567891011>>

/external/clang/test/Lexer/
H A Ddigraph.c10 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 D2004-05-07-VarArrays.c3 int foo(int len, char arr[][len], int X) { argument
H A Doffsetof.c9 int test(int len) { argument
10 return __builtin_offsetof(struct sockaddr_un, sun_path[len+1]);
/external/chromium_org/base/
H A Dhash.cc10 extern "C" uint32_t SuperFastHash(const char* data, int len);
14 uint32 SuperFastHash(const char* data, int len) { argument
15 return ::SuperFastHash(data, len);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/include/linux/
H A Dstring.h3 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/
H A Dxstrdup.c47 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/
H A Dsha1_adapter.cc9 void SHA1(const unsigned char* data, size_t len, unsigned char* hash) { argument
10 base::SHA1HashBytes(data, len, hash);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dreadlink.c12 int readlink(const char* pathname, char* buf, int len) { argument
13 return ki_readlink(pathname, buf, len);
H A Daccept.c10 int accept(int fd, struct sockaddr* addr, socklen_t* len) { argument
11 return ki_accept(fd, addr, len);
H A Dbind.c10 int bind(int fd, const struct sockaddr* addr, socklen_t len) { argument
11 return ki_bind(fd, addr, len);
/external/fio/t/
H A Dlog.c9 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,
[all...]
/external/fio/
H A Dlog.c12 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) argument
41 size_t len; local
69 size_t len; local
[all...]
/external/apache-http/src/org/apache/http/util/
H A DByteArrayBuffer.java46 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 DCharArrayBuffer.java48 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 Dstring-indexof-2.js55 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 Dreverse.cc10 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/lzma/CPP/7zip/Common/
H A DMethodId.cpp16 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 Dchap.c19 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 Dchap.c19 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 Dchap.c19 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 Dbta_ag_ci.c43 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_ERROR("ERROR: Unable to allocate buffer to hold AT response code. len
[all...]
/external/elfutils/0.153/libasm/
H A Ddisasm_str.c38 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...]
/external/chromium_org/third_party/smhasher/src/
H A DHashes.h12 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_
55 MurmurHash1_test( const void * key, int len, uint32_t seed, void * out ) argument
60 MurmurHash2_test( const void * key, int len, uint32_t seed, void * out ) argument
65 MurmurHash2A_test( const void * key, int len, uint32_t seed, void * out ) argument
70 MurmurHash64A_test( const void * key, int len, uint32_t seed, void * out ) argument
75 MurmurHash64B_test( const void * key, int len, uint32_t seed, void * out ) argument
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dpath.c31 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
124 chomp_trailing_dir_sep(const char *path, int len) argument
[all...]
/external/e2fsprogs/
H A Dwordwrap.pl20 $len = length($word) + 1;
21 $linelen += $len;
24 $linelen = 1+$len;

Completed in 3370 milliseconds

1234567891011>>