Lines Matching defs:chars
323 // Compare 8bit/16bit chars to 8bit/16bit chars.
326 size_t chars) {
332 return memcmp(lhs, rhs, chars * sizeof(*lhs)) == 0;
334 for (const lchar* limit = lhs + chars; lhs < limit; ++lhs, ++rhs) {
342 size_t chars) {
346 reinterpret_cast<const urchar*>(rhs), chars);
349 // Compare 8bit/16bit chars to 8bit/16bit chars.
352 size_t chars) {
358 return memcmp(lhs, rhs, chars);
360 for (const lchar* limit = lhs + chars; lhs < limit; ++lhs, ++rhs) {
368 inline int CompareChars(const lchar* lhs, const rchar* rhs, size_t chars) {
372 reinterpret_cast<const urchar*>(rhs), chars);
552 // Write size chars from str to the file given by filename.
553 // The file is overwritten. Returns the number of chars written.