Home
last modified time | relevance | path

Searched refs:uprv_memcpy (Results 1 – 25 of 122) sorted by relevance

12345

/external/icu/icu4c/source/common/
Dcpputils.h27 { uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
32 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
36 { uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
41 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
45 { uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
50 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
54 { uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
59 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
65 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
Duarrsort.c122 uprv_memcpy(pv, item, itemSize); /* v=array[j] */ in doInsertionSort()
124 uprv_memcpy(dest, pv, itemSize); /* array[insertionPoint]=v */ in doInsertionSort()
184 uprv_memcpy(px, array+((start+limit)/2)*itemSize, itemSize); in subQuickSort()
203 uprv_memcpy(pw, array+left*itemSize, itemSize); in subQuickSort()
204 uprv_memcpy(array+left*itemSize, array+right*itemSize, itemSize); in subQuickSort()
205 uprv_memcpy(array+right*itemSize, pw, itemSize); in subQuickSort()
Dcmemory.h48 #define uprv_memcpy(dst, src, size) ( \ macro
57 #define uprv_memcpy(dst, src, size) U_STANDARD_CPP_NAMESPACE memcpy(dst, src, size) macro
231 uprv_memcpy(p, LocalPointerBase<T>::ptr, length*sizeof(T)); in allocateInsteadAndCopy()
378 uprv_memcpy(p, ptr, length*sizeof(T)); in resize()
409 uprv_memcpy(p, ptr, length*sizeof(T)); in orphanOrClone()
557 uprv_memcpy(p, ptr, sizeof(H)+length*sizeof(T)); in resize()
588 uprv_memcpy(p, ptr, sizeof(H)+length*sizeof(T)); in orphanOrClone()
Duloc_tag.c651 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag()
661 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag()
674 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendLanguageToLanguageTag()
715 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendScriptToLanguageTag()
757 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendRegionToLanguageTag()
865uprv_memcpy(appendAt + reslen, var->variant, uprv_min(varLen, capacity - reslen)); in _appendVariantsToLanguageTag()
1051 uprv_memcpy(pExtBuf, buf, len); in _appendKeywordsToLanguageTag()
1130 uprv_memcpy(appendAt + reslen, ext->key, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag()
1139uprv_memcpy(appendAt + reslen, ext->value, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag()
1152uprv_memcpy(appendAt + reslen, attr->attribute, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag()
[all …]
Dustr_wcs.cpp45 uprv_memcpy(newBuffer, *pBuffer, length*size); in u_growAnyBufferFromStatic()
203 uprv_memcpy(dest,intTarget,count*sizeof(wchar_t)); in _strToWCS()
255 uprv_memcpy(dest,src,srcLength*U_SIZEOF_UCHAR); in u_strToWCS()
398 uprv_memcpy(pWStack,pSrc,nulLen*sizeof(wchar_t)); in _strFromWCS()
510 uprv_memcpy(dest,src,srcLength*U_SIZEOF_UCHAR); in u_strFromWCS()
Dudataswp.c73 uprv_memcpy(outData, inData, length); in uprv_copyArray16()
121 uprv_memcpy(outData, inData, length); in uprv_copyArray32()
170 uprv_memcpy(outData, inData, length); in uprv_copyArray64()
257 uprv_memcpy((char *)outData+stringsLength, inChars+stringsLength, length-stringsLength); in udata_swapInvStringBlock()
332 uprv_memcpy(outData, inData, headerSize); in udata_swapDataHeader()
Dutrie2_builder.cpp250 uprv_memcpy(trie->index1, other->index1, sizeof(trie->index1)); in cloneBuilder()
251 uprv_memcpy(trie->index2, other->index2, other->index2Length*4); in cloneBuilder()
255 uprv_memcpy(trie->data, other->data, other->dataLength*4); in cloneBuilder()
263 uprv_memcpy(trie->map, other->map, (other->dataLength>>UTRIE2_SHIFT_2)*4); in cloneBuilder()
291 uprv_memcpy(trie, other, sizeof(UTrie2)); in utrie2_clone()
297 uprv_memcpy(trie->memory, other->memory, other->length); in utrie2_clone()
486uprv_memcpy(trie->index2+newBlock, trie->index2+trie->index2NullOffset, UTRIE2_INDEX_2_BLOCK_LENGT… in allocIndex2Block()
543 uprv_memcpy(data, trie->data, trie->dataLength*4); in allocDataBlock()
550 uprv_memcpy(trie->data+newBlock, trie->data+copyBlock, UTRIE2_DATA_BLOCK_LENGTH*4); in allocDataBlock()
1405 uprv_memcpy(dest16, newTrie->data, newTrie->dataLength*4); in utrie2_freeze()
Dcharstr.cpp25 uprv_memcpy(buffer.getAlias(), s.buffer.getAlias(), len+1); in copyFrom()
75 uprv_memcpy(buffer.getAlias()+len, s, sLength); in append()
Ducnvsel.cpp306 uprv_memcpy(&header.info, &dataInfo, sizeof(dataInfo)); in ucnvsel_serialize()
328 uprv_memcpy(p, &header, sizeof(header)); in ucnvsel_serialize()
333 uprv_memcpy(p, indexes, length); in ucnvsel_serialize()
340 uprv_memcpy(p, sel->pv, length); in ucnvsel_serialize()
343 uprv_memcpy(p, sel->encodings[0], sel->encodingStrLength); in ucnvsel_serialize()
430 uprv_memcpy(outBytes, inBytes, size); in ucnvsel_swap()
Dushape.cpp780 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
838 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
880 uprv_memcpy(dest,tempbuffer, sourceLength*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
944 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); in expandCompositCharAtBegin()
1012 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); in expandCompositCharAtEnd()
1180 uprv_memcpy(dest, tempbuffer, destSize*U_SIZEOF_UCHAR); in expandCompositChar()
1574 uprv_memcpy(tempbuffer, source, sourceLength*U_SIZEOF_UCHAR); in u_shapeArabic()
1640 uprv_memcpy(dest, tempbuffer, uprv_min(destLength, destCapacity)*U_SIZEOF_UCHAR); in u_shapeArabic()
1662 uprv_memcpy(dest, source, sourceLength*U_SIZEOF_UCHAR); in u_shapeArabic()
Ducnv.c266 uprv_memcpy(localConverter, cnv, sizeof(UConverter)); in ucnv_safeClone()
279uprv_memcpy(localConverter->subChars, cnv->subChars, UCNV_ERROR_BUFFER_LENGTH * U_SIZEOF_UCHAR); in ucnv_safeClone()
447uprv_memcpy (mySubChar, converter->subChars, converter->subCharLen); /*fills in the subchars */ in ucnv_getSubstChars()
468 uprv_memcpy (converter->subChars, mySubChar, len); /*copies the subchars */ in ucnv_setSubstChars()
556 uprv_memcpy(cnv->subChars, subChars, length8); in ucnv_setSubstString()
888 uprv_memcpy(replay, cnv->preFromU, -cnv->preFromULength*U_SIZEOF_UCHAR); in _fromUnicodeWithCallback()
977 uprv_memcpy(replay, cnv->preFromU, -cnv->preFromULength*U_SIZEOF_UCHAR); in _fromUnicodeWithCallback()
1074 uprv_memcpy(cnv->preFromU, pArgs->source, length*U_SIZEOF_UCHAR); in _fromUnicodeWithCallback()
1333 uprv_memcpy(replay, cnv->preToU, -cnv->preToULength); in _toUnicodeWithCallback()
1422 uprv_memcpy(replay, cnv->preToU, -cnv->preToULength); in _toUnicodeWithCallback()
[all …]
Dbmpset.cpp53 uprv_memcpy(asciiBytes, otherBMPSet.asciiBytes, sizeof(asciiBytes)); in BMPSet()
54 uprv_memcpy(table7FF, otherBMPSet.table7FF, sizeof(table7FF)); in BMPSet()
55 uprv_memcpy(bmpBlockBits, otherBMPSet.bmpBlockBits, sizeof(bmpBlockBits)); in BMPSet()
56 uprv_memcpy(list4kStarts, otherBMPSet.list4kStarts, sizeof(list4kStarts)); in BMPSet()
Dustrenum.cpp268 uprv_memcpy(result, &USTRENUM_VT, sizeof(USTRENUM_VT)); in uenum_openFromStringEnumeration()
367 uprv_memcpy(result, &UCHARSTRENUM_VT, sizeof(UCHARSTRENUM_VT)); in uenum_openCharStringsEnumeration()
386 uprv_memcpy(result, &UCHARSTRENUM_U_VT, sizeof(UCHARSTRENUM_U_VT)); in uenum_openUCharStringsEnumeration()
Dcstring.c318 uprv_memcpy(dup, src, len); in uprv_strdup()
333 uprv_memcpy(dup, src, n); in uprv_strndup()
Ducnv2022.cpp590 uprv_memcpy(cnv->subChars, myConverterData->currentConverter->subChars, 4); in _ISO2022Open()
1062 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022()
1324 uprv_memcpy(saveThis->UCharErrorBuffer, in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC()
1349uprv_memcpy(saveThis->invalidCharBuffer, myData->currentConverter->invalidCharBuffer, length); in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC()
1354uprv_memcpy(saveThis->toUBytes, myData->currentConverter->toUBytes, length); in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC()
1952 uprv_memcpy(buffer + outLen, escSeqChars[cs], escLen); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2057 uprv_memcpy(buffer + outLen, escSeqChars[ASCII], escLen); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2363 uprv_memcpy( in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM()
2609 uprv_memcpy(&subArgs, args, minArgsSize); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM()
2634uprv_memcpy(subArgs.converter->toUBytes, args->converter->toUBytes, args->converter->toULength); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM()
[all …]
Ducnv_lmb.c709 uprv_memcpy(&newLMBCS->lmbcs, extraInfo, sizeof(UConverterDataLMBCS)); in _LMBCSSafeClone()
1278 uprv_memcpy(LMBCS, args->converter->toUBytes, size_old); in _LMBCSToUnicodeWithOffsets()
1279 uprv_memcpy(LMBCS + size_old, args->source, size_new); in _LMBCSToUnicodeWithOffsets()
1292 uprv_memcpy(args->converter->toUBytes, LMBCS, savebytes); in _LMBCSToUnicodeWithOffsets()
1339 uprv_memcpy(args->converter->toUBytes, errSource, savebytes); in _LMBCSToUnicodeWithOffsets()
Dutrie.cpp141 uprv_memcpy(trie->index, other->index, sizeof(trie->index)); in utrie_clone()
142 uprv_memcpy(trie->data, other->data, other->dataLength*4); in utrie_clone()
212 uprv_memcpy(trie->data+newBlock, trie->data-indexValue, 4*UTRIE_DATA_BLOCK_LENGTH); in utrie_getDataBlock()
416 uprv_memcpy(leadIndexes, idx+(0xd800>>UTRIE_SHIFT), 4*UTRIE_SURROGATE_BLOCK_COUNT); in utrie_fold()
522 uprv_memcpy(idx+UTRIE_BMP_INDEX_LENGTH, in utrie_fold()
842 uprv_memcpy(dest16, trie->data, 4*trie->dataLength); in utrie_serialize()
Dwintz.c303 uprv_memcpy((char *)&tziKey.standardDate, (char*)&apiTZI.StandardDate, in uprv_detectWindowsTimeZone()
305 uprv_memcpy((char *)&tziKey.daylightDate, (char*)&apiTZI.DaylightDate, in uprv_detectWindowsTimeZone()
/external/icu/icu4c/source/i18n/
Dsortkey.cpp69 uprv_memcpy(getBytes(), newValues, count); in CollationKey()
90 uprv_memcpy(getBytes(), other.getBytes(), length); in CollationKey()
103 uprv_memcpy(newBytes, getBytes(), length); in reallocate()
161 uprv_memcpy(getBytes(), other.getBytes(), length); in operator =()
236 uprv_memcpy(result, fBytes, fCount); in toByteArray()
Dcollationdatawriter.cpp184 uprv_memcpy(&header.info, &dataInfo, sizeof(UDataInfo)); in write()
185 uprv_memcpy(header.info.dataVersion, dataVersion, sizeof(UVersionInfo)); in write()
202 uprv_memcpy(dest, &header, sizeof(header)); in write()
322 uprv_memcpy(dest, indexes, indexesLength * 4); in write()
344 uprv_memcpy(dest + start, src, limit - start); in copyData()
Dcollationsettings.cpp39 uprv_memcpy(fastLatinPrimaries, other.fastLatinPrimaries, sizeof(fastLatinPrimaries)); in CollationSettings()
213 uprv_memcpy(ownedCodes + reorderCodesCapacity, table, 256); in setReorderArrays()
214 uprv_memcpy(ownedCodes, codes, codesLength * 4); in setReorderArrays()
215 uprv_memcpy(ownedCodes + codesLength, ranges, rangesLength * 4); in setReorderArrays()
/external/icu/icu4c/source/tools/genrb/
Dustr.c95 uprv_memcpy(dst->fChars, src->fChars, sizeof(UChar) * src->fLength); in ustr_cpy()
141 uprv_memcpy(dst->fChars + dst->fLength, src->fChars, in ustr_ncat()
161 uprv_memcpy(dst->fChars + dst->fLength, &c, in ustr_ucat()
193 uprv_memcpy(dst->fChars + dst->fLength, src, in ustr_uscat()
/external/icu/icu4c/source/tools/icuswap/
Dicuswap.cpp315 uprv_memcpy(pkg, basename, len); in extractPackageName()
493 uprv_memcpy(entryName, outPkgName, inPkgNameLength); in udata_swapPackage()
527 uprv_memcpy(outBytes, inBytes, 4); in udata_swapPackage()
528 uprv_memcpy(outBytes+offset, inBytes+offset, itemLength); in udata_swapPackage()
605 uprv_memcpy(outBytes+table[i].outOffset, inBytes+table[i].inOffset, table[i].length); in udata_swapPackage()
626uprv_memcpy(outBytes+table[i].outOffset, inBytes+table[i].inOffset, table[i].length); in udata_swapPackage()
632 uprv_memcpy((uint8_t *)outData+headerSize, outBytes, length); in udata_swapPackage()
/external/icu/icu4c/source/tools/toolutil/
Dswapimpl.cpp134 uprv_memcpy(outBytes+numBytesIndexesAndValueMaps, in upname_swap()
233 uprv_memcpy(outData32, inData32, 4*dataTop); in uprops_swap()
379 uprv_memcpy(outBytes, inBytes, size); in ucase_swap()
481 uprv_memcpy(outBytes, inBytes, size); in ubidi_swap()
595 uprv_memcpy(outBytes, inBytes, size); in unorm_swap()
/external/icu/icu4c/source/test/perf/usetperf/
Dbitset.cpp54 uprv_memcpy(newData, data, len * BYTES_PER_WORD); in ensureCapacity()

12345