Home
last modified time | relevance | path

Searched refs:uprv_strncpy (Results 1 – 25 of 33) sorted by relevance

12

/external/icu/icu4c/source/common/
Dlocbased.cpp39 uprv_strncpy(valid, validID, ULOC_FULLNAME_CAPACITY); in setLocaleIDs()
43 uprv_strncpy(actual, actualID, ULOC_FULLNAME_CAPACITY); in setLocaleIDs()
Dicuplug.cpp193 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()
Dcstring.h44 #define uprv_strncpy(dst, src, size) ( \ macro
57 #define uprv_strncpy(dst, src, size) U_STANDARD_CPP_NAMESPACE strncpy(dst, src, size) macro
Duloc.cpp775uprv_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 …]
Dunifiedcache.h115 uprv_strncpy(buffer, s, bufLen); in writeDescription()
168 uprv_strncpy(buffer, s, bufLen); in writeDescription()
Dputil.cpp1481 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()
Dlocid.cpp386 uprv_strncpy(p, newVariant, vsize); // Must use strncpy because in Locale()
628 uprv_strncpy(baseName, fullName, baseNameLength); in initBaseName()
Duresbund.cpp622 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/
Dpkgtypes.c35 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/
Drbutil.c34 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname()
Dwrtxml.cpp1045 uprv_strncpy(originalFileName, filename + first, index); in bundle_write_xml()
1121 uprv_strncpy(writtenFilename, xmlfileName, writtenFilenameLen); in bundle_write_xml()
Dwrtjava.c650 uprv_strncpy(writtenFilename, fileName, writtenFilenameLen); in bundle_write_java()
Dreslist.c812 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()
Dgenrb.c490 inputDirBuf = uprv_strncpy((char *)uprv_malloc(filenameSize), filename, filenameSize); in processFile()
Dderb.c207 uprv_strncpy(locale, p, q - p); in main()
/external/icu/icu4c/source/i18n/
Dinputext.cpp67 uprv_strncpy(fDeclaredEncoding, encoding, len); in setDeclaredEncoding()
Dnumsys.cpp238 uprv_strncpy(name,n,NUMSYS_NAME_CAPACITY); in setName()
Ducol_sit.cpp186 uprv_strncpy(spec->locale, string, end-string); in _processRFC3066Locale()
Ducal.cpp152 uprv_strncpy(localeBuf, locale, ULOC_LOCALE_IDENTIFIER_CAPACITY); in ucal_open()
Dunum.cpp410 uprv_strncpy(outBuf, sp.data(), sp.size()); in unum_parseDecimal()
Dmeasunit.cpp1172 uprv_strncpy(fCurrency, isoCurrency, UPRV_LENGTHOF(fCurrency)); in initCurrency()
/external/icu/icu4c/source/test/intltest/
Dtextfile.cpp173 uprv_strncpy(newbuffer, buffer, capacity); in ensureCapacity()
/external/icu/icu4c/source/tools/toolutil/
Dpkg_genc.c1139 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()
Dudbgutil.cpp392 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()
Dtoolutil.cpp151 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()

12