/external/harfbuzz_ng/src/ |
hb-icu.cc | 190 unsigned int len; local 194 len = 0; 196 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err); 198 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err); 202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); 205 if (u_countChar32 (normalized, len) == 1) { 225 int len; local 227 len = unorm2_getRawDecomposition (normalizer, ab, decomposed, 229 if (U_FAILURE (icu_err) || len < 0) return false 249 unsigned int len; local 319 unsigned int len; local [all...] |
hb-ot-map.cc | 42 unsigned int offset, len; local 49 len = ARRAY_LENGTH (lookup_indices); 53 offset, &len, 56 for (unsigned int i = 0; i < len; i++) 68 offset += len; 69 } while (len == ARRAY_LENGTH (lookup_indices)); 104 info->seq = feature_infos.len; 115 for (unsigned int i = 0; i < lookups[table_index].len; i++) 156 if (!feature_infos.len) 163 for (unsigned int i = 1; i < feature_infos.len; i++ [all...] |
hb-ot-tag.cc | 799 unsigned int len = strlen (spec); local [all...] |
hb-shape.cc | 61 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); local 62 strncpy (buf, *pp, len); 63 buf[len] = '\0'; 201 * @str: (array length=len): 202 * @len: 212 hb_feature_from_string (const char *str, int len, 217 if (len < 0) 218 len = strlen (str); 220 if (likely (parse_one_feature (&str, str + len, &feat))) 249 unsigned int len = 0 local [all...] |
/external/harfbuzz_ng/test/api/ |
test-blob.c | 49 unsigned int len; local 60 len = hb_blob_get_length (blob); 61 g_assert_cmpint (len, ==, 0); 66 data = hb_blob_get_data (blob, &len); 68 g_assert_cmpint (len, ==, 0); 73 data_writable = hb_blob_get_data_writable (blob, &len); 75 g_assert_cmpint (len, ==, 0); 94 unsigned int len; member in struct:__anon25491 144 unsigned int len; local 152 len = sizeof (test_data) 207 unsigned int len; local 266 unsigned int len; local [all...] |
test-shape.c | 91 unsigned int len; local 115 len = hb_buffer_get_length (buffer); 124 g_assert_cmpint (len, ==, 4); 125 for (i = 0; i < len; i++) { 129 for (i = 0; i < len; i++) {
|
/external/icu/icu4c/source/common/ |
cstring.c | 314 size_t len = uprv_strlen(src) + 1; local 315 char *dup = (char *) uprv_malloc(len); 318 uprv_memcpy(dup, src, len);
|
unistr_cnv.cpp | 247 int32_t len=doExtract(0, length(), dest, destCapacity, cnv, errorCode); local 254 return len;
|
util.cpp | 345 int32_t len = rule.length(); local 346 if (len > 0 && rule.charAt(len-1) != c) {
|
/external/icu/icu4c/source/common/unicode/ |
uniset.h | 278 int32_t len; // length of list used; 0 <= len <= capacity member in class:UnicodeSet [all...] |
ures.h | 356 * @param len fills in the length of resulting string 371 int32_t* len, 431 * @param len fills in the length of resulting byte chunk 446 int32_t* len, 453 * @param len fills in the length of resulting byte chunk 468 int32_t* len, 591 * @param len fill in length of the string 600 int32_t* len, 627 * @param len fill in length of the string 636 int32_t* len, 806 int32_t len = 0; local 826 int32_t len = 0; local 845 int32_t len = 0; local 865 int32_t len = 0; local [all...] |
/external/icu/icu4c/source/i18n/ |
name2uni.cpp | 111 // if either there is no name data (max len == 0) or there is no 182 int32_t len = name.length(); local 185 if (len > 0 && 186 name.charAt(len-1) == SPACE) { 187 --len; 190 if (uprv_isInvariantUString(name.getBuffer(), len)) { 191 name.extract(0, len, cbuf, maxLen, US_INV);
|
quantityformatter.cpp | 31 int32_t len = LENGTHOF(gPluralForms); local 32 for (int32_t i = 0; i < len; ++i) {
|
strrepl.cpp | 146 int32_t len = U16_LENGTH(text.char32At(start-1)); local 147 text.copy(start-len, start, tempStart); 148 destStart += len; 177 int32_t len = r->replace(text, destLimit, destLimit, cursor); local 178 destLimit += len;
|
/external/icu/icu4c/source/io/ |
uprintf.h | 73 int32_t len; /* Maximum number of code units that can be written to output */ member in struct:u_localized_print_string
|
/external/icu/icu4c/source/samples/layout/ |
GnomeFontInstance.cpp | 124 FT_ULong len = 0; local 127 FT_Load_Sfnt_Table(fFace, tableTag, 0, NULL, &len); 129 if (len > 0) { 130 result = LE_NEW_ARRAY(FT_Byte, len); 131 FT_Load_Sfnt_Table(fFace, tableTag, 0, result, &len);
|
/external/icu/icu4c/source/test/cintltst/ |
cg7coll.c | 203 int32_t len=(int32_t)strlen(rules); local 210 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); 234 int32_t len=(int32_t)strlen(rules); local 241 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); 263 int32_t len=(int32_t)strlen(rules); local 270 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); 293 int32_t len=(int32_t)strlen(rules); local 300 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
|
stdnmtst.c | 175 int32_t idx, len, repeatTimes = 3; local 192 enumName = uenum_next(myEnum, &len, &err); 195 || len != (int32_t)uprv_strlen(expected[idx])) 197 log_err("FAIL: uenum_next(%d) == \"%s\". expected \"%s\", len=%d, error=%s\n", 198 idx, enumName, testName, len, u_errorName(err)); 205 enumName = uenum_next(myEnum, &len, &err); 206 if (enumName != NULL || len != 0 || U_FAILURE(err)) { 207 log_err("FAIL: uenum_next(past the list) did not return NULL[0] with U_SUCCESS(). name=%s standard=%s len=%d err=%s\n", name, standard, len, u_errorName(err)); 245 int32_t len; local [all...] |
/external/icu/icu4c/source/test/compat/ |
tzdate.c | 79 int32_t len = 0; local 84 len = udat_format(fmt, timeToCheck, 0, len, 0, &status); 89 s = (UChar*) malloc(sizeof(UChar) * (len+1)); 94 udat_format(fmt, timeToCheck, s, len + 1, 0, &status); 100 for(i = 0; i < len+1; i++) {
|
/external/icu/icu4c/source/test/perf/leperf/ |
leperf.cpp | 58 double len=10.0; local 66 len = (1.0)*(argv[i][0]-'0'); 69 u_printf("leperf: Testing %s for %.fs...\n", U_ICU_VERSION, len); 94 timeTaken = utimer_loopUntilDone(len, &loopCount, iterate, &p); 108 timeTaken = utimer_loopUntilDone(len, &loopCount, iterate, &p);
|
/external/iproute2/ip/ |
ip.c | 108 size_t len = 0; local 125 while (getcmdline(&line, &len, stdin) != -1) {
|
ipaddrlabel.c | 61 int len = n->nlmsg_len; local 68 len -= NLMSG_LENGTH(sizeof(*ifal)); 69 if (len < 0) 72 parse_rtattr(tb, IFAL_MAX, IFAL_RTA(ifal), len); 197 int len = n->nlmsg_len; local 200 len -= NLMSG_LENGTH(sizeof(*r)); 201 if (len < 0) 204 parse_rtattr(tb, IFAL_MAX, RTM_RTA(r), len);
|
/external/iproute2/tc/ |
m_ematch.h | 16 unsigned int len; member in struct:bstr 23 static inline struct bstr * bstr_new(char *data, unsigned int len) 31 b->len = len; 38 int len = strlen(text); local 39 int d = b->len - len; 42 return strncmp(b->data, text, len);
|
tc_class.c | 156 int len = n->nlmsg_len; local 165 len -= NLMSG_LENGTH(sizeof(*t)); 166 if (len < 0) { 167 fprintf(stderr, "Wrong len %d\n", len); 177 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len);
|
tc_qdisc.c | 203 int len = n->nlmsg_len; local 212 len -= NLMSG_LENGTH(sizeof(*t)); 213 if (len < 0) { 214 fprintf(stderr, "Wrong len %d\n", len); 222 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len);
|