Home
last modified time | relevance | path

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

12

/external/icu4c/common/
Dicuplug.c190 uprv_strncpy(libraryList[libEntry].name,libName,UPLUG_NAME_MAX); in uplug_openLibrary()
360 uprv_strncpy(plug->config, config, UPLUG_NAME_MAX); in uplug_allocatePlug()
366 uprv_strncpy(plug->sym, symName, UPLUG_NAME_MAX); in uplug_allocatePlug()
450 uprv_strncpy(data->name, name, UPLUG_NAME_MAX); in uplug_setPlugName()
554 uprv_strncpy(plug->sym, sym, UPLUG_NAME_MAX); in uplug_initErrorPlug()
558 uprv_strncpy(plug->libName, libName, UPLUG_NAME_MAX); in uplug_initErrorPlug()
562 uprv_strncpy(plug->name, nameOrError, UPLUG_NAME_MAX); in uplug_initErrorPlug()
566 uprv_strncpy(plug->config, config, UPLUG_NAME_MAX); in uplug_initErrorPlug()
742 uprv_strncpy(plugin_file,"//DD:ICUPLUG", 2047); /* JAM 20 Oct 2011 */ in uplug_init()
744 uprv_strncpy(plugin_file, plugin_dir, 2047); 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.cpp770uprv_strncpy(keywords+keywordsLen, keywordList[i].valueStart, keywordList[i].valueLen); in _getKeywords()
886 uprv_strncpy(buffer, nextSeparator, startSearchHere - nextSeparator); in uloc_getKeywordValue()
893 uprv_strncpy(buffer, nextSeparator, i); in uloc_getKeywordValue()
1032 uprv_strncpy(nextEqualsign, keywordValue, keywordValueLen); in uloc_setKeywordValue()
1039 uprv_strncpy(nextEqualsign, keywordValue, keywordValueLen); in uloc_setKeywordValue()
1052 uprv_strncpy(nextEqualsign, keywordValue, keywordValueLen); in uloc_setKeywordValue()
1094 uprv_strncpy(keywordStart, keywordNameBuffer, keywordNameLen); in uloc_setKeywordValue()
1098 uprv_strncpy(keywordStart, keywordValue, keywordValueLen); /* terminates. */ in uloc_setKeywordValue()
1666 uprv_strncpy(name, d, len); in _canonicalize()
1852 uprv_strncpy(result, localeBuffer, (len > resultCapacity) ? resultCapacity : len); in _canonicalize()
[all …]
Dputil.cpp1519 uprv_strncpy(correctedPOSIXLocale, posixID, p-posixID); in uprv_getDefaultLocaleID()
1536 uprv_strncpy(correctedPOSIXLocale, posixID, p-posixID); in uprv_getDefaultLocaleID()
1878 uprv_strncpy(localeBuf, localeName, localeCapacity); in getCodepageFromPOSIXID()
1880 name = uprv_strncpy(buffer, name+1, buffCapacity); in getCodepageFromPOSIXID()
1959 uprv_strncpy(codesetName, codeset, sizeof(codesetName)); in int_getDefaultCodepage()
Dbrkiter.cpp96 uprv_strncpy(actualLocale, in buildInstance()
Dlocid.cpp355 uprv_strncpy(p, newVariant, vsize); // Must use strncpy because in Locale()
Duresbund.cpp537 uprv_strncpy(name, localeID, sizeof(name) - 1); in entryOpen()
544 uprv_strncpy(usrDataPath, path, sizeof(usrDataPath) - 1); in entryOpen()
2664 uprv_strncpy(result, found, copyLength); in ures_getFunctionalEquivalent()
Dudata.cpp758 uprv_strncpy(ourPathBuffer, path, 1019); in openCommonData()
/external/icu4c/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/icu4c/tools/genrb/
Drbutil.c34 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname()
Dwrtxml.cpp1035 uprv_strncpy(originalFileName, filename + first, index); in bundle_write_xml()
1111 uprv_strncpy(writtenFilename, xmlfileName, writtenFilenameLen); in bundle_write_xml()
Dwrtjava.c650 uprv_strncpy(writtenFilename, fileName, writtenFilenameLen); in bundle_write_java()
Dreslist.c715 uprv_strncpy(writtenFilename, outputDir, len); in bundle_write()
734 uprv_strncpy(writtenFilename + off, bundle->fLocale, len); in bundle_write()
741 uprv_strncpy(writtenFilename + off, ".res", len); in bundle_write()
Dgenrb.c488 inputDirBuf = uprv_strncpy((char *)uprv_malloc(filenameSize), filename, filenameSize); in processFile()
Dderb.c235 uprv_strncpy(locale, p, q - p); in main()
Dparse.cpp704 inputDirBuf = uprv_strncpy((char *)uprv_malloc(filenameSize), filename, filenameSize); in importFromDataFile()
/external/icu4c/tools/toolutil/
Dudbgutil.cpp389 uprv_strncpy(target,param->paramStr,uprv_min(len,targetCapacity)); in paramStatic()
402 uprv_strncpy(target,str,uprv_min(len,targetCapacity)); in stringToStringBuffer()
408 uprv_strncpy(target,s,uprv_min(len,targetCapacity)); in stringToStringBuffer()
Dpkg_genc.c1123 uprv_strncpy((char *)objHeader.sections[0].Name, ".drectve", 8); in writeObjectCode()
1129 uprv_strncpy((char *)objHeader.sections[1].Name, ".rdata", 6); in writeObjectCode()
1136 uprv_strncpy((char *)symbols[0].N.ShortName, entry, entryLength); in writeObjectCode()
Dtoolutil.cpp140 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()
/external/icu4c/i18n/
Dinputext.cpp67 uprv_strncpy(fDeclaredEncoding, encoding, len); in setDeclaredEncoding()
Dnumsys.cpp238 uprv_strncpy(name,n,NUMSYS_NAME_CAPACITY); in setName()
Ducal.cpp152 uprv_strncpy(localeBuf, locale, ULOC_LOCALE_IDENTIFIER_CAPACITY); in ucal_open()
Dunum.cpp405 uprv_strncpy(outBuf, sp.data(), sp.size()); in unum_parseDecimal()
Ducol_sit.cpp200 uprv_strncpy(spec->locale, string, end-string); in _processRFC3066Locale()
/external/icu4c/test/intltest/
Dtextfile.cpp173 uprv_strncpy(newbuffer, buffer, capacity); in ensureCapacity()

12