/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-shape-normalize.cc | 178 unsigned int len, i; local 182 len = c->buffer->unicode->decompose_compatibility (u, decomposed); 183 if (!len) 186 for (i = 0; i < len; i++) 190 for (i = 0; i < len; i++) 193 return len; 318 count = buffer->len; 333 count = buffer->len; 368 count = buffer->len;
|
/external/chromium_org/third_party/icu/source/common/ |
brkeng.cpp | 287 int len = 0; local 289 len = (int)(extStart-dictfname); 291 u_UCharsToChars(dictfname, dictnbuff, len); 293 dictnbuff[len]=0; // nul terminate
|
resbund.cpp | 245 int32_t len = 0; local 246 const UChar *r = ures_getString(fResource, &len, &status); 247 return UnicodeString(TRUE, r, len); 250 const uint8_t *ResourceBundle::getBinary(int32_t& len, UErrorCode& status) const { 251 return ures_getBinary(fResource, &len, &status); 254 const int32_t *ResourceBundle::getIntVector(int32_t& len, UErrorCode& status) const { 255 return ures_getIntVector(fResource, &len, &status); 303 int32_t len = 0; local 304 const UChar* r = ures_getNextString(fResource, &len, 0, &status); 305 return UnicodeString(TRUE, r, len); 309 int32_t len = 0; local 327 int32_t len = 0; local 355 int32_t len = 0; local [all...] |
ustr_wcs.c | 346 int32_t len = (pCSrc-pCSave); local 350 _BUFFER_CAPACITY_MULTIPLIER*cStackCap+(nulLen*MB_CUR_MAX),len,sizeof(char)); local 353 pCSrc = pCSave+len; 399 int32_t len = (pCSrc-pCSave); local 403 cStackCap+(nulLen*MB_CUR_MAX),len,sizeof(char)); local 406 pCSrc = pCSave+len;
|
/external/chromium_org/third_party/icu/source/i18n/ |
numsys.cpp | 152 int32_t len; local 157 description = ures_getStringByKey(nsTop,gDesc,&len,&status);
|
rbt_rule.cpp | 290 int32_t len = pattern.length(); local 293 int32_t right = len - left; 295 int32_t cachedCompare = r2.pattern.compare(left2 - left, len, pattern);
|
rbt_set.cpp | 140 int32_t len; local 146 len = uprv_min(r.length(), U_PARSE_CONTEXT_LEN-1); 147 r.extract(0, len, parseError.preContext); 148 parseError.preContext[len] = 0; 153 len = uprv_min(r.length(), U_PARSE_CONTEXT_LEN-1); 154 r.extract(0, len, parseError.postContext); 155 parseError.postContext[len] = 0; 184 int32_t i, len; local 189 len = other.ruleVector->size(); 190 for (i=0; i<len && U_SUCCESS(status); ++i) 221 int32_t len = index[256]; \/\/ see freeze() local 253 int32_t len; local [all...] |
ulocdata.c | 105 int32_t len = 0; local 111 exemplarChars = ures_getStringByKey(uld->bundle, exemplarSetTypes[extype], &len, &localStatus); 124 uset_applyPattern(fillIn, exemplarChars, len, 127 fillIn = uset_openPatternOptions(exemplarChars, len, 146 int32_t len = 0; local 168 delimiter = ures_getStringByKey(delimiterBundle, delimiterKeys[type], &len, &localStatus); 184 return len; 216 int32_t len = 0; local 224 paperSize = ures_getIntVector(paperSizeBundle, &len, status); 227 if(len < 2) 254 int32_t len = 0; local 302 int32_t len = 0; local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cucdapi.c | 360 int32_t len = 0; local 361 len = uscript_getCode(expectedShort[i], fillIn, LENGTHOF(fillIn), &status); 365 if(len>1){ 366 log_err("uscript_getCode did not return expected number of codes for script %s. EXPECTED: 1 GOT: %i\n", expectedShort[i], len);
|
currtest.c | 113 int32_t expectedLen = 3, len; local 121 const char *str = uenum_next(en, &len, &status); 122 if (str == NULL || len != expectedLen || strlen(str) != expectedLen) {
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
aliastst.cpp | 200 int32_t len = 0; local 201 ures_getStringByKey(resIndex, loc,&len, &status);
|
trnserr.cpp | 61 int32_t stoppedAt = 0, len; local 73 len = testString.length(); 77 } else if (testString.length() != len) { 84 else if (testString.length() != len) { 102 len = pos.contextLimit = testString.length(); 104 pos.limit = len - 1; 107 if (len == pos.limit) { 119 if (len == pos.limit) { 126 len = pos.limit = testString.length(); 133 if (testString.length() != len) [all...] |
/external/chromium_org/third_party/icu/source/test/perf/ustrperf/ |
stringperf.cpp | 71 int32_t len =0; local 93 len = filelines[i].len; 94 filelines_[i].name = new UChar[len]; 95 filelines_[i].len = len; 96 memcpy(filelines_[i].name, filelines[i].name, len * U_SIZEOF_UCHAR);
|
/external/chromium_org/third_party/icu/source/tools/ctestfw/ |
datamap.cpp | 22 int32_t len = s.length(); local 23 u_UCharsToChars(u, ch, len); 24 ch[len] = 0; /* include terminating \0 */
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
read.c | 124 int len=0; local 191 U_APPEND_CHAR32(c, pTarget,len); 193 ustr_uscat(token, pTarget,len, status); 195 len=0; 246 U_APPEND_CHAR32(c, pTarget,len); 248 ustr_uscat(token, pTarget,len, status); 249 len=0; 291 U_APPEND_CHAR32(c, pTarget,len); 293 ustr_uscat(token, pTarget,len, status); 294 len=0 [all...] |
/external/chromium_org/third_party/icu/source/tools/icuinfo/ |
icuinfo.cpp | 141 int32_t len; local 143 len = ucal_getDefaultTimeZone(buf, 100, &subsubStatus); 144 if(U_SUCCESS(subsubStatus)&&len>0) { 145 u_UCharsToChars(buf, buf2, len+1);
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
memtable.cc | 15 uint32_t len; local 17 p = GetVarint32Ptr(p, p + 5, &len); // +5: we assume "p" is not corrupted 18 return Slice(p, len);
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/util/ |
md5.cc | 178 size_t len = data.size(); local 186 if ((ctx->bits[0] = t + ((uint32)len << 3)) < t) 188 ctx->bits[1] += static_cast<uint32>(len >> 29); 198 if (len < t) { 199 memcpy(p, buf, len); 206 len -= t; 211 while (len >= 64) { 216 len -= 64; 221 memcpy(ctx->in, buf, len);
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/util/ |
md5.cc | 178 size_t len = data.size(); local 186 if ((ctx->bits[0] = t + ((uint32)len << 3)) < t) 188 ctx->bits[1] += static_cast<uint32>(len >> 29); 198 if (len < t) { 199 memcpy(p, buf, len); 206 len -= t; 211 while (len >= 64) { 216 len -= 64; 221 memcpy(ctx->in, buf, len);
|
/external/chromium_org/third_party/libevent/ |
event_tagging.c | 149 int len = EVBUFFER_LENGTH(evbuf); local 152 while (count++ < len) { 189 const void *data, ev_uint32_t len) 192 encode_int(evbuf, len); 193 evbuffer_add(evbuf, (void *)data, len); 231 int len = EVBUFFER_LENGTH(evbuf); local 234 if (!len) 238 if (nibbles > 8 || (nibbles >> 1) + 1 > len) 240 len = (nibbles >> 1) + 1; 252 evbuffer_drain(evbuf, len); 275 int res, len; local 298 int res, len; local 318 ev_uint32_t len; local 333 ev_uint32_t len; local 360 ev_uint32_t len; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
asynctcpsocket.cc | 212 int len = socket_->Recv(inbuf_ + inpos_, insize_ - inpos_); local 213 if (len < 0) { 221 inpos_ += len; 291 void AsyncTCPSocket::ProcessInput(char * data, size_t* len) { 295 if (*len < kPacketLenSize) 299 if (*len < kPacketLenSize + pkt_len) 305 *len -= kPacketLenSize + pkt_len; 306 if (*len > 0) { 307 memmove(data, data + kPacketLenSize + pkt_len, *len);
|
autodetectproxy.cc | 261 int len = socket_->Recv(data, 256); local 262 if (len > 0) { 263 data[len] = 0; 264 LOG(LS_VERBOSE) << "AutoDetectProxy read " << len << " bytes"; 269 if ((len >= 2) && (data[0] == '\x05')) { 273 if ((len >= 5) && (strncmp(data, "HTTP/", 5) == 0)) { 279 if ((len >= 2) && (data[0] == '\x05')) {
|
base64_unittest.cc | 336 // Compare bytes 0..len-1 of x and y. If not equal, abort with verbose error 342 #define EXPECT_EQ_ARRAY(len, x, y, msg) \ 343 for (size_t j = 0; j < len; ++j) { \ 446 size_t len; local 451 len = first_equals - encode_buffer + 5; 454 len = first_equals - encode_buffer + 3; 457 EXPECT_NE(0U, Base64Unescape(encode_buffer, len, &decoded2)); [all...] |
bytebuffer.cc | 50 ByteBuffer::ByteBuffer(const char* bytes, size_t len) { 51 Construct(bytes, len, ORDER_NETWORK); 54 ByteBuffer::ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order) { 55 Construct(bytes, len, byte_order); 62 void ByteBuffer::Construct(const char* bytes, size_t len, 66 size_ = len; 71 end_ = len; 141 bool ByteBuffer::ReadString(std::string* val, size_t len) { 144 if (len > Length()) { 147 val->append(bytes_ + start_, len); 196 memcpy(ReserveWriteBuffer(len), val, len); local 209 size_t len = _min(end_ - start_, size); local [all...] |
cryptstring.h | 114 size_t len = password->GetLength(); local 115 EnsureStorage(length_ + len + 1); 117 length_ += len;
|