/external/dropbear/libtomcrypt/src/pk/asn1/der/utf8/ |
der_decode_utf8_string.c | 33 unsigned long x, y, z, len; local 59 len = 0; 62 len = (len << 8) | in[x++]; 65 len = in[x++] & 0x7F; 68 if (len + x > inlen) {
|
/external/e2fsprogs/lib/e2p/ |
iod.c | 32 int max_len = -1, len, ret = 0; local 62 len = dep->d_reclen; 63 if (len > max_len) 64 len = max_len; 66 len = sizeof(struct dirent); 68 memcpy(de, dep, len);
|
/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/libnfc-nci/halimpl/bcm2079x/adaptation/ |
OverrideLog.cpp | 58 int len = property_get ("nfc.app_log_level", valueStr, ""); local 59 if (len > 0)
|
/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_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/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;
|
/packages/apps/Gallery2/jni/filters/ |
exposure.c | 25 int len = width * height * 4; local 29 for (i = 0; i < len; i+=4)
|
/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/libsparse/ |
sparse_file.h | 24 int64_t len; member in struct:sparse_file
|
/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/ |
debug_mapinfo.cpp | 41 int len = strlen(line); local 43 if (len < 1) return 0; 44 line[--len] = 0; 46 if (len < 50) return 0; 49 mapinfo_t* mi = static_cast<mapinfo_t*>(dlmalloc(sizeof(mapinfo_t) + (len - 47)));
|
libgen.cpp | 57 int len; local 63 len = 1; 76 len = 1; 86 len = endp - startp +1; 89 result = len; 93 if (len > static_cast<int>(buffer_size) - 1) { 94 len = buffer_size - 1; 99 if (len >= 0) { 100 memcpy(buffer, startp, len); 101 buffer[len] = 0 108 int len; local [all...] |