/external/icu/icu4c/source/common/ |
D | cpputils.h | 29 { uprv_memcpy(dst, src, (size_t)count * sizeof(*src)); } in uprv_arrayCopy() 34 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)count * sizeof(*src)); } in uprv_arrayCopy() 38 { uprv_memcpy(dst, src, (size_t)count * sizeof(*src)); } in uprv_arrayCopy() 43 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)count * sizeof(*src)); } in uprv_arrayCopy() 47 { uprv_memcpy(dst, src, (size_t)count * sizeof(*src)); } in uprv_arrayCopy() 52 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)count * sizeof(*src)); } in uprv_arrayCopy() 56 { uprv_memcpy(dst, src, (size_t)count * sizeof(*src)); } in uprv_arrayCopy() 61 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)count * sizeof(*src)); } in uprv_arrayCopy() 67 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)count * sizeof(*src)); } in uprv_arrayCopy()
|
D | uarrsort.cpp | 127 uprv_memcpy(pv, item, itemSize); /* v=array[j] */ in doInsertionSort() 129 uprv_memcpy(dest, pv, itemSize); /* array[insertionPoint]=v */ in doInsertionSort() 189 uprv_memcpy(px, array+(size_t)((start+limit)/2)*itemSize, itemSize); in subQuickSort() 208 uprv_memcpy(pw, array+(size_t)left*itemSize, itemSize); in subQuickSort() 209 … uprv_memcpy(array+(size_t)left*itemSize, array+(size_t)right*itemSize, itemSize); in subQuickSort() 210 uprv_memcpy(array+(size_t)right*itemSize, pw, itemSize); in subQuickSort()
|
D | cmemory.h | 40 #define uprv_memcpy(dst, src, size) U_STANDARD_CPP_NAMESPACE memcpy(dst, src, size) macro 261 uprv_memcpy(p, LocalPointerBase<T>::ptr, (size_t)length*sizeof(T)); in allocateInsteadAndCopy() 424 uprv_memcpy(stackArray, src.stackArray, sizeof(T) * src.capacity); in MaybeStackArray() 438 uprv_memcpy(stackArray, src.stackArray, sizeof(T) * src.capacity); 461 uprv_memcpy(p, ptr, (size_t)length*sizeof(T)); in resize() 492 uprv_memcpy(p, ptr, (size_t)length*sizeof(T)); in orphanOrClone() 638 uprv_memcpy(p, ptr, sizeof(H)+(size_t)length*sizeof(T)); in resize() 669 uprv_memcpy(p, ptr, sizeof(H)+(size_t)length*sizeof(T)); in orphanOrClone()
|
D | uloc_tag.cpp | 877 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag() 887 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag() 905 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendLanguageToLanguageTag() 945 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendScriptToLanguageTag() 995 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendRegionToLanguageTag() 1103 … uprv_memcpy(appendAt + reslen, var->variant, uprv_min(varLen, capacity - reslen)); in _appendVariantsToLanguageTag() 1403 … uprv_memcpy(appendAt + reslen, attr->attribute, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag() 1414 uprv_memcpy(appendAt + reslen, ext->key, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag() 1423 … uprv_memcpy(appendAt + reslen, ext->value, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag() 1504 uprv_memcpy(&attrBuf[attrBufIdx], pTag, len); in _appendLDMLExtensionAsKeywords() [all …]
|
D | udataswp.cpp | 75 uprv_memcpy(outData, inData, length); in uprv_copyArray16() 123 uprv_memcpy(outData, inData, length); in uprv_copyArray32() 172 uprv_memcpy(outData, inData, length); in uprv_copyArray64() 259 uprv_memcpy((char *)outData+stringsLength, inChars+stringsLength, length-stringsLength); in udata_swapInvStringBlock() 334 uprv_memcpy(outData, inData, headerSize); in udata_swapDataHeader()
|
D | utrie2_builder.cpp | 273 uprv_memcpy(trie->index1, other->index1, sizeof(trie->index1)); in cloneBuilder() 274 uprv_memcpy(trie->index2, other->index2, (size_t)other->index2Length*4); in cloneBuilder() 278 uprv_memcpy(trie->data, other->data, (size_t)other->dataLength*4); in cloneBuilder() 286 uprv_memcpy(trie->map, other->map, ((size_t)other->dataLength>>UTRIE2_SHIFT_2)*4); in cloneBuilder() 314 uprv_memcpy(trie, other, sizeof(UTrie2)); in utrie2_clone() 320 uprv_memcpy(trie->memory, other->memory, other->length); in utrie2_clone() 525 …uprv_memcpy(trie->index2+newBlock, trie->index2+trie->index2NullOffset, UTRIE2_INDEX_2_BLOCK_LENGT… in allocIndex2Block() 582 uprv_memcpy(data, trie->data, (size_t)trie->dataLength*4); in allocDataBlock() 589 uprv_memcpy(trie->data+newBlock, trie->data+copyBlock, UTRIE2_DATA_BLOCK_LENGTH*4); in allocDataBlock() 1460 uprv_memcpy(dest16, newTrie->data, (size_t)newTrie->dataLength*4); in utrie2_freeze()
|
D | ucnvsel.cpp | 309 uprv_memcpy(&header.info, &dataInfo, sizeof(dataInfo)); in ucnvsel_serialize() 331 uprv_memcpy(p, &header, sizeof(header)); in ucnvsel_serialize() 336 uprv_memcpy(p, indexes, length); in ucnvsel_serialize() 343 uprv_memcpy(p, sel->pv, length); in ucnvsel_serialize() 346 uprv_memcpy(p, sel->encodings[0], sel->encodingStrLength); in ucnvsel_serialize() 433 uprv_memcpy(outBytes, inBytes, size); in ucnvsel_swap()
|
D | bmpset.cpp | 57 uprv_memcpy(latin1Contains, otherBMPSet.latin1Contains, sizeof(latin1Contains)); in BMPSet() 58 uprv_memcpy(table7FF, otherBMPSet.table7FF, sizeof(table7FF)); in BMPSet() 59 uprv_memcpy(bmpBlockBits, otherBMPSet.bmpBlockBits, sizeof(bmpBlockBits)); in BMPSet() 60 uprv_memcpy(list4kStarts, otherBMPSet.list4kStarts, sizeof(list4kStarts)); in BMPSet()
|
D | ustrenum.cpp | 270 uprv_memcpy(result, &USTRENUM_VT, sizeof(USTRENUM_VT)); in uenum_openFromStringEnumeration() 369 uprv_memcpy(result, &UCHARSTRENUM_VT, sizeof(UCHARSTRENUM_VT)); in uenum_openCharStringsEnumeration() 388 uprv_memcpy(result, &UCHARSTRENUM_U_VT, sizeof(UCHARSTRENUM_U_VT)); in uenum_openUCharStringsEnumeration()
|
D | ucptrie.cpp | 105 uprv_memcpy(trie, &tempTrie, sizeof(tempTrie)); in ucptrie_openFromBinary() 522 uprv_memcpy(bytes, trie->index, trie->indexLength * 2); in ucptrie_toBinary() 527 uprv_memcpy(bytes, trie->data.ptr16, trie->dataLength * 2); in ucptrie_toBinary() 530 uprv_memcpy(bytes, trie->data.ptr32, trie->dataLength * 4); in ucptrie_toBinary() 533 uprv_memcpy(bytes, trie->data.ptr8, trie->dataLength); in ucptrie_toBinary()
|
D | ustr_wcs.cpp | 47 uprv_memcpy(newBuffer, *pBuffer, (size_t)length*size); in u_growAnyBufferFromStatic() 205 uprv_memcpy(dest, intTarget, (size_t)count*sizeof(wchar_t)); in _strToWCS() 400 uprv_memcpy(pWStack, pSrc, (size_t)nulLen*sizeof(wchar_t)); in _strFromWCS()
|
D | charstr.cpp | 41 uprv_memcpy(buffer.getAlias(), s.buffer.getAlias(), len+1); in copyFrom() 100 uprv_memcpy(buffer.getAlias()+len, s, sLength); in append()
|
D | cstring.cpp | 320 uprv_memcpy(dup, src, len); in uprv_strdup() 335 uprv_memcpy(dup, src, n); in uprv_strndup()
|
D | ucnv.cpp | 268 uprv_memcpy(localConverter, cnv, sizeof(UConverter)); in ucnv_safeClone() 281 … uprv_memcpy(localConverter->subChars, cnv->subChars, UCNV_ERROR_BUFFER_LENGTH * U_SIZEOF_UCHAR); in ucnv_safeClone() 439 … uprv_memcpy (mySubChar, converter->subChars, converter->subCharLen); /*fills in the subchars */ in ucnv_getSubstChars() 460 uprv_memcpy (converter->subChars, mySubChar, len); /*copies the subchars */ in ucnv_setSubstChars() 548 uprv_memcpy(cnv->subChars, subChars, length8); in ucnv_setSubstString() 880 uprv_memcpy(replay, cnv->preFromU, -cnv->preFromULength*U_SIZEOF_UCHAR); in _fromUnicodeWithCallback() 969 uprv_memcpy(replay, cnv->preFromU, -cnv->preFromULength*U_SIZEOF_UCHAR); in _fromUnicodeWithCallback() 1325 uprv_memcpy(replay, cnv->preToU, -cnv->preToULength); in _toUnicodeWithCallback() 1414 uprv_memcpy(replay, cnv->preToU, -cnv->preToULength); in _toUnicodeWithCallback() 1513 uprv_memcpy(cnv->preToU, pArgs->source, length); in _toUnicodeWithCallback() [all …]
|
D | ucnv2022.cpp | 575 uprv_memcpy(cnv->subChars, myConverterData->currentConverter->subChars, 4); in _ISO2022Open() 1051 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022() 1313 uprv_memcpy(saveThis->UCharErrorBuffer, in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC() 1338 … uprv_memcpy(saveThis->invalidCharBuffer, myData->currentConverter->invalidCharBuffer, length); in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC() 1343 … uprv_memcpy(saveThis->toUBytes, myData->currentConverter->toUBytes, length); in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC() 1941 uprv_memcpy(buffer + outLen, escSeqChars[cs], escLen); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2046 uprv_memcpy(buffer + outLen, escSeqChars[ASCII], escLen); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2351 uprv_memcpy( in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM() 2597 uprv_memcpy(&subArgs, args, minArgsSize); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM() 2622 … uprv_memcpy(subArgs.converter->toUBytes, args->converter->toUBytes, args->converter->toULength); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM() [all …]
|
D | ucnv_lmb.cpp | 714 uprv_memcpy(&newLMBCS->lmbcs, extraInfo, sizeof(UConverterDataLMBCS)); in _LMBCSSafeClone() 1287 uprv_memcpy(LMBCS, args->converter->toUBytes, size_old); in _LMBCSToUnicodeWithOffsets() 1288 uprv_memcpy(LMBCS + size_old, args->source, size_new); in _LMBCSToUnicodeWithOffsets() 1301 uprv_memcpy(args->converter->toUBytes, LMBCS, savebytes); in _LMBCSToUnicodeWithOffsets() 1348 uprv_memcpy(args->converter->toUBytes, errSource, savebytes); in _LMBCSToUnicodeWithOffsets()
|
D | utrie.cpp | 143 uprv_memcpy(trie->index, other->index, sizeof(trie->index)); in utrie_clone() 144 uprv_memcpy(trie->data, other->data, (size_t)other->dataLength*4); in utrie_clone() 214 uprv_memcpy(trie->data+newBlock, trie->data-indexValue, 4*UTRIE_DATA_BLOCK_LENGTH); in utrie_getDataBlock() 418 uprv_memcpy(leadIndexes, idx+(0xd800>>UTRIE_SHIFT), 4*UTRIE_SURROGATE_BLOCK_COUNT); in utrie_fold() 524 uprv_memcpy(idx+UTRIE_BMP_INDEX_LENGTH, in utrie_fold() 844 uprv_memcpy(dest16, trie->data, 4*(size_t)trie->dataLength); in utrie_serialize()
|
/external/icu/icu4c/source/i18n/ |
D | sortkey.cpp | 71 uprv_memcpy(getBytes(), newValues, count); in CollationKey() 92 uprv_memcpy(getBytes(), other.getBytes(), length); in CollationKey() 105 uprv_memcpy(newBytes, getBytes(), length); in reallocate() 163 uprv_memcpy(getBytes(), other.getBytes(), length); in operator =() 238 uprv_memcpy(result, fBytes, fCount); in toByteArray()
|
D | collationdatawriter.cpp | 186 uprv_memcpy(&header.info, &dataInfo, sizeof(UDataInfo)); in write() 187 uprv_memcpy(header.info.dataVersion, dataVersion, sizeof(UVersionInfo)); in write() 204 uprv_memcpy(dest, &header, sizeof(header)); in write() 324 uprv_memcpy(dest, indexes, indexesLength * 4); in write() 346 uprv_memcpy(dest + start, src, limit - start); in copyData()
|
D | collationsettings.cpp | 41 uprv_memcpy(fastLatinPrimaries, other.fastLatinPrimaries, sizeof(fastLatinPrimaries)); in CollationSettings() 215 uprv_memcpy(ownedCodes + reorderCodesCapacity, table, 256); in setReorderArrays() 216 uprv_memcpy(ownedCodes, codes, codesLength * 4); in setReorderArrays() 217 uprv_memcpy(ownedCodes + codesLength, ranges, rangesLength * 4); in setReorderArrays()
|
D | number_utils.cpp | 114 uprv_memcpy(fData.getAlias(), other.fData.getAlias(), sizeof(decNumber)); in DecNum() 115 uprv_memcpy(fData.getArrayStart(), in DecNum()
|
D | numparse_utils.h | 32 uprv_memcpy(dest, src, sizeof(UChar) * 3); in copyCurrencyCode()
|
/external/icu/icu4c/source/tools/icuswap/ |
D | icuswap.cpp | 317 uprv_memcpy(pkg, basename, len); in extractPackageName() 495 uprv_memcpy(entryName, outPkgName, inPkgNameLength); in udata_swapPackage() 529 uprv_memcpy(outBytes, inBytes, 4); in udata_swapPackage() 530 uprv_memcpy(outBytes+offset, inBytes+offset, itemLength); in udata_swapPackage() 607 uprv_memcpy(outBytes+table[i].outOffset, inBytes+table[i].inOffset, table[i].length); in udata_swapPackage() 628 … uprv_memcpy(outBytes+table[i].outOffset, inBytes+table[i].inOffset, table[i].length); in udata_swapPackage() 634 uprv_memcpy((uint8_t *)outData+headerSize, outBytes, length); in udata_swapPackage()
|
/external/icu/icu4c/source/tools/genrb/ |
D | ustr.c | 143 uprv_memcpy(dst->fChars + dst->fLength, src->fChars, in ustr_ncat() 163 uprv_memcpy(dst->fChars + dst->fLength, &c, in ustr_ucat() 195 uprv_memcpy(dst->fChars + dst->fLength, src, in ustr_uscat()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | swapimpl.cpp | 137 uprv_memcpy(outBytes+numBytesIndexesAndValueMaps, in upname_swap() 236 uprv_memcpy(outData32, inData32, 4*(size_t)dataTop); in uprops_swap() 382 uprv_memcpy(outBytes, inBytes, size); in ucase_swap() 484 uprv_memcpy(outBytes, inBytes, size); in ubidi_swap() 598 uprv_memcpy(outBytes, inBytes, size); in unorm_swap()
|