/external/icu/icu4c/source/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 | 358 int32_t len = (int32_t)uprv_strlen(o.shortName); in main() 658 …if (pkgDataFlags[LIB_EXT_ORDER][uprv_strlen(pkgDataFlags[LIB_EXT_ORDER])-1] == pkgDataFlags[SO_EXT… in pkg_executeOptions() 704 (uprv_strlen(genccodeAssembly)>3) && in pkg_executeOptions() 877 const char* FILE_EXTENSION_SEP = uprv_strlen(pkgDataFlags[SO_EXT]) == 0 ? "" : "."; in createFileNames() 999 const char* FILE_EXTENSION_SEP = uprv_strlen(pkgDataFlags[SO_EXT]) == 0 ? "" : "."; in pkg_createSymLinks() 1003 …if (uprv_strlen(libFileNames[LIB_FILE_VERSION]) == 0 || uprv_strlen(libFileNames[LIB_FILE_VERSION_… in pkg_createSymLinks() 1206 bufferLength = uprv_strlen(buffer); in pkg_installFileMode() 1330 …length = uprv_strlen(pkgDataFlags[AR]) + uprv_strlen(pkgDataFlags[ARFLAGS]) + uprv_strlen(targetDi… in pkg_generateLibraryFile() 1331 …uprv_strlen(libFileNames[LIB_FILE_VERSION]) + uprv_strlen(objectFile) + uprv_strlen(pkgDataFlags[R… in pkg_generateLibraryFile() 1356 length = uprv_strlen(pkgDataFlags[GENLIB]) + uprv_strlen(pkgDataFlags[LDICUDTFLAGS]) + in pkg_generateLibraryFile() [all …]
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtxml.cpp | 107 result = (char *)uprv_malloc(sizeof(char)*uprv_strlen(id) + 1); in getID() 108 uprv_memset(result, 0, sizeof(char)*uprv_strlen(id) + 1); in getID() 111 result = (char *)uprv_malloc(sizeof(char)*(uprv_strlen(id) + 1 + uprv_strlen(curKey)) + 1); in getID() 112 uprv_memset(result, 0, sizeof(char)*(uprv_strlen(id) + 1 + uprv_strlen(curKey)) + 1); in getID() 187 int idLen = (int) uprv_strlen(id); in parseFilename() 273 destLen+=(int32_t)uprv_strlen("\x26\x61\x6d\x70\x3b"); in convertAndEscape() 277 destLen+=(int32_t)uprv_strlen("\x26\x6c\x74\x3b"); in convertAndEscape() 281 destLen+=(int32_t)uprv_strlen("\x26\x67\x74\x3b"); in convertAndEscape() 285 destLen+=(int32_t)uprv_strlen("\x26\x71\x75\x6f\x74\x3b"); in convertAndEscape() 289 destLen+=(int32_t)uprv_strlen("\x26\x61\x70\x6f\x73\x3b"); in convertAndEscape() [all …]
|
D | wrtjava.c | 350 T_FileStream_write(out, object, (int32_t)uprv_strlen(object)); in array_write_java() 354 T_FileStream_write(out, arr, (int32_t)uprv_strlen(arr)); in array_write_java() 376 T_FileStream_write(out,arr,(int32_t)uprv_strlen(arr)); in array_write_java() 396 T_FileStream_write(out, stringArr, (int32_t)uprv_strlen(stringArr)); in intvector_write_java() 407 T_FileStream_write(out, intArr, (int32_t)uprv_strlen(intArr)); in intvector_write_java() 433 T_FileStream_write(out, intC, (int32_t)uprv_strlen(intC)); in int_write_java() 455 T_FileStream_write(out, type, (int32_t)uprv_strlen(type)); in bytes_write_java() 475 T_FileStream_write(out, byteBuffer, (int32_t)uprv_strlen(byteBuffer)); in bytes_write_java() 498 T_FileStream_write(out,type,(int32_t)uprv_strlen(type)); in bytes_write_java() 519 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() 296 char *nameWithoutSuffix = uprv_malloc(uprv_strlen(poolResName) + 1); in main() 475 filelen = (int32_t)uprv_strlen(filename); in processFile() 500 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 503 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 653 pkgLen = (int32_t)(1 + uprv_strlen(packageName)); in make_res_filename() 660 basename = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(filename) + 1)); in make_res_filename() 668 dirname = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(filename) + 1)); in make_res_filename() 678 resName = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(dirname) in make_res_filename() 680 + uprv_strlen(basename) in make_res_filename() [all …]
|
D | parse.cpp | 728 filelen = (int32_t)uprv_strlen(filename); in getRules() 753 dirlen = (int32_t)uprv_strlen(inputDir); in getRules() 756 dirlen = (int32_t)uprv_strlen(inputDir); in getRules() 1484 if(len==uprv_strlen(string)) in parseIntVector() 1550 count = (uint32_t)uprv_strlen(string); in parseBinary() 1570 if(len!=uprv_strlen(toConv)) in parseBinary() 1628 if (uprv_strlen(string) <= 0) in parseInteger() 1637 if(len==uprv_strlen(string)) in parseInteger() 1687 int32_t filenameLength = uprv_strlen(filename); in parseImport() 1698 int32_t count = (int32_t)uprv_strlen(filename); in parseImport() [all …]
|
D | derb.c | 214 absfilename = (uprv_strlen(arg) > 2 && isalpha(arg[0]) in main() 262 ext = filename + uprv_strlen(filename); in main() 279 tp = thefile + uprv_strlen(thefile); in main() 280 len = (int32_t)uprv_strlen(ext); in main() 474 printCString(out, converter, key, (int32_t)uprv_strlen(key)); in printOutBundle()
|
/external/icu/icu4c/source/common/ |
D | uloc_tag.c | 223 len = (int32_t)uprv_strlen(s); in _isLanguageSubtag() 238 len = (int32_t)uprv_strlen(s); in _isExtlangSubtag() 252 len = (int32_t)uprv_strlen(s); in _isScriptSubtag() 267 len = (int32_t)uprv_strlen(s); in _isRegionSubtag() 285 len = (int32_t)uprv_strlen(s); in _isVariantSubtag() 303 len = (int32_t)uprv_strlen(s); in _isPrivateuseVariantSubtag() 317 len = (int32_t)uprv_strlen(s); in _isExtensionSingleton() 331 len = (int32_t)uprv_strlen(s); in _isExtensionSubtag() 345 len = (int32_t)uprv_strlen(s); in _isExtensionSubtags() 374 len = (int32_t)uprv_strlen(s); in _isPrivateuseValueSubtag() [all …]
|
D | uloc.cpp | 526 int32_t localeIDLength = uprv_strlen(localeID); in getShortestSubtagLength() 588 int32_t keywordNameLen = (int32_t)uprv_strlen(keywordName); in locale_canonKeywordName() 713 i = (int32_t)uprv_strlen(equalSign); in _getKeywords() 749 keywordList[numKeywords].keywordLen = (int32_t)uprv_strlen(addKeyword); in _getKeywords() 751 keywordList[numKeywords].valueLen = (int32_t)uprv_strlen(addValue); in _getKeywords() 893 …} else if(!startSearchHere && (int32_t)uprv_strlen(nextSeparator) < bufferCapacity) { /* last item… in uloc_getKeywordValue() 894 i = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue() 906 result = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue() 942 bufLen = (int32_t)uprv_strlen(buffer); in uloc_setKeywordValue() 956 keywordValueLen = (int32_t)uprv_strlen(keywordValue); in uloc_setKeywordValue() [all …]
|
D | unistr_cnv.cpp | 45 doCodepageCreate(codepageData, (int32_t)uprv_strlen(codepageData), 0); in UnicodeString() 64 doCodepageCreate(codepageData, (int32_t)uprv_strlen(codepageData), codepage); in UnicodeString() 90 srcLength=(int32_t)uprv_strlen(src); in UnicodeString() 305 dataLength = (int32_t)uprv_strlen(codepageData); in doCodepageCreate()
|
D | locmap.c | 909 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID() 1000 tmpLen = uprv_strlen(locName); in uprv_convertToPosix() 1031 if (pCandidate && (pPosixID == NULL || uprv_strlen(pCandidate) > uprv_strlen(pPosixID))) { in uprv_convertToPosix() 1037 int32_t resLen = uprv_strlen(pPosixID); in uprv_convertToPosix() 1085 if (!langID || !posixID || uprv_strlen(langID) < 2 || uprv_strlen(posixID) < 2) { in uprv_convertToLCID()
|
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 | locid.cpp | 299 lsize = (int32_t)uprv_strlen(newLanguage); in Locale() 306 csize = (int32_t)uprv_strlen(newCountry); in Locale() 320 vsize = (int32_t)uprv_strlen(newVariant); in Locale() 344 ksize = (int32_t)uprv_strlen(newKeywords); in Locale() 436 fullName = (char *)uprv_malloc(sizeof(char)*(uprv_strlen(other.fullName)+1)); in operator =() 646 return ustr_hashCharsN(fullName, uprv_strlen(fullName)); in hashCode() 962 kw += uprv_strlen(kw)+1; in count() 972 len = (int32_t)uprv_strlen(current); in next()
|
D | loclikely.cpp | 203 (int32_t)uprv_strlen(unknownLanguage), in createTagStringWithAlternates() 231 (int32_t)uprv_strlen(unknownLanguage), in createTagStringWithAlternates() 509 *langLength = (int32_t)uprv_strlen(lang); in parseTagString() 899 trailingLength = (int32_t)uprv_strlen(trailing); in _uloc_addLikelySubtags() 918 const int32_t localIDLength = (int32_t)uprv_strlen(localeID); in _uloc_addLikelySubtags() 1007 trailingLength = (int32_t)uprv_strlen(trailing); in _uloc_minimizeSubtags() 1178 const int32_t localeIDLength = (int32_t)uprv_strlen(localeID); in _uloc_minimizeSubtags()
|
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 | 342 nameLen = (int32_t)uprv_strlen(baseName); in udata_cacheDataItem() 455 basenameLen = (int32_t)uprv_strlen(basename); in UDataPathIterator() 518 pathLen = (int32_t)uprv_strlen(currentPath); in next() 524 pathLen = (int32_t)uprv_strlen(currentPath); in next() 559 uprv_strlen(pathBasename)==(basenameLen+4)) { /* base+suffix = full len */ in next() 1131 uprv_strlen(U_ICUDATA_NAME U_TREE_SEPARATOR_STRING)) || in doOpenChoice() 1133 uprv_strlen(U_ICUDATA_ALIAS U_TREE_SEPARATOR_STRING))) { in doOpenChoice()
|
D | uresbund.cpp | 283 int32_t len = (int32_t)uprv_strlen(name); in setEntryName() 463 *isDefault = (UBool)(uprv_strncmp(name, defaultLoc, uprv_strlen(name)) == 0); in findFirstExisting() 757 uprv_strlen(localeID) < ULOC_FULLNAME_CAPACITY) { in entryOpenDirect() 948 capacity = (int32_t)uprv_strlen(parent->fResPath) + 1; in init_resb_result() 1035 len = (int32_t)(uprv_strlen(key) + 1); in init_resb_result() 1079 if(uprv_strlen(keyPath) > URES_MAX_BUFFER_SIZE) { in init_resb_result() 1080 … pathBuf = (char *)uprv_malloc((uprv_strlen(keyPath)+1)*sizeof(char)); in init_resb_result() 1182 ures_appendResPath(resB, key, (int32_t)uprv_strlen(key), status); in init_resb_result() 1672 length = (int32_t)(uprv_strlen(path)+1); in ures_findResource() 2327 len = (int32_t)uprv_strlen(result); in ures_loc_nextLocale() [all …]
|
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() 803 length = (int32_t)uprv_strlen(s); in ucnvsel_selectForUTF8()
|
D | putil.cpp | 1020 int32_t tzZoneInfoLen = uprv_strlen(TZZONEINFO); in uprv_tzname() 1030 tzZoneInfoLen = uprv_strlen(TZZONEINFO2); in uprv_tzname() 1164 length=(int32_t)uprv_strlen(directory); in u_setDataDirectory() 1476 correctedPOSIXLocale = static_cast<char *>(uprv_malloc(uprv_strlen(posixID)+1)); in uprv_getDefaultLocaleID() 1493 correctedPOSIXLocale = static_cast<char *>(uprv_malloc(uprv_strlen(posixID)+1)); in uprv_getDefaultLocaleID() 1518 len = (int32_t)(uprv_strlen(correctedPOSIXLocale) + (q-p)); in uprv_getDefaultLocaleID() 1540 correctedPOSIXLocale = (char *)uprv_malloc(uprv_strlen(posixID) + 1); in uprv_getDefaultLocaleID() 1644 LocaleLen = uprv_strlen(correctedLocale); in uprv_getDefaultLocaleID()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | pkg_gencmn.c | 313 s=filename+uprv_strlen(filename); in createCommonDataFile() 319 s+=uprv_strlen(s); in createCommonDataFile() 323 s+=uprv_strlen(s); in createCommonDataFile() 427 length = (uint32_t)(uprv_strlen(filename) + 1 + uprv_strlen(name) + 1); in addFile() 470 length = (uint32_t)(uprv_strlen(filename) + 1 + uprv_strlen(name) + 1); in addFile() 514 length = (uint32_t)(uprv_strlen(path) + 1); in pathToFullPath() 515 newLength = (length + 1 + (int32_t)uprv_strlen(source)); in pathToFullPath() 523 n = (int32_t)uprv_strlen(fullPath); in pathToFullPath()
|
/external/icu/icu4c/source/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 | 108 basename=filename+uprv_strlen(filename); in testData() 114 basename=filename+uprv_strlen(filename); in testData() 123 basename = basename + uprv_strlen(SPREP_DIR); in testData()
|
/external/icu/icu4c/source/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/icu/icu4c/source/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()
|
/external/icu/icu4c/source/tools/gensprep/ |
D | gensprep.c | 204 … filename = (char* ) uprv_malloc(uprv_strlen(srcDir) + 300); /* hopefully this should be enough */ in main() 215 basename=filename+uprv_strlen(filename); in main() 234 basename=filename+uprv_strlen(filename); in main()
|