/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.c | 124 uprv_memcpy(pv, item, itemSize); /* v=array[j] */ in doInsertionSort() 126 uprv_memcpy(dest, pv, itemSize); /* array[insertionPoint]=v */ in doInsertionSort() 186 uprv_memcpy(px, array+(size_t)((start+limit)/2)*itemSize, itemSize); in subQuickSort() 205 uprv_memcpy(pw, array+(size_t)left*itemSize, itemSize); in subQuickSort() 206 … uprv_memcpy(array+(size_t)left*itemSize, array+(size_t)right*itemSize, itemSize); in subQuickSort() 207 uprv_memcpy(array+(size_t)right*itemSize, pw, itemSize); in subQuickSort()
|
D | cmemory.h | 50 #define uprv_memcpy(dst, src, size) ( \ macro 59 #define uprv_memcpy(dst, src, size) U_STANDARD_CPP_NAMESPACE memcpy(dst, src, size) macro 286 uprv_memcpy(p, LocalPointerBase<T>::ptr, (size_t)length*sizeof(T)); in allocateInsteadAndCopy() 433 uprv_memcpy(p, ptr, (size_t)length*sizeof(T)); in resize() 464 uprv_memcpy(p, ptr, (size_t)length*sizeof(T)); in orphanOrClone() 612 uprv_memcpy(p, ptr, sizeof(H)+(size_t)length*sizeof(T)); in resize() 643 uprv_memcpy(p, ptr, sizeof(H)+(size_t)length*sizeof(T)); in orphanOrClone()
|
D | uloc_tag.c | 662 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag() 672 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag() 685 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendLanguageToLanguageTag() 726 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendScriptToLanguageTag() 768 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendRegionToLanguageTag() 876 … uprv_memcpy(appendAt + reslen, var->variant, uprv_min(varLen, capacity - reslen)); in _appendVariantsToLanguageTag() 1062 uprv_memcpy(pExtBuf, buf, len); in _appendKeywordsToLanguageTag() 1138 … uprv_memcpy(appendAt + reslen, attr->attribute, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag() 1149 uprv_memcpy(appendAt + reslen, ext->key, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag() 1158 … uprv_memcpy(appendAt + reslen, ext->value, uprv_min(len, capacity - reslen)); in _appendKeywordsToLanguageTag() [all …]
|
D | udataswp.c | 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 | 252 uprv_memcpy(trie->index1, other->index1, sizeof(trie->index1)); in cloneBuilder() 253 uprv_memcpy(trie->index2, other->index2, (size_t)other->index2Length*4); in cloneBuilder() 257 uprv_memcpy(trie->data, other->data, (size_t)other->dataLength*4); in cloneBuilder() 265 uprv_memcpy(trie->map, other->map, ((size_t)other->dataLength>>UTRIE2_SHIFT_2)*4); in cloneBuilder() 293 uprv_memcpy(trie, other, sizeof(UTrie2)); in utrie2_clone() 299 uprv_memcpy(trie->memory, other->memory, other->length); in utrie2_clone() 488 …uprv_memcpy(trie->index2+newBlock, trie->index2+trie->index2NullOffset, UTRIE2_INDEX_2_BLOCK_LENGT… in allocIndex2Block() 545 uprv_memcpy(data, trie->data, (size_t)trie->dataLength*4); in allocDataBlock() 552 uprv_memcpy(trie->data+newBlock, trie->data+copyBlock, UTRIE2_DATA_BLOCK_LENGTH*4); in allocDataBlock() 1407 uprv_memcpy(dest16, newTrie->data, (size_t)newTrie->dataLength*4); in utrie2_freeze()
|
D | ucnvsel.cpp | 308 uprv_memcpy(&header.info, &dataInfo, sizeof(dataInfo)); in ucnvsel_serialize() 330 uprv_memcpy(p, &header, sizeof(header)); in ucnvsel_serialize() 335 uprv_memcpy(p, indexes, length); in ucnvsel_serialize() 342 uprv_memcpy(p, sel->pv, length); in ucnvsel_serialize() 345 uprv_memcpy(p, sel->encodings[0], sel->encodingStrLength); in ucnvsel_serialize() 432 uprv_memcpy(outBytes, inBytes, size); in ucnvsel_swap()
|
D | charstr.cpp | 28 uprv_memcpy(buffer.getAlias(), s.buffer.getAlias(), len+1); in copyFrom() 87 uprv_memcpy(buffer.getAlias()+len, s, sLength); in append()
|
D | bmpset.cpp | 55 uprv_memcpy(asciiBytes, otherBMPSet.asciiBytes, sizeof(asciiBytes)); in BMPSet() 56 uprv_memcpy(table7FF, otherBMPSet.table7FF, sizeof(table7FF)); in BMPSet() 57 uprv_memcpy(bmpBlockBits, otherBMPSet.bmpBlockBits, sizeof(bmpBlockBits)); in BMPSet() 58 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 | cstring.c | 320 uprv_memcpy(dup, src, len); in uprv_strdup() 335 uprv_memcpy(dup, src, n); in uprv_strndup()
|
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 | ucnv.c | 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.c | 708 uprv_memcpy(&newLMBCS->lmbcs, extraInfo, sizeof(UConverterDataLMBCS)); in _LMBCSSafeClone() 1281 uprv_memcpy(LMBCS, args->converter->toUBytes, size_old); in _LMBCSToUnicodeWithOffsets() 1282 uprv_memcpy(LMBCS + size_old, args->source, size_new); in _LMBCSToUnicodeWithOffsets() 1295 uprv_memcpy(args->converter->toUBytes, LMBCS, savebytes); in _LMBCSToUnicodeWithOffsets() 1342 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()
|
D | wintz.c | 305 uprv_memcpy((char *)&tziKey.standardDate, (char*)&apiTZI.StandardDate, in uprv_detectWindowsTimeZone() 307 uprv_memcpy((char *)&tziKey.daylightDate, (char*)&apiTZI.DaylightDate, in uprv_detectWindowsTimeZone()
|
D | bytestream.cpp | 55 uprv_memcpy(outbuf_ + size_, bytes, n); in Append()
|
/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()
|
/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 | 136 uprv_memcpy(outBytes+numBytesIndexesAndValueMaps, in upname_swap() 235 uprv_memcpy(outData32, inData32, 4*(size_t)dataTop); in uprops_swap() 381 uprv_memcpy(outBytes, inBytes, size); in ucase_swap() 483 uprv_memcpy(outBytes, inBytes, size); in ubidi_swap() 597 uprv_memcpy(outBytes, inBytes, size); in unorm_swap()
|
/external/icu/icu4c/source/test/perf/usetperf/ |
D | bitset.cpp | 58 uprv_memcpy(newData, data, len * BYTES_PER_WORD); in ensureCapacity()
|