/external/icu/icu4c/source/common/ |
D | locbased.cpp | 39 uprv_strncpy(valid, validID, ULOC_FULLNAME_CAPACITY); in setLocaleIDs() 43 uprv_strncpy(actual, actualID, ULOC_FULLNAME_CAPACITY); in setLocaleIDs()
|
D | icuplug.cpp | 193 uprv_strncpy(libraryList[libEntry].name,libName,UPLUG_NAME_MAX); in uplug_openLibrary() 363 uprv_strncpy(plug->config, config, UPLUG_NAME_MAX); in uplug_allocatePlug() 369 uprv_strncpy(plug->sym, symName, UPLUG_NAME_MAX); in uplug_allocatePlug() 453 uprv_strncpy(data->name, name, UPLUG_NAME_MAX); in uplug_setPlugName() 557 uprv_strncpy(plug->sym, sym, UPLUG_NAME_MAX); in uplug_initErrorPlug() 561 uprv_strncpy(plug->libName, libName, UPLUG_NAME_MAX); in uplug_initErrorPlug() 565 uprv_strncpy(plug->name, nameOrError, UPLUG_NAME_MAX); in uplug_initErrorPlug() 569 uprv_strncpy(plug->config, config, UPLUG_NAME_MAX); in uplug_initErrorPlug() 777 uprv_strncpy(plugin_file, pluginFile.data(), sizeof(plugin_file)); in uplug_init()
|
D | cstring.h | 44 #define uprv_strncpy(dst, src, size) ( \ macro 57 #define uprv_strncpy(dst, src, size) U_STANDARD_CPP_NAMESPACE strncpy(dst, src, size) macro
|
D | uloc.cpp | 775 … uprv_strncpy(keywords+keywordsLen, keywordList[i].valueStart, keywordList[i].valueLen); in _getKeywords() 891 uprv_strncpy(buffer, nextSeparator, startSearchHere - nextSeparator); in uloc_getKeywordValue() 898 uprv_strncpy(buffer, nextSeparator, i); in uloc_getKeywordValue() 1037 uprv_strncpy(nextEqualsign, keywordValue, keywordValueLen); in uloc_setKeywordValue() 1044 uprv_strncpy(nextEqualsign, keywordValue, keywordValueLen); in uloc_setKeywordValue() 1057 uprv_strncpy(nextEqualsign, keywordValue, keywordValueLen); in uloc_setKeywordValue() 1099 uprv_strncpy(keywordStart, keywordNameBuffer, keywordNameLen); in uloc_setKeywordValue() 1103 uprv_strncpy(keywordStart, keywordValue, keywordValueLen); /* terminates. */ in uloc_setKeywordValue() 1671 uprv_strncpy(name, d, len); in _canonicalize() 1857 uprv_strncpy(result, localeBuffer, (len > resultCapacity) ? resultCapacity : len); in _canonicalize() [all …]
|
D | unifiedcache.h | 115 uprv_strncpy(buffer, s, bufLen); in writeDescription() 168 uprv_strncpy(buffer, s, bufLen); in writeDescription()
|
D | putil.cpp | 1481 uprv_strncpy(correctedPOSIXLocale, posixID, p-posixID); in uprv_getDefaultLocaleID() 1498 uprv_strncpy(correctedPOSIXLocale, posixID, p-posixID); in uprv_getDefaultLocaleID() 1822 uprv_strncpy(localeBuf, localeName, localeCapacity); in getCodepageFromPOSIXID() 1824 name = uprv_strncpy(buffer, name+1, buffCapacity); in getCodepageFromPOSIXID() 1900 uprv_strncpy(codesetName, codeset, sizeof(codesetName)); in int_getDefaultCodepage()
|
D | locid.cpp | 386 uprv_strncpy(p, newVariant, vsize); // Must use strncpy because in Locale() 628 uprv_strncpy(baseName, fullName, baseNameLength); in initBaseName()
|
D | uresbund.cpp | 622 uprv_strncpy(name, localeID, sizeof(name) - 1); in entryOpen() 629 uprv_strncpy(usrDataPath, path, sizeof(usrDataPath) - 1); in entryOpen() 2702 uprv_strncpy(result, found, copyLength); in ures_getFunctionalEquivalent()
|
/external/icu/icu4c/source/tools/pkgdata/ |
D | pkgtypes.c | 35 uprv_strncpy(buffer, l->str, 1020); in pkg_writeCharListWrap() 80 uprv_strncpy(buffer, l->str, 1023); in pkg_writeCharList() 263 uprv_strncpy(t,s,p-s);
|
/external/icu/icu4c/source/tools/genrb/ |
D | rbutil.c | 34 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname()
|
D | wrtxml.cpp | 1045 uprv_strncpy(originalFileName, filename + first, index); in bundle_write_xml() 1121 uprv_strncpy(writtenFilename, xmlfileName, writtenFilenameLen); in bundle_write_xml()
|
D | wrtjava.c | 650 uprv_strncpy(writtenFilename, fileName, writtenFilenameLen); in bundle_write_java()
|
D | reslist.c | 812 uprv_strncpy(writtenFilename, outputDir, len); in bundle_write() 831 uprv_strncpy(writtenFilename + off, bundle->fLocale, len); in bundle_write() 838 uprv_strncpy(writtenFilename + off, ".res", len); in bundle_write()
|
D | genrb.c | 490 inputDirBuf = uprv_strncpy((char *)uprv_malloc(filenameSize), filename, filenameSize); in processFile()
|
D | derb.c | 207 uprv_strncpy(locale, p, q - p); in main()
|
/external/icu/icu4c/source/i18n/ |
D | inputext.cpp | 67 uprv_strncpy(fDeclaredEncoding, encoding, len); in setDeclaredEncoding()
|
D | numsys.cpp | 238 uprv_strncpy(name,n,NUMSYS_NAME_CAPACITY); in setName()
|
D | ucol_sit.cpp | 186 uprv_strncpy(spec->locale, string, end-string); in _processRFC3066Locale()
|
D | ucal.cpp | 152 uprv_strncpy(localeBuf, locale, ULOC_LOCALE_IDENTIFIER_CAPACITY); in ucal_open()
|
D | unum.cpp | 410 uprv_strncpy(outBuf, sp.data(), sp.size()); in unum_parseDecimal()
|
D | measunit.cpp | 1172 uprv_strncpy(fCurrency, isoCurrency, UPRV_LENGTHOF(fCurrency)); in initCurrency()
|
/external/icu/icu4c/source/test/intltest/ |
D | textfile.cpp | 173 uprv_strncpy(newbuffer, buffer, capacity); in ensureCapacity()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | pkg_genc.c | 1139 uprv_strncpy((char *)objHeader.sections[0].Name, ".drectve", 8); in writeObjectCode() 1145 uprv_strncpy((char *)objHeader.sections[1].Name, ".rdata", 6); in writeObjectCode() 1152 uprv_strncpy((char *)symbols[0].N.ShortName, entry, entryLength); in writeObjectCode()
|
D | udbgutil.cpp | 392 uprv_strncpy(target,param->paramStr,uprv_min(len,targetCapacity)); in paramStatic() 405 uprv_strncpy(target,str,uprv_min(len,targetCapacity)); in stringToStringBuffer() 411 uprv_strncpy(target,s,uprv_min(len,targetCapacity)); in stringToStringBuffer()
|
D | toolutil.cpp | 151 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()
|