/third_party/node/deps/v8/src/regexp/ppc/ |
D | regexp-macro-assembler-ppc.cc | 148 if (is_int16(by * char_size())) { in AdvanceCurrentPosition() 150 Operand(by * char_size())); in AdvanceCurrentPosition() 152 __ mov(r0, Operand(by * char_size())); in AdvanceCurrentPosition() 216 Operand(-char_size() + cp_offset * char_size())); in CheckAtStart() 225 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 293 __ addi(r3, r3, Operand(char_size())); in CheckNotBackReferenceIgnoreCase() 295 __ addi(r5, r5, Operand(char_size())); in CheckNotBackReferenceIgnoreCase() 425 __ addi(r3, r3, Operand(char_size())); in CheckNotBackReference() 427 __ addi(r5, r5, Operand(char_size())); in CheckNotBackReference() 431 __ addi(r3, r3, Operand(char_size())); in CheckNotBackReference() [all …]
|
D | regexp-macro-assembler-ppc.h | 165 inline int char_size() const { return static_cast<int>(mode_); } in char_size() function
|
/third_party/node/deps/v8/src/regexp/arm/ |
D | regexp-macro-assembler-arm.cc | 138 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition() 199 Operand(-char_size() + cp_offset * char_size())); in CheckAtStart() 208 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 270 __ ldrb(r3, MemOperand(r0, char_size(), PostIndex)); in CheckNotBackReferenceIgnoreCase() 271 __ ldrb(r4, MemOperand(r2, char_size(), PostIndex)); in CheckNotBackReferenceIgnoreCase() 398 __ ldrb(r3, MemOperand(r0, char_size(), PostIndex)); in CheckNotBackReference() 399 __ ldrb(r4, MemOperand(r2, char_size(), PostIndex)); in CheckNotBackReference() 402 __ ldrh(r3, MemOperand(r0, char_size(), PostIndex)); in CheckNotBackReference() 403 __ ldrh(r4, MemOperand(r2, char_size(), PostIndex)); in CheckNotBackReference() 773 __ sub(r0, current_input_offset(), Operand(char_size())); in GetCode() [all …]
|
D | regexp-macro-assembler-arm.h | 166 inline int char_size() const { return static_cast<int>(mode_); } in char_size() function
|
/third_party/node/deps/v8/src/regexp/mips/ |
D | regexp-macro-assembler-mips.cc | 136 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition() 195 Operand(-char_size() + cp_offset * char_size())); in CheckAtStart() 204 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 267 __ addiu(a0, a0, char_size()); in CheckNotBackReferenceIgnoreCase() 269 __ addiu(a2, a2, char_size()); in CheckNotBackReferenceIgnoreCase() 397 __ addiu(a0, a0, char_size()); in CheckNotBackReference() 399 __ addiu(a2, a2, char_size()); in CheckNotBackReference() 403 __ addiu(a0, a0, char_size()); in CheckNotBackReference() 405 __ addiu(a2, a2, char_size()); in CheckNotBackReference() 751 __ Subu(a0, current_input_offset(), Operand(char_size())); in GetCode() [all …]
|
D | regexp-macro-assembler-mips.h | 170 inline int char_size() const { return static_cast<int>(mode_); } in char_size() function
|
/third_party/node/deps/v8/src/regexp/mips64/ |
D | regexp-macro-assembler-mips64.cc | 174 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition() 233 Operand(-char_size() + cp_offset * char_size())); in CheckAtStart() 242 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 305 __ daddiu(a0, a0, char_size()); in CheckNotBackReferenceIgnoreCase() 307 __ 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() 788 __ Dsubu(a0, current_input_offset(), Operand(char_size())); in GetCode() [all …]
|
D | regexp-macro-assembler-mips64.h | 176 inline int char_size() const { return static_cast<int>(mode_); } in char_size() function
|
/third_party/node/deps/v8/src/regexp/loong64/ |
D | regexp-macro-assembler-loong64.cc | 136 Operand(by * char_size())); in AdvanceCurrentPosition() 190 Operand(-char_size() + cp_offset * char_size())); in CheckAtStart() 198 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 260 __ addi_d(a0, a0, char_size()); in CheckNotBackReferenceIgnoreCase() 262 __ addi_d(a2, a2, char_size()); in CheckNotBackReferenceIgnoreCase() 385 __ addi_d(a0, a0, char_size()); in CheckNotBackReference() 387 __ addi_d(a2, a2, char_size()); in CheckNotBackReference() 391 __ addi_d(a0, a0, char_size()); in CheckNotBackReference() 393 __ addi_d(a2, a2, char_size()); in CheckNotBackReference() 740 __ Sub_d(a0, current_input_offset(), Operand(char_size())); in GetCode() [all …]
|
D | regexp-macro-assembler-loong64.h | 174 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
|
/third_party/node/deps/v8/src/regexp/riscv64/ |
D | regexp-macro-assembler-riscv64.cc | 141 Operand(by * char_size())); in AdvanceCurrentPosition() 195 Operand(-char_size() + cp_offset * char_size())); in CheckAtStart() 203 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 314 __ addi(a0, a0, char_size()); in CheckNotBackReferenceIgnoreCase() 316 __ addi(a2, a2, char_size()); in CheckNotBackReferenceIgnoreCase() 444 __ addi(a0, a0, char_size()); in CheckNotBackReference() 446 __ addi(a2, a2, char_size()); in CheckNotBackReference() 450 __ addi(a0, a0, char_size()); in CheckNotBackReference() 452 __ addi(a2, a2, char_size()); in CheckNotBackReference() 778 __ Sub64(a0, current_input_offset(), Operand(char_size())); in GetCode() [all …]
|
D | regexp-macro-assembler-riscv64.h | 179 inline int char_size() const { return static_cast<int>(mode_); } in char_size() function
|
/third_party/node/deps/v8/src/regexp/s390/ |
D | regexp-macro-assembler-s390.cc | 147 __ AddS64(current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition() 208 Operand(-char_size() + cp_offset * char_size())); in CheckAtStart() 217 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 304 __ la(r1, MemOperand(r1, char_size())); in CheckNotBackReferenceIgnoreCase() 422 __ la(r1, MemOperand(r1, char_size())); in CheckNotBackReference() 811 __ SubS64(r1, current_input_offset(), Operand(char_size())); in GetCode() 1155 __ CmpS64(current_input_offset(), Operand(-by * char_size())); in SetCurrentPositionFromEnd() 1157 __ mov(current_input_offset(), Operand(-by * char_size())); in SetCurrentPositionFromEnd() 1181 __ AddS64(r2, current_input_offset(), Operand(cp_offset * char_size())); in WriteCurrentPositionToRegister() 1268 __ CmpS64(current_input_offset(), Operand(-cp_offset * char_size())); in CheckPosition() [all …]
|
D | regexp-macro-assembler-s390.h | 165 inline int char_size() const { return static_cast<int>(mode_); } in char_size() function
|
/third_party/node/deps/v8/src/regexp/ia32/ |
D | regexp-macro-assembler-ia32.cc | 125 __ add(edi, Immediate(by * char_size())); in AdvanceCurrentPosition() 181 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckAtStart() 188 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckNotAtStart() 427 __ add(edx, Immediate(char_size())); in CheckNotBackReference() 428 __ add(ebx, Immediate(char_size())); in CheckNotBackReference() 821 __ lea(eax, Operand(edi, ebx, times_2, -char_size())); in GetCode() 823 __ lea(eax, Operand(edi, ebx, times_1, -char_size())); in GetCode() 1144 __ cmp(edi, -by * char_size()); in SetCurrentPositionFromEnd() 1146 __ mov(edi, -by * char_size()); in SetCurrentPositionFromEnd() 1172 __ lea(eax, Operand(edi, cp_offset * char_size())); in WriteCurrentPositionToRegister() [all …]
|
D | regexp-macro-assembler-ia32.h | 160 inline int char_size() const { return static_cast<int>(mode_); } in char_size() function
|
/third_party/node/deps/v8/src/regexp/x64/ |
D | regexp-macro-assembler-x64.cc | 136 __ addq(rdi, Immediate(by * char_size())); in AdvanceCurrentPosition() 192 __ leaq(rax, Operand(rdi, -char_size() + cp_offset * char_size())); in CheckAtStart() 199 __ leaq(rax, Operand(rdi, -char_size() + cp_offset * char_size())); in CheckNotAtStart() 449 __ addq(rbx, Immediate(char_size())); in CheckNotBackReference() 450 __ addq(rdx, Immediate(char_size())); in CheckNotBackReference() 856 __ leaq(rax, Operand(rdi, rbx, times_2, -char_size())); in GetCode() 858 __ leaq(rax, Operand(rdi, rbx, times_1, -char_size())); in GetCode() 1201 __ cmpq(rdi, Immediate(-by * char_size())); in SetCurrentPositionFromEnd() 1203 __ Move(rdi, -by * char_size()); in SetCurrentPositionFromEnd() 1229 __ leaq(rax, Operand(rdi, cp_offset * char_size())); in WriteCurrentPositionToRegister() [all …]
|
D | regexp-macro-assembler-x64.h | 196 inline int char_size() { return static_cast<int>(mode_); } in char_size() function
|
/third_party/node/deps/v8/src/regexp/arm64/ |
D | regexp-macro-assembler-arm64.cc | 155 current_input_offset(), by * char_size()); in AdvanceCurrentPosition() 239 Operand(-char_size() + cp_offset * char_size())); in CheckAtStart() 247 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 273 __ Add(characters_address, characters_address, cp_offset * char_size()); in CheckCharacters() 907 __ Sub(string_start_minus_one(), current_input_offset(), char_size()); in GetCode() 1318 __ Cmp(current_input_offset(), -by * char_size()); in SetCurrentPositionFromEnd() 1320 __ Mov(current_input_offset(), -by * char_size()); in SetCurrentPositionFromEnd() 1351 __ Add(position, current_input_offset(), cp_offset * char_size()); in WriteCurrentPositionToRegister() 1445 -cp_offset * char_size(), ge, on_outside_input); in CheckPosition() 1447 __ Add(w12, current_input_offset(), Operand(cp_offset * char_size())); in CheckPosition() [all …]
|
D | regexp-macro-assembler-arm64.h | 204 int char_size() const { return static_cast<int>(mode_); } in char_size() function
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-regexp-object.h | 148 uint8_t char_size; /**< size of encoded characters */ member
|
D | ecma-regexp-object.c | 1423 bc_p += re_ctx_p->char_size; in ecma_regexp_run() 1448 const uint32_t chars_size = char_count * re_ctx_p->char_size; in ecma_regexp_run() 1449 const uint32_t ranges_size = range_count * re_ctx_p->char_size * 2; in ecma_regexp_run() 1627 …ctx_p->char_size = (ctx_p->flags & RE_FLAG_UNICODE) ? sizeof (lit_code_point_t) : sizeof (ecma_cha… in ecma_regexp_initialize_context()
|
/third_party/python/Objects/ |
D | unicodeobject.c | 1041 Py_ssize_t char_size; in resize_compact() local 1054 char_size = PyUnicode_KIND(unicode); in resize_compact() 1061 if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) { in resize_compact() 1065 new_size = (struct_size + (length + 1) * char_size); in resize_compact() 1118 Py_ssize_t char_size; in resize_inplace() local 1126 char_size = PyUnicode_KIND(unicode); in resize_inplace() 1130 if (length > (PY_SSIZE_T_MAX / char_size - 1)) { in resize_inplace() 1134 new_size = (length + 1) * char_size; in resize_inplace() 1416 Py_ssize_t char_size; in PyUnicode_New() local 1424 char_size = 1; in PyUnicode_New() [all …]
|
/third_party/python/Lib/test/ |
D | test_unicode.py | 2344 char_size = 1 # sizeof(Py_UCS1) 2347 char_size = 2 # sizeof(Py_UCS2) 2350 char_size = 4 # sizeof(Py_UCS4) 2355 maxlen = ((sys.maxsize - struct_size) // char_size)
|