/external/v8/test/mjsunit/regress/ |
H A D | regress-1017.js | 35 assertEquals(33, "12345678901234567890123456789012\u2028".length);
|
H A D | regress-1062422.js | 30 assertEquals((123).length, 0)
|
H A D | regress-634.js | 30 assertEquals(0, a.length); 31 assertEquals(0, a.length);
|
H A D | regress-1491.js | 28 // Test that the Array length accessor correctly deals with non-array 34 // Check that writing the length property of the non-array object 37 o.length = value; 38 assertEquals(value, o.length);
|
H A D | regress-1131.js | 28 var nonArray = { length: 4, 0: 42, 2: 37, 0xf7da5000: undefined, 4: 0 };
|
/external/v8/test/mjsunit/ |
H A D | length.js | 32 assertEquals(0, Array.prototype.length, "Array.prototype.length"); 33 assertEquals(1, Array.length, "Array.length"); 34 assertEquals(1, Array.prototype.concat.length, "Array.prototype.concat.length"); 35 assertEquals(1, Array.prototype.join.length, "Array.prototype.join.length"); 36 assertEquals(1, Array.prototype.push.length, "Array.prototype.push.length"); [all...] |
H A D | do-not-strip-fc.js | 30 assertEquals(7, eval("'foo\u200dbar'").length); 31 assertEquals(7, eval("'foo\u200cbar'").length);
|
H A D | nul-characters.js | 30 assertEquals(1, a[i].length); 34 assertEquals(7, 'foo\0bar'.length); 35 assertEquals(7, 'foo\x00bar'.length); 36 assertEquals(7, 'foo\u0000bar'.length); 38 assertEquals(2, ('\0' + '\0').length);
|
H A D | with-readonly.js | 30 // Create an object with a read-only length property in the prototype 37 length = 23; 38 length = 24; 39 assertEquals(24, length);
|
H A D | debug-constructed-by.js | 39 assertEquals(0, ctor.constructedBy().length); 40 assertEquals(0, ctor.constructedBy(0).length); 41 assertEquals(0, ctor.constructedBy(1).length); 42 assertEquals(0, ctor.constructedBy(10).length); 46 assertEquals(1, ctor.constructedBy().length); 47 assertEquals(1, ctor.constructedBy(0).length); 48 assertEquals(1, ctor.constructedBy(1).length); 49 assertEquals(1, ctor.constructedBy(10).length); 57 assertEquals(11, ctor.constructedBy().length); 58 assertEquals(11, ctor.constructedBy(0).length); [all...] |
H A D | no-octal-constants-above-256.js | 30 assertEquals(2, "\400".length);
|
/external/webkit/Source/WebCore/bindings/cpp/ |
H A D | WebDOMHTMLOptionsCollectionCustom.cpp | 26 unsigned WebDOMHTMLOptionsCollection::length() const function in class:WebDOMHTMLOptionsCollection 31 return impl()->length(); 34 void WebDOMHTMLOptionsCollection::setLength(unsigned length) argument 40 impl()->setLength(length, ec);
|
/external/emma/core/java12/com/vladium/util/ |
H A D | ByteArrayIStream.java | 31 this (buf, buf.length); 34 public ByteArrayIStream (final byte [] buf, final int length) argument 36 if ($assert.ENABLED) $assert.ASSERT ((length >= 0) && (length <= buf.length), 37 "invalid length: " + length); 40 m_max = length; 53 public final int read (final byte [] buf, final int offset, int length) argument 56 $assert.ASSERT ((offset >= 0) && (offset <= buf.length) [all...] |
/external/webkit/Source/WebCore/css/ |
H A D | FontFamilyValue.cpp | 36 unsigned length = m_familyName.length(); local 37 while (length >= 3) { 39 switch (m_familyName[length - 1]) { 50 for (unsigned i = length - 2; i > 0; --i) { 56 length = first; 58 m_familyName.truncate(length); 61 void FontFamilyValue::appendSpaceSeparated(const UChar* characters, unsigned length) argument 64 m_familyName.append(characters, length);
|
/external/webrtc/src/common_audio/signal_processing_library/main/source/ |
H A D | copy_set_operations.c | 31 void WebRtcSpl_MemSetW16(WebRtc_Word16 *ptr, WebRtc_Word16 set_value, int length) argument 36 for (j = length; j > 0; j--) 42 void WebRtcSpl_MemSetW32(WebRtc_Word32 *ptr, WebRtc_Word32 set_value, int length) argument 47 for (j = length; j > 0; j--) 53 void WebRtcSpl_MemCpyReversedOrder(WebRtc_Word16* dest, WebRtc_Word16* source, int length) argument 59 for (j = 0; j < length; j++) 66 WebRtc_Word16 length, 71 WEBRTC_SPL_MEMCPY_W16(vector_out, &vector_in[length - samples], samples); 76 WebRtc_Word16 WebRtcSpl_ZerosArrayW16(WebRtc_Word16 *vector, WebRtc_Word16 length) argument 78 WebRtcSpl_MemSetW16(vector, 0, length); 65 WebRtcSpl_CopyFromEndW16(G_CONST WebRtc_Word16 *vector_in, WebRtc_Word16 length, WebRtc_Word16 samples, WebRtc_Word16 *vector_out) argument 82 WebRtcSpl_ZerosArrayW32(WebRtc_Word32 *vector, WebRtc_Word16 length) argument 88 WebRtcSpl_OnesArrayW16(WebRtc_Word16 *vector, WebRtc_Word16 length) argument 99 WebRtcSpl_OnesArrayW32(WebRtc_Word32 *vector, WebRtc_Word16 length) argument [all...] |
/external/bluetooth/glib/tests/ |
H A D | checksum-test.c | 18 * string is intentionally more than twice that length. 589 int length) 595 for (chunk_length = MIN (length, 1); chunk_length < length; chunk_length++) 598 for (p = FIXED_STR; p < FIXED_STR + length; p += chunk_length) 601 MIN (chunk_length, length - (p - FIXED_STR))); 606 g_print ("Invalid %s checksum for `%.*s' (length %d) counting by %d:\n" 609 length, FIXED_STR, 610 length, chunk_length, 625 int length; local 586 test_checksum(GChecksumType checksum_type, const gchar *type, const gchar *sum, int length) argument 662 int length; local [all...] |
/external/webkit/Source/JavaScriptCore/wtf/text/ |
H A D | CString.cpp | 42 CString::CString(const char* str, size_t length) argument 44 init(str, length); 47 void CString::init(const char* str, size_t length) argument 52 // We need to be sure we can add 1 to length without overflowing. 53 // Since the passed-in length is the length of an actual existing 56 ASSERT(length < numeric_limits<size_t>::max()); 58 m_buffer = CStringBuffer::create(length + 1); 59 memcpy(m_buffer->mutableData(), str, length); 60 m_buffer->mutableData()[length] 71 newUninitialized(size_t length, char*& characterBuffer) argument 90 size_t length = buffer->length(); local [all...] |
/external/webkit/Source/WebCore/platform/text/ |
H A D | ParserUtilities.h | 29 inline bool skipString(const UChar*& ptr, const UChar* end, const UChar* name, int length) argument 31 if (end - ptr < length) 33 if (memcmp(name, ptr, sizeof(UChar) * length)) 35 ptr += length; 41 int length = strlen(str); local 42 if (end - ptr < length) 44 for (int i = 0; i < length; ++i) { 48 ptr += length;
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | ChromiumOSRandomSource.cpp | 39 void cryptographicallyRandomValuesFromOS(unsigned char* buffer, size_t length) argument 41 WebKit::webKitClient()->cryptographicallyRandomValues(buffer, length);
|
/external/icu4c/common/ |
H A D | ustrfmt.c | 24 * @return the length of the result, not including any terminating 31 int32_t length = 0; local 38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7)); 40 } while(i && length<capacity); 42 while (length < minwidth){ 43 buffer[length++] = (UChar) 0x0030;/*zero padding */ 46 if(length<capacity){ 47 buffer[length] = (UChar) 0x0000; 51 for (j = 0; j < (length / 2); j++){ 52 temp = buffer[(length [all...] |
H A D | unistr_props.cpp | 34 int32_t oldLength = this->length(); 35 int32_t i = oldLength, length; local 39 length = i; 48 if(length < oldLength) { 49 setLength(length); 57 if(i >= length) { 60 U16_NEXT(array, i, length, c);
|
/external/clang/test/CodeGen/ |
H A D | 2002-03-12-StructInitialize.c | 7 long length; member in struct:Connection_Type
|
H A D | 2002-03-12-StructInitializer.c | 3 /* GCC was not emitting string constants of the correct length when 11 long length; member in struct:Connection_Type
|
/external/webkit/LayoutTests/fast/dom/getElementsByClassName/resources/ |
H A D | common.js | 9 if(collection.length != elements.length) { 11 log += "Got " + collection.length + " elements, expected " + elements.length + ". " 13 for(var i = 0, max = collection.length > elements.length ? elements.length : collection.length; i < max; i++) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/ |
H A D | regress-001.js | 25 function AddRegExpCases( regexp, str_regexp, length, matches_array ) { 28 "( " + str_regexp + " ).length", 29 regexp.length, 30 regexp.length ); 33 for ( var matches = 0; matches < matches_array.length; matches++ ) {
|