Home
last modified time | relevance | path

Searched refs:uintptr (Results 1 – 25 of 53) sorted by relevance

123

/external/v8/src/builtins/
Dconvert.tq25 FromConstexpr<uintptr, constexpr uintptr>(i: constexpr uintptr): uintptr {
26 return %FromConstexpr<uintptr>(i);
78 FromConstexpr<uintptr, constexpr int31>(i: constexpr int31): uintptr {
159 Convert<uintptr, uint32>(ui: uint32): uintptr {
200 Convert<uint32, uintptr>(ui: uintptr): uint32 {
206 Convert<uintptr, PositiveSmi>(ps: PositiveSmi): uintptr {
215 Convert<intptr, uintptr>(ui: uintptr): intptr {
224 Convert<PositiveSmi, uintptr>(ui: uintptr): PositiveSmi labels IfOverflow {
239 return Convert<PositiveSmi>(Convert<uintptr>(ui)) otherwise IfOverflow;
250 Convert<uintptr, Number>(n: Number): uintptr {
[all …]
Dtyped-array.tq26 macro CalculateByteLength(length: uintptr): uintptr labels IfInvalid {
36 macro CalculateLength(byteLength: uintptr): uintptr labels IfInvalid {
44 macro IsUnaligned(bytes: uintptr): bool {
52 sizeLog2: uintptr;
61 RawPtr, RawPtr, uintptr): void;
63 RawPtr, RawPtr, uintptr): void;
65 RawPtr, intptr, uintptr): void;
77 RawPtr, uintptr, constexpr ElementsKind): Numeric;
79 Context, JSTypedArray, uintptr, Numeric, constexpr ElementsKind);
81 Context, JSTypedArray, uintptr, JSAny, constexpr ElementsKind)
[all …]
Dtyped-array-slice.tq11 JSTypedArray, JSTypedArray, uintptr, uintptr): void;
14 src: typed_array::AttachedJSTypedArray, dest: JSTypedArray, k: uintptr,
15 count: uintptr) labels IfSlow {
30 const countBytes: uintptr = destInfo.CalculateByteLength(count)
32 const startOffset: uintptr = destInfo.CalculateByteLength(k)
43 src: JSTypedArray, dest: JSTypedArray, k: uintptr, final: uintptr) {
65 const len: uintptr = src.length;
71 const k: uintptr =
79 const final: uintptr =
83 const count: uintptr = Unsigned(IntPtrMax(Signed(final - k), 0));
Dtyped-array-createtypedarray.tq12 implicit context: Context)(uintptr): JSArrayBuffer;
13 extern macro CodeStubAssembler::AllocateByteArray(uintptr): ByteArray;
24 byteOffset: uintptr, byteLength: uintptr, length: uintptr): JSTypedArray {
35 const backingStore: uintptr = Convert<uintptr>(buffer.backing_store_ptr);
71 initialize: constexpr bool, map: Map, length: uintptr,
78 const byteOffset: uintptr = 0;
121 const length: uintptr = ToIndex(lengthObj) otherwise RangeError;
135 map: Map, arrayLike: HeapObject, length: uintptr,
175 labels IfConstructByArrayLike(JSArray, uintptr, JSReceiver) {
187 labels IfConstructByArrayLike(JSTypedArray, uintptr, JSReceiver) {
[all …]
Dic.tq12 maybeFeedbackVector: Undefined|FeedbackVector, slotId: uintptr): void {
20 maybeFeedbackVector: Undefined|FeedbackVector, slotId: uintptr): void {
29 slotId: uintptr): never labels ConstructGeneric,
52 extern macro LoadFeedbackVectorSlot(FeedbackVector, uintptr): MaybeObject;
56 FeedbackVector, uintptr, MaybeObject): void;
58 FeedbackVector, uintptr, HeapObject): MaybeObject;
59 extern macro ReportFeedbackUpdate(FeedbackVector, uintptr, constexpr string);
Dbase.tq106 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;
[all …]
Dstring-endswith.tq7 string: String, searchStr: String, start: uintptr,
8 searchLength: uintptr): Boolean labels Slow {
12 let searchIndex: uintptr = 0;
13 let stringIndex: uintptr = start;
49 const len: uintptr = string.length_uintptr;
54 const end: uintptr =
58 const searchLength: uintptr = searchStr.length_uintptr;
61 const start: uintptr = end - searchLength;
Dtyped-array-sort.tq35 source: FixedArray, from: uintptr, middle: uintptr, to: uintptr,
37 let left: uintptr = from;
38 let right: uintptr = middle;
40 for (let targetIndex: uintptr = from; targetIndex < to; ++targetIndex) {
67 source: FixedArray, from: uintptr, to: uintptr, target: FixedArray,
70 const middle: uintptr = from + ((to - from) >>> 1);
107 const len: uintptr = array.length;
136 for (let i: uintptr = 0; i < len; ++i) {
145 for (let i: uintptr = 0; i < len; ++i) {
Dbuiltins-string.tq47 String, uintptr, uintptr): String;
103 IfInBounds(String, uintptr, uintptr), IfOutOfBounds {
111 // Convert the {position} to a uintptr and check that it's in bounds of
115 const length: uintptr = string.length_uintptr;
116 const index: uintptr = Unsigned(Convert<intptr>(indexSmi));
141 } label IfInBounds(string: String, index: uintptr, _length: uintptr) {
156 } label IfInBounds(string: String, index: uintptr, _length: uintptr) {
171 } label IfInBounds(string: String, index: uintptr, length: uintptr) {
251 receiver: String, position: uintptr): String {
Dstring-substring.tq12 const length: uintptr = string.length_uintptr;
16 let start: uintptr = arg0 != Undefined ? ClampToIndexRange(arg0, length) : 0;
20 let end: uintptr =
23 const tmp: uintptr = end;
Dtyped-array-subarray.tq23 const srcLength: uintptr = source.length;
30 const begin: uintptr =
38 const end: uintptr =
42 const newLength: uintptr = Unsigned(IntPtrMax(Signed(end - begin), 0));
50 const srcByteOffset: uintptr = source.byte_offset;
Dinternal.tq16 description: TemplateObjectDescription, slot: uintptr,
51 Map | FixedArray, uintptr, Undefined | FeedbackVector): FixedArray;
54 enumerator: Map|FixedArray, slot: uintptr,
63 SmiTagged<ForInFeedback>, Undefined | FeedbackVector, uintptr);
67 context: Context, slot: uintptr, receiver: JSAnyNotSmi, key: JSAny,
78 context: Context, slot: uintptr, receiver: JSAnyNotSmi,
Ddata-view.tq115 extern macro DataViewBuiltinsAssembler::LoadUint8(RawPtr, uintptr): uint32;
116 extern macro DataViewBuiltinsAssembler::LoadInt8(RawPtr, uintptr): int32;
119 buffer: JSArrayBuffer, offset: uintptr, signed: constexpr bool): Smi {
128 buffer: JSArrayBuffer, offset: uintptr, requestedLittleEndian: bool,
155 buffer: JSArrayBuffer, offset: uintptr, requestedLittleEndian: bool,
184 buffer: JSArrayBuffer, offset: uintptr,
227 const highPart: intptr = Signed(Convert<uintptr>(highWord));
228 const lowPart: intptr = Signed(Convert<uintptr>(lowWord));
326 buffer: JSArrayBuffer, offset: uintptr, requestedLittleEndian: bool,
367 const getIndex: uintptr = ToIndex(requestIndex) otherwise RangeError;
[all …]
Dstring-slice.tq15 const length: uintptr = string.length_uintptr;
19 const start: uintptr =
25 const end: uintptr =
Dic-callable.tq8 extern macro IncrementCallCount(FeedbackVector, uintptr): void;
27 slotId: uintptr): void labels TransitionToMegamorphic {
48 feedbackVector: FeedbackVector, slotId: uintptr): void {
55 maybeFeedbackVector: Undefined|FeedbackVector, slotId: uintptr): void {
105 maybeFeedbackVector: Undefined|FeedbackVector, slotId: uintptr): void {
142 FeedbackVector, uintptr): AllocationSite;
147 slotId: uintptr): never labels ConstructGeneric,
Dstring-substr.tq17 const size: uintptr = string.length_uintptr;
22 const initStart: uintptr =
31 const resultLength: uintptr = length != Undefined ?
Dtyped-array-set.tq18 uintptr, // sourceLength
19 uintptr // destOffset
26 uintptr, // sourceLength
27 uintptr // destOffset
53 let targetOffset: uintptr = 0;
113 target: JSTypedArray, arrayArg: JSAny, targetOffset: uintptr,
194 targetOffset: uintptr,
204 const srcLength: uintptr = typedArray.length;
262 const countBytes: uintptr =
265 const startOffset: uintptr =
Dtorque-internal.tq37 if (Convert<uintptr>(index) < Convert<uintptr>(this.length)) {
49 macro AtIndex(index: uintptr):&T {
74 Convert<uintptr>(endIndex) <= Convert<uintptr>(this.length) &&
75 Convert<uintptr>(startIndex) <= Convert<uintptr>(endIndex));
Dstring-startswith.tq30 const len: uintptr = string.length_uintptr;
35 const start: uintptr =
39 const searchLength: uintptr = searchStr.length_uintptr;
Dtyped-array-foreach.tq14 const length: uintptr = witness.Get().length;
15 for (let k: uintptr = 0; k < length; k++) {
Dtyped-array-findindex.tq15 const length: uintptr = witness.Get().length;
16 for (let k: uintptr = 0; k < length; k++) {
Dtyped-array-of.tq17 const len: uintptr = Unsigned(arguments.length);
34 for (let k: uintptr = 0; k < len; k++) {
/external/v8/src/objects/
Djs-array-buffer.tq15 byte_length: uintptr;
40 byte_offset: uintptr;
41 byte_length: uintptr;
46 length: uintptr;
/external/u-boot/test/stdint/
Dint-types.c5 uintptr_t uintptr = 0; in test_types() local
9 printf("uintptr = %lu\n", uintptr); in test_types()
/external/v8/test/torque/
Dtest-torque.tq913 static_assert(Convert<uintptr>(5) < Convert<uintptr>(6));
914 static_assert(!(Convert<uintptr>(5) < Convert<uintptr>(5)));
915 static_assert(!(Convert<uintptr>(6) < Convert<uintptr>(5)));
916 static_assert(Convert<uintptr>(5) <= Convert<uintptr>(5));
917 static_assert(Convert<uintptr>(5) <= Convert<uintptr>(6));
918 static_assert(!(Convert<uintptr>(6) <= Convert<uintptr>(5)));
1094 // Some other bitfield structs, to verify getting uintptr values out of word32
1097 a: uintptr: 5 bit;
1098 b: uintptr: 6 bit;
1100 bitfield struct TestBitFieldStruct3 extends uintptr {
[all …]

123