/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/chromium_org/third_party/icu/source/common/ |
H A D | unistr_props.cpp | 35 int32_t oldLength = this->length(); 36 int32_t i = oldLength, length; local 40 length = i; 49 if(length < oldLength) { 50 setLength(length); 58 if(i >= length) { 61 U16_NEXT(array, i, length, c);
|
/external/icu/icu4c/source/common/ |
H A D | unistr_props.cpp | 35 int32_t oldLength = this->length(); 36 int32_t i = oldLength, length; local 40 length = i; 49 if(length < oldLength) { 50 setLength(length); 58 if(i >= length) { 61 U16_NEXT(array, i, length, c);
|
/external/pcre/dist/ |
H A D | pcre16_valid_utf16.c | 76 length length of string, or -1 if the string is zero-terminated 84 PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset) argument 90 if (length < 0) 93 length = p - string; 96 for (p = string; length-- > 0; p++) 107 if (length == 0) 113 length--; 130 (void)(length);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-666721.js | 28 function len0(a) { return a.length; } 29 function len1(a) { return a.length; } 30 function len2(a) { return a.length; } 31 function len3(a) { return a.length; } 34 assertEquals(1, len0({length:1})); 39 assertEquals(1, len1({length:1})); 43 assertEquals(0, len2({length:0})); 45 assertEquals(2, len2({length:2})); 49 assertEquals(0, len3({length:0})); 51 assertEquals(2, len3({length [all...] |
/external/chromium_org/v8/test/webkit/ |
H A D | dfg-string-stricteq.js | 31 var c = a.length + b.length; 38 var c = a.length + b.length; 49 shouldBe("foo({f:\"" + a + "\"}, {f:\"" + b + "\"})", "[" + (a.length + b.length) + ", " + areEqual + "]"); 50 shouldBe("bar({f:\"" + a + "\"}, {f:\"" + b + "\"})", "" + (areEqual ? a.length + b.length + 1 : a.length + b.length [all...] |
/external/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/ |
H A D | length.pass.cpp | 14 // static size_t length(const char_type* s); 22 assert(std::char_traits<char16_t>::length(u"") == 0); 23 assert(std::char_traits<char16_t>::length(u"a") == 1); 24 assert(std::char_traits<char16_t>::length(u"aa") == 2); 25 assert(std::char_traits<char16_t>::length(u"aaa") == 3); 26 assert(std::char_traits<char16_t>::length(u"aaaa") == 4);
|
/external/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/ |
H A D | length.pass.cpp | 14 // static size_t length(const char_type* s); 22 assert(std::char_traits<char32_t>::length(U"") == 0); 23 assert(std::char_traits<char32_t>::length(U"a") == 1); 24 assert(std::char_traits<char32_t>::length(U"aa") == 2); 25 assert(std::char_traits<char32_t>::length(U"aaa") == 3); 26 assert(std::char_traits<char32_t>::length(U"aaaa") == 4);
|
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
H A D | AnimatableLength.cpp | 51 AnimatableLength::AnimatableLength(const Length& length, float zoom) argument 54 PixelsAndPercent pixelsAndPercent = length.pixelsAndPercent(); 57 m_hasPixels = length.type() != Percent; 58 m_hasPercent = !length.isFixed(); 61 Length AnimatableLength::length(float zoom, ValueRange range) const function in class:blink::AnimatableLength 72 const AnimatableLength* length = toAnimatableLength(value); local 73 return create(blend(m_pixels, length->m_pixels, fraction), blend(m_percent, length->m_percent, fraction), 74 m_hasPixels || length->m_hasPixels, m_hasPercent || length 79 const AnimatableLength* length = toAnimatableLength(value); local [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
H A D | ScanHandler.java | 29 public void adup(char[] buff, int offset, int length) throws SAXException; argument 35 public void aname(char[] buff, int offset, int length) throws SAXException; argument 41 public void aval(char[] buff, int offset, int length) throws SAXException; argument 46 public void cdsect(char[] buff, int offset, int length) throws SAXException; argument 52 public void decl(char[] buff, int offset, int length) throws SAXException; argument 58 public void entity(char[] buff, int offset, int length) throws SAXException; argument 64 public void eof(char[] buff, int offset, int length) throws SAXException; argument 70 public void etag(char[] buff, int offset, int length) throws SAXException; argument 76 public void gi(char[] buff, int offset, int length) throws SAXException; argument 82 public void pcdata(char[] buff, int offset, int length) throw argument 88 pi(char[] buff, int offset, int length) argument 94 pitarget(char[] buff, int offset, int length) argument 100 stagc(char[] buff, int offset, int length) argument 106 stage(char[] buff, int offset, int length) argument 112 cmnt(char[] buff, int offset, int length) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
H A D | OAEPEncoding.java | 64 hash.update(encodingParams, 0, encodingParams.length); 101 return baseBlockSize - 1 - 2 * defHash.length; 119 return baseBlockSize - 1 - 2 * defHash.length; 145 byte[] block = new byte[getInputBlockSize() + 1 + 2 * defHash.length]; 150 System.arraycopy(in, inOff, block, block.length - inLen, inLen); 155 block[block.length - inLen - 1] = 0x01; 164 System.arraycopy(defHash, 0, block, defHash.length, defHash.length); 169 byte[] seed = new byte[defHash.length]; 176 byte[] mask = maskGeneratorFunction1(seed, 0, seed.length, bloc 322 maskGeneratorFunction1( byte[] Z, int zOff, int zLen, int length) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | LengthFunctions.cpp | 32 int intValueForLength(const Length& length, LayoutUnit maximumValue) argument 34 return static_cast<int>(valueForLength(length, maximumValue)); 37 float floatValueForLength(const Length& length, float maximumValue) argument 39 switch (length.type()) { 41 return length.getFloatValue(); 43 return static_cast<float>(maximumValue * length.percent() / 100.0f); 48 return length.nonNanCalculatedValue(maximumValue); 65 LayoutUnit minimumValueForLength(const Length& length, LayoutUnit maximumValue) argument 67 switch (length.type()) { 69 return length 94 roundedMinimumValueForLength(const Length& length, LayoutUnit maximumValue) argument 101 valueForLength(const Length& length, LayoutUnit maximumValue) argument [all...] |
/external/libpng/contrib/tools/ |
H A D | png-fix-itxt.c | 16 * uncompressed iTXt chunks. Assumes that the actual length is greater 17 * than or equal to the value in the length byte, and that the CRC is 18 * correct for the actual length. This program hunts for the CRC and 19 * adjusts the length byte accordingly. It is not an error to process a 58 /* Read the length */ 59 unsigned long length; /* must be 32 bits! */ local 60 c=GETBREAK; buf[0] = c; length = c; length <<= 8; 61 c=GETBREAK; buf[1] = c; length += c; length << [all...] |
/external/proguard/src/proguard/gui/ |
H A D | FilterBuilder.java | 58 return positive.length() <= negative.length() ? 80 for (int index = 0; index < checkBoxes.length; index++) 102 if (positive.length() > 0) 107 if (prefix.length() == 0 || 108 prefix.charAt(prefix.length()-1) == separator) 120 if (negative.length() > 0) 125 if (prefix.length() == 0 || 126 prefix.charAt(prefix.length()-1) == separator) 141 for (int index = 0; index < checkBoxes.length; inde [all...] |
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
H A D | exynos_parser_test.js | 18 assertEquals(0, m.importErrors.length); 21 assertEquals(1, threads.length); 25 assertEquals(1, gfxFlipThread.sliceGroup.length); 40 assertEquals(0, m.importErrors.length); 43 assertEquals(0, c0.slices.length); 44 assertEquals(3, c0.counters['INT Frequency'].series[0].samples.length); 45 assertEquals(1, c0.counters['MIF Frequency'].series[0].samples.length);
|
/external/chromium_org/v8/test/mjsunit/ |
H A D | array-length.js | 29 assertEquals(0, a.length = 0); 38 assertEquals(2, a.length = 2); 52 assertEquals(2000001, a.length); 53 assertEquals(0, a.length = 0); 54 assertEquals(0, a.length); 67 assertEquals(2000001, a.length); 68 assertEquals(2000, a.length = 2000); 69 assertEquals(2000, a.length); 79 assertEquals(Math.pow(2,31), a.length); 93 assertEquals(Math.pow(2,32)-1, a.length); [all...] |
H A D | debug-referenced-by.js | 39 assertEquals(1, mirror.referencedBy().length); 40 assertEquals(1, mirror.referencedBy(0).length); 41 assertEquals(1, mirror.referencedBy(1).length); 42 assertEquals(1, mirror.referencedBy(10).length); 47 assertEquals(2, mirror.referencedBy().length); 52 assertEquals(3, mirror.referencedBy().length); 55 assertEquals(4, mirror.referencedBy().length); 57 assertEquals(5, mirror.referencedBy().length); 67 assertEquals(6, mirror.referencedBy().length); 70 assertEquals(5, mirror.referencedBy().length); [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | AtomicStringCF.cpp | 41 CFIndex length = CFStringGetLength(string); 44 return add(ptr, length); 47 return add(reinterpret_cast<const UChar*>(ptr), length); 49 Vector<UniChar, 1024> ucharBuffer(length); 50 CFStringGetCharacters(string, CFRangeMake(0, length), ucharBuffer.data()); 51 return add(reinterpret_cast<const UChar*>(ucharBuffer.data()), length);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | buffer.h | 27 Buffer(const void* data, size_t length) { argument 28 Construct(data, length, length); 30 Buffer(const void* data, size_t length, size_t capacity) { argument 31 Construct(data, length, capacity); 34 Construct(buf.data(), buf.length(), buf.length()); 40 size_t length() const { return length_; } function in class:rtc::Buffer 45 Construct(buf.data(), buf.length(), buf.length()); 57 SetData(const void* data, size_t length) argument 62 AppendData(const void* data, size_t length) argument 68 SetLength(size_t length) argument 90 Construct(const void* data, size_t length, size_t capacity) argument [all...] |
/external/chromium_org/third_party/webrtc/video/ |
H A D | transport_adapter.cc | 21 int length) { 26 static_cast<size_t>(length)); 27 return success ? length : -1; 32 int length) { 37 static_cast<size_t>(length)); 38 return success ? length : -1; 19 SendPacket(int , const void* packet, int length) argument 30 SendRTCPPacket(int , const void* packet, int length) argument
|
/external/proguard/src/proguard/gui/splash/ |
H A D | TypeWriterString.java | 57 int stringLength = string.length(); 58 int length = (int)(stringLength * t + 0.5); 59 if (length != cachedLength) 61 cachedLength = length; 62 cachedString = string.substring(0, length); 63 if (t > 0.0 && length < stringLength)
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | Uint8ClampedArray.h | 38 static inline PassRefPtr<Uint8ClampedArray> create(unsigned length); 39 static inline PassRefPtr<Uint8ClampedArray> create(const unsigned char* array, unsigned length); 40 static inline PassRefPtr<Uint8ClampedArray> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length); 44 static inline PassRefPtr<Uint8ClampedArray> createUninitialized(unsigned length); 65 unsigned length); 70 PassRefPtr<Uint8ClampedArray> Uint8ClampedArray::create(unsigned length) argument 72 return TypedArrayBase<unsigned char>::create<Uint8ClampedArray>(length); 75 PassRefPtr<Uint8ClampedArray> Uint8ClampedArray::create(const unsigned char* array, unsigned length) argument 77 return TypedArrayBase<unsigned char>::create<Uint8ClampedArray>(array, length); 80 PassRefPtr<Uint8ClampedArray> Uint8ClampedArray::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument 85 createUninitialized(unsigned length) argument 106 Uint8ClampedArray(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) argument [all...] |
/external/chromium_org/storage/common/blob/ |
H A D | blob_data.cc | 21 void BlobData::AppendData(const char* data, size_t length) { argument 22 DCHECK(length > 0); 24 items_.back().SetToBytes(data, length); 28 uint64 offset, uint64 length, 30 DCHECK(length > 0); 32 items_.back().SetToFilePathRange(file_path, offset, length, 37 uint64 offset, uint64 length) { 38 DCHECK_GT(length, 0ul); 40 items_.back().SetToBlobRange(uuid, offset, length); 45 uint64 length, 27 AppendFile(const base::FilePath& file_path, uint64 offset, uint64 length, const base::Time& expected_modification_time) argument 36 AppendBlob(const std::string& uuid, uint64 offset, uint64 length) argument 43 AppendFileSystemFile( const GURL& url, uint64 offset, uint64 length, const base::Time& expected_modification_time) argument [all...] |
/external/skia/src/images/ |
H A D | SkStreamHelpers.cpp | 18 const size_t length = stream->getLength(); local 19 void* dst = storage->reset(length); 20 if (stream->read(dst, length) != length) { 23 return length; 37 const size_t length = tempStream.bytesWritten(); local 38 void* dst = storage->reset(length); 40 return length; 47 const size_t length = stream->getLength(); local 48 void* dst = sk_malloc_throw(length); [all...] |