Home
last modified time | relevance | path

Searched refs:Int (Results 1 – 25 of 1493) sorted by relevance

12345678910>>...60

/external/swiftshader/src/Pipeline/
DPixelRoutine.hpp48 …virtual void setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], int sampleId) = …
49 virtual void applyShader(Int cMask[4], Int sMask[4], Int zMask[4], int sampleId) = 0;
50 virtual Bool alphaTest(Int cMask[4], int sampleId) = 0;
51 …virtual void rasterOperation(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMa…
53 …te> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], Int &x, Int &y) over…
55 void alphaTest(Int &aMask, const Short4 &alpha);
56 void alphaToCoverage(Int cMask[4], const Float4 &alpha, int sampleId);
59 void alphaBlend(int index, const Pointer<Byte> &cBuffer, Vector4s &current, const Int &x);
60 …index, const Pointer<Byte> &cBuffer, const Int &x, Vector4f &oC, const Int &sMask, const Int &zMas…
61 void alphaBlend(int index, const Pointer<Byte> &cBuffer, Vector4f &oC, const Int &x);
[all …]
DPixelProgram.hpp37 virtual void setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], int sampleId);
38 virtual void applyShader(Int cMask[4], Int sMask[4], Int zMask[4], int sampleId);
39 virtual Bool alphaTest(Int cMask[4], int sampleId);
40 …virtual void rasterOperation(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMa…
49 Int4 maskAny(Int cMask[4]) const;
50 Int4 maskAny(Int cMask[4], Int sMask[4], Int zMask[4]) const;
51 Int4 maskAny(Int cMask, Int sMask, Int zMask) const;
DSpirvShaderGroup.cpp96 …SIMD::Int active = state->activeLaneMask(); // Considers helper invocations active. See b/1511370… in EmitGroupNonUniform()
99 auto v0111 = SIMD::Int(0, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF); in EmitGroupNonUniform()
149 auto id = SIMD::Int(GetConstScalarInt(insn.word(5))); in EmitGroupNonUniform()
150 auto mask = CmpEQ(id, SIMD::Int(0, 1, 2, 3)); in EmitGroupNonUniform()
153 dst.move(i, OrAll(value.Int(i) & mask)); in EmitGroupNonUniform()
185 …SIMD::Int active = state->activeLaneMask(); // Considers helper invocations active. See b/1511370… in EmitGroupNonUniform()
188 auto v0111 = SIMD::Int(0, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF); in EmitGroupNonUniform()
192 dst.move(i, OrAll(value.Int(i) & elect)); in EmitGroupNonUniform()
201 …dst.move(0, SIMD::Int(SignMask(state->activeLaneMask() & predicate.Int(0)))); // Considers helper… in EmitGroupNonUniform()
202 dst.move(1, SIMD::Int(0)); in EmitGroupNonUniform()
[all …]
DSpirvShaderImage.cpp81 sw::SIMD::Int linear = CmpLT(c, sw::SIMD::Float(0.04045f)); in sRGBtoLinear()
83 …urn rr::As<sw::SIMD::Float>((linear & rr::As<sw::SIMD::Int>(lc)) | (~linear & rr::As<sw::SIMD::Int in sRGBtoLinear()
304 in[i] = As<SIMD::Float>(SIMD::Int(0)); in EmitImageSampleUnconditional()
315 in[i] = As<SIMD::Float>(offsetValue.Int(j)); // Integer values, but transfered as float. in EmitImageSampleUnconditional()
322 in[i] = As<SIMD::Float>(sampleValue.Int(0)); in EmitImageSampleUnconditional()
384 Int width; in GetImageDimensions()
385 Int height; in GetImageDimensions()
386 Int depth; in GetImageDimensions()
392 width = *Pointer<Int>(descriptor + OFFSET(vk::StorageImageDescriptor, width)); in GetImageDimensions()
393 height = *Pointer<Int>(descriptor + OFFSET(vk::StorageImageDescriptor, height)); in GetImageDimensions()
[all …]
DSetupRoutine.cpp58 Array<Int> X(16); in generate()
59 Array<Int> Y(16); in generate()
61 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex, projected.x)); in generate()
62 X[1] = *Pointer<Int>(v1 + OFFSET(Vertex, projected.x)); in generate()
63 X[2] = *Pointer<Int>(v2 + OFFSET(Vertex, projected.x)); in generate()
65 Y[0] = *Pointer<Int>(v0 + OFFSET(Vertex, projected.y)); in generate()
66 Y[1] = *Pointer<Int>(v1 + OFFSET(Vertex, projected.y)); in generate()
67 Y[2] = *Pointer<Int>(v2 + OFFSET(Vertex, projected.y)); in generate()
69 Int d = 1; // Winding direction in generate()
84 Int w0w1w2 = *Pointer<Int>(v0 + OFFSET(Vertex, w)) ^ in generate()
[all …]
/external/rust/crates/libz-sys/src/zlib/contrib/ada/
Dzlib-thin.ads38 type Int is new Interfaces.C.int;
45 type Int_Access is access Int;
125 function Deflate (strm : Z_Streamp; flush : Int) return Int;
127 function DeflateEnd (strm : Z_Streamp) return Int;
129 function Inflate (strm : Z_Streamp; flush : Int) return Int;
131 function InflateEnd (strm : Z_Streamp) return Int;
137 return Int;
139 function deflateCopy (dest : Z_Streamp; source : Z_Streamp) return Int;
142 function deflateReset (strm : Z_Streamp) return Int; -- zlib.h:495
146 level : Int;
[all …]
/external/starlark-go/starlark/
Dint.go20 type Int struct{ impl intImpl } argument
25 func MakeInt(x int) Int { return MakeInt64(int64(x)) }
28 func MakeInt64(x int64) Int {
36 func MakeUint(x uint) Int { return MakeUint64(uint64(x)) }
39 func MakeUint64(x uint64) Int {
43 return makeBigInt(new(big.Int).SetUint64(x))
48 func MakeBigInt(x *big.Int) Int { argument
52 z := new(big.Int).Set(x)
60 _ HasUnary = Int{}
64 func (i Int) Unary(op syntax.Token) (Value, error) { argument
[all …]
/external/swiftshader/src/Shader/
DPixelRoutine.hpp45 virtual void setBuiltins(Int &x, Int &y, Float4(&z)[4], Float4 &w) = 0;
46 virtual void applyShader(Int cMask[4]) = 0;
47 virtual Bool alphaTest(Int cMask[4]) = 0;
48 …d rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int c…
50 …ad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], Int &x);
52 void alphaTest(Int &aMask, Short4 &alpha);
53 void alphaToCoverage(Int cMask[4], Float4 &alpha);
58 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4s &current, Int &x);
59 void logicOperation(int index, Pointer<Byte> &cBuffer, Vector4s &current, Int &x);
60 …id writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s &current, Int &sMask, Int &zMask…
[all …]
DSetupRoutine.cpp40 Function<Int(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>, Pointer<Byte>)> function; in generate()
65 Array<Int> X(16); in generate()
66 Array<Int> Y(16); in generate()
68 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate()
69 X[1] = *Pointer<Int>(v1 + OFFSET(Vertex,X)); in generate()
70 X[2] = *Pointer<Int>(v2 + OFFSET(Vertex,X)); in generate()
72 Y[0] = *Pointer<Int>(v0 + OFFSET(Vertex,Y)); in generate()
73 Y[1] = *Pointer<Int>(v1 + OFFSET(Vertex,Y)); in generate()
74 Y[2] = *Pointer<Int>(v2 + OFFSET(Vertex,Y)); in generate()
76 Int d = 1; // Winding direction in generate()
[all …]
/external/okio/okio/src/commonMain/kotlin/okio/
DByteString.kt42 internal var hashCode: Int
92 fun substring(beginIndex: Int = 0, endIndex: Int = size): ByteString in utf8()
102 internal fun internalGet(pos: Int): Byte in utf8()
106 operator fun get(index: Int): Byte in utf8()
109 val size: Int in utf8()
113 internal fun getSize(): Int in utf8()
119 internal fun write(buffer: Buffer, offset: Int, byteCount: Int) in utf8()
128 fun rangeEquals(offset: Int, other: ByteString, otherOffset: Int, byteCount: Int): Boolean in utf8()
134 fun rangeEquals(offset: Int, other: ByteArray, otherOffset: Int, byteCount: Int): Boolean in utf8()
145 fun indexOf(other: ByteString, fromIndex: Int = 0): Int in utf8()
[all …]
DBuffer.kt81 override fun write(byteString: ByteString, offset: Int, byteCount: Int): Buffer in emitCompleteSegments()
85 override fun writeUtf8(string: String, beginIndex: Int, endIndex: Int): Buffer in emitCompleteSegments()
87 override fun writeUtf8CodePoint(codePoint: Int): Buffer in emitCompleteSegments()
95 internal fun writableSegment(minimumCapacity: Int): Segment in emitCompleteSegments()
114 override fun write(source: ByteArray, offset: Int, byteCount: Int): Buffer in emitCompleteSegments()
118 override fun writeByte(b: Int): Buffer in emitCompleteSegments()
120 override fun writeShort(s: Int): Buffer in emitCompleteSegments()
122 override fun writeShortLe(s: Int): Buffer in emitCompleteSegments()
124 override fun writeInt(i: Int): Buffer in emitCompleteSegments()
126 override fun writeIntLe(i: Int): Buffer in emitCompleteSegments()
[all …]
/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/
DAtomicFU.common.kt29 public expect fun atomic(initial: Int): AtomicInt in atomic()
57 public fun <T> atomicArrayOfNulls(size: Int): AtomicArray<T?> = AtomicArray(size) in atomic()
214 public var value: Int
219 public fun lazySet(value: Int) in lazySet()
224 public fun compareAndSet(expect: Int, update: Int): Boolean in lazySet()
229 public fun getAndSet(value: Int): Int in lazySet()
234 public fun getAndIncrement(): Int in lazySet()
239 public fun getAndDecrement(): Int in lazySet()
244 public fun getAndAdd(delta: Int): Int in lazySet()
249 public fun addAndGet(delta: Int): Int in lazySet()
[all …]
/external/flatbuffers/tests/MyGame/Example/
DMonster.kt16 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
19 fun __assign(_i: Int, _bb: ByteBuffer) : Monster { in __assign()
67 fun inventory(j: Int) : UByte { in nameInByteBuffer()
75 val inventoryLength : Int
81 fun mutateInventory(j: Int, inventory: UByte) : Boolean { in inventoryInByteBuffer()
121 fun test4(j: Int) : MyGame.Example.Test? = test4(MyGame.Example.Test(), j) in test4()
122 fun test4(obj: MyGame.Example.Test, j: Int) : MyGame.Example.Test? { in test4()
130 val test4Length : Int
134 fun testarrayofstring(j: Int) : String? { in testarrayofstring()
142 val testarrayofstringLength : Int
[all …]
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/
DReactorPlaysScrabble.kt21 public override fun play(): List<Map.Entry<Int, List<String>>> { in <lambda>()
22 …val scoreOfALetter = Function<Int, Flux<Int>> { letter -> Flux.just(letterScores[letter - 'a'.toIn… in <lambda>()
24 val letterScore = Function<Map.Entry<Int, LongWrapper>, Flux<Int>> { entry -> in <lambda>()
33 val toIntegerStream = Function<String, Flux<Int>> { string -> in <lambda>()
37 val histoOfLetters = Function<String, Flux<HashMap<Int, LongWrapper>>> { word -> in <lambda>()
41 { map: HashMap<Int, LongWrapper>, value: Int -> in <lambda>()
52 val blank = Function<Map.Entry<Int, LongWrapper>, Flux<Long>> { entry -> in <lambda>()
58 ….flatMap<Map.Entry<Int, LongWrapper>> { map -> Flux.fromIterable<Map.Entry<Int, LongWrapper>>(Iter… in <lambda>()
69 val score2 = Function<String, Flux<Int>> { word -> in <lambda>()
71 ….flatMap<Map.Entry<Int, LongWrapper>> { map -> Flux.fromIterable<Map.Entry<Int, LongWrapper>>(Iter… in <lambda>()
[all …]
/external/llvm-project/llvm/test/TableGen/
Dmath.td14 class Int<int value> {
18 def int2 : Int<2>;
19 def int1022 : Int<1022>;
20 def int1024 : Int<1024>;
24 def v0a : Int<!sub(int1024.Value, int1024.Value)>;
28 def v0b : Int<!and(int1024.Value, 2048)>;
32 def v1 : Int<!and(1025, 1)>;
36 def v1019 : Int<!sub(int1022.Value, 3)>;
40 def v1023 : Int<!or(int1022.Value, 1)>;
42 def v1025 : Int<!add(int1024.Value, 1)>;
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/
DFlowInvariantsTest.kt40 fun testWithContextContract() = runParametrizedTest<Int>(IllegalStateException::class) { flow -> in <lambda>()
51 …fun testWithDispatcherContractViolated() = runParametrizedTest<Int>(IllegalStateException::class) … in <lambda>()
62 …fun testWithNameContractViolated() = runParametrizedTest<Int>(IllegalStateException::class) { flow… in <lambda>()
92 fun testScopedJob() = runParametrizedTest<Int>(IllegalStateException::class) { flow -> in <lambda>()
100 …fun testScopedJobWithViolation() = runParametrizedTest<Int>(IllegalStateException::class) { flow -> in <lambda>()
108 fun testMergeViolation() = runParametrizedTest<Int> { flow -> in <lambda>()
109 fun Flow<Int>.merge(other: Flow<Int>): Flow<Int> = flow { in <lambda>()
118 fun Flow<Int>.trickyMerge(other: Flow<Int>): Flow<Int> = flow { in <lambda>()
136 fun Flow<Int>.merge(other: Flow<Int>): Flow<Int> = channelFlow { in <lambda>()
143 fun Flow<Int>.trickyMerge(other: Flow<Int>): Flow<Int> = channelFlow { in <lambda>()
[all …]
/external/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DDrumPlayer.kt25 val NUM_PLAY_CHANNELS: Int = 2 // The number of channels in the player Stream.
29 val NUM_SAMPLE_CHANNELS: Int = 1; // All WAV resource must be mono
32 val BASSDRUM: Int = 0
33 val SNAREDRUM: Int = 1
34 val CRASHCYMBAL: Int = 2
35 val RIDECYMBAL: Int = 3
36 val MIDTOM: Int = 4
37 val LOWTOM: Int = 5
38 val HIHATOPEN: Int = 6
39 val HIHATCLOSED: Int = 7
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dmake_p256-x86_64-tests.go29 zero, one, p, R, Rinv *big.Int
43 zero = new(big.Int)
44 one = new(big.Int).SetInt64(1)
48 R = new(big.Int)
52 Rinv = new(big.Int).ModInverse(R, p)
57 func modMul(z, x, y *big.Int) *big.Int { argument
62 func toMontgomery(z, x *big.Int) *big.Int { argument
66 func fromMontgomery(z, x *big.Int) *big.Int { argument
70 func isAffineInfinity(x, y *big.Int) bool { argument
76 func randNonZeroInt(max *big.Int) *big.Int { argument
[all …]
/external/swiftshader/src/Main/
DFrameBuffer.cpp177 For(Int y = 0, y < height, y++) in copyRoutine()
182 Int x0 = 0; in copyRoutine()
189 Int x = x0; in copyRoutine()
253 *Pointer<Int>(d) = *Pointer<Int>(s); in copyRoutine()
258 Int rgba = *Pointer<Int>(s); in copyRoutine()
260 *Pointer<Int>(d) = ((rgba & Int(0x00FF0000)) >> 16) | in copyRoutine()
261 ((rgba & Int(0x000000FF)) << 16) | in copyRoutine()
262 (rgba & Int(0xFF00FF00)); in copyRoutine()
269 *Pointer<Int>(d) = Int(As<Int2>(PackUnsigned(c, c))); in copyRoutine()
274 Int rgb = Int(*Pointer<Short>(s)); in copyRoutine()
[all …]
/external/flatbuffers/tests/union_vector/
DMovie.kt11 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
14 fun __assign(_i: Int, _bb: ByteBuffer) : Movie { in __assign()
35 fun charactersType(j: Int) : UByte { in charactersType()
43 val charactersTypeLength : Int
49 fun mutateCharactersType(j: Int, charactersType: UByte) : Boolean { in charactersTypeInByteBuffer()
58 fun characters(obj: Table, j: Int) : Table? { in characters()
66 val charactersLength : Int
78 …ainCharacterType: UByte, mainCharacterOffset: Int, charactersTypeOffset: Int, charactersOffset: In… in MovieBufferHasIdentifier()
88 …fun addMainCharacter(builder: FlatBufferBuilder, mainCharacter: Int) = builder.addOffset(1, mainCh… in startMovie()
89 …fun addCharactersType(builder: FlatBufferBuilder, charactersType: Int) = builder.addOffset(2, char… in startMovie()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DChannelFactoryTest.kt14 assertTrue(Channel<Int>() is RendezvousChannel) in testRendezvousChannel()
15 assertTrue(Channel<Int>(0) is RendezvousChannel) in testRendezvousChannel()
20 assertTrue(Channel<Int>(Channel.UNLIMITED) is LinkedListChannel) in testLinkedListChannel()
21 assertTrue(Channel<Int>(Channel.UNLIMITED, BufferOverflow.DROP_OLDEST) is LinkedListChannel) in testLinkedListChannel()
22 assertTrue(Channel<Int>(Channel.UNLIMITED, BufferOverflow.DROP_LATEST) is LinkedListChannel) in testLinkedListChannel()
27 assertTrue(Channel<Int>(Channel.CONFLATED) is ConflatedChannel) in testConflatedChannel()
28 assertTrue(Channel<Int>(1, BufferOverflow.DROP_OLDEST) is ConflatedChannel) in testConflatedChannel()
33 assertTrue(Channel<Int>(1) is ArrayChannel) in testArrayChannel()
34 assertTrue(Channel<Int>(1, BufferOverflow.DROP_LATEST) is ArrayChannel) in testArrayChannel()
35 assertTrue(Channel<Int>(10) is ArrayChannel) in testArrayChannel()
[all …]
/external/llvm/include/llvm/Analysis/
DIntervalIterator.h68 inline void addNodeToInterval(Interval *Int, BasicBlock *BB) { in addNodeToInterval() argument
69 Int->Nodes.push_back(BB); in addNodeToInterval()
79 inline void addNodeToInterval(Interval *Int, Interval *I) { in addNodeToInterval() argument
81 Int->Nodes.insert(Int->Nodes.end(), I->Nodes.begin(), I->Nodes.end()); in addNodeToInterval()
180 Interval *Int = new Interval(Header); in ProcessInterval() local
185 ProcessNode(Int, getSourceGraphNode(OrigContainer, *I)); in ProcessInterval()
187 IntStack.push_back(std::make_pair(Int, succ_begin(Int))); in ProcessInterval()
200 void ProcessNode(Interval *Int, NodeTy *Node) { in ProcessNode() argument
201 assert(Int && "Null interval == bad!"); in ProcessNode()
207 if (Int->contains(NodeHeader)) { // Already in this interval... in ProcessNode()
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DIntervalIterator.h72 inline void addNodeToInterval(Interval *Int, BasicBlock *BB) { in addNodeToInterval() argument
73 Int->Nodes.push_back(BB); in addNodeToInterval()
82 inline void addNodeToInterval(Interval *Int, Interval *I) { in addNodeToInterval() argument
84 Int->Nodes.insert(Int->Nodes.end(), I->Nodes.begin(), I->Nodes.end()); in addNodeToInterval()
181 Interval *Int = new Interval(Header); in ProcessInterval() local
186 ProcessNode(Int, getSourceGraphNode(OrigContainer, *I)); in ProcessInterval()
188 IntStack.push_back(std::make_pair(Int, succ_begin(Int))); in ProcessInterval()
200 void ProcessNode(Interval *Int, NodeTy *Node) { in ProcessNode() argument
201 assert(Int && "Null interval == bad!"); in ProcessNode()
207 if (Int->contains(NodeHeader)) { // Already in this interval... in ProcessNode()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DIntervalIterator.h72 inline void addNodeToInterval(Interval *Int, BasicBlock *BB) { in addNodeToInterval() argument
73 Int->Nodes.push_back(BB); in addNodeToInterval()
82 inline void addNodeToInterval(Interval *Int, Interval *I) { in addNodeToInterval() argument
84 Int->Nodes.insert(Int->Nodes.end(), I->Nodes.begin(), I->Nodes.end()); in addNodeToInterval()
181 Interval *Int = new Interval(Header); in ProcessInterval() local
186 ProcessNode(Int, getSourceGraphNode(OrigContainer, *I)); in ProcessInterval()
188 IntStack.push_back(std::make_pair(Int, succ_begin(Int))); in ProcessInterval()
200 void ProcessNode(Interval *Int, NodeTy *Node) { in ProcessNode() argument
201 assert(Int && "Null interval == bad!"); in ProcessNode()
207 if (Int->contains(NodeHeader)) { // Already in this interval... in ProcessNode()
[all …]
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/tailcall/
DSimpleChannel.kt14 const val NULL_SURROGATE: Int = -1
20 protected var enqueuedValue: Int = NULL_SURROGATE
22 protected var consumer: Continuation<Int>? = null
24 suspend fun send(element: Int) { in send()
33 private fun offer(element: Int): Boolean { in offer()
43 suspend fun receive(): Int { in receive()
55 abstract suspend fun suspendReceive(): Int in suspendReceive()
56 abstract suspend fun suspendSend(element: Int) in suspendReceive()
60 override suspend fun suspendReceive(): Int = suspendCoroutineUninterceptedOrReturn { in suspendReceive()
65 override suspend fun suspendSend(element: Int) = suspendCoroutineUninterceptedOrReturn<Unit> { in suspendReceive()
[all …]

12345678910>>...60