/external/elfutils/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/elfutils/libdw/ |
dwarf_getattrs.c | 125 size_t len = __libdw_form_val_len (dbg, die->cu, attr.form, local 128 if (unlikely (len == (size_t) -1l)) 133 die_addr += len;
|
/external/icu4c/common/ |
stringpiece.cpp | 29 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) { 35 if (len < 0) { 36 len = 0; 37 } else if (len > x.length_ - pos) { 38 len = x.length_ - pos; 41 length_ = len; 54 int32_t len = x.size(); local 55 if (len != y.size()) { 58 if (len == 0) { 64 --len; [all...] |
/external/icu4c/tools/toolutil/ |
ucbuf.h | 42 int32_t len; member in struct:ULine 100 * @param len Output param to receive the len of the buffer returned till end of the line 108 ucbuf_readline(UCHARBUF* buf,int32_t* len, UErrorCode* err); 124 * @param len Pointer to int32_t to receive the lenth of buffer 131 ucbuf_getBuffer(UCHARBUF* buf,int32_t* len,UErrorCode* err); 193 ucbuf_resolveFileName(const char* inputDir, const char* fileName, char* target, int32_t* len, UErrorCode* status);
|
/external/libselinux/src/ |
compute_av.c | 21 size_t len; local 34 len = selinux_page_size; 35 buf = malloc(len); 41 snprintf(buf, len, "%s %s %hu %x", scon, tcon, 48 memset(buf, 0, len); 49 ret = read(fd, buf, len - 1);
|
/external/linux-tools-perf/util/include/linux/ |
bitmap.h | 29 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); local 30 memset(dst, 0, len);
|
/external/linux-tools-perf/util/ |
quote.c | 29 size_t len = strcspn(src, "'!"); local 30 strbuf_add(dst, src, len); 31 src += len; 51 if (maxlen && dst->len > maxlen)
|
/external/stlport/src/ |
codecvt.cpp | 90 ptrdiff_t len = (min) (from_end - from, to_limit - to); local 91 copy(from, from + len, to); 92 from_next = from + len; 93 to_next = to + len; 105 ptrdiff_t len = (min) (from_end - from, to_limit - to); local 107 __REINTERPRET_CAST(const unsigned char*, from) + len, to); 108 from_next = from + len; 109 to_next = to + len;
|
/external/valgrind/main/memcheck/tests/ |
buflen_check.c | 9 int len = 10; local 18 res2 = getsockname(res1, NULL, &len); /* NULL is bogus */
|
/external/webkit/Source/JavaScriptCore/wtf/wx/ |
StringWx.cpp | 48 const size_t len = wxstr.length(); local 71 size_t len = conv.FromWChar(utf16buf.data(), utf16bufLen, wideString, wideLength) / 2; 75 m_impl = StringImpl::create(str, len);
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_attr_parse.c | 22 const u8 *pos, u16 len) 26 if (len != 1) { 28 len); 34 if (len != 1) { 36 "length %u", len); 42 if (len != WPS_NONCE_LEN) { 44 "length %u", len); 50 if (len != WPS_NONCE_LEN) { 52 "length %u", len); 58 if (len != WPS_UUID_LEN) 405 u16 type, len; local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
sha256-tlsprf.c | 37 size_t len[3]; local 40 len[0] = SHA256_MAC_LEN; 42 len[1] = os_strlen(label); 44 len[2] = seed_len; 53 hmac_sha256_vector(secret, secret_len, 2, &addr[1], &len[1], A); 57 hmac_sha256_vector(secret, secret_len, 3, addr, len, P);
|
/external/wpa_supplicant_8/src/utils/ |
uuid.c | 51 int len; local 52 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-" 58 if (len < 0 || (size_t) len >= max_len)
|
/frameworks/base/core/java/android/util/ |
StringBuilderPrinter.java | 37 int len = x.length(); local 38 if (len <= 0 || x.charAt(len-1) != '\n') {
|
/frameworks/base/tools/aidl/ |
options.cpp | 58 int len = strlen(s); local 60 if (len > 1) { 63 if (len > 2) { 71 if (len > 2) { 82 if (len > 2) { 90 if (len > 2) { 97 else if (len == 2 && s[1] == 'b') { 106 // len <= 1
|
/frameworks/native/libs/gui/ |
LayerState.cpp | 28 size_t len = transparentRegion.write(NULL, 0); local 29 err = output.writeInt32(len); 32 void* buf = output.writeInplace(len); 35 err = transparentRegion.write(buf, len); 48 size_t len = input.readInt32(); local 49 void const* buf = input.readInplace(len);
|
/frameworks/wilhelm/tools/mphtogen/ |
mphtogen.c | 31 unsigned len = 0; local 33 if (len > 0) { 35 ++len; 37 if (len > 78) { 39 len = 0; 42 len += 3; 44 if (len > 0) {
|
/ndk/sources/cxx-stl/stlport/src/ |
codecvt.cpp | 90 ptrdiff_t len = (min) (from_end - from, to_limit - to); local 91 copy(from, from + len, to); 92 from_next = from + len; 93 to_next = to + len; 105 ptrdiff_t len = (min) (from_end - from, to_limit - to); local 107 __REINTERPRET_CAST(const unsigned char*, from) + len, to); 108 from_next = from + len; 109 to_next = to + len;
|
/system/core/libcutils/ |
uio.c | 28 int len = vecs->iov_len; local 30 while (len > 0) { 31 int ret = read( fd, buf, len ); 42 len -= ret; 55 int len = (int)vecs->iov_len; local 57 while (len > 0) { 58 int ret = write( fd, buf, len ); 69 len -= ret;
|
/system/core/toolbox/ |
smd.c | 9 int fd, len, r, port = 0; local 28 len = strlen(argv[0]); 29 r = write(fd, argv[0], len); 30 if(r != len) {
|
/bionic/libc/bionic/ |
utmp.c | 81 size_t len = strlen(fname); local 83 if (len >= sizeof(utfile)) 87 if (fname[len - 1] == 'x')
|
/bionic/libc/include/netinet/ |
udp.h | 49 __u16 len; member in struct:udphdr
|
/bionic/libc/kernel/common/linux/ |
udp.h | 26 __u16 len; member in struct:udphdr
|
/bionic/libc/netbsd/inet/ |
nsap_addr.c | 53 u_int len = 0; local 62 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) { 76 len++; 86 return (len);
|
/bionic/libc/stdio/ |
fgetln.c | 75 size_t len; local 93 *lenp = len = p - fp->_p; 95 fp->_r -= len; 111 for (len = fp->_r, off = 0;; len += fp->_r) { 119 if (__slbexpand(fp, len + OPTIMISTIC)) 122 len - off); 123 off = len; 132 len += diff; 133 if (__slbexpand(fp, len)) [all...] |