Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Dicuplug.cpp200 uprv_strncpy(libraryList[libEntry].name,libName,UPLUG_NAME_MAX); in uplug_openLibrary()
371 uprv_strncpy(plug->config, config, UPLUG_NAME_MAX); in uplug_allocatePlug()
377 uprv_strncpy(plug->sym, symName, UPLUG_NAME_MAX); in uplug_allocatePlug()
461 uprv_strncpy(data->name, name, UPLUG_NAME_MAX); in uplug_setPlugName()
565 uprv_strncpy(plug->sym, sym, UPLUG_NAME_MAX); in uplug_initErrorPlug()
569 uprv_strncpy(plug->libName, libName, UPLUG_NAME_MAX); in uplug_initErrorPlug()
573 uprv_strncpy(plug->name, nameOrError, UPLUG_NAME_MAX); in uplug_initErrorPlug()
577 uprv_strncpy(plug->config, config, UPLUG_NAME_MAX); in uplug_initErrorPlug()
785 uprv_strncpy(plugin_file, pluginFile.data(), sizeof(plugin_file)); in uplug_init()
Dlocbased.cpp41 uprv_strncpy(valid, validID, ULOC_FULLNAME_CAPACITY); in setLocaleIDs()
45 uprv_strncpy(actual, actualID, ULOC_FULLNAME_CAPACITY); in setLocaleIDs()
Dbrkiter.cpp207 uprv_strncpy(actualLocale, other.actualLocale, sizeof(actualLocale)); in BreakIterator()
208 uprv_strncpy(validLocale, other.validLocale, sizeof(validLocale)); in BreakIterator()
213 uprv_strncpy(actualLocale, other.actualLocale, sizeof(actualLocale)); in operator =()
214 uprv_strncpy(validLocale, other.validLocale, sizeof(validLocale)); in operator =()
Dunifiedcache.h118 uprv_strncpy(buffer, s, bufLen); in writeDescription()
171 uprv_strncpy(buffer, s, bufLen); in writeDescription()
Duloc.cpp802uprv_strncpy(keywords+keywordsLen, keywordList[i].valueStart, keywordList[i].valueLen); in _getKeywords()
1172 uprv_strncpy(startSearchHere, updatedKeysAndValues.data(), updatedKeysAndValuesLen); in uloc_setKeywordValue()
1741 uprv_strncpy(name, d, len); in _canonicalize()
1927 uprv_strncpy(result, localeBuffer, (len > resultCapacity) ? resultCapacity : len); in _canonicalize()
2306 uprv_strncpy(buf, start, 29); in _uloc_strtod()
2420 uprv_strncpy(items[n].locale, s, slen); in uloc_acceptLanguageFromHTTP()
2426 uprv_strncpy(items[n].locale, tmp, clen); in uloc_acceptLanguageFromHTTP()
2506 uprv_strncpy(result, l, uprv_min(len, resultAvailable)); in uloc_acceptLanguage()
2546 uprv_strncpy(result, l, uprv_min(len, resultAvailable)); in uloc_acceptLanguage()
Dcstring.h43 #define uprv_strncpy(dst, src, size) U_STANDARD_CPP_NAMESPACE strncpy(dst, src, size) macro
Dputil.cpp1659 uprv_strncpy(correctedPOSIXLocale, posixID, p-posixID);
1677 uprv_strncpy(correctedPOSIXLocale, posixID, p-posixID);
2046 uprv_strncpy(localeBuf, localeName, localeCapacity);
2048 name = uprv_strncpy(buffer, name+1, buffCapacity);
2153 uprv_strncpy(codesetName, codeset, sizeof(codesetName));
Duloc_tag.cpp1646 uprv_strncpy(bcpKeyBuf, pBcpKey, bcpKeyLen); in _appendLDMLExtensionAsKeywords()
1681 uprv_strncpy(bcpTypeBuf, pBcpType, bcpTypeLen); in _appendLDMLExtensionAsKeywords()
2140 uprv_strncpy(t->buf, preferredTag, preferredTagLen); in ultag_parse()
Dloclikely.cpp1383 uprv_strncpy(region, rgBuf, regionCapacity); in ulocimp_getRegionForSupplementalData()
/external/icu/icu4c/source/tools/pkgdata/
Dpkgtypes.c37 uprv_strncpy(buffer, l->str, 1020); in pkg_writeCharListWrap()
82 uprv_strncpy(buffer, l->str, 1023); in pkg_writeCharList()
265 uprv_strncpy(t,s,p-s);
/external/icu/icu4c/source/tools/genrb/
Drbutil.c36 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname()
Dreslist.cpp945 uprv_strncpy(writtenFilename, outputDir, len); in write()
964 uprv_strncpy(writtenFilename + off, fLocale, len); in write()
971 uprv_strncpy(writtenFilename + off, ".res", len); in write()
Dwrtxml.cpp1052 uprv_strncpy(originalFileName, filename + first, index); in bundle_write_xml()
1128 uprv_strncpy(writtenFilename, xmlfileName, writtenFilenameLen); in bundle_write_xml()
Dwrtjava.cpp654 uprv_strncpy(writtenFilename, fileName, writtenFilenameLen); in bundle_write_java()
Dgenrb.cpp591 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.cpp261 uprv_strncpy(name,n,NUMSYS_NAME_CAPACITY); in setName()
Dlistformatter.cpp251 uprv_strncpy(currentStyle, style, kStyleLenMax); in loadListFormatInternal()
Ducol_sit.cpp188 uprv_strncpy(spec->locale, string, end-string); in _processRFC3066Locale()
Ducal.cpp155 uprv_strncpy(localeBuf, locale, ULOC_LOCALE_IDENTIFIER_CAPACITY); in ucal_open()
Dcalendar.cpp831 uprv_strncpy(validLocale, right.validLocale, sizeof(validLocale)); in operator =()
832 uprv_strncpy(actualLocale, right.actualLocale, sizeof(actualLocale)); in operator =()
1015 uprv_strncpy(typeBuffer, (*shared)->getType(), typeBufferSize); in getCalendarTypeFromLocale()
/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.cpp405 uprv_strncpy(target,param->paramStr,uprv_min(len,targetCapacity)); in paramStatic()
418 uprv_strncpy(target,str,uprv_min(len,targetCapacity)); in stringToStringBuffer()
424 uprv_strncpy(target,s,uprv_min(len,targetCapacity)); in stringToStringBuffer()
Dpkg_genc.cpp1156 uprv_strncpy((char *)objHeader.sections[0].Name, ".drectve", 8); in writeObjectCode()
1162 uprv_strncpy((char *)objHeader.sections[1].Name, ".rdata", 6); in writeObjectCode()
1169 uprv_strncpy((char *)symbols[0].N.ShortName, entry, entryLength); in writeObjectCode()
Dtoolutil.cpp153 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()
/external/icu/icu4c/source/test/intltest/
Dtextfile.cpp175 uprv_strncpy(newbuffer, buffer, capacity); in ensureCapacity()

12