Home
last modified time | relevance | path

Searched refs:getInt (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/third_party/flatbuffers/java/com/google/flatbuffers/
DTable.java58 return bb.getShort(vtable + vtable_offset - bb.getInt(vtable)) + vtable; in __offset()
68 return offset + bb.getInt(offset); in __indirect()
79 return offset + bb.getInt(offset); in __indirect()
111 offset += bb.getInt(offset); in __string()
112 int length = bb.getInt(offset); in __string()
124 offset += bb.getInt(offset); in __vector_len()
125 return bb.getInt(offset); in __vector_len()
136 return offset + bb.getInt(offset) + SIZEOF_INT; // data starts after the length in __vector()
257 offset_1 += bb.getInt(offset_1); in compareStrings()
258 offset_2 += bb.getInt(offset_2); in compareStrings()
[all …]
/third_party/flatbuffers/php/
DTable.php53 $vtable = $this->bb_pos - $this->bb->getInt($this->bb_pos);
63 return $offset + $this->bb->getInt($offset);
74 $offset += $this->bb->getInt($offset);
75 $len = $this->bb->getInt($offset);
87 $offset += $this->bb->getInt($offset);
88 return $this->bb->getInt($offset);
99 return $offset + $this->bb->getInt($offset) + Constants::SIZEOF_INT;
120 $table->setByteBufferPos($offset + $this->bb->getInt($offset));
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterDataReader.java446 sd.structSize = byteBuffer.getInt(); in readStaticData()
450 sd.codepage = byteBuffer.getInt(); in readStaticData()
472 h.countStates = byteBuffer.getInt(); in readMBCSHeader()
473 h.countToUFallbacks = byteBuffer.getInt(); in readMBCSHeader()
474 h.offsetToUCodeUnits = byteBuffer.getInt(); in readMBCSHeader()
475 h.offsetFromUTable = byteBuffer.getInt(); in readMBCSHeader()
476 h.offsetFromUBytes = byteBuffer.getInt(); in readMBCSHeader()
477 h.flags = byteBuffer.getInt(); in readMBCSHeader()
478 h.fromUBytesLength = byteBuffer.getInt(); in readMBCSHeader()
480 h.options = byteBuffer.getInt(); in readMBCSHeader()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DRBBIDataWrapper.java69 This.fNumStates = bytes.getInt(); in get()
70 This.fRowLen = bytes.getInt(); in get()
71 This.fFlags = bytes.getInt(); in get()
72 This.fReserved = bytes.getInt(); in get()
267 This.fHeader.fMagic = bytes.getInt(); in get()
272 This.fHeader.fLength = bytes.getInt(); in get()
273 This.fHeader.fCatCount = bytes.getInt(); in get()
274 This.fHeader.fFTable = bytes.getInt(); in get()
275 This.fHeader.fFTableLen = bytes.getInt(); in get()
276 This.fHeader.fRTable = bytes.getInt(); in get()
[all …]
DUCharacterNameReader.java64 m_tokenstringindex_ = m_byteBuffer_.getInt(); in read()
65 m_groupindex_ = m_byteBuffer_.getInt(); in read()
66 m_groupstringindex_ = m_byteBuffer_.getInt(); in read()
67 m_algnamesindex_ = m_byteBuffer_.getInt(); in read()
89 count = m_byteBuffer_.getInt(); in read()
163 int rangestart = m_byteBuffer_.getInt(); in readAlg()
164 int rangeend = m_byteBuffer_.getInt(); in readAlg()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRBBIDataWrapper.java79 This.fNumStates = bytes.getInt(); in get()
80 This.fRowLen = bytes.getInt(); in get()
81 This.fDictCategoriesStart = bytes.getInt(); in get()
82 This.fLookAheadResultsSize = bytes.getInt(); in get()
83 This.fFlags = bytes.getInt(); in get()
299 This.fHeader.fMagic = bytes.getInt(); in get()
304 This.fHeader.fLength = bytes.getInt(); in get()
305 This.fHeader.fCatCount = bytes.getInt(); in get()
306 This.fHeader.fFTable = bytes.getInt(); in get()
307 This.fHeader.fFTableLen = bytes.getInt(); in get()
[all …]
DUCharacterNameReader.java64 m_tokenstringindex_ = m_byteBuffer_.getInt(); in read()
65 m_groupindex_ = m_byteBuffer_.getInt(); in read()
66 m_groupstringindex_ = m_byteBuffer_.getInt(); in read()
67 m_algnamesindex_ = m_byteBuffer_.getInt(); in read()
89 count = m_byteBuffer_.getInt(); in read()
163 int rangestart = m_byteBuffer_.getInt(); in readAlg()
164 int rangeend = m_byteBuffer_.getInt(); in readAlg()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DProto2MessageFactory.java83 builder.setFieldInt325(data.getInt()); in newMessage()
85 builder.setFieldFixed327(data.getInt()); in newMessage()
91 builder.setFieldUint3212(data.getInt()); in newMessage()
93 builder.setFieldSfixed3214(data.getInt()); in newMessage()
95 builder.setFieldSint3216(data.getInt()); in newMessage()
103 builder.addFieldInt32List22(data.getInt()); in newMessage()
105 builder.addFieldFixed32List24(data.getInt()); in newMessage()
110 builder.addFieldUint32List29(data.getInt()); in newMessage()
112 builder.addFieldSfixed32List31(data.getInt()); in newMessage()
114 builder.addFieldSint32List33(data.getInt()); in newMessage()
[all …]
DProto2MessageLiteFactory.java85 builder.setFieldInt325(data.getInt()); in newMessage()
87 builder.setFieldFixed327(data.getInt()); in newMessage()
93 builder.setFieldUint3212(data.getInt()); in newMessage()
95 builder.setFieldSfixed3214(data.getInt()); in newMessage()
97 builder.setFieldSint3216(data.getInt()); in newMessage()
105 builder.addFieldInt32List22(data.getInt()); in newMessage()
107 builder.addFieldFixed32List24(data.getInt()); in newMessage()
112 builder.addFieldUint32List29(data.getInt()); in newMessage()
114 builder.addFieldSfixed32List31(data.getInt()); in newMessage()
116 builder.addFieldSint32List33(data.getInt()); in newMessage()
[all …]
DProto3MessageFactory.java81 builder.setFieldInt325(data.getInt()); in newMessage()
83 builder.setFieldFixed327(data.getInt()); in newMessage()
89 builder.setFieldUint3212(data.getInt()); in newMessage()
91 builder.setFieldSfixed3214(data.getInt()); in newMessage()
93 builder.setFieldSint3216(data.getInt()); in newMessage()
101 builder.addFieldInt32List22(data.getInt()); in newMessage()
103 builder.addFieldFixed32List24(data.getInt()); in newMessage()
108 builder.addFieldUint32List29(data.getInt()); in newMessage()
110 builder.addFieldSfixed32List31(data.getInt()); in newMessage()
112 builder.addFieldSint32List33(data.getInt()); in newMessage()
[all …]
DProto3MessageLiteFactory.java83 builder.setFieldInt325(data.getInt()); in newMessage()
85 builder.setFieldFixed327(data.getInt()); in newMessage()
91 builder.setFieldUint3212(data.getInt()); in newMessage()
93 builder.setFieldSfixed3214(data.getInt()); in newMessage()
95 builder.setFieldSint3216(data.getInt()); in newMessage()
103 builder.addFieldInt32List22(data.getInt()); in newMessage()
105 builder.addFieldFixed32List24(data.getInt()); in newMessage()
110 builder.addFieldUint32List29(data.getInt()); in newMessage()
112 builder.addFieldSfixed32List31(data.getInt()); in newMessage()
114 builder.addFieldSint32List33(data.getInt()); in newMessage()
[all …]
DExperimentalTestDataProvider.java67 public int getInt() { in getInt() method in ExperimentalTestDataProvider
68 return varint32s.getInt(); in getInt()
76 return Math.abs(getInt()) % 3; in getEnum()
119 public int getInt() { in getInt() method in ExperimentalTestDataProvider.Varint32Provider
DIntArrayListTest.java123 assertEquals(1, TERTIARY_LIST.getInt(0)); in testGetInt()
124 assertEquals(2, TERTIARY_LIST.getInt(1)); in testGetInt()
125 assertEquals(3, TERTIARY_LIST.getInt(2)); in testGetInt()
227 assertEquals(3, list.getInt(0)); in testSet()
230 assertEquals(0, list.getInt(1)); in testSet()
252 assertEquals(0, list.getInt(0)); in testSetInt()
255 assertEquals(0, list.getInt(1)); in testSetInt()
319 assertEquals(1, list.getInt(0)); in testAddAll()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeBlockBuffer.cpp77 int numToRead = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmpBuf)); in run()
143 int writeSize = rnd.getInt(1, de::min(m_numMessages-msgNdx, DE_LENGTH_OF_ARRAY(tmpBuf))); in run()
165 int numBlocks = rnd.getInt(2, 128); in runTest()
166 int blockSize = rnd.getInt(1, 16); in runTest()
167 int numProducers = rnd.getInt(1, 16); in runTest()
168 int numConsumers = rnd.getInt(1, 16); in runTest()
169 int dataSize = rnd.getInt(50, 200); in runTest()
244 int blockSize = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmp)); in run()
281 int blockSize = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmp)); in run()
307 int numThreads = rnd.getInt(1, 16); in runTest()
[all …]
DdeRingBuffer.cpp41 int bufSize = rnd.getInt(1, 2048); in RingBuffer_selfTest()
42 int dataSize = rnd.getInt(100, 10000); in RingBuffer_selfTest()
63 int numBytes = rnd.getInt(1, buffer.getNumElements()); in RingBuffer_selfTest()
77 int numBytes = rnd.getInt(1, de::min(dataSize-writePos, buffer.getNumFree())); in RingBuffer_selfTest()
DdeRandom.hpp50 int getInt (int min, int max);
93 inline int Random::getInt (int min, int max) in getInt() function in de::Random
118 int r = getInt(0, ndx); in choose()
177 int j = getInt(0, i); in shuffle()
184 …calar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { return rnd.getInt(minValue, maxValue… in randomScalar()
187 …::Random& rnd, deInt16 minValue, deInt16 maxValue) { return (deInt16)rnd.getInt(minValue, maxValue… in randomScalar()
189 …de::Random& rnd, deInt8 minValue, deInt8 maxValue) { return (deInt8)rnd.getInt(minValue, maxValue… in randomScalar()
/third_party/vk-gl-cts/modules/egl/
DteglChooseConfigTests.cpp296 …return eglu::getConfigID(m_eglTestCtx.getLibrary(), m_display, configs[rnd.getInt(0, (int)configs.… in getValue()
358 const int numAttribs = rnd.getInt(0, (int)m_attribSet.size()*2); in iterate()
368 template <int MinVal, int MaxVal> static EGLint getInt (de::Random& rnd) in getInt() function in deqp::egl::ChooseConfigRandomCase
370 return rnd.getInt(MinVal, MaxVal); in getInt()
419 { EGL_BUFFER_SIZE, ChooseConfigRandomCase::getInt<0, 32>, }, in genRandomAttributes()
420 { EGL_RED_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
421 { EGL_GREEN_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
422 { EGL_BLUE_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
423 { EGL_LUMINANCE_SIZE, ChooseConfigRandomCase::getInt<0, 1>, }, in genRandomAttributes()
424 { EGL_ALPHA_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiGranularityTests.cpp466 const int i0 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
467 const int i1 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
474 const deUint32 iterations = rnd.getInt(minIteration, maxIteration); in createGranularityQueryTests()
475 const int i0 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
476 const int i1 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
484 const deUint32 iterations = rnd.getInt(minIteration, maxIteration); in createGranularityQueryTests()
485 const int i0 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
486 const int i1 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
490 const int i2 = rnd.getInt(0, DE_LENGTH_OF_ARRAY(mandatoryFormats) - 1); in createGranularityQueryTests()
491 const int i3 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsInteractionTestUtil.cpp162 int scissorW = rnd.getInt(minScissorW, maxScissorW); in computeRandomRenderState()
163 int scissorH = rnd.getInt(minScissorH, maxScissorH); in computeRandomRenderState()
164 int scissorX = rnd.getInt(-maxScissorOutOfBounds, targetWidth+maxScissorOutOfBounds-scissorW); in computeRandomRenderState()
165 int scissorY = rnd.getInt(-maxScissorOutOfBounds, targetHeight+maxScissorOutOfBounds-scissorH); in computeRandomRenderState()
175 state.stencil[ndx].reference = rnd.getInt(minStencilVal, maxStencilVal); in computeRandomRenderState()
235 int width = rnd.getInt(minW, maxW); in computeRandomQuad()
236 int height = rnd.getInt(minH, maxH); in computeRandomQuad()
237 int x = rnd.getInt(-maxOutOfBounds, targetWidth+maxOutOfBounds-width); in computeRandomQuad()
238 int y = rnd.getInt(-maxOutOfBounds, targetHeight+maxOutOfBounds-height); in computeRandomQuad()
DglsRandomUniformBlockCase.cpp68 int numShared = m_maxSharedBlocks > 0 ? rnd.getInt(1, m_maxSharedBlocks) : 0; in init()
69 …int numVtxBlocks = m_maxVertexBlocks-numShared > 0 ? rnd.getInt(1, m_maxVertexBlocks-numShared) : … in init()
70 …int numFragBlocks = m_maxFragmentBlocks-numShared > 0 ? rnd.getInt(1, m_maxFragmentBlocks-numShare… in init()
88 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock()
89 int numUniforms = rnd.getInt(1, m_maxBlockMembers); in generateBlock()
167 int numMembers = rnd.getInt(1, m_maxStructMembers); in generateType()
192 const int arrayLength = rnd.getInt(1, m_maxArrayLength); in generateType()
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/
Dcommands.cpp181 t_ilm_int x = input->getInt("x");
182 t_ilm_int y = input->getInt("y");
183 t_ilm_int w = input->getInt("w");
184 t_ilm_int h = input->getInt("h");
217 t_ilm_int x = input->getInt("x");
218 t_ilm_int y = input->getInt("y");
219 t_ilm_int w = input->getInt("w");
220 t_ilm_int h = input->getInt("h");
320 ilmSurfaceType type = (ilmSurfaceType)input->getInt("type");
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUnsafeUtil.java128 static int getInt(Object target, long offset) { in getInt() method in UnsafeUtil
129 return MEMORY_ACCESSOR.getInt(target, offset); in getInt()
184 static int getInt(int[] target, long index) { in getInt() method in UnsafeUtil
185 return MEMORY_ACCESSOR.getInt(target, INT_ARRAY_BASE_OFFSET + (index * INT_ARRAY_INDEX_SCALE)); in getInt()
262 static int getInt(long address) { in getInt() method in UnsafeUtil
263 return MEMORY_ACCESSOR.getInt(address); in getInt()
553 public final int getInt(Object target, long offset) { in getInt() method in UnsafeUtil.MemoryAccessor
554 return unsafe.getInt(target, offset); in getInt()
601 public abstract int getInt(long address); in getInt() method in UnsafeUtil.MemoryAccessor
633 public int getInt(long address) { in getInt() method in UnsafeUtil.JvmMemoryAccessor
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cShaderBitfieldOperationTests.cpp1367 Vec4(rnd.getFloat()), Ivec4(rnd.getInt(-8, 8)))); in init()
1377 Ivec4(rnd.getInt(-8, 8), rnd.getInt(-8, 8)))); in init()
1387 Ivec4(rnd.getInt(-8, 8), rnd.getInt(-8, 8), rnd.getInt(-8, 8)))); in init()
1398 Ivec4(rnd.getInt(-8, 8), rnd.getInt(-8, 8), rnd.getInt(-8, 8), rnd.getInt(-8, 8)))); in init()
1455 …t, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32()), rnd.getInt(0, 31), rnd.getInt(1, 32))); in init()
1462 …m_context, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32(), rnd.getUint32()), rnd.getInt(0,… in init()
1463 rnd.getInt(1, 32))); in init()
1471 rnd.getInt(0, 31), rnd.getInt(1, 32))); in init()
1479 Uvec4(rnd.getUint32(), rnd.getUint32(), rnd.getUint32(), rnd.getUint32()), rnd.getInt(0, 31), in init()
1480 rnd.getInt(1, 32))); in init()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktRandomUniformBlockCase.cpp79 int numShared = m_maxSharedBlocks > 0 ? rnd.getInt(1, m_maxSharedBlocks) : 0; in RandomUniformBlockCase()
80 …int numVtxBlocks = m_maxVertexBlocks-numShared > 0 ? rnd.getInt(1, m_maxVertexBlocks - numShared) … in RandomUniformBlockCase()
81 …int numFragBlocks = m_maxFragmentBlocks-numShared > 0 ? rnd.getInt(1, m_maxFragmentBlocks - numSha… in RandomUniformBlockCase()
107 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock()
108 int numUniforms = rnd.getInt(1, m_maxBlockMembers); in generateBlock()
114 numInstances = rnd.getInt(2, 4); in generateBlock()
194 int numMembers = rnd.getInt(1, m_maxStructMembers); in generateType()
219 const int arrayLength = rnd.getInt(1, m_maxArrayLength); in generateType()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fUniformLocationTests.cpp808 rng.getInt(0, maxLocations-1)); in init()
837 rng.getInt(0, maxLocations-1-8)); in init()
867 rng.getInt(0, maxLocations-1-arraySize*arraySize)); in init()
890 const int location = layoutLoc ? rng.getInt(0, maxLocations-1-5) : -1; in init()
896 structProto->addMember("a", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
897 structProto->addMember("b", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
898 structProto->addMember("c", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
899 structProto->addMember("d", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
900 structProto->addMember("e", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
927 const int baseLoc = rng.getInt(0, maxLocations-1-60); in init()
[all …]

12345678910>>...20