Home
last modified time | relevance | path

Searched refs:char_size (Results 1 – 20 of 20) 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/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()
429 __ daddiu(a0, a0, char_size()); in CheckNotBackReference()
431 __ daddiu(a2, a2, char_size()); in CheckNotBackReference()
435 __ daddiu(a0, a0, char_size()); in CheckNotBackReference()
437 __ daddiu(a2, a2, char_size()); in CheckNotBackReference()
717 __ Dsubu(a0, current_input_offset(), Operand(char_size())); in GetCode()
[all …]
Dregexp-macro-assembler-mips64.h213 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/v8/src/regexp/arm/
Dregexp-macro-assembler-arm.cc138 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition()
181 __ add(r0, current_input_offset(), Operand(-char_size())); in CheckAtStart()
191 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
255 __ ldrb(r3, MemOperand(r0, char_size(), PostIndex)); in CheckNotBackReferenceIgnoreCase()
256 __ ldrb(r4, MemOperand(r2, char_size(), PostIndex)); in CheckNotBackReferenceIgnoreCase()
383 __ ldrb(r3, MemOperand(r0, char_size(), PostIndex)); in CheckNotBackReference()
384 __ ldrb(r4, MemOperand(r2, char_size(), PostIndex)); in CheckNotBackReference()
387 __ ldrh(r3, MemOperand(r0, char_size(), PostIndex)); in CheckNotBackReference()
388 __ ldrh(r4, MemOperand(r2, char_size(), PostIndex)); in CheckNotBackReference()
681 __ sub(r0, current_input_offset(), Operand(char_size())); in GetCode()
[all …]
Dregexp-macro-assembler-arm.h172 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/v8/src/regexp/ppc/
Dregexp-macro-assembler-ppc.cc151 Operand(by * char_size())); in AdvanceCurrentPosition()
194 __ addi(r3, current_input_offset(), Operand(-char_size())); in CheckAtStart()
204 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
273 __ addi(r3, r3, Operand(char_size())); in CheckNotBackReferenceIgnoreCase()
275 __ addi(r5, r5, Operand(char_size())); in CheckNotBackReferenceIgnoreCase()
404 __ addi(r3, r3, Operand(char_size())); in CheckNotBackReference()
406 __ addi(r5, r5, Operand(char_size())); in CheckNotBackReference()
410 __ addi(r3, r3, Operand(char_size())); in CheckNotBackReference()
412 __ addi(r5, r5, Operand(char_size())); in CheckNotBackReference()
718 __ subi(r3, current_input_offset(), Operand(char_size())); in GetCode()
[all …]
Dregexp-macro-assembler-ppc.h163 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()
399 __ addiu(a0, a0, char_size()); in CheckNotBackReference()
401 __ addiu(a2, a2, char_size()); in CheckNotBackReference()
405 __ addiu(a0, a0, char_size()); in CheckNotBackReference()
407 __ addiu(a2, a2, char_size()); in CheckNotBackReference()
678 __ 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/x87/
Dregexp-macro-assembler-x87.cc120 __ add(edi, Immediate(by * char_size())); in AdvanceCurrentPosition()
161 __ lea(eax, Operand(edi, -char_size())); in CheckAtStart()
169 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
397 __ add(edx, Immediate(char_size())); in CheckNotBackReference()
398 __ add(ebx, Immediate(char_size())); in CheckNotBackReference()
707 __ lea(eax, Operand(edi, ebx, times_2, -char_size())); in GetCode()
709 __ lea(eax, Operand(edi, ebx, times_1, -char_size())); in GetCode()
1027 __ cmp(edi, -by * char_size()); in SetCurrentPositionFromEnd()
1029 __ mov(edi, -by * char_size()); in SetCurrentPositionFromEnd()
1055 __ 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.cc120 __ add(edi, Immediate(by * char_size())); in AdvanceCurrentPosition()
161 __ lea(eax, Operand(edi, -char_size())); in CheckAtStart()
169 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
397 __ add(edx, Immediate(char_size())); in CheckNotBackReference()
398 __ add(ebx, Immediate(char_size())); in CheckNotBackReference()
707 __ lea(eax, Operand(edi, ebx, times_2, -char_size())); in GetCode()
709 __ lea(eax, Operand(edi, ebx, times_1, -char_size())); in GetCode()
1027 __ cmp(edi, -by * char_size()); in SetCurrentPositionFromEnd()
1029 __ mov(edi, -by * char_size()); in SetCurrentPositionFromEnd()
1055 __ 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/x64/
Dregexp-macro-assembler-x64.cc134 __ addq(rdi, Immediate(by * char_size())); in AdvanceCurrentPosition()
175 __ leap(rax, Operand(rdi, -char_size())); in CheckAtStart()
183 __ leap(rax, Operand(rdi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
426 __ addp(rbx, Immediate(char_size())); in CheckNotBackReference()
427 __ addp(rdx, Immediate(char_size())); in CheckNotBackReference()
751 __ leap(rax, Operand(rdi, rbx, times_2, -char_size())); in GetCode()
753 __ leap(rax, Operand(rdi, rbx, times_1, -char_size())); in GetCode()
1116 __ cmpp(rdi, Immediate(-by * char_size())); in SetCurrentPositionFromEnd()
1118 __ movq(rdi, Immediate(-by * char_size())); in SetCurrentPositionFromEnd()
1144 __ 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/arm64/
Dregexp-macro-assembler-arm64.cc156 current_input_offset(), by * char_size()); in AdvanceCurrentPosition()
214 __ Add(w10, current_input_offset(), Operand(-char_size())); in CheckAtStart()
223 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
251 __ Add(characters_address, characters_address, cp_offset * char_size()); in CheckCharacters()
800 __ Sub(string_start_minus_one(), current_input_offset(), char_size()); in GetCode()
1208 __ Cmp(current_input_offset(), -by * char_size()); in SetCurrentPositionFromEnd()
1210 __ Mov(current_input_offset(), -by * char_size()); in SetCurrentPositionFromEnd()
1241 __ Add(position, current_input_offset(), cp_offset * char_size()); in WriteCurrentPositionToRegister()
1347 -cp_offset * char_size(), ge, on_outside_input); in CheckPosition()
1349 __ Add(w12, current_input_offset(), Operand(cp_offset * char_size())); in CheckPosition()
[all …]
Dregexp-macro-assembler-arm64.h201 int char_size() { return static_cast<int>(mode_); } in char_size() function
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font_cid.cpp897 int char_size = 1; in GetNextChar() local
901 int ret = CheckCodeRange(codes, char_size, pRanges, m_nCodeRanges); in GetNextChar()
907 for (int i = 0; i < char_size; i++) { in GetNextChar()
912 if (char_size == 4 || offset == nStrLen) { in GetNextChar()
915 codes[char_size++] = ((uint8_t*)pString)[offset++]; in GetNextChar()
/external/fio/
Dfilesetup.c315 static int char_size(struct thread_data *td, struct fio_file *f) in char_size() function
362 ret = char_size(td, f); in get_file_size()
/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()