HomeSort by relevance Sort by last modified time
    Searched refs:length (Results 101 - 125 of 15072) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/icu4c/tools/genrb/
rbutil.c 69 int32_t length = 0; local
83 buffer[length++]= digits[digit];
87 while (length < pad){
88 buffer[length++] = '0';/*zero padding */
93 buffer[length++]='-';
97 if(length<MAX_DIGITS){
98 buffer[length] = 0x0000;
101 num= (pad>=length) ? pad :length;
106 temp = buffer[(length-1) - j]
    [all...]
  /external/webkit/Source/WebCore/bindings/js/
JSCSSRuleListCustom.cpp 42 unsigned length = list->length(); local
43 for (unsigned i = 0; i < length; ++i)
JSWebKitAnimationListCustom.cpp 42 unsigned length = list->length(); local
43 for (unsigned i = 0; i < length; ++i)
  /libcore/luni/src/main/java/java/io/
ByteArrayInputStream.java 60 this.count = buf.length;
66 * number of bytes available set to {@code offset} + {@code length}.
72 * @param length
75 public ByteArrayInputStream(byte[] buf, int offset, int length) {
79 count = offset + length > buf.length ? buf.length : offset + length;
154 * @param length
159 * if {@code offset < 0} or {@code length < 0}, or i
    [all...]
BufferedOutputStream.java 106 * @param length
110 * if {@code offset < 0} or {@code length < 0}, or if
111 * {@code offset + length} is greater than the size of
121 public synchronized void write(byte[] buffer, int offset, int length) throws IOException {
129 if (length >= internalBuffer.length) {
131 out.write(buffer, offset, length);
135 Arrays.checkOffsetAndCount(buffer.length, offset, length);
138 if (length > (internalBuffer.length - count))
    [all...]
  /libcore/luni/src/main/java/libcore/icu/
CollationKeyICU.java 43 if (bytes == null || bytes.length == 0) {
44 if (rhsBytes == null || rhsBytes.length == 0) {
49 if (rhsBytes == null || rhsBytes.length == 0) {
54 int count = Math.min(bytes.length, rhsBytes.length);
65 if (bytes.length < rhsBytes.length) {
68 if (bytes.length > rhsBytes.length) {
96 if (bytes != null && bytes.length != 0)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
HelloRequest.java 41 * @param length
44 public HelloRequest(HandshakeIODataStream in, int length)
46 if (length != 0) {
60 public int length() { method in class:HelloRequest
ServerHelloDone.java 41 * @param length
44 public ServerHelloDone(HandshakeIODataStream in, int length)
46 if (length != 0) {
60 * Returns message length
64 public int length() { method in class:ServerHelloDone
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
BytesBufferPool.java 33 public int length; field in class:BytesBufferPool.BytesBuffer
42 length = 0;
44 int capacity = data.length;
46 int step = Math.min(READ_STEP, capacity - length);
47 int rc = fis.read(data, length, step);
49 length += rc;
51 if (length == capacity) {
52 byte[] newData = new byte[data.length * 2];
53 System.arraycopy(data, 0, newData, 0, data.length);
55 capacity = data.length;
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
Arrays.java 29 if (a.length != b.length)
34 for (int i = 0; i != a.length; i++)
59 if (a.length != b.length)
64 for (int i = 0; i != a.length; i++)
89 if (a.length != b.length)
94 for (int i = 0; i != a.length; i++)
127 if (a.length != b.length
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
CharSequences.java 36 public int length() { method in class:CharSequences
37 return bytes.length;
59 * is greater than length(), or if start is greater than end
63 validate(start, end, bytes.length);
69 public int length() {
76 validate(newStart, newEnd, length());
81 return new String(bytes, start, length());
86 static void validate(int start, int end, int length) {
89 if (end > length) throw new IndexOutOfBoundsException();
97 if (a.length() != b.length())
    [all...]
  /bootable/recovery/minzip/
SysUtil.c 28 * Create an anonymous shared memory segment large enough to hold "length"
32 static void* sysCreateAnonShmem(size_t length)
36 ptr = mmap(NULL, length, PROT_READ | PROT_WRITE,
39 LOGW("mmap(%d, RW, SHARED|ANON) failed: %s\n", (int) length,
50 size_t length; local
60 LOGE("could not determine length of file\n");
64 length = end - start;
65 if (length == 0) {
71 *length_ = length;
80 * We need to know the length ahead of time so we can allocate a segmen
86 size_t length, actual; local
121 size_t length; local
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Platform.java 34 Object[] src, int srcPos, Object[] dest, int destPos, int length) {
35 for (int i = 0; i < length; i++) {
40 static <T> T[] newArray(Class<T> type, int length) {
45 static <T> T[] newArray(T[] reference, int length) {
46 return GwtPlatform.newArray(reference, length);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/
CharCache.java 33 int available = cache.length - pos;
34 int toWrite = chars.length < available ? chars.length : available;
48 if (pos < cache.length - 1) {
54 public int length() {
  /external/webkit/Source/JavaScriptCore/wtf/url/src/
URLComponent.h 38 URLComponent(int begin, int length) : m_begin(begin), m_length(length) { }
47 // Returns true if this component is valid, meaning the length is given. Even
65 int length() const { return m_length; } function in class:WTF::URLComponent
66 void setLength(int length) { m_length = length; }
  /frameworks/base/core/java/android/bluetooth/
BluetoothInputStream.java 69 * Reads at most {@code length} bytes from this stream and stores them in
77 * @param length
82 * if {@code offset < 0} or {@code length < 0}, or if
83 * {@code offset + length} is greater than the length of
89 public int read(byte[] b, int offset, int length) throws IOException {
93 if ((offset | length) < 0 || length > b.length - offset) {
94 throw new ArrayIndexOutOfBoundsException("invalid offset or length");
    [all...]
  /libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
Chunk.java 25 * The "offset" and "length" fields are present so handlers can over-allocate
35 public int offset, length; // position within "data" field in class:Chunk
45 public Chunk(int type, byte[] data, int offset, int length) {
49 this.length = length;
61 this.length = buf.position();
  /libcore/luni/src/main/java/java/nio/charset/
CoderResult.java 34 * calling <code>CoderResult.malformedForLength(int)</code> with the length of
71 * length
77 * certain length
84 // the length of the erroneous input
85 private final int length; field in class:CoderResult
92 * @param length
93 * the length of the erroneous input
95 private CoderResult(int type, int length) {
97 this.length = length;
211 public int length() throws UnsupportedOperationException { method in class:CoderResult
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
char16_t_length.pass.cpp 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const;
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 8) == 8);
29 assert(f.length(mbs, from, from+10, 9) == 9);
30 assert(f.length(mbs, from, from+10, 10) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
char32_t_length.pass.cpp 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const;
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 8) == 8);
29 assert(f.length(mbs, from, from+10, 9) == 9);
30 assert(f.length(mbs, from, from+10, 10) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
char_length.pass.cpp 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const;
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 9) == 9);
29 assert(f.length(mbs, from, from+10, 10) == 10);
30 assert(f.length(mbs, from, from+10, 11) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
wchar_t_length.pass.cpp 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const;
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 9) == 9);
29 assert(f.length(mbs, from, from+10, 10) == 10);
30 assert(f.length(mbs, from, from+10, 11) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
  /external/v8/test/cctest/
test-fixed-dtoa.cc 45 int length; local
48 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point));
52 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point));
56 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point));
60 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point));
64 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, &length, &point));
68 CHECK(FastFixedDtoa(1e21, 5, buffer, &length, &point));
73 CHECK(FastFixedDtoa(999999999999999868928.00, 2, buffer, &length, &point));
78 &length, &point));
82 CHECK(FastFixedDtoa(1.5, 5, buffer, &length, &point))
496 int length; local
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
FileUtils.java 74 * @param length the number of bytes to read, or -1 to read to the
78 public static byte[] readFile(File file, int offset, int length)
92 long longLength = file.length();
98 if (length == -1) {
99 length = fileLength - offset;
102 if (offset + length > fileLength) {
117 byte[] result = readStream(in, length);
124 public static byte[] readStream(InputStream in, int length)
126 byte[] result = new byte[length];
129 while (length > 0)
    [all...]
  /external/tcpdump/
print-null.c 68 null_hdr_print(u_int family, u_int length)
78 (void)printf(", length %u: ", length);
84 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
90 u_int length = h->len; local
113 null_hdr_print(family, length);
115 length -= NULL_HDRLEN;
122 ip_print(gndo, p, length);
129 ip6_print(p, length);
134 isoclns_print(p, length, caplen)
    [all...]

Completed in 1251 milliseconds

1 2 3 45 6 7 8 91011>>