Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/objects/
Djs-regexp.h70 V8_EXPORT_PRIVATE Object code(bool is_latin1) const;
73 V8_EXPORT_PRIVATE Object bytecode(bool is_latin1) const;
142 static constexpr int code_index(bool is_latin1) { in code_index() argument
143 return is_latin1 ? kIrregexpLatin1CodeIndex : kIrregexpUC16CodeIndex; in code_index()
146 static constexpr int bytecode_index(bool is_latin1) { in bytecode_index() argument
147 return is_latin1 ? kIrregexpLatin1BytecodeIndex in bytecode_index()
Djs-regexp.cc160 Object JSRegExp::code(bool is_latin1) const { in code()
162 Object value = DataAt(code_index(is_latin1)); in code()
167 void JSRegExp::set_code(bool is_latin1, Handle<Code> code) { in set_code() argument
168 SetDataAt(code_index(is_latin1), ToCodeT(*code)); in set_code()
171 Object JSRegExp::bytecode(bool is_latin1) const { in bytecode()
174 return DataAt(bytecode_index(is_latin1)); in bytecode()
/third_party/node/deps/v8/src/runtime/
Druntime-test.cc1332 bool is_latin1 = Oddball::cast(args[1]).ToBool(isolate); in RUNTIME_FUNCTION() local
1335 result = regexp.bytecode(is_latin1).IsByteArray(); in RUNTIME_FUNCTION()
1346 bool is_latin1 = Oddball::cast(args[1]).ToBool(isolate); in RUNTIME_FUNCTION() local
1349 result = regexp.code(is_latin1).IsCodeT(); in RUNTIME_FUNCTION()