Home | History | Annotate | Download | only in src

Lines Matching full:chars

401                                    size_t chars) {
402 memcpy(dest, src, chars);
418 size_t chars);
430 size_t chars) {
431 memcpy(dest, src, chars);
785 // Compare 8bit/16bit chars to 8bit/16bit chars.
788 size_t chars) {
789 const lchar* limit = lhs + chars;
793 return memcmp(lhs, rhs, chars);
805 inline int CompareChars(const lchar* lhs, const rchar* rhs, size_t chars) {
812 chars);
816 chars);
822 chars);
826 chars);
1165 // Returns the number of chars written, or -1 if output was truncated.
1190 // Append size chars from str to the file given by filename.
1191 // The file is overwritten. Returns the number of chars written.
1198 // Write size chars from str to the file given by filename.
1199 // The file is overwritten. Returns the number of chars written.
1217 // to the file given by filename. Only the first len chars are written.
1357 size_t chars));
1359 INLINE(void CopyCharsUnsigned(uint8_t* dest, const uint8_t* src, size_t chars));
1361 size_t chars));
1363 size_t chars));
1365 INLINE(void CopyCharsUnsigned(uint8_t* dest, const uint8_t* src, size_t chars));
1367 size_t chars));
1369 INLINE(void CopyCharsUnsigned(uint8_t* dest, const uint8_t* src, size_t chars));
1371 size_t chars));
1374 // Copy from 8bit/16bit chars to 8bit/16bit chars.
1376 INLINE(void CopyChars(sinkchar* dest, const sourcechar* src, size_t chars));
1379 void CopyChars(sinkchar* dest, const sourcechar* src, size_t chars) {
1386 chars);
1390 chars);
1396 chars);
1400 chars);
1406 void CopyCharsUnsigned(sinkchar* dest, const sourcechar* src, size_t chars) {
1407 sinkchar* limit = dest + chars;
1409 (chars >= static_cast<int>(kMinComplexMemCopy / sizeof(*dest)))) {
1410 MemCopy(dest, src, chars * sizeof(*dest));
1418 void CopyCharsUnsigned(uint8_t* dest, const uint8_t* src, size_t chars) {
1419 switch (static_cast<unsigned>(chars)) {
1468 MemCopy(dest, src, chars);
1474 void CopyCharsUnsigned(uint16_t* dest, const uint8_t* src, size_t chars) {
1475 if (chars >= static_cast<size_t>(kMinComplexConvertMemCopy)) {
1476 MemCopyUint16Uint8(dest, src, chars);
1478 MemCopyUint16Uint8Wrapper(dest, src, chars);
1483 void CopyCharsUnsigned(uint16_t* dest, const uint16_t* src, size_t chars) {
1484 switch (static_cast<unsigned>(chars)) {
1509 MemCopy(dest, src, chars * sizeof(*dest));
1516 void CopyCharsUnsigned(uint8_t* dest, const uint8_t* src, size_t chars) {
1517 if (chars < kMinComplexMemCopy) {
1518 memcpy(dest, src, chars);
1520 MemCopy(dest, src, chars);
1524 void CopyCharsUnsigned(uint16_t* dest, const uint16_t* src, size_t chars) {
1525 if (chars < kMinComplexMemCopy) {
1526 memcpy(dest, src, chars * sizeof(*dest));
1528 MemCopy(dest, src, chars * sizeof(*dest));
1536 void CopyCharsUnsigned(uint8_t* dest, const uint8_t* src, size_t chars) {
1537 switch (static_cast<unsigned>(chars)) {
1607 memcpy(dest, src, chars);
1617 void CopyCharsUnsigned(uint16_t* dest, const uint16_t* src, size_t chars) {
1618 switch (static_cast<unsigned>(chars)) {
1656 memcpy(dest, src, chars * 2);