Lines Matching defs:global
281 // 2. Check whether the regexp is global or sticky, which determines whether we update last index later on.
282 bool global = GetOriginalFlag(thread, regexp, RegExpParser::FLAG_GLOBAL);
284 bool ifUpdateLastIndex = global || sticky;
620 // 7. If global is false, then
761 bool global = false;
772 global = GetOriginalFlag(thread, matcher, RegExpParser::FLAG_GLOBAL);
810 // 9. If flags contains "g", let global be true.
811 // 10. Else, let global be false.
814 global = true;
824 // 13. Return ! CreateRegExpStringIterator(matcher, S, global, fullUnicode).
826 string, global, fullUnicode).GetTaggedValue();
1020 // 8. Let global be ToBoolean(Get(rx, "global")).
1032 // 9. ReturnIfAbrupt(global).
1036 // 10. If global is true, then
1118 // ii. If global is false, set done to true.
2059 // Create a new RegExp on global
2112 bool global = GetOriginalFlag(thread, regexp, RegExpParser::FLAG_GLOBAL);
2114 if (global || sticky) {
2129 // check global and sticky flag to determine whether need to update lastIndex
2130 bool global = GetOriginalFlag(thread, regexp, RegExpParser::FLAG_GLOBAL);
2132 bool ifUpdateLastIndex = global || sticky;