HomeSort by relevance Sort by last modified time
    Searched defs:length (Results 376 - 400 of 6987) sorted by null

<<11121314151617181920>>

  /tools/apksig/src/main/java/com/android/apksig/internal/util/
RandomAccessFileDataSink.java 66 public void consume(byte[] buf, int offset, int length) throws IOException {
69 // is negative but length is 0
72 if (offset > buf.length) {
74 // is too large but length is 0
76 "offset: " + offset + ", buf.length: " + buf.length);
78 if (length == 0) {
84 mFile.write(buf, offset, length);
85 mPosition += length;
91 int length = buf.remaining() local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
NumberStringBuilderTest.java 55 int start = Math.min(1, str.length());
56 int end = Math.min(10, str.length());
110 assertNotEquals(sb1.length(), sb2.length());
122 assertEquals(str.length() * 2, fields.length);
123 for (int i = 0; i < str.length(); i++) {
126 assertEquals(NumberFormat.Field.CURRENCY, fields[i + str.length()]);
127 assertEquals(NumberFormat.Field.CURRENCY, sb.fieldAt(i + str.length()));
134 assertEquals(str.length(), fp.getBeginIndex())
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
NumberStringBuilderTest.java 52 int start = Math.min(1, str.length());
53 int end = Math.min(10, str.length());
107 assertNotEquals(sb1.length(), sb2.length());
119 assertEquals(str.length() * 2, fields.length);
120 for (int i = 0; i < str.length(); i++) {
123 assertEquals(NumberFormat.Field.CURRENCY, fields[i + str.length()]);
124 assertEquals(NumberFormat.Field.CURRENCY, sb.fieldAt(i + str.length()));
131 assertEquals(str.length(), fp.getBeginIndex())
    [all...]
  /prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.6.Final/
netty-buffer-4.1.6.Final.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.3.Final/
netty-buffer-4.1.3.Final.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.0.CR3/
netty-buffer-4.1.0.CR3.jar 
  /cts/tests/tests/widget/src/android/widget/cts/
AlphabetIndexerTest.java 58 assertEquals(ALPHABET.length(), sections.length);
61 assertEquals(ALPHABET.charAt(ALPHABET.length() - 2),
62 ((String[]) sections)[ALPHABET.length() - 2].charAt(0));
63 assertEquals(ALPHABET.charAt(ALPHABET.length() - 1),
64 ((String[]) sections)[ALPHABET.length() - 1].charAt(0));
79 // search for 'X', return the length
81 assertEquals(COUNTRIES_LIST.length, indexer.getPositionForSection(index));
107 // search for 'T', return the length
109 assertEquals(NAMES_LIST.length, indexer.getPositionForSection(index))
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/
Padder.java 83 assert leftIndex == 0 && rightIndex == string.length(); // fix the previous line to remove this assertion
85 int length = 0; local
88 length += mod1.apply(string, leftIndex, rightIndex);
89 length += mod2.apply(string, leftIndex, rightIndex + length);
90 return length;
94 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex);
96 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length);
98 length += mod1.apply(string, leftIndex, rightIndex + length)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
Padder.java 79 assert leftIndex == 0 && rightIndex == string.length(); // fix the previous line to remove this assertion
81 int length = 0; local
84 length += mod1.apply(string, leftIndex, rightIndex);
85 length += mod2.apply(string, leftIndex, rightIndex + length);
86 return length;
90 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex);
92 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length);
94 length += mod1.apply(string, leftIndex, rightIndex + length)
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
OpenTypeTableWriter.java 33 int length() method in class:OpenTypeTableWriter.OpenTypeTableDumper
52 int maxIndex = length();
65 line.setLength(line.length() - 2);
92 if (outputIndex >= data.length)
94 short[] newData = new short[data.length + 512];
96 System.arraycopy(data, 0, newData, 0, data.length);
108 int max = Math.min(tag.length(), 4);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/template/
VelocityTest.java 58 assertEquals(etalon.length(), output.length());
  /external/testng/src/test/java/test/simple/
IncludedExcludedTest.java 70 Assert.assertEquals(invoked.size(), m_included.length);
78 Assert.assertEquals(excluded.size(), m_excluded.length);
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseLocaleTest.java 75 assertEquals(STRINGS.length, result.length);
120 assertEquals(expectedString.length(), actualString.length());
121 for (int i = 0; i < expectedString.length(); i++) {
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
LeakReporterTest.java 97 assertTrue(mLeakDump.length() > 0);
100 assertTrue(mLeakHprof.length() > 0);
  /libcore/ojluni/src/main/java/java/lang/
StringBuilder.java 57 * {@code sb.insert(sb.length(), x)}.
59 * Every string builder has a capacity. As long as the length of the
108 * {@code 16} plus the length of the string argument.
113 super(str.length() + 16);
120 * the string builder is {@code 16} plus the length of the
126 this(seq.length() + 16);
146 * length of this sequence by the length of the argument.
150 * Let <i>n</i> be the length of this character sequence just prior to
419 * string builder ({@code char[]}). The length of th
    [all...]
  /art/runtime/gc/allocator/
dlmalloc.cc 74 size_t length = reinterpret_cast<uint8_t*>(end) - reinterpret_cast<uint8_t*>(start); local
75 int rc = madvise(start, length, MADV_DONTNEED);
81 *reclaimed += length;
  /art/runtime/mirror/
array.h 63 void SetLength(int32_t length) REQUIRES_SHARED(Locks::mutator_lock_) {
64 DCHECK_GE(length, 0);
67 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); local
118 static PrimitiveArray<T>* Alloc(Thread* self, size_t length)
121 static PrimitiveArray<T>* AllocateAndFill(Thread* self, const T* data, size_t length)
136 DCHECK(CheckIsValidIndex(i)) << "i=" << i << " length=" << GetLength();
  /art/test/022-interface/src/
Main.java 58 public int length() {
59 return toString().length();
75 public int length() { method in class:Main.SubInterfaceImpl
  /bionic/libc/bionic/
strerror_r.cpp 55 size_t length; local
59 length = strlcpy(buf, error_name, buf_len);
61 length = async_safe_format_buffer(buf, buf_len, "Unknown error %d", error_number);
63 if (length >= buf_len) {
88 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); local
89 if (length >= buf_len) {
  /bionic/libc/kernel/uapi/linux/
atm_tcp.h 28 __u32 length; member in struct:atmtcp_hdr
blkpg.h 37 long long length; member in struct:blkpg_partition
  /bootable/recovery/
asn1_decoder.cpp 61 size_t length = 0; local
67 length <<= 8;
68 length += byte;
70 *out_len = length;
82 size_t length; local
83 if (!decode_length(&length) || length > length_) {
86 asn1_context* app_ctx = new asn1_context(p_, length);
95 size_t length; local
96 if (!decode_length(&length) || !skip_bytes(length))
112 size_t length; local
123 size_t length; local
131 size_t length; local
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
SpannedTest.java 64 spanned.charAt(spanned.length());
77 text.setSpan(new UnderlineSpan(), 5, text.length(), flags);
83 assertEquals(4, spanned.nextSpanTransition(1, spanned.length(), QuoteSpan.class));
84 assertEquals(spanned.length(),
85 spanned.nextSpanTransition(4, spanned.length(), QuoteSpan.class));
86 assertEquals(5, spanned.nextSpanTransition(4, spanned.length(), UnderlineSpan.class));
88 assertEquals(2, spanned.nextSpanTransition(0, spanned.length(), Object.class));
89 assertEquals(4, spanned.nextSpanTransition(2, spanned.length(), Object.class));
90 assertEquals(5, spanned.nextSpanTransition(4, spanned.length(), Object.class));
91 assertEquals(7, spanned.nextSpanTransition(5, spanned.length(), Object.class))
    [all...]
  /developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/util/
SecurityHelper.java 47 if (signatures.length != 1) {
48 throw new SecurityException(packageName + " has " + signatures.length + " signatures");
61 StringBuilder builder = new StringBuilder(bytes.length * 2);
62 for (int i = 0; i < bytes.length; i++) {
64 int length = hex.length(); local
65 if (length == 1) {
68 if (length > 2) {
69 hex = hex.substring(length - 2, length);
    [all...]
  /development/samples/ToyVpn/server/linux/
ToyVpnServer.cpp 131 int length = strlen(parameter); local
135 if (length == 2 && parameter[0] == '-') {
137 --length;
142 if (offset + length >= size) {
149 memcpy(&parameters[offset + 1], parameter, length);
150 offset += 1 + length;
169 " -a <address> <prefix-length> for the private address\n"
170 " -r <address> <prefix-length> for the forwarding route\n"
220 int length = read(interface, packet, sizeof(packet)); local
221 if (length > 0)
    [all...]

Completed in 2486 milliseconds

<<11121314151617181920>>