/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DOMConfigurationImpl.java | 360 final String[] result = PARAMETERS.keySet().toArray(new String[PARAMETERS.size()]);
|
H A D | ElementImpl.java | 60 for (int i = 0; i < attributes.size(); i++) { 71 for (int i = 0; i < attributes.size(); i++) { 327 return ElementImpl.this.attributes.size();
|
H A D | InnerNodeImpl.java | 52 return insertChildAt(newChild, children.size()); 70 return (!children.isEmpty() ? children.get(children.size() - 1) : null); 74 if (parent == null || index + 1 >= parent.children.size()) { 82 return children.size() != 0; 169 for (int i = fromIndex; i < children.size(); i++) {
|
H A D | LeafNodeImpl.java | 46 if (parent == null || index + 1 >= parent.children.size()) {
|
H A D | NodeImpl.java | 639 if (listA.size() != listB.size()) { 643 for (int i = 0; i < listA.size(); i++) {
|
H A D | NodeListImpl.java | 51 return children.size(); 55 if (index >= children.size()) {
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
H A D | AttributeListImpl.java | 202 return names.size(); 215 if (i < 0 || i >= names.size()) { 233 if (i < 0 || i >= types.size()) { 249 if (i < 0 || i >= values.size()) {
|
/libcore/luni/src/main/native/ |
H A D | canonicalize_path.cpp | 78 if (resolved.size() > 1) { 85 if (resolved[resolved.size() - 1] != '/') { 105 } else if (resolved.size() > 1) { 112 const char* maybeSlash = (symlink[symlink.size() - 1] != '/') ? "/" : ""; 121 if (resolved.size() > 1 && resolved[resolved.size() - 1] == '/') { 122 resolved.erase(resolved.size() - 1, 1);
|
H A D | libcore_icu_ICU.cpp | 342 static void setStringArrayField(JNIEnv* env, jobject obj, const char* fieldName, const icu::UnicodeString* valueArray, int32_t size) { argument 343 ScopedLocalRef<jobjectArray> result(env, env->NewObjectArray(size, JniConstants::stringClass, NULL)); 344 for (int32_t i = 0; i < size ; i++) { 540 if (languageTag.size() >= ULOC_FULLNAME_CAPACITY) {
|
H A D | libcore_icu_NativeConverter.cpp | 413 memcpy(callbackContext->replacementBytes, replacementBytes.get(), replacementBytes.size()); 414 callbackContext->replacementByteCount = replacementBytes.size(); 497 u_strncpy(callbackContext->replacementChars, replacement.get(), replacement.size()); 498 callbackContext->replacementCharCount = replacement.size();
|
H A D | libcore_io_Posix.cpp | 309 for (size_t i = 0; i < mScopedBuffers.size(); ++i) { 319 size_t size() { function in class:IoVec 977 // Count results so we know how to size the output array. 1088 socklen_t size = sizeof(result); local 1089 throwIfMinusOne(env, "getsockopt", TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &result, &size))); 1099 socklen_t size = sizeof(sa->sin_addr); local 1100 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &sa->sin_addr, &size)); 1111 socklen_t size = sizeof(result); local 1112 throwIfMinusOne(env, "getsockopt", TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &result, &size))); 1119 socklen_t size local 1132 socklen_t size = sizeof(tv); local 1145 socklen_t size = sizeof(u); local 1182 ssize_t size = getxattr(path.c_str(), name.c_str(), outValue.get(), outValueLength); local [all...] |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 64 StringStack() : array(new jstring[DEFAULT_CAPACITY]), capacity(DEFAULT_CAPACITY), size(0) { 72 if (size == capacity) { 86 array[size++] = s; 90 return (size == 0) ? NULL : array[--size]; 98 int size; member in class:StringStack 176 /** The size of our buffer in jchars. */ 324 // Determine the size of the existing bucket. 325 int size = 0; local 326 while (existingBucket[size]) siz [all...] |
H A D | readlink.cpp | 29 ssize_t len = readlink(path, &buf[0], buf.size()); 34 if (static_cast<size_t>(len) < buf.size()) {
|
/libcore/luni/src/test/java/dalvik/system/ |
H A D | BlockGuardTest.java | 172 if (violations.size() != 0) { 173 throw new AssertionError("Expected 0 violations but found " + violations.size()); 178 if (expected.length != violations.size()) { 180 + violations.size());
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
H A D | SocketTaggingTest.java | 101 assertEquals(1, tagger.getLiveDescriptors().size()); 111 assertEquals(1, tagger.getLiveDescriptors().size()); 121 assertEquals(1, tagger.getLiveDescriptors().size()); 131 assertEquals(1, tagger.getLiveDescriptors().size()); 141 assertEquals(1, tagger.getLiveDescriptors().size());
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | CharArrayWriterTest.java | 32 assertEquals(27, a.size());
|
H A D | OldAndroidBufferedOutputStreamTest.java | 36 assertEquals(26, aa.size()); 41 assertEquals(27, aa.size());
|
H A D | OldAndroidByteArrayOutputStreamTest.java | 36 assertEquals(27, a.size());
|
H A D | OldAndroidDataOutputStreamTest.java | 37 assertEquals(27, aa.size());
|
H A D | OldAndroidOutputStreamWriterTest.java | 39 assertEquals(5, aa.size());
|
H A D | OldBufferedOutputStreamTest.java | 72 500, ((ByteArrayOutputStream) baos).size());
|
H A D | OldByteArrayOutputStreamTest.java | 40 assertEquals("Test 1: Failed to create stream;", 0, bos.size());
|
H A D | OldCharArrayWriterTest.java | 34 assertEquals("Test 1: Incorrect writer created.", 0, cw.size());
|
H A D | OldFilterOutputStreamTest.java | 86 500, sos.size());
|
H A D | OldObjectOutputStreamTest.java | 175 int outputSize = bao.size(); 179 bao.size() == outputSize); 183 bao.size() > outputSize); 196 int initialSize = target.size(); 201 written = (target.size() > initialSize); 205 written || (target.size() > initialSize)); 222 int size = bao.size(); 224 assertTrue("Test 1: Data already flushed.", bao.size() == size); [all...] |