/libcore/ojluni/src/main/java/java/util/zip/ |
CheckedInputStream.java | 67 * Reads into an array of bytes. If <code>len</code> is not zero, the method 72 * @param len the maximum number of bytes read 77 * <code>len</code> is negative, or <code>len</code> is greater than 81 public int read(byte[] buf, int off, int len) throws IOException { 82 len = in.read(buf, off, len); 83 if (len != -1) { 84 cksum.update(buf, off, len); 86 return len; 99 long len = n - total; local [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
MessageUtils.java | 60 int len = patt.length(); local 61 for (int i = 0; i >= 0 && i < len; i++) { 64 if (i != len) {
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
AbstractFileTypeDetector.java | 102 int len = s.length(); local 103 if (len == 0) 105 for (int i = 0; i < len; i++) {
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/ |
DSAKeyPairGeneratorImpl.java | 61 int len = 512; local 62 while (len <= 1024) { 63 if (len == modlen) { 67 len = len + 8; 68 if (len == 1032) {
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleInputStream.java | 20 public int len; field in class:Support_ASimpleInputStream 37 len = buf.length; 42 len = input.length; 43 buf = new byte[len]; 44 System.arraycopy(input, 0, buf, 0, len); 59 return len - pos; 67 if (pos < len) {
|
Support_ASimpleReader.java | 20 public int len; field in class:Support_ASimpleReader 37 len = buf.length; 52 return len > pos; 60 int available = len - pos;
|
/packages/apps/Gallery2/jni/filters/ |
bwfilter.c | 38 int len = width * height * 4; local 40 for (i = 0; i < len; i+=4)
|
hue.c | 25 int len = width * height * 4; local 28 for (i = 0; i < len; i+=4)
|
kmeans.cc | 49 int len = swidth * sheight * 4; local 58 runKMeans<unsigned char, int>(k, finalCentroids, small_ds, len, dimension, 62 len = lwidth * lheight * 4; 67 runKMeansWithPicks<unsigned char, int>(k, nextCentroids, large_ds, len, 70 len = width * height * 4; 73 applyCentroids<unsigned char, int>(k, nextCentroids, dst, len, dimension, stride);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
tutorial.cpp | 125 int len = sprintf(buffer, "%s %s", "Milo", "Yip"); // synthetic example of dynamically created string.
local 127 author.SetString(buffer, static_cast<size_t>(len), document.GetAllocator());
132 // Value author(buffer, len, document.GetAllocator());
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
xt_NFLOG.h | 12 __u32 len; member in struct:xt_nflog_info
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_nflog.h | 15 __u32 len; member in struct:ebt_nflog_info
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
udp.h | 25 __be16 len; member in struct:udphdr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/netinet/ |
udp.h | 72 u_int16_t len; member in struct:udphdr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/ |
split_join_fn_imps.hpp | 118 const size_type len = m_size + other.m_size; local 119 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); 146 m_size = len;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/binary_heap_/ |
split_join_fn_imps.hpp | 118 const size_type len = m_size + other.m_size; local 119 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); 146 m_size = len;
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/http2/hpack/ |
tables.go | 50 // len reports the number of entries in the table. 51 func (t *headerFieldTable) len() int { func 52 return len(t.ents) 57 id := uint64(t.len()) + t.evictCount + 1 65 if n > t.len() { 66 panic(fmt.Sprintf("evictOldest(%v) on table with %v entries", n, t.len())) 79 for k := t.len() - n; k < t.len(); k++ { 82 t.ents = t.ents[:t.len()-n] 97 // table, the return value i actually refers to the entry t.ents[t.len()-i] [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/issue4252.dir/ |
a.go | 17 func len(interface{}) int32 { return 42 } func 27 if len(array) != 42 { 28 println(len(array)) 29 panic("unexpected call of builtin len")
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/http2/hpack/ |
tables.go | 50 // len reports the number of entries in the table. 51 func (t *headerFieldTable) len() int { func 52 return len(t.ents) 57 id := uint64(t.len()) + t.evictCount + 1 65 if n > t.len() { 66 panic(fmt.Sprintf("evictOldest(%v) on table with %v entries", n, t.len())) 79 for k := t.len() - n; k < t.len(); k++ { 82 t.ents = t.ents[:t.len()-n] 97 // table, the return value i actually refers to the entry t.ents[t.len()-i] [all...] |
/prebuilts/go/linux-x86/test/fixedbugs/issue4252.dir/ |
a.go | 17 func len(interface{}) int32 { return 42 } func 27 if len(array) != 42 { 28 println(len(array)) 29 panic("unexpected call of builtin len")
|
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/multicast/ |
MulticastAddress.java | 87 int len = components[0].length(); local 89 if ((colon < 1) || (colon > (len-2))) 94 port = Integer.parseInt(target.substring(colon+1, len)); 101 len = groupString.length(); 102 if (groupString.charAt(len-1) != ']') 104 groupString = groupString.substring(1,len-1);
|
/prebuilts/jdk/jdk8/linux-x86/sample/nio/multicast/ |
MulticastAddress.java | 87 int len = components[0].length(); local 89 if ((colon < 1) || (colon > (len-2))) 94 port = Integer.parseInt(target.substring(colon+1, len)); 101 len = groupString.length(); 102 if (groupString.charAt(len-1) != ']') 104 groupString = groupString.substring(1,len-1);
|
/prebuilts/misc/windows/sdl2/test/ |
testiconv.c | 20 size_t len = 0; local 23 ++len; 25 return len; 66 size_t len; local 70 len = (widelen(ucs4) + 1) * 4; 72 test[0] = SDL_iconv_string(formats[i], "UCS-4", ucs4, len); 73 test[1] = SDL_iconv_string("UCS-4", formats[i], test[0], len); 74 if (!test[1] || SDL_memcmp(test[1], ucs4, len) != 0) { 81 test[0] = SDL_iconv_string("UTF-8", "UCS-4", ucs4, len);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.sorting/alg.sort/sort/ |
sort.pass.cpp | 34 difference_type len = l - f; local 35 value_type* save(new value_type[len]); 39 std::sort(save, save+len); 40 assert(std::is_sorted(save, save+len));
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.sorting/alg.sort/stable.sort/ |
stable_sort.pass.cpp | 34 difference_type len = l - f; local 35 value_type* save(new value_type[len]); 39 std::stable_sort(save, save+len); 40 assert(std::is_sorted(save, save+len));
|