Home
last modified time | relevance | path

Searched refs:toIntStrict (Results 1 – 21 of 21) sorted by relevance

/dports/www/grafana8/grafana-8.3.6/vendor/github.com/dop251/goja/
H A Dbuiltin_string.go167 return newStringValue(string(s.charAt(toIntStrict(pos))))
188 pos := toIntStrict(p)
259 end := toIntStrict(min(max(pos, 0), l))
458 remaining := toIntStrict(maxLength - stringLength)
463 sb.Grow(toIntStrict(maxLength))
476 sb.Grow(toIntStrict(maxLength))
510 remaining := toIntStrict(maxLength - stringLength)
515 sb.Grow(toIntStrict(maxLength))
528 sb.Grow(toIntStrict(maxLength))
556 num := toIntStrict(numInt)
[all …]
H A Dobject_goslice_reflect.go56 if idx := toIntStrict(int64(idx)); idx >= 0 && idx < o.value.Len() {
92 if idx := toIntStrict(int64(idx)); idx >= 0 && idx < o.value.Len() {
142 newLen := toIntStrict(toLength(v))
153 if i := toIntStrict(int64(idx)); i >= 0 {
214 if i := toIntStrict(int64(idx)); i >= 0 {
275 idx := toIntStrict(int64(i))
H A Dbuiltin_proxy.go55 desc := trap(target, toIntStrict(int64(prop)))
87 return trap(target, toIntStrict(int64(prop)), desc), true
116 return trap(target, toIntStrict(int64(prop))), true
145 return trap(target, toIntStrict(int64(prop)), receiver), true
174 return trap(target, toIntStrict(int64(prop)), value, receiver), true
203 return trap(target, toIntStrict(int64(prop))), true
H A Dobject_dynamic.go561 return a.a.Get(toIntStrict(int64(v)))
565 if a.a.SetLen(toIntStrict(v.ToInteger())) {
592 return a._setIdx(toIntStrict(int64(p)), v, throw)
638 return a._has(toIntStrict(int64(v)))
653 return a._setIdx(toIntStrict(int64(name)), desc.Value, throw)
677 return a._delete(toIntStrict(int64(idx)), throw)
H A Dobject_goslice.go119 newLen := toIntStrict(toLength(v))
130 if i := toIntStrict(int64(idx)); i >= 0 {
194 if i := toIntStrict(int64(idx)); i >= 0 {
H A Dbuiltin_typedarrays.go399 to := toIntStrict(relToIdx(call.Argument(0).ToInteger(), l))
400 from := toIntStrict(relToIdx(call.Argument(1).ToInteger(), l))
406 final := toIntStrict(relToIdx(relEnd, l))
453 k := toIntStrict(relToIdx(call.Argument(1).ToInteger(), l))
460 final := toIntStrict(relToIdx(relEnd, l))
598 for k := toIntStrict(n); k < ta.length; k++ {
633 for k := toIntStrict(n); k < ta.length; k++ {
720 for k := toIntStrict(fromIndex); k >= 0; k-- {
834 targetOffset := toIntStrict(call.Argument(1).ToInteger())
917 end := toIntStrict(relToIdx(e, length))
[all …]
H A Dbuiltin_regexp.go1068 …position := toIntStrict(max(min(nilSafe(obj.self.getStr("index", nil)).ToInteger(), int64(lengthS)…
1186 found := rx.pattern.findAllSubmatchIndex(s, toIntStrict(index), find, rx.pattern.sticky)
H A Druntime.go1096 func toIntStrict(i int64) int { func
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/dop251/goja/
H A Dbuiltin_string.go167 return newStringValue(string(s.charAt(toIntStrict(pos))))
188 pos := toIntStrict(p)
259 end := toIntStrict(min(max(pos, 0), l))
458 remaining := toIntStrict(maxLength - stringLength)
463 sb.Grow(toIntStrict(maxLength))
476 sb.Grow(toIntStrict(maxLength))
510 remaining := toIntStrict(maxLength - stringLength)
515 sb.Grow(toIntStrict(maxLength))
528 sb.Grow(toIntStrict(maxLength))
556 num := toIntStrict(numInt)
[all …]
H A Dobject_goslice_reflect.go56 if idx := toIntStrict(int64(idx)); idx >= 0 && idx < o.value.Len() {
92 if idx := toIntStrict(int64(idx)); idx >= 0 && idx < o.value.Len() {
142 newLen := toIntStrict(toLength(v))
153 if i := toIntStrict(int64(idx)); i >= 0 {
214 if i := toIntStrict(int64(idx)); i >= 0 {
275 idx := toIntStrict(int64(i))
H A Dbuiltin_proxy.go55 desc := trap(target, toIntStrict(int64(prop)))
87 return trap(target, toIntStrict(int64(prop)), desc), true
116 return trap(target, toIntStrict(int64(prop))), true
145 return trap(target, toIntStrict(int64(prop)), receiver), true
174 return trap(target, toIntStrict(int64(prop)), value, receiver), true
203 return trap(target, toIntStrict(int64(prop))), true
H A Dobject_dynamic.go561 return a.a.Get(toIntStrict(int64(v)))
565 if a.a.SetLen(toIntStrict(v.ToInteger())) {
592 return a._setIdx(toIntStrict(int64(p)), v, throw)
638 return a._has(toIntStrict(int64(v)))
653 return a._setIdx(toIntStrict(int64(name)), desc.Value, throw)
677 return a._delete(toIntStrict(int64(idx)), throw)
H A Dobject_goslice.go119 newLen := toIntStrict(toLength(v))
130 if i := toIntStrict(int64(idx)); i >= 0 {
194 if i := toIntStrict(int64(idx)); i >= 0 {
H A Dbuiltin_typedarrays.go399 to := toIntStrict(relToIdx(call.Argument(0).ToInteger(), l))
400 from := toIntStrict(relToIdx(call.Argument(1).ToInteger(), l))
406 final := toIntStrict(relToIdx(relEnd, l))
453 k := toIntStrict(relToIdx(call.Argument(1).ToInteger(), l))
460 final := toIntStrict(relToIdx(relEnd, l))
598 for k := toIntStrict(n); k < ta.length; k++ {
633 for k := toIntStrict(n); k < ta.length; k++ {
720 for k := toIntStrict(fromIndex); k >= 0; k-- {
834 targetOffset := toIntStrict(call.Argument(1).ToInteger())
917 end := toIntStrict(relToIdx(e, length))
[all …]
H A Dbuiltin_regexp.go1068 …position := toIntStrict(max(min(nilSafe(obj.self.getStr("index", nil)).ToInteger(), int64(lengthS)…
1186 found := rx.pattern.findAllSubmatchIndex(s, toIntStrict(index), find, rx.pattern.sticky)
H A Druntime.go1097 func toIntStrict(i int64) int { func
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/JavaScriptCore/wtf/text/
H A DWTFString.cpp463 int String::toIntStrict(bool* ok, int base) const in toIntStrict() function in WTF::String
470 return m_impl->toIntStrict(ok, base); in toIntStrict()
H A DStringImpl.h269 int toIntStrict(bool* ok = 0, int base = 10);
H A DWTFString.h261 int toIntStrict(bool* ok = 0, int base = 10) const;
H A DStringImpl.cpp409 int StringImpl::toIntStrict(bool* ok, int base) in toIntStrict() function in WTF::StringImpl
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/
H A DChangeLog-2008-08-1048704 Used toASCIIHexValue a character at a time rather than using toIntStrict
49001 (WebCore::String::toIntStrict):
49022 (WebCore::StringImpl::toIntStrict):