Home
last modified time | relevance | path

Searched refs:uprv_strncpy (Results 1 – 25 of 31) 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.cpp198 uprv_strncpy(libraryList[libEntry].name,libName,UPLUG_NAME_MAX); in uplug_openLibrary()
369 uprv_strncpy(plug->config, config, UPLUG_NAME_MAX); in uplug_allocatePlug()
375 uprv_strncpy(plug->sym, symName, UPLUG_NAME_MAX); in uplug_allocatePlug()
459 uprv_strncpy(data->name, name, UPLUG_NAME_MAX); in uplug_setPlugName()
563 uprv_strncpy(plug->sym, sym, UPLUG_NAME_MAX); in uplug_initErrorPlug()
567 uprv_strncpy(plug->libName, libName, UPLUG_NAME_MAX); in uplug_initErrorPlug()
571 uprv_strncpy(plug->name, nameOrError, UPLUG_NAME_MAX); in uplug_initErrorPlug()
575 uprv_strncpy(plug->config, config, UPLUG_NAME_MAX); in uplug_initErrorPlug()
783 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.cpp783uprv_strncpy(keywords+keywordsLen, keywordList[i].valueStart, keywordList[i].valueLen); in _getKeywords()
899 uprv_strncpy(buffer, nextSeparator, startSearchHere - nextSeparator); in uloc_getKeywordValue()
906 uprv_strncpy(buffer, nextSeparator, i); in uloc_getKeywordValue()
1045 uprv_strncpy(nextEqualsign, keywordValue, keywordValueLen); in uloc_setKeywordValue()
1052 uprv_strncpy(nextEqualsign, keywordValue, keywordValueLen); in uloc_setKeywordValue()
1065 uprv_strncpy(nextEqualsign, keywordValue, keywordValueLen); in uloc_setKeywordValue()
1107 uprv_strncpy(keywordStart, keywordNameBuffer, keywordNameLen); in uloc_setKeywordValue()
1111 uprv_strncpy(keywordStart, keywordValue, keywordValueLen); /* terminates. */ in uloc_setKeywordValue()
1679 uprv_strncpy(name, d, len); in _canonicalize()
1865 uprv_strncpy(result, localeBuffer, (len > resultCapacity) ? resultCapacity : len); in _canonicalize()
[all …]
Dunifiedcache.h116 uprv_strncpy(buffer, s, bufLen); in writeDescription()
169 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.cpp623 uprv_strncpy(name, localeID, sizeof(name) - 1); in entryOpen()
630 uprv_strncpy(usrDataPath, path, sizeof(usrDataPath) - 1); in entryOpen()
2818 uprv_strncpy(result, found, copyLength); in ures_getFunctionalEquivalent()
Duloc_tag.c1376 uprv_strncpy(bcpKeyBuf, pBcpKey, bcpKeyLen); in _appendLDMLExtensionAsKeywords()
1411 uprv_strncpy(bcpTypeBuf, pBcpType, bcpTypeLen); in _appendLDMLExtensionAsKeywords()
/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()
Dreslist.cpp943 uprv_strncpy(writtenFilename, outputDir, len); in write()
962 uprv_strncpy(writtenFilename + off, fLocale, len); in write()
969 uprv_strncpy(writtenFilename + off, ".res", len); in write()
Dwrtxml.cpp1045 uprv_strncpy(originalFileName, filename + first, index); in bundle_write_xml()
1121 uprv_strncpy(writtenFilename, xmlfileName, writtenFilenameLen); in bundle_write_xml()
Dwrtjava.cpp640 uprv_strncpy(writtenFilename, fileName, writtenFilenameLen); in bundle_write_java()
Dgenrb.cpp588 inputDirBuf = uprv_strncpy((char *)uprv_malloc(filenameSize), filename, filenameSize); in processFile()
/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.cpp420 uprv_strncpy(outBuf, sp.data(), sp.size()); in unum_parseDecimal()
Dmeasunit.cpp1224 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.cpp404 uprv_strncpy(target,param->paramStr,uprv_min(len,targetCapacity)); in paramStatic()
417 uprv_strncpy(target,str,uprv_min(len,targetCapacity)); in stringToStringBuffer()
423 uprv_strncpy(target,s,uprv_min(len,targetCapacity)); in stringToStringBuffer()
Dtoolutil.cpp151 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()

12