Home
last modified time | relevance | path

Searched refs:char_size (Results 1 – 23 of 23) sorted by relevance

/external/libcxx/src/support/win32/
Dsupport.cpp83 …size_t char_size = mbrtowc( dst ? dst + dest_converted : NULL, *src + source_converted, source_rem… in mbsnrtowcs() local
85 if ( char_size > 0 ) { in mbsnrtowcs()
86 source_remaining -= char_size; in mbsnrtowcs()
87 source_converted += char_size; in mbsnrtowcs()
91 result = char_size; in mbsnrtowcs()
123 size_t char_size = 0; in wcsnrtombs() local
134 result = wcrtomb_s( &char_size, dst + dest_converted, dest_remaining, c, ps); in wcsnrtombs()
136 result = wcrtomb_s( &char_size, NULL, 0, c, ps); in wcsnrtombs()
147 dest_remaining -= char_size; in wcsnrtombs()
148 dest_converted += char_size; in wcsnrtombs()
/external/v8/src/regexp/s390/
Dregexp-macro-assembler-s390.cc145 __ AddP(current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition()
186 __ AddP(r2, current_input_offset(), Operand(-char_size())); in CheckAtStart()
195 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
281 __ la(r1, MemOperand(r1, char_size())); in CheckNotBackReferenceIgnoreCase()
404 __ la(r1, MemOperand(r1, char_size())); in CheckNotBackReference()
703 __ SubP(r1, current_input_offset(), Operand(char_size())); in GetCode()
1028 __ CmpP(current_input_offset(), Operand(-by * char_size())); in SetCurrentPositionFromEnd()
1030 __ mov(current_input_offset(), Operand(-by * char_size())); in SetCurrentPositionFromEnd()
1054 __ AddP(r2, current_input_offset(), Operand(cp_offset * char_size())); in WriteCurrentPositionToRegister()
1129 __ CmpP(current_input_offset(), Operand(-cp_offset * char_size())); in CheckPosition()
[all …]
Dregexp-macro-assembler-s390.h162 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/v8/src/regexp/mips/
Dregexp-macro-assembler-mips.cc144 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition()
186 __ Addu(a0, current_input_offset(), Operand(-char_size())); in CheckAtStart()
195 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
260 __ addiu(a0, a0, char_size()); in CheckNotBackReferenceIgnoreCase()
262 __ addiu(a2, a2, char_size()); in CheckNotBackReferenceIgnoreCase()
406 __ addiu(a0, a0, char_size()); in CheckNotBackReference()
408 __ addiu(a2, a2, char_size()); in CheckNotBackReference()
412 __ addiu(a0, a0, char_size()); in CheckNotBackReference()
414 __ addiu(a2, a2, char_size()); in CheckNotBackReference()
685 __ Subu(a0, current_input_offset(), Operand(char_size())); in GetCode()
[all …]
Dregexp-macro-assembler-mips.h171 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/v8/src/regexp/mips64/
Dregexp-macro-assembler-mips64.cc180 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition()
222 __ Daddu(a0, current_input_offset(), Operand(-char_size())); in CheckAtStart()
231 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
296 __ daddiu(a0, a0, char_size()); in CheckNotBackReferenceIgnoreCase()
298 __ daddiu(a2, a2, char_size()); in CheckNotBackReferenceIgnoreCase()
436 __ daddiu(a0, a0, char_size()); in CheckNotBackReference()
438 __ daddiu(a2, a2, char_size()); in CheckNotBackReference()
442 __ daddiu(a0, a0, char_size()); in CheckNotBackReference()
444 __ daddiu(a2, a2, char_size()); in CheckNotBackReference()
721 __ Dsubu(a0, current_input_offset(), Operand(char_size())); in GetCode()
[all …]
Dregexp-macro-assembler-mips64.h175 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/v8/src/regexp/arm/
Dregexp-macro-assembler-arm.cc137 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition()
180 __ add(r0, current_input_offset(), Operand(-char_size())); in CheckAtStart()
190 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
254 __ ldrb(r3, MemOperand(r0, char_size(), PostIndex)); in CheckNotBackReferenceIgnoreCase()
255 __ ldrb(r4, MemOperand(r2, char_size(), PostIndex)); in CheckNotBackReferenceIgnoreCase()
389 __ ldrb(r3, MemOperand(r0, char_size(), PostIndex)); in CheckNotBackReference()
390 __ ldrb(r4, MemOperand(r2, char_size(), PostIndex)); in CheckNotBackReference()
393 __ ldrh(r3, MemOperand(r0, char_size(), PostIndex)); in CheckNotBackReference()
394 __ ldrh(r4, MemOperand(r2, char_size(), PostIndex)); in CheckNotBackReference()
687 __ sub(r0, current_input_offset(), Operand(char_size())); in GetCode()
[all …]
Dregexp-macro-assembler-arm.h171 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/v8/src/regexp/ppc/
Dregexp-macro-assembler-ppc.cc150 Operand(by * char_size())); in AdvanceCurrentPosition()
193 __ addi(r3, current_input_offset(), Operand(-char_size())); in CheckAtStart()
203 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
271 __ addi(r3, r3, Operand(char_size())); in CheckNotBackReferenceIgnoreCase()
273 __ addi(r5, r5, Operand(char_size())); in CheckNotBackReferenceIgnoreCase()
409 __ addi(r3, r3, Operand(char_size())); in CheckNotBackReference()
411 __ addi(r5, r5, Operand(char_size())); in CheckNotBackReference()
415 __ addi(r3, r3, Operand(char_size())); in CheckNotBackReference()
417 __ addi(r5, r5, Operand(char_size())); in CheckNotBackReference()
723 __ subi(r3, current_input_offset(), Operand(char_size())); in GetCode()
[all …]
Dregexp-macro-assembler-ppc.h162 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/v8/src/regexp/x64/
Dregexp-macro-assembler-x64.cc135 __ addq(rdi, Immediate(by * char_size())); in AdvanceCurrentPosition()
176 __ leap(rax, Operand(rdi, -char_size())); in CheckAtStart()
184 __ leap(rax, Operand(rdi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
435 __ addp(rbx, Immediate(char_size())); in CheckNotBackReference()
436 __ addp(rdx, Immediate(char_size())); in CheckNotBackReference()
760 __ leap(rax, Operand(rdi, rbx, times_2, -char_size())); in GetCode()
762 __ leap(rax, Operand(rdi, rbx, times_1, -char_size())); in GetCode()
1128 __ cmpp(rdi, Immediate(-by * char_size())); in SetCurrentPositionFromEnd()
1130 __ movq(rdi, Immediate(-by * char_size())); in SetCurrentPositionFromEnd()
1156 __ leap(rax, Operand(rdi, cp_offset * char_size())); in WriteCurrentPositionToRegister()
[all …]
Dregexp-macro-assembler-x64.h211 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/v8/src/regexp/x87/
Dregexp-macro-assembler-x87.cc119 __ add(edi, Immediate(by * char_size())); in AdvanceCurrentPosition()
160 __ lea(eax, Operand(edi, -char_size())); in CheckAtStart()
168 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
402 __ add(edx, Immediate(char_size())); in CheckNotBackReference()
403 __ add(ebx, Immediate(char_size())); in CheckNotBackReference()
713 __ lea(eax, Operand(edi, ebx, times_2, -char_size())); in GetCode()
715 __ lea(eax, Operand(edi, ebx, times_1, -char_size())); in GetCode()
1036 __ cmp(edi, -by * char_size()); in SetCurrentPositionFromEnd()
1038 __ mov(edi, -by * char_size()); in SetCurrentPositionFromEnd()
1064 __ lea(eax, Operand(edi, cp_offset * char_size())); in WriteCurrentPositionToRegister()
[all …]
Dregexp-macro-assembler-x87.h152 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/v8/src/regexp/ia32/
Dregexp-macro-assembler-ia32.cc119 __ add(edi, Immediate(by * char_size())); in AdvanceCurrentPosition()
160 __ lea(eax, Operand(edi, -char_size())); in CheckAtStart()
168 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
403 __ add(edx, Immediate(char_size())); in CheckNotBackReference()
404 __ add(ebx, Immediate(char_size())); in CheckNotBackReference()
714 __ lea(eax, Operand(edi, ebx, times_2, -char_size())); in GetCode()
716 __ lea(eax, Operand(edi, ebx, times_1, -char_size())); in GetCode()
1037 __ cmp(edi, -by * char_size()); in SetCurrentPositionFromEnd()
1039 __ mov(edi, -by * char_size()); in SetCurrentPositionFromEnd()
1065 __ lea(eax, Operand(edi, cp_offset * char_size())); in WriteCurrentPositionToRegister()
[all …]
Dregexp-macro-assembler-ia32.h152 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/v8/src/regexp/arm64/
Dregexp-macro-assembler-arm64.cc155 current_input_offset(), by * char_size()); in AdvanceCurrentPosition()
213 __ Add(w10, current_input_offset(), Operand(-char_size())); in CheckAtStart()
222 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
250 __ Add(characters_address, characters_address, cp_offset * char_size()); in CheckCharacters()
806 __ Sub(string_start_minus_one(), current_input_offset(), char_size()); in GetCode()
1218 __ Cmp(current_input_offset(), -by * char_size()); in SetCurrentPositionFromEnd()
1220 __ Mov(current_input_offset(), -by * char_size()); in SetCurrentPositionFromEnd()
1251 __ Add(position, current_input_offset(), cp_offset * char_size()); in WriteCurrentPositionToRegister()
1357 -cp_offset * char_size(), ge, on_outside_input); in CheckPosition()
1359 __ Add(w12, current_input_offset(), Operand(cp_offset * char_size())); in CheckPosition()
[all …]
Dregexp-macro-assembler-arm64.h200 int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/pdfium/core/fpdfapi/font/
Dfpdf_font_cid.cpp633 int char_size = 1; in GetNextChar() local
637 int ret = CheckCodeRange(codes, char_size, pRanges, m_nCodeRanges); in GetNextChar()
643 for (int i = 0; i < char_size; i++) { in GetNextChar()
648 if (char_size == 4 || offset == nStrLen) { in GetNextChar()
651 codes[char_size++] = ((uint8_t*)pString)[offset++]; in GetNextChar()
/external/fio/
Dfilesetup.c358 static int char_size(struct thread_data *td, struct fio_file *f) in char_size() function
405 ret = char_size(td, f); in get_file_size()
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp1458 FX_FLOAT char_size = GetCharWidth(itemPer.m_CharCode, pTextObj2->GetFont()); in IsSameTextObject() local
1461 if (FXSYS_fabs(diff.x) > char_size * font_size / 1000 * 0.9 || in IsSameTextObject()
/external/valgrind/perf/
Dtinycc.c9403 int char_size; in next_nomacro1() local
9406 char_size = 1; in next_nomacro1()
9408 char_size = sizeof(int); in next_nomacro1()
9409 if (tokcstr.size <= char_size) in next_nomacro1()
9411 if (tokcstr.size > 2 * char_size) in next_nomacro1()