/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | Buffers.kt | 33 public fun findFirst(value: Byte, start: Int, end: Int = limit): Int in findFirst() 40 public fun getBoolean(index: Int): Boolean in findFirst() 47 public operator fun get(index: Int): Byte in findFirst() 54 public fun getUByte(index: Int): UByte in findFirst() 61 public fun getShort(index: Int): Short in findFirst() 68 public fun getUShort(index: Int): UShort in findFirst() 75 public fun getInt(index: Int): Int in findFirst() 82 public fun getUInt(index: Int): UInt in findFirst() 89 public fun getLong(index: Int): Long in findFirst() 96 public fun getULong(index: Int): ULong in findFirst() [all …]
|
D | ByteArray.kt | 21 internal fun ByteArray.getString(index: Int, size: Int): String = Utf8.decodeUtf8Array(this, index,… in getString() 23 internal fun ByteArray.setString(index: Int, value: String): Int = in getString() 27 internal expect inline fun ByteArray.getUByte(index: Int): UByte in getString() 28 internal expect inline fun ByteArray.getShort(index: Int): Short in getString() 29 internal expect inline fun ByteArray.getUShort(index: Int): UShort in getString() 30 internal expect inline fun ByteArray.getInt(index: Int): Int in getString() 31 internal expect inline fun ByteArray.getUInt(index: Int): UInt in getString() 32 internal expect inline fun ByteArray.getLong(index: Int): Long in getString() 33 internal expect inline fun ByteArray.getULong(index: Int): ULong in getString() 34 internal expect inline fun ByteArray.getFloat(index: Int): Float in getString() [all …]
|
D | FlexBuffersBuilder.kt | 22 private val shareFlag: Int = SHARE_KEYS 25 public constructor(initialCapacity: Int = 1024, shareFlag: Int = SHARE_KEYS) : 29 private val stringKeyPool: HashMap<String, Int> = HashMap() 109 public fun put(value: Int): Unit = set(null, value.toLong()) in put() 114 public inline operator fun set(key: String? = null, value: Int): Unit = set(key, value.toLong()) in put() 193 public fun put(value: String): Int = set(null, value) in put() 198 public operator fun set(key: String? = null, value: String): Int { in put() 214 public fun put(value: ByteArray): Int = set(null, value) in put() 221 public operator fun set(key: String? = null, value: ByteArray): Int { in put() 232 public fun put(value: IntArray): Int = set(null, value) in put() [all …]
|
D | FlexBuffersInternals.kt | 20 public inline class BitWidth(public val value: Int) { 24 public inline class ByteWidth(public val value: Int) in max() 26 public inline class FlexBufferType(public val value: Int) { in max() 29 public operator fun compareTo(other: FlexBufferType): Int = this.value - other.value in max() 32 internal operator fun Int.times(width: ByteWidth): Int = this * width.value in times() 33 internal operator fun Int.minus(width: ByteWidth): Int = this - width.value in times() 34 internal operator fun Int.plus(width: ByteWidth): Int = this + width.value in times() 35 internal operator fun Int.minus(type: FlexBufferType): Int = this - type.value in times() 39 internal inline fun ReadBuffer.getKeyString(start: Int): String { in times() 45 internal inline fun ReadBuffer.readULong(end: Int, byteWidth: ByteWidth): ULong { in readULong() [all …]
|
/third_party/zlib/contrib/ada/ |
D | zlib-thin.ads | 38 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 …]
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/ada/ |
D | zlib-thin.ads | 38 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 …]
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/ada/ |
D | zlib-thin.ads | 38 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 …]
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | PixelRoutine.hpp | 47 …virtual void setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], const SampleSet … 48 virtual void executeShader(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples) = 0; 49 virtual Bool alphaTest(Int cMask[4], const SampleSet &samples) = 0; 50 …virtual void blendColor(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]… 52 …te> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], Int &x, Int &y) over… 54 void alphaTest(Int &aMask, const Short4 &alpha); 55 void alphaToCoverage(Int cMask[4], const Float4 &alpha, const SampleSet &samples); 57 …dex, const Pointer<Byte> &cBuffer, const Int &x, Vector4f &color, const Int &sMask, const Int &zMa… 58 …r4f alphaBlend(int index, const Pointer<Byte> &cBuffer, const Vector4f &sourceColor, const Int &x); 59 …ex, const Pointer<Byte> &cBuffer, const Int &x, Vector4s ¤t, const Int &sMask, const Int &zM… [all …]
|
D | SpirvShaderGroup.cpp | 96 …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 …]
|
D | SpirvShaderImage.cpp | 82 sw::SIMD::Int linear = CmpLT(c, sw::SIMD::Float(0.04045f)); in sRGBtoLinear() 84 …urn rr::As<sw::SIMD::Float>((linear & rr::As<sw::SIMD::Int>(lc)) | (~linear & rr::As<sw::SIMD::Int… in sRGBtoLinear() 339 Int samplerId = 0; in lookupSamplerFunction() 345 …samplerId = *Pointer<rr::Int>(samplerDescriptor + OFFSET(vk::SampledImageDescriptor, samplerId)); … in lookupSamplerFunction() 353 …rr::Int imageViewId = *Pointer<rr::Int>(imageDescriptor + OFFSET(vk::ImageDescriptor, imageViewId)… in lookupSamplerFunction() 424 in[i] = As<SIMD::Float>(SIMD::Int(0)); in callSamplerFunction() 434 in[i] = As<SIMD::Float>(offsetValue.Int(j)); // Integer values, but transfered as float. in callSamplerFunction() 441 in[i] = As<SIMD::Float>(sampleValue.Int(0)); in callSamplerFunction() 488 Int width; in GetImageDimensions() 489 Int height; in GetImageDimensions() [all …]
|
D | PixelProgram.hpp | 34 …virtual void setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], const SampleSet … 35 virtual void executeShader(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples); 36 virtual Bool alphaTest(Int cMask[4], const SampleSet &samples); 37 …virtual void blendColor(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]… 46 static Int4 maskAny(Int cMask[4], const SampleSet &samples); 47 static Int4 maskAny(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples);
|
D | SetupRoutine.cpp | 60 Array<Int> X(16); in generate() 61 Array<Int> Y(16); in generate() 63 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex, projected.x)); in generate() 64 X[1] = *Pointer<Int>(v1 + OFFSET(Vertex, projected.x)); in generate() 65 X[2] = *Pointer<Int>(v2 + OFFSET(Vertex, projected.x)); in generate() 67 Y[0] = *Pointer<Int>(v0 + OFFSET(Vertex, projected.y)); in generate() 68 Y[1] = *Pointer<Int>(v1 + OFFSET(Vertex, projected.y)); in generate() 69 Y[2] = *Pointer<Int>(v2 + OFFSET(Vertex, projected.y)); in generate() 71 Int d = 1; // Winding direction in generate() 86 Int w0w1w2 = *Pointer<Int>(v0 + OFFSET(Vertex, w)) ^ in generate() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | PixelRoutine.hpp | 45 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 ¤t, Int &x); 59 void logicOperation(int index, Pointer<Byte> &cBuffer, Vector4s ¤t, Int &x); 60 …id writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s ¤t, Int &sMask, Int &zMask… [all …]
|
D | SetupRoutine.cpp | 40 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 …]
|
/third_party/boost/libs/optional/test/ |
D | optional_test_flat_map.cpp | 34 struct Int struct 37 explicit Int(int i_) : i(i_) {} in Int() argument 42 typedef optional<Int> result_type; 43 optional<Int> operator()(int i) { if (i != 0) return Int(i); else return boost::none; } in operator ()() 50 verify_type< optional<Int> >(oi.flat_map(convert_t())); in test_flat_map_on_mutable_optional_with_function_object() 51 optional<Int> oI = oi.flat_map(convert_t()); in test_flat_map_on_mutable_optional_with_function_object() 57 optional<Int> oI = oi.flat_map(convert_t()); in test_flat_map_on_mutable_optional_with_function_object() 62 optional<Int> oI = oi.flat_map(convert_t()); in test_flat_map_on_mutable_optional_with_function_object() 71 verify_type< optional<Int> >(oi.flat_map(convert_t())); in test_flat_map_on_const_optional_with_function_object() 72 optional<Int> oI = oi.flat_map(convert_t()); in test_flat_map_on_const_optional_with_function_object() [all …]
|
/third_party/boost/libs/type_traits/test/ |
D | conjunction_test.cpp | 17 struct Int { struct 23 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::conjunction<Int<2>, Int<4> >::value), 4); argument 24 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::conjunction<Int<0>, Int<4> >::value), 0); 27 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::conjunction<Int<2>, Int<4>, Int<6>, 28 Int<8>, Int<10> >::value), 10); 29 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::conjunction<Int<2>, Int<0>, Int<4>, 30 Int<6>, Int<8> >::value), 0); 31 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::conjunction<Int<4> >::value, 4);
|
D | disjunction_test.cpp | 17 struct Int { struct 23 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::disjunction<Int<2>, Int<4> >::value), 2); argument 24 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::disjunction<Int<0>, Int<4> >::value), 4); 27 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::disjunction<Int<2>, Int<4>, Int<6>, 28 Int<8>, Int<10> >::value), 2); 29 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::disjunction<Int<0>, Int<0>, Int<6>, 30 Int<0>, Int<0> >::value), 6); 31 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::disjunction<Int<4> >::value, 4);
|
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/nativeMain/kotlin/com/google/flatbuffers/kotlin/ |
D | ByteArray.kt | 23 public actual inline fun ByteArray.getUByte(index: Int): UByte = getUByteAt(index) 24 public actual inline fun ByteArray.getShort(index: Int): Short = getShortAt(index) 25 public actual inline fun ByteArray.getUShort(index: Int): UShort = getUShortAt(index) 26 public actual inline fun ByteArray.getInt(index: Int): Int = getIntAt(index) 27 public actual inline fun ByteArray.getUInt(index: Int): UInt = getUIntAt(index) 28 public actual inline fun ByteArray.getLong(index: Int): Long = getLongAt(index) 29 public actual inline fun ByteArray.getULong(index: Int): ULong = getULongAt(index) 31 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = setUByteAt(index, val… 32 public actual inline fun ByteArray.setShort(index: Int, value: Short): Unit = setShortAt(index, val… 33 public actual inline fun ByteArray.setUShort(index: Int, value: UShort): Unit = setUShortAt(index, … [all …]
|
/third_party/flatbuffers/tests/MyGame/Example/ |
D | Monster.kt | 16 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 …]
|
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/jsMain/kotlin/com/google/flatbuffers/kotlin/ |
D | ByteArray.kt | 23 public actual inline fun ByteArray.getUByte(index: Int): UByte = ByteArrayOps.getUByte(this, index) 24 public actual inline fun ByteArray.getShort(index: Int): Short = ByteArrayOps.getShort(this, index) 25 public actual inline fun ByteArray.getUShort(index: Int): UShort = ByteArrayOps.getUShort(this, ind… 26 public actual inline fun ByteArray.getInt(index: Int): Int = ByteArrayOps.getInt(this, index) 27 public actual inline fun ByteArray.getUInt(index: Int): UInt = ByteArrayOps.getUInt(this, index) 28 public actual inline fun ByteArray.getLong(index: Int): Long = ByteArrayOps.getLong(this, index) 29 public actual inline fun ByteArray.getULong(index: Int): ULong = ByteArrayOps.getULong(this, index) 30 public actual inline fun ByteArray.getFloat(index: Int): Float = ByteArrayOps.getFloat(this, index) 31 public actual inline fun ByteArray.getDouble(index: Int): Double = ByteArrayOps.getDouble(this, ind… 33 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = ByteArrayOps.setUByte… [all …]
|
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/ |
D | ByteArray.kt | 24 public actual inline fun ByteArray.getUByte(index: Int): UByte = ByteArrayOps.getUByte(this, index) 25 public actual inline fun ByteArray.getShort(index: Int): Short = ByteArrayOps.getShort(this, index) 26 public actual inline fun ByteArray.getUShort(index: Int): UShort = ByteArrayOps.getUShort(this, ind… 27 public actual inline fun ByteArray.getInt(index: Int): Int = ByteArrayOps.getInt(this, index) 28 public actual inline fun ByteArray.getUInt(index: Int): UInt = ByteArrayOps.getUInt(this, index) 29 public actual inline fun ByteArray.getLong(index: Int): Long = ByteArrayOps.getLong(this, index) 30 public actual inline fun ByteArray.getULong(index: Int): ULong = ByteArrayOps.getULong(this, index) 31 public actual inline fun ByteArray.getFloat(index: Int): Float = ByteArrayOps.getFloat(this, index) 32 public actual inline fun ByteArray.getDouble(index: Int): Double = ByteArrayOps.getDouble(this, ind… 34 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = ByteArrayOps.setUByte… [all …]
|
/third_party/gn/src/gn/ |
D | hash_table_base_unittest.cc | 28 class Int { class 30 explicit Int(int x) : x_(x) { creation_counter++; } in Int() function in Int 32 Int(const Int& other) : x_(other.x_) { creation_counter++; } in Int() function in Int 34 ~Int() { destruction_counter++; } in ~Int() 52 size_t Int::creation_counter; 53 size_t Int::destruction_counter; 57 Int* int_ptr; 64 static Int kTombstone; 68 Int TestHashNode::kTombstone(-1); 104 node.int_ptr = new Int(*node.int_ptr); in TestHashTable() [all …]
|
/third_party/skia/third_party/externals/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/ |
D | DrumPlayer.kt | 25 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 …]
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
D | FrameBuffer.cpp | 177 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 …]
|
/third_party/flatbuffers/swift/Sources/FlatBuffers/ |
D | ByteBuffer.swift | 31 var capacity: Int 34 init(count: Int, alignment: Int) { 41 init(memory: UnsafeMutableRawPointer, capacity: Int, unowned: Bool) { 54 func copy(from ptr: UnsafeRawPointer, count: Int) { in copy() 62 func initialize(for size: Int) { in initialize() 72 internal func reallocate(_ size: Int, writerSize: Int, alignment: Int) { in reallocate() 95 private var _writerSize: Int = 0 99 internal var writerIndex: Int { _storage.capacity &- _writerSize } 102 public var reader: Int { writerIndex } 108 public var capacity: Int { _storage.capacity } [all …]
|