• Home
  • Raw
  • Download

Lines Matching refs:uintptr

106 type uintptr generates 'TNode<UintPtrT>' constexpr 'uintptr_t';
357 constexpr uintptr generates 'JSArrayBuffer::kMaxByteLength';
359 constexpr uintptr generates 'JSTypedArray::kMaxLength';
363 // kMaxSafeIntegerUint64 is defined as uintptr and allowed to be used only
365 const kMaxSafeIntegerUint64: constexpr uintptr
369 const kSmiMaxValue: constexpr uintptr generates 'kSmiMaxValue';
370 const kSmiMax: uintptr = kSmiMaxValue;
371 // TODO(v8:8996): Use uintptr version instead and drop this one.
374 constexpr uintptr generates 'String::kMaxLength';
647 extern macro StringCharCodeAt(String, uintptr): int32;
716 extern operator '==' macro WordEqual(uintptr, uintptr): bool;
718 extern operator '!=' macro WordNotEqual(uintptr, uintptr): bool;
720 extern operator '<' macro UintPtrLessThan(uintptr, uintptr): bool;
722 extern operator '>' macro UintPtrGreaterThan(uintptr, uintptr): bool;
724 extern operator '<=' macro UintPtrLessThanOrEqual(uintptr, uintptr): bool;
726 extern operator '>=' macro UintPtrGreaterThanOrEqual(uintptr, uintptr): bool;
728 extern operator '~' macro WordNot(uintptr): uintptr;
730 extern operator '~' macro ConstexprWordNot(constexpr uintptr):
731 constexpr uintptr;
802 constexpr uintptr, constexpr uintptr): constexpr intptr;
811 extern operator '+' macro UintPtrAdd(uintptr, uintptr): uintptr;
812 extern operator '-' macro UintPtrSub(uintptr, uintptr): uintptr;
813 extern operator '<<' macro WordShl(uintptr, uintptr): uintptr;
814 extern operator '>>>' macro WordShr(uintptr, uintptr): uintptr;
815 extern operator '&' macro WordAnd(uintptr, uintptr): uintptr;
816 extern operator '|' macro WordOr(uintptr, uintptr): uintptr;
888 constexpr uintptr, constexpr uintptr): constexpr bool;
890 constexpr uintptr, constexpr int31): constexpr uintptr;
892 constexpr uintptr, constexpr int31): constexpr uintptr;
901 extern macro UintPtrMin(uintptr, uintptr): uintptr;
917 uintptr {
918 return Convert<uintptr>(array.length);
922 operator '.length_uintptr' macro LoadStringLengthAsUintPtr(s: String): uintptr {
951 extern macro ChangeUintPtrToFloat64(uintptr): float64;
952 extern macro ChangeUintPtrToTagged(uintptr): Number;
956 extern macro Unsigned(intptr): uintptr;
957 extern macro Unsigned(RawPtr): uintptr;
961 extern macro Signed(uintptr): intptr;
989 extern macro ChangeFloat64ToUintPtr(float64): uintptr;
993 extern macro ChangeUint32ToWord(uint32): uintptr; // Doesn't sign-extend.
1023 extern macro BitcastWordToTaggedSigned(uintptr): Smi;
1025 extern macro BitcastWordToTagged(uintptr): Object;
1051 Convert<uintptr>(Convert<intptr>(index)),
1052 Convert<uintptr>(Convert<intptr>(length)));
1234 // Does "if (index1 + index2 > limit) goto IfOverflow" in an uintptr overflow
1237 index1: uintptr, index2: uintptr, limit: uintptr) labels IfOverflow {
1258 // The value is a SafeInteger that fits into uintptr range, so no bounds checks
1261 // The value is a SafeInteger that may not fit into uintptr range, so only
1262 // uintptr bounds check is necessary.
1268 uintptr labels IfLessThanZero, IfUIntPtrOverflow, IfSafeIntegerOverflow {
1276 const value: uintptr = Unsigned(Convert<intptr>(valueSmi));
1293 // On 64-bit architectures uintptr range is bigger than safe integer
1301 // On 32-bit architectures uintptr range is smaller than safe integer
1316 macro ChangeUintPtrNumberToUintPtr(value: Number): uintptr {
1327 uintptr labels IfUIntPtrOverflow {
1337 uintptr labels IfLessThanZero, IfUIntPtrOverflow, IfSafeIntegerOverflow {
1347 // We can do this because all callers do a range checks against uintptr length
1351 uintptr labels IfRangeError {
1354 // Less than 0 case, uintptr range overflow and safe integer range overflow
1422 index: JSAny, length: uintptr): uintptr {
1430 macro ConvertToRelativeIndex(indexNumber: Number, length: uintptr): uintptr {
1436 const relativeIndex: uintptr = Unsigned(indexIntPtr) + length;
1440 const relativeIndex: uintptr = Unsigned(indexIntPtr);
1469 index: JSAny, limit: uintptr): uintptr {
1477 macro ClampToIndexRange(indexNumber: Number, limit: uintptr): uintptr {
1481 const index: uintptr = Unsigned(Convert<intptr>(indexSmi));