/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/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | ByteBuffer.java | 20 * Byte buffer container including length of valid data. 29 private int length; field in class:ByteBuffer 40 this.length = 0; 50 this.length = buffer.length; 56 * @param length the length of valid bytes in the array 58 public ByteBuffer(byte[] buffer, int length) argument 60 if (length > buffer.length) 103 ByteBuffer(byte[] buffer, int offset, int length) argument 128 public int length() method in class:ByteBuffer [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/ |
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/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/jmonkeyengine/engine/src/core/com/jme3/animation/ |
H A D | BoneAnimation.java | 41 public BoneAnimation(String name, float length) { argument 42 super(name, length);
|
H A D | SpatialAnimation.java | 8 public SpatialAnimation(String name, float length) {
argument 9 super(name, length);
|
/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...] |
/external/skia/src/core/ |
H A D | SkData.cpp | 26 size_t SkData::copyRange(size_t offset, size_t length, void* buffer) const { argument 28 if (offset >= available || 0 == length) { 32 if (length > available) { 33 length = available; 35 SkASSERT(length > 0); 37 memcpy(buffer, this->bytes() + offset, length); 38 return length; 57 SkData* SkData::NewFromMalloc(const void* data, size_t length) { argument 58 return new SkData(data, length, sk_free_releaseproc, NULL); 61 SkData* SkData::NewWithCopy(const void* data, size_t length) { argument 71 NewWithProc(const void* data, size_t length, ReleaseProc proc, void* context) argument 82 NewSubset(const SkData* src, size_t offset, size_t length) argument [all...] |
/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
|