Home
last modified time | relevance | path

Searched refs:char_offset (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/strings/
Dutf_string_conversion_utils.cc81 size_t char_offset = output->length(); in WriteUnicodeCharacter() local
82 size_t original_char_offset = char_offset; in WriteUnicodeCharacter()
83 output->resize(char_offset + CBU8_MAX_LENGTH); in WriteUnicodeCharacter()
85 CBU8_APPEND_UNSAFE(&(*output)[0], char_offset, code_point); in WriteUnicodeCharacter()
89 output->resize(char_offset); in WriteUnicodeCharacter()
90 return char_offset - original_char_offset; in WriteUnicodeCharacter()
100 size_t char_offset = output->length(); in WriteUnicodeCharacter() local
101 output->resize(char_offset + CBU16_MAX_LENGTH); in WriteUnicodeCharacter()
102 CBU16_APPEND_UNSAFE(&(*output)[0], char_offset, code_point); in WriteUnicodeCharacter()
/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp1009 update_offset(RandomAccessIter first, RandomAccessIter finish, unsigned &char_offset) in update_offset() argument
1011 unsigned nextOffset = char_offset; in update_offset()
1017 …if((*curr).size() > char_offset && ((*curr).size() <= (nextOffset + 1) || (*curr)[nextOffset] != (… in update_offset()
1025 char_offset = nextOffset; in update_offset()
1031 …update_offset(RandomAccessIter first, RandomAccessIter finish, unsigned &char_offset, get_char get… in update_offset() argument
1033 unsigned nextOffset = char_offset; in update_offset()
1039 …if(length(*curr) > char_offset && (length(*curr) <= (nextOffset + 1) || getchar((*curr), nextOffse… in update_offset()
1047 char_offset = nextOffset; in update_offset()
1053 offset_lessthan(unsigned char_offset) : fchar_offset(char_offset){} in offset_lessthan()
1071 offset_greaterthan(unsigned char_offset) : fchar_offset(char_offset){} in offset_greaterthan()
[all …]
/external/eigen/test/
Drand.cpp60 signed char char_offset = (std::min)(g_repeat,64); in test_rand() local
84 CALL_SUBTEST(check_all_in_range<signed char>(11,11+char_offset)); in test_rand()
86 CALL_SUBTEST(check_all_in_range<signed char>(-11-char_offset,-11)); in test_rand()
87 CALL_SUBTEST(check_all_in_range<signed char>(-126,-126+char_offset)); in test_rand()
88 CALL_SUBTEST(check_all_in_range<signed char>(126-char_offset,126)); in test_rand()