/external/icu4c/tools/pkgdata/ |
D | pkgtypes.c | 39 if(buffer[uprv_strlen(buffer)-1] == '"') { in pkg_writeCharListWrap() 40 buffer[uprv_strlen(buffer)-1] = '\0'; in pkg_writeCharListWrap() 50 if(l->str[uprv_strlen(l->str)-1] != '"') { in pkg_writeCharListWrap() 54 T_FileStream_write(s, buffer, (int32_t)uprv_strlen(buffer)); in pkg_writeCharListWrap() 56 ln += (int32_t)uprv_strlen(l->str); in pkg_writeCharListWrap() 63 T_FileStream_write(s, brk, (int32_t)uprv_strlen(brk)); in pkg_writeCharListWrap() 65 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharListWrap() 82 if(uprv_strlen(l->str) >= 1023) in pkg_writeCharList() 89 if(buffer[uprv_strlen(buffer)-1] == '"') { in pkg_writeCharList() 90 buffer[uprv_strlen(buffer)-1] = '\0'; in pkg_writeCharList() [all …]
|
D | pkgdata.cpp | 361 int32_t len = (int32_t)uprv_strlen(o.shortName); in main() 627 …if (pkgDataFlags[LIB_EXT_ORDER][uprv_strlen(pkgDataFlags[LIB_EXT_ORDER])-1] == pkgDataFlags[SO_EXT… in pkg_executeOptions() 670 (uprv_strlen(genccodeAssembly)>3) && in pkg_executeOptions() 896 …if (uprv_strlen(libFileNames[LIB_FILE_VERSION]) == 0 || uprv_strlen(libFileNames[LIB_FILE_VERSION_… in pkg_createSymLinks() 1039 buffer[uprv_strlen(buffer)-1] = 0; in pkg_installFileMode() 1153 …length = uprv_strlen(pkgDataFlags[AR]) + uprv_strlen(pkgDataFlags[ARFLAGS]) + uprv_strlen(targetDi… in pkg_generateLibraryFile() 1154 …uprv_strlen(libFileNames[LIB_FILE_VERSION]) + uprv_strlen(objectFile) + uprv_strlen(pkgDataFlags[R… in pkg_generateLibraryFile() 1179 length = uprv_strlen(pkgDataFlags[GENLIB]) + uprv_strlen(pkgDataFlags[LDICUDTFLAGS]) + in pkg_generateLibraryFile() 1180 uprv_strlen(targetDir) + uprv_strlen(libFileNames[LIB_FILE_VERSION_TMP]) + in pkg_generateLibraryFile() 1181 uprv_strlen(objectFile) + uprv_strlen(pkgDataFlags[LD_SONAME]) + in pkg_generateLibraryFile() [all …]
|
/external/icu4c/tools/genrb/ |
D | wrtxml.cpp | 95 result = (char *)uprv_malloc(sizeof(char)*uprv_strlen(id) + 1); in getID() 96 uprv_memset(result, 0, sizeof(char)*uprv_strlen(id) + 1); in getID() 99 result = (char *)uprv_malloc(sizeof(char)*(uprv_strlen(id) + 1 + uprv_strlen(curKey)) + 1); in getID() 100 uprv_memset(result, 0, sizeof(char)*(uprv_strlen(id) + 1 + uprv_strlen(curKey)) + 1); in getID() 175 int idLen = (int) uprv_strlen(id); in parseFilename() 261 destLen+=(int32_t)uprv_strlen("\x26\x61\x6d\x70\x3b"); in convertAndEscape() 265 destLen+=(int32_t)uprv_strlen("\x26\x6c\x74\x3b"); in convertAndEscape() 269 destLen+=(int32_t)uprv_strlen("\x26\x67\x74\x3b"); in convertAndEscape() 273 destLen+=(int32_t)uprv_strlen("\x26\x71\x75\x6f\x74\x3b"); in convertAndEscape() 277 destLen+=(int32_t)uprv_strlen("\x26\x61\x70\x6f\x73\x3b"); in convertAndEscape() [all …]
|
D | wrtjava.c | 353 T_FileStream_write(out, object, (int32_t)uprv_strlen(object)); in array_write_java() 358 T_FileStream_write(out, arr, (int32_t)uprv_strlen(arr)); in array_write_java() 381 T_FileStream_write(out,arr,(int32_t)uprv_strlen(arr)); in array_write_java() 401 T_FileStream_write(out, stringArr, (int32_t)uprv_strlen(stringArr)); in intvector_write_java() 412 T_FileStream_write(out, intArr, (int32_t)uprv_strlen(intArr)); in intvector_write_java() 438 T_FileStream_write(out, intC, (int32_t)uprv_strlen(intC)); in int_write_java() 460 T_FileStream_write(out, type, (int32_t)uprv_strlen(type)); in bytes_write_java() 480 T_FileStream_write(out, byteBuffer, (int32_t)uprv_strlen(byteBuffer)); in bytes_write_java() 503 T_FileStream_write(out,type,(int32_t)uprv_strlen(type)); in bytes_write_java() 526 T_FileStream_write(out, obj, (int32_t)uprv_strlen(obj)); in table_write_java() [all …]
|
D | genrb.c | 141 if(uprv_strlen(s) != 1 || (s[0] != '1' && s[0] != '2')) { in main() 302 char *nameWithoutSuffix = uprv_malloc(uprv_strlen(poolResName) + 1); in main() 472 filelen = (int32_t)uprv_strlen(filename); in processFile() 496 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 499 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 646 pkgLen = (int32_t)(1 + uprv_strlen(packageName)); in make_res_filename() 653 basename = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(filename) + 1)); in make_res_filename() 661 dirname = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(filename) + 1)); in make_res_filename() 671 resName = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(dirname) in make_res_filename() 673 + uprv_strlen(basename) in make_res_filename() [all …]
|
D | derb.c | 242 absfilename = (uprv_strlen(arg) > 2 && isalpha(arg[0]) in main() 290 ext = filename + uprv_strlen(filename); in main() 313 tp = thefile + uprv_strlen(thefile); in main() 314 len = (int32_t)uprv_strlen(ext); in main() 435 len = (int32_t)uprv_strlen(str); in printCString() 532 printCString(out, converter, key, (int32_t)uprv_strlen(key)); in printOutBundle()
|
D | parse.c | 693 filelen = (int32_t)uprv_strlen(filename); in importFromDataFile() 717 dirlen = (int32_t)uprv_strlen(genrbdata->inputDir); in importFromDataFile() 720 dirlen = (int32_t)uprv_strlen(genrbdata->inputDir); in importFromDataFile() 1388 if(len==uprv_strlen(string)) in parseIntVector() 1454 count = (uint32_t)uprv_strlen(string); in parseBinary() 1474 if(len!=uprv_strlen(toConv)) in parseBinary() 1532 if (uprv_strlen(string) <= 0) in parseInteger() 1541 if(len==uprv_strlen(string)) in parseInteger() 1592 int32_t filenameLength = uprv_strlen(filename); in parseImport() 1603 int32_t count = (int32_t)uprv_strlen(filename); in parseImport() [all …]
|
/external/icu4c/common/ |
D | uloc_tag.c | 232 len = (int32_t)uprv_strlen(s); in _isLanguageSubtag() 247 len = (int32_t)uprv_strlen(s); in _isExtlangSubtag() 261 len = (int32_t)uprv_strlen(s); in _isScriptSubtag() 276 len = (int32_t)uprv_strlen(s); in _isRegionSubtag() 294 len = (int32_t)uprv_strlen(s); in _isVariantSubtag() 312 len = (int32_t)uprv_strlen(s); in _isPrivateuseVariantSubtag() 326 len = (int32_t)uprv_strlen(s); in _isAttributeSubtag() 340 len = (int32_t)uprv_strlen(s); in _isExtensionSingleton() 354 len = (int32_t)uprv_strlen(s); in _isExtensionSubtag() 368 len = (int32_t)uprv_strlen(s); in _isExtensionSubtags() [all …]
|
D | uloc.c | 542 int32_t localeIDLength = uprv_strlen(localeID); in getShortestSubtagLength() 604 int32_t keywordNameLen = (int32_t)uprv_strlen(keywordName); in locale_canonKeywordName() 715 i = (int32_t)uprv_strlen(equalSign); in _getKeywords() 754 keywordList[numKeywords].keywordLen = (int32_t)uprv_strlen(addKeyword); in _getKeywords() 756 keywordList[numKeywords].valueLen = (int32_t)uprv_strlen(addValue); in _getKeywords() 897 …} else if(!startSearchHere && (int32_t)uprv_strlen(nextSeparator) < bufferCapacity) { /* last item… in uloc_getKeywordValue() 898 i = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue() 910 result = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue() 946 bufLen = (int32_t)uprv_strlen(buffer); in uloc_setKeywordValue() 960 keywordValueLen = (int32_t)uprv_strlen(keywordValue); in uloc_setKeywordValue() [all …]
|
D | stringpiece.cpp | 17 : ptr_(str), length_((str == NULL) ? 0 : static_cast<int32_t>(uprv_strlen(str))) { } in StringPiece() 47 length_ = static_cast<int32_t>(uprv_strlen(str)); in set()
|
D | unistr_cnv.cpp | 47 doCodepageCreate(codepageData, (int32_t)uprv_strlen(codepageData), 0); in UnicodeString() 70 doCodepageCreate(codepageData, (int32_t)uprv_strlen(codepageData), codepage); in UnicodeString() 100 srcLength=(int32_t)uprv_strlen(src); in UnicodeString() 315 dataLength = (int32_t)uprv_strlen(codepageData); in doCodepageCreate()
|
D | loclikely.cpp | 201 (int32_t)uprv_strlen(unknownLanguage), in createTagStringWithAlternates() 229 (int32_t)uprv_strlen(unknownLanguage), in createTagStringWithAlternates() 507 *langLength = (int32_t)uprv_strlen(lang); in parseTagString() 898 trailingLength = (int32_t)uprv_strlen(trailing); in _uloc_addLikelySubtags() 917 const int32_t localIDLength = (int32_t)uprv_strlen(localeID); in _uloc_addLikelySubtags() 1006 trailingLength = (int32_t)uprv_strlen(trailing); in _uloc_minimizeSubtags() 1177 const int32_t localeIDLength = (int32_t)uprv_strlen(localeID); in _uloc_minimizeSubtags()
|
D | locid.cpp | 329 lsize = (int32_t)uprv_strlen(newLanguage); in Locale() 336 csize = (int32_t)uprv_strlen(newCountry); in Locale() 350 vsize = (int32_t)uprv_strlen(newVariant); in Locale() 374 ksize = (int32_t)uprv_strlen(newKeywords); in Locale() 467 fullName = (char *)uprv_malloc(sizeof(char)*(uprv_strlen(other.fullName)+1)); in operator =() 1001 kw += uprv_strlen(kw)+1; in count() 1011 len = (int32_t)uprv_strlen(current); in next() 1093 if (variantBegin == (int32_t)uprv_strlen(fullName)) { in getBaseName()
|
D | uinvchar.c | 461 outLength=(int32_t)uprv_strlen(outString); in uprv_compareInvAscii() 506 outLength=(int32_t)uprv_strlen(outString); in uprv_compareInvEbcdic() 572 n = uprv_strlen((const char*)src)+1; /* copy NUL */ in uprv_aestrncpy() 593 n = uprv_strlen((const char*)src)+1; /* copy NUL */ in uprv_eastrncpy()
|
D | udata.cpp | 356 nameLen = (int32_t)uprv_strlen(baseName); in udata_cacheDataItem() 469 basenameLen = (int32_t)uprv_strlen(basename); in UDataPathIterator() 532 pathLen = (int32_t)uprv_strlen(currentPath); in next() 538 pathLen = (int32_t)uprv_strlen(currentPath); in next() 573 uprv_strlen(pathBasename)==(basenameLen+4)) { /* base+suffix = full len */ in next() 1134 uprv_strlen(U_ICUDATA_NAME U_TREE_SEPARATOR_STRING)) || in doOpenChoice() 1136 uprv_strlen(U_ICUDATA_ALIAS U_TREE_SEPARATOR_STRING))) { in doOpenChoice()
|
D | ucnvsel.cpp | 187 (int32_t)uprv_strlen(converterList != NULL ? converterList[i] : ucnv_getAvailableName(i)) + 1; in ucnvsel_open() 205 allStrings += uprv_strlen(newSelector->encodings[i]) + 1; in ucnvsel_open() 581 s += uprv_strlen(s) + 1; in ucnvsel_openFromSerialized() 635 *resultLength = (int32_t)uprv_strlen(result); in ucnvsel_next_encoding() 801 length = (int32_t)uprv_strlen(s); in ucnvsel_selectForUTF8()
|
D | uresbund.c | 294 int32_t len = (int32_t)uprv_strlen(name); in setEntryName() 475 *isDefault = (UBool)(uprv_strncmp(name, defaultLoc, uprv_strlen(name)) == 0); in findFirstExisting() 878 capacity = (int32_t)uprv_strlen(parent->fResPath) + 1; in init_resb_result() 965 len = (int32_t)(uprv_strlen(key) + 1); in init_resb_result() 1009 if(uprv_strlen(keyPath) > URES_MAX_BUFFER_SIZE) { in init_resb_result() 1010 … pathBuf = (char *)uprv_malloc((uprv_strlen(keyPath)+1)*sizeof(char)); in init_resb_result() 1112 ures_appendResPath(resB, key, (int32_t)uprv_strlen(key), status); in init_resb_result() 1602 length = (int32_t)(uprv_strlen(path)+1); in ures_findResource() 2285 len = (int32_t)uprv_strlen(result); in ures_loc_nextLocale() 2506 if(uprv_strlen(defLoc) > uprv_strlen(full)) { in ures_getFunctionalEquivalent() [all …]
|
/external/icu4c/tools/toolutil/ |
D | pkg_gencmn.c | 292 s=filename+uprv_strlen(filename); in createCommonDataFile() 298 s+=uprv_strlen(s); in createCommonDataFile() 302 s+=uprv_strlen(s); in createCommonDataFile() 407 length = (uint32_t)(uprv_strlen(filename) + 1 + uprv_strlen(name) + 1); in addFile() 451 length = (uint32_t)(uprv_strlen(filename) + 1 + uprv_strlen(name) + 1); in addFile() 497 length = (uint32_t)(uprv_strlen(path) + 1); in pathToFullPath() 498 newLength = (length + 1 + (int32_t)uprv_strlen(source)); in pathToFullPath() 506 n = (int32_t)uprv_strlen(fullPath); in pathToFullPath()
|
/external/icu4c/test/intltest/ |
D | textfile.cpp | 36 name = uprv_malloc(uprv_strlen(_name) + 1); in TextFile() 37 encoding = uprv_malloc(uprv_strlen(_encoding) + 1); in TextFile() 53 if (!ensureCapacity((int32_t)(uprv_strlen(testDir) + uprv_strlen(name) + 1))) { in TextFile()
|
D | testidn.cpp | 107 basename=filename+uprv_strlen(filename); in testData() 113 basename=filename+uprv_strlen(filename); in testData() 121 basename = basename + uprv_strlen(SPREP_DIR); in testData()
|
/external/icu4c/test/cintltst/ |
D | cposxtst.c | 95 if (len != (int32_t) uprv_strlen(DATA[i+2])) { in TestMessageCatalog() 97 len, uprv_strlen(DATA[i+2])); in TestMessageCatalog()
|
/external/icu4c/i18n/ |
D | inputext.cpp | 54 fRawLength = len == -1? (int32_t)uprv_strlen(in) : len; in setText() 61 len = (int32_t)uprv_strlen(encoding); in setDeclaredEncoding()
|
D | locdspnm.cpp | 93 int32_t len = uprv_strlen(path); in ICUDataTable() 353 if (uprv_strlen(lang) == 0) { in localeDisplayName() 360 UBool hasScript = uprv_strlen(script) > 0; in localeDisplayName() 361 UBool hasCountry = uprv_strlen(country) > 0; in localeDisplayName() 362 UBool hasVariant = uprv_strlen(variant) > 0; in localeDisplayName()
|
D | digitlst.cpp | 465 U_ASSERT(uprv_strlen(&s[0]) < MAX_DBL_DIGITS+18); in getDouble() 584 U_ASSERT((int32_t)uprv_strlen(buffer) <= maxLength); in getDecimal() 701 U_ASSERT(uprv_strlen(str) < sizeof(str)); in set() 759 U_ASSERT(uprv_strlen(rep) < sizeof(rep)); in set()
|
/external/icu4c/tools/gensprep/ |
D | gensprep.c | 203 … filename = (char* ) uprv_malloc(uprv_strlen(srcDir) + 300); /* hopefully this should be enough */ in main() 214 basename=filename+uprv_strlen(filename); in main() 233 basename=filename+uprv_strlen(filename); in main()
|