HomeSort by relevance Sort by last modified time
    Searched refs:length (Results 201 - 225 of 19404) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/icu4c/tools/toolutil/
denseranges.cpp 28 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {}
31 int32_t i=length;
38 // length largest.
39 int32_t j= length<maxLength ? length++ : maxLength-1;
51 if(newLength<length) {
52 length=newLength;
56 int32_t count() const { return length; }
61 if(length==0) {
66 for(int32_t i=0; i<length; ++i)
79 int32_t length; member in class:__anon19185::LargestGaps
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextChunk.cpp 35 void SVGTextChunk::calculateLength(float& length, unsigned& characters) const
50 characters += fragment.length;
53 length += fragment.height;
55 length += fragment.width;
64 length += fragment.y - (lastFragment->y + lastFragment->height);
66 length += fragment.x - (lastFragment->x + lastFragment->width);
73 float SVGTextChunk::calculateTextAnchorShift(float length) const
76 return -length / 2;
78 return m_chunkStyle & RightToLeftText ? 0 : -length;
79 return m_chunkStyle & RightToLeftText ? -length : 0
    [all...]
  /external/chromium_org/v8/src/
allocation.cc 86 int length = StrLength(str); local
87 char* result = NewArray<char>(length + 1);
88 OS::MemCopy(result, str, length);
89 result[length] = '\0';
95 int length = StrLength(str); local
96 if (n < length) length = n;
97 char* result = NewArray<char>(length + 1);
98 OS::MemCopy(result, str, length);
99 result[length] = '\0'
    [all...]
  /external/v8/src/
allocation.cc 86 int length = StrLength(str); local
87 char* result = NewArray<char>(length + 1);
88 memcpy(result, str, length);
89 result[length] = '\0';
95 int length = StrLength(str); local
96 if (n < length) length = n;
97 char* result = NewArray<char>(length + 1);
98 memcpy(result, str, length);
99 result[length] = '\0'
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
CharsetBenchmark.java 25 private int length; field in class:CharsetBenchmark
44 byte[] bytes = makeBytes(makeString(length));
51 byte[] bytes = makeBytes(makeString(length));
53 new String(bytes, 0, bytes.length);
58 byte[] bytes = makeBytes(makeString(length));
60 new String(bytes, 0, bytes.length, name);
65 String string = makeString(length);
71 private static String makeString(int length) {
72 StringBuilder result = new StringBuilder(length);
73 for (int i = 0; i < length; ++i)
    [all...]
  /libcore/dex/src/main/java/com/android/dex/
ClassData.java 50 Field[] result = new Field[staticFields.length + instanceFields.length];
51 System.arraycopy(staticFields, 0, result, 0, staticFields.length);
52 System.arraycopy(instanceFields, 0, result, staticFields.length, instanceFields.length);
57 Method[] result = new Method[directMethods.length + virtualMethods.length];
58 System.arraycopy(directMethods, 0, result, 0, directMethods.length);
59 System.arraycopy(virtualMethods, 0, result, directMethods.length, virtualMethods.length);
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
ucol_wgt.cpp 52 getWeightTrail(uint32_t weight, int32_t length) {
53 return (uint32_t)(weight>>(8*(4-length)))&0xff;
57 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) {
58 length=8*(4-length);
59 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length));
79 truncateWeight(uint32_t weight, int32_t length) {
80 return (uint32_t)(weight&(0xffffffff<<(8*(4-length))));
84 incWeightTrail(uint32_t weight, int32_t length) {
111 int32_t length; local
148 int32_t length, lowerLength, upperLength, rangeCount; local
    [all...]
  /external/icu4c/i18n/
ucol_wgt.cpp 52 getWeightTrail(uint32_t weight, int32_t length) {
53 return (uint32_t)(weight>>(8*(4-length)))&0xff;
57 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) {
58 length=8*(4-length);
59 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length));
92 truncateWeight(uint32_t weight, int32_t length) {
93 return (uint32_t)(weight&(0xffffffff<<(8*(4-length))));
97 incWeightTrail(uint32_t weight, int32_t length) {
124 int32_t length; local
161 int32_t length, lowerLength, upperLength, rangeCount; local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
Base64.java 16 return toBase64String(data, 0, data.length);
22 int length)
24 byte[] encoded = encode(data, off, length);
36 return encode(data, 0, data.length);
47 int length)
49 int len = (length + 2) / 3 * 4;
54 encoder.encode(data, off, length, bOut);
74 return encoder.encode(data, 0, data.length, out);
85 int length,
89 return encoder.encode(data, off, length, out)
    [all...]
  /external/chromium_org/third_party/ots/include/
ots-memory-stream.h 17 MemoryStream(void *ptr, size_t length)
18 : ptr_(ptr), length_(length), off_(0) {
21 virtual bool WriteRaw(const void *data, size_t length) {
22 if ((off_ + length > length_) ||
23 (length > std::numeric_limits<size_t>::max() - off_)) {
26 std::memcpy(static_cast<char*>(ptr_) + off_, data, length);
27 off_ += length;
63 bool WriteRaw(const void *data, size_t length) {
64 if ((off_ + length > length_) ||
65 (length > std::numeric_limits<size_t>::max() - off_))
    [all...]
  /external/chromium_org/third_party/ots/src/
gpos.cc 42 const uint8_t *data, const size_t length);
44 const uint8_t *data, const size_t length);
46 const uint8_t *data, const size_t length);
48 const uint8_t *data, const size_t length);
50 const uint8_t *data, const size_t length);
52 const uint8_t *data, const size_t length);
54 const uint8_t *data, const size_t length);
56 const uint8_t *data, const size_t length);
58 const uint8_t *data, const size_t length);
80 const size_t length, const uint16_t value_format)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
StringBuilder.h 51 ALWAYS_INLINE void append(const char* characters, unsigned length) { append(reinterpret_cast<const LChar*>(characters), length); } local
55 if (!string.length())
62 m_length = string.length();
68 append(string.characters8(), string.length());
70 append(string.characters16(), string.length());
92 void append(const String& string, unsigned offset, unsigned length)
94 if (!string.length())
97 unsigned extent = offset + length;
98 if (extent < offset || extent > string.length())
212 unsigned length() const function in class:WTF::StringBuilder
    [all...]
  /external/icu4c/common/
bytestrieiterator.cpp 63 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. local
64 if(length>=0) {
66 ++length;
67 if(maxLength_>0 && length>maxLength_) {
68 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal.
70 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); local
71 pos_+=length;
72 remainingMatchLength_-=length;
85 int32_t length=remainingMatchLength_+1; // Remaining match length local
112 int32_t length=stack_->elementAti(stackSize-1); local
158 int32_t length=node-kMinLinearMatch+1; local
164 str_->append(reinterpret_cast<const char *>(pos), length, errorCode); local
    [all...]
  /frameworks/base/services/common_time/
common_time_server_packets.cpp 42 if ((offset + sizeof(field_name)) > length) \
53 if ((offset + sizeof(field_name)) > length) \
79 uint32_t length) {
91 uint32_t length) {
104 uint32_t length) {
107 ret = serializeHeader(data, length);
112 length -= ret;
117 length);
121 length);
124 tmp =((SyncRequestPacket*)(this))->serializePacket(data, length);
    [all...]
  /libcore/luni/src/main/java/java/lang/
StringToReal.java 73 private static StringExponentPair initialParse(String s, int length, boolean isDouble) {
75 if (length == 0) {
82 char c = s.charAt(length - 1);
84 length--;
85 if (length == 0) {
93 if (end + 1 == length) {
107 String exponentString = s.substring(exponentOffset, length);
111 for (int i = 0; i < exponentString.length(); ++i) {
134 end = length;
136 if (length == 0)
213 int length = name.length(); local
245 int length = s.length(); local
286 int length = s.length(); local
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
Exif.java 30 * @param byteSize Recommended parameter declaring the length of the input stream. If you
57 has(jpeg, byteSize, offset + length - 1)
59 where length is a variable int (around 30KB above) read from the EXIF headers.
69 int length = 0; local
101 // Get the length and check if it is reasonable.
102 length = pack(jpeg, offset, 2, false);
103 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) {
104 Log.e(TAG, "Invalid length");
109 if (marker == 0xE1 && length >= 8 &
    [all...]
  /libcore/luni/src/main/java/java/io/
PushbackInputStream.java 37 * {@code buf.length} indicates that no bytes are available. A value of 0
89 return buf.length - pos + in.available();
141 if (pos < buf.length) {
158 * if {@code byteOffset < 0 || byteCount < 0 || byteOffset + byteCount > buffer.length}.
170 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount);
173 if (pos < buf.length) {
174 copyLength = (buf.length - pos >= byteCount) ? byteCount : buf.length - pos;
216 if (pos < buf.length) {
217 numSkipped += (byteCount < buf.length - pos) ? byteCount : buf.length - pos
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
TBCPadding.java 52 int count = in.length - inOff;
61 code = (byte)((in[in.length - 1] & 0x01) == 0 ? 0xff : 0x00);
64 while (inOff < in.length)
79 byte code = in[in.length - 1];
81 int index = in.length - 1;
87 return in.length - index;
  /external/chromium_org/base/process/
process_handle_freebsd.cc 15 size_t length; local
18 if (sysctl(mib, arraysize(mib), &info, &length, NULL, 0) < 0)
26 size_t length; local
29 length = sizeof(pathname);
31 if (sysctl(mib, arraysize(mib), pathname, &length, NULL, 0) < 0 ||
32 length == 0) {
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLMetaCharsetParser.cpp 60 unsigned length = value.length(); local
62 while (pos < length) {
70 while (pos < length && value[pos] <= ' ')
78 while (pos < length && value[pos] <= ' ')
82 if (pos < length && (value[pos] == '"' || value[pos] == '\'')) {
87 if (pos == length)
91 while (end < length && ((quoteMark && value[end] != quoteMark) || (!quoteMark && value[end] > ' ' && value[end] != '"' && value[end] != '\'' && value[end] != ';')))
94 if (quoteMark && (end == length))
136 if (charset.length())
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
os_mman.h 64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset)
72 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12));
77 # define os_mmap(addr, length, prot, flags, fd, offset) mmap(addr, length, prot, flags, fd, offset)
80 #define os_munmap(addr, length) munmap(addr, length)
  /external/chromium_org/third_party/openssl/openssl/crypto/aes/
aes_cfb.c 61 size_t length, const AES_KEY *key,
64 CRYPTO_cfb128_encrypt(in,out,length,key,ivec,num,enc,(block128_f)AES_encrypt);
69 size_t length, const AES_KEY *key,
72 CRYPTO_cfb128_1_encrypt(in,out,length,key,ivec,num,enc,(block128_f)AES_encrypt);
76 size_t length, const AES_KEY *key,
79 CRYPTO_cfb128_8_encrypt(in,out,length,key,ivec,num,enc,(block128_f)AES_encrypt);
  /external/chromium_org/third_party/skia/src/core/
SkData.cpp 34 size_t SkData::copyRange(size_t offset, size_t length, void* buffer) const {
36 if (offset >= available || 0 == length) {
40 if (length > available) {
41 length = available;
43 SkASSERT(length > 0);
45 memcpy(buffer, this->bytes() + offset, length);
46 return length;
68 SkData* SkData::NewFromMalloc(const void* data, size_t length) {
69 return new SkData(data, length, sk_free_releaseproc, NULL);
72 SkData* SkData::NewWithCopy(const void* data, size_t length) {
    [all...]
SkScalar.cpp 14 const SkScalar values[], int length) {
15 SkASSERT(length > 0);
19 for (int i = 1; i < length; i++)
23 while (right < length && searchKey > keys[right])
27 if (length == right)
28 return values[length-1];
  /external/chromium_org/webkit/common/
data_element.cc 20 uint64 offset, uint64 length,
25 length_ = length;
31 uint64 offset, uint64 length) {
35 length_ = length;
40 uint64 offset, uint64 length,
45 length_ = length;

Completed in 439 milliseconds

1 2 3 4 5 6 7 891011>>