Lines Matching defs:limit
1433 JSHandle<JSTaggedValue> jsString, JSHandle<JSTaggedValue> limit,
1438 if (limit->IsUndefined()) {
1441 } else if (limit->IsInt()) {
1442 int64_t lim = limit->GetInt();
1503 // 17. If limit is undefined, let lim be 2^32–1; else let lim be ToUint32(limit).
1505 if (limit->IsUndefined()) {
1508 lim = JSTaggedValue::ToUint32(thread, limit);
1645 JSHandle<JSTaggedValue> limit = GetCallArg(argv, 1);
1656 return RegExpSplit(thread, thisObj, jsString, limit, isFastPath);
1660 JSHandle<JSTaggedValue> jsString, uint32_t limit, bool useCache)
1662 if (limit == 0) {
1735 if (arrLen == limit) {
1764 if (arrLen == limit) {
1786 if (limit == MAX_SPLIT_LIMIT) {