/external/icu/icu4c/source/common/unicode/ |
stringpiece.h | 78 * Constructs from a const char * pointer and a specified length. 80 * @param len the length of the string; must be non-negative 87 * @param pos start position in x; must be non-negative and <= x.length(). 94 * @param pos start position in x; must be non-negative and <= x.length(). 95 * @param len length of the substring; 96 * must be non-negative and will be pinned to at most x.length() - pos. 113 * Returns the string length. Same as length(). 114 * @return the string length 119 * Returns the string length. Same as size() 123 int32_t length() const { return length_; } function in class:StringPiece [all...] |
uset.h | 232 * The length of the array that contains BMP characters. 237 * The total length of the array. 240 int32_t length; member in struct:USerializedSet 279 * @param patternLength the length of the pattern, or -1 if null 292 * @param patternLength the length of the pattern, or -1 if null 408 * @param patternLength The length of the UChar string. -1 if NUL terminated. 472 * @param propLength the length of the prop, or -1 if NULL 481 * @param valueLength the length of the value, or -1 if NULL 498 * @param patternLength the length of the pattern, or -1 if NULL 518 * @return length of string, possibly larger than resultCapacit [all...] |
/external/icu/icu4c/source/i18n/ |
collationweights.h | 81 int32_t length, count; member in struct:CollationWeights::WeightRange 90 uint32_t incWeight(uint32_t weight, int32_t length) const; 91 uint32_t incWeightByOffset(uint32_t weight, int32_t length, int32_t offset) const;
|
digitinterval.h | 137 * decimal point instead of some fixed number, then what length() 140 int32_t length() const { function in class:DigitInterval
|
utf8collationiterator.h | 31 * Handles normalized UTF-8 text inline, with length or NUL-terminated. 39 u8(s), pos(p), length(len) {} 74 int32_t length; // <0 for NUL-terminated strings member in class:UTF8CollationIterator
|
/external/icu/icu4c/source/test/letest/ |
FontTableCache.cpp | 22 size_t length; member in struct:FontTableCacheEntry 38 fTableCache[i].length = 0; 49 fTableCache[i].length = 0; 62 const void *FontTableCache::find(LETag tableTag, size_t &length) const 66 length = fTableCache[i].length; 71 const void *table = readFontTable(tableTag, length); 73 ((FontTableCache *) this)->add(tableTag, table, length); 78 void FontTableCache::add(LETag tableTag, const void *table, size_t length) 88 fTableCache[i].length = 0 [all...] |
/external/icu/icu4c/source/test/perf/leperf/ |
FontTableCache.cpp | 24 size_t length; member in struct:FontTableCacheEntry 40 fTableCache[i].length = 0; 51 fTableCache[i].length = 0; 64 const void *FontTableCache::find(LETag tableTag, size_t &length) const 68 length = fTableCache[i].length; 73 const void *table = readFontTable(tableTag, length); 75 ((FontTableCache *) this)->add(tableTag, table, length); 80 void FontTableCache::add(LETag tableTag, const void *table, size_t length) 90 fTableCache[i].length = 0 [all...] |
/external/icu/icu4c/source/test/perf/unisetperf/draft/ |
trieset.cpp | 67 // Preflight the trie length. 68 int32_t length=utrie_serialize(newTrie, NULL, 0, NULL, 8, &errorCode); local 73 trieData=(uint32_t *)uprv_malloc(length); 80 utrie_serialize(newTrie, trieData, length, NULL, 8, &errorCode); 81 utrie_unserialize(&trie, trieData, length, &errorCode); // TODO: Implement for 8-bit UTrie!
|
/external/icu/icu4c/source/tools/genrb/ |
rbutil.c | 71 int32_t length = 0; local 85 buffer[length++]= digits[digit]; 89 while (length < pad){ 90 buffer[length++] = '0';/*zero padding */ 95 buffer[length++]='-'; 99 if(length<MAX_DIGITS){ 100 buffer[length] = 0x0000; 103 num= (pad>=length) ? pad :length; 108 temp = buffer[(length-1) - j] [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
pkg_icu.cpp | 28 int32_t length; member in struct:__anon21820 40 int32_t i, length; local 43 length=listFileSuffixes[i].length; 44 if((listNameEnd-listname)>length && 0==memcmp(listNameEnd-length, suffix, length)) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
NumberStringBuilder.java | 33 private int length; field in class:NumberStringBuilder 43 length = 0; 51 chars = Arrays.copyOf(source.chars, source.chars.length); 52 fields = Arrays.copyOf(source.fields, source.fields.length); 54 length = source.length; 58 public int length() { method in class:NumberStringBuilder 59 return length; 63 return Character.codePointCount(this, 0, length()); 69 assert index < length; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
Replaceable.java | 32 * in the string: <code>length()</code>, <code>charAt()</code>, 61 int length(); method in interface:Replaceable 65 * @param offset an integer between 0 and <code>length()</code>-1 81 * @param offset an integer between 0 and <code>length()</code>-1 101 * <code>start <= limit <= length()</code>. 121 * <= length()</code>. 141 * <= length()</code>. 151 // Note: We use length rather than limit to conform to StringBuffer 168 * length()</code>.
|
/external/javassist/src/main/javassist/util/proxy/ |
ProxyObjectInputStream.java | 70 int length = readInt(); local 71 Class[] interfaces = new Class[length]; 72 for (int i = 0; i < length; i++) { 76 length = readInt(); 77 byte[] signature = new byte[length];
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/ |
SliceFunction.java | 44 int length = string.length(); local 47 start += max(-start, length); 49 end = length; 54 end += length; 57 end = min(end, length);
|
/external/libbrillo/brillo/ |
secure_blob_unittest.cc | 83 size_t length = 1024; local 84 SecureBlob blob(length); 86 for (size_t i = 0; i < length; i++) { 90 blob.resize(length - 1); 93 EXPECT_EQ(length - 1, blob.size()); 94 EXPECT_EQ(0, blob.data()[length - 1]); 115 EXPECT_EQ(blob.size(), test_string.length());
|
/external/libcap/progs/old/ |
setpcaps.c | 97 ssize_t length; local 100 result = cap_to_text(cap_d, &length);
|
/external/libchrome/base/json/ |
string_escape.cc | 88 CHECK_LE(str.length(), 90 const int32_t length = static_cast<int32_t>(str.length()); local 92 for (int32_t i = 0; i < length; ++i) { 94 if (!ReadUnicodeCharacter(str.data(), length, &i, &code_point)) {
|
/external/libchrome/base/ |
rand_util.cc | 69 std::string RandBytesAsString(size_t length) { 70 DCHECK_GT(length, 0u); 72 RandBytes(WriteInto(&result, length + 1), length); local
|
/external/libchrome/base/trace_event/ |
memory_infra_background_whitelist.cc | 224 const size_t length = name.size(); local 226 stripped_str.reserve(length); 228 for (size_t i = 0; i < length; ++i) { 232 if (i + 1 < length && name[i] == '0' && name[i + 1] == 'x') {
|
/external/libcxx/test/support/ |
constexpr_char_traits.hpp | 38 static TEST_CONSTEXPR_CXX14 size_t length(const char_type* __s); 77 constexpr_char_traits<_CharT>::length(const char_type* __s) function in class:constexpr_char_traits
|
/external/libmojo/base/android/library_loader/ |
library_prefetcher_unittest.cc | 100 size_t length = 4 * kPageSize; local 102 ASSERT_TRUE(shared_mem.CreateAndMapAnonymous(length)); 107 reinterpret_cast<uintptr_t>(address) + length}}; 110 ASSERT_EQ(0, madvise(address, length, MADV_DONTNEED)); 115 ASSERT_EQ(0, mlock(address, length)); 117 munlock(address, length); 122 size_t length = 4 * kPageSize; local 124 ASSERT_TRUE(shared_mem.CreateAndMapAnonymous(length)); 134 reinterpret_cast<uintptr_t>(address) + length}, 139 ASSERT_EQ(0, madvise(address, length, MADV_DONTNEED)) [all...] |
/external/libpng/contrib/tools/ |
checksum-icc.c | 21 uLong length = 0; local 35 if (length < sizeof header) 36 header[length] = b; 38 ++length; 59 (unsigned long)length, name); 68 printf("/* adler32, crc32, MD5[16], intent, date, length, file-name */\n");
|
/external/libtextclassifier/util/strings/ |
stringpiece.h | 52 size_t length() const { return size_; } function in class:libtextclassifier2::StringPiece
|
/external/libvncserver/client_examples/ |
backchannel.c | 32 uint32_t length = strlen(text)+1; local 35 msg.size = rfbClientSwap32IfLE(length); 37 !WriteToRFBServer(client, text, length)) {
|
/external/libvncserver/examples/ |
backchannel.c | 42 uint32_t length = strlen(text)+1; local 48 msg.size = Swap32IfLE(length); 50 (n = rfbWriteExact(cl, text, length)) <= 0) {
|