Home
last modified time | relevance | path

Searched refs:getInt (Results 1 - 25 of 420) sorted by relevance

12345678910>>...17

/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A 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/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A 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...]
H A 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()
H A DTrie.java152 int signature = bytes.getInt(); in Trie()
153 m_options_ = bytes.getInt(); in Trie()
166 m_dataOffset_ = bytes.getInt(); in Trie()
167 m_dataLength_ = bytes.getInt(); in Trie()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A 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...]
H A 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/
H A 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...]
H A 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...]
H A 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...]
H A 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...]
H A 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
H A 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/
H A DdeBlockBuffer.cpp78 int numToRead = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmpBuf)); in run()
144 int writeSize = rnd.getInt(1, de::min(m_numMessages-msgNdx, DE_LENGTH_OF_ARRAY(tmpBuf))); in run()
166 int numBlocks = rnd.getInt(2, 128); in runTest()
167 int blockSize = rnd.getInt(1, 16); in runTest()
168 int numProducers = rnd.getInt(1, 16); in runTest()
169 int numConsumers = rnd.getInt(1, 16); in runTest()
170 int dataSize = rnd.getInt(50, 200); in runTest()
247 int blockSize = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmp)); in run()
284 int blockSize = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmp)); in run()
310 int numThreads = rnd.getInt( in runTest()
[all...]
H A 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()
H A 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 template<> inline deInt32 randomScalar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { return rnd.getInt(minValue, maxValue); } in randomScalar()
187 template<> inline deInt16 randomScalar (de::Random& rnd, deInt16 minValue, deInt16 maxValue) { return (deInt16)rnd.getInt(minValue, maxValue); } in randomScalar()
189 template<> inline deInt8 randomScalar (de::Random& rnd, deInt8 minValue, deInt8 maxValue) { return (deInt8)rnd.getInt(minValue, maxValue); } in randomScalar()
/third_party/vk-gl-cts/modules/egl/
H A DteglChooseConfigTests.cpp297 return eglu::getConfigID(m_eglTestCtx.getLibrary(), m_display, configs[rnd.getInt(0, (int)configs.size()-1)]); in getValue()
369 const int numAttribs = rnd.getInt(0, (int)m_attribSet.size()*2); in iterate()
379 template <int MinVal, int MaxVal> static EGLint getInt (de::Random& rnd) in getInt() function in deqp::egl::ChooseConfigRandomCase
381 return rnd.getInt(MinVal, MaxVal); in getInt()
430 { EGL_BUFFER_SIZE, ChooseConfigRandomCase::getInt<0, 32>, }, in genRandomAttributes()
431 { EGL_RED_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
432 { EGL_GREEN_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
433 { EGL_BLUE_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
434 { EGL_LUMINANCE_SIZE, ChooseConfigRandomCase::getInt<0, 1>, }, in genRandomAttributes()
435 { EGL_ALPHA_SIZE, ChooseConfigRandomCase::getInt< in genRandomAttributes()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A 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( in createGranularityQueryTests()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A 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( in init()
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A 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);
236 int height = rnd.getInt(minH, maxH);
237 int x = rnd.getInt(-maxOutOfBounds, targetWidth+maxOutOfBounds-width);
238 int y = rnd.getInt(-maxOutOfBounds, targetHeight+maxOutOfBounds-height);
H A 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) : 0; in init()
70 int numFragBlocks = m_maxFragmentBlocks-numShared > 0 ? rnd.getInt(1, m_maxFragmentBlocks-numShared) : 0; in init()
88 int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0, m_maxInstances) : 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/protobuf/java/core/src/main/java/com/google/protobuf/
H A 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()
346 clazz.getMethod("getInt", Object.class, long.class); in supportsUnsafeArrayOperations()
392 clazz.getMethod("getInt", long.class); in supportsUnsafeByteBufferOperations()
553 public final int getInt(Object target, long offset) { in getInt() method in UnsafeUtil.MemoryAccessor
554 return unsafe.getInt(targe in getInt()
601 public abstract int getInt(long address); getInt() method in UnsafeUtil.MemoryAccessor
633 public int getInt(long address) { getInt() method in UnsafeUtil.JvmMemoryAccessor
725 public int getInt(long address) { getInt() method in UnsafeUtil.Android64MemoryAccessor
845 public int getInt(long address) { getInt() method in UnsafeUtil.Android32MemoryAccessor
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
H A DvktRandomUniformBlockCase.cpp78 int numShared = m_maxSharedBlocks > 0 ? rnd.getInt(1, m_maxSharedBlocks) : 0; in RandomUniformBlockCase()
79 int numVtxBlocks = m_maxVertexBlocks-numShared > 0 ? rnd.getInt(1, m_maxVertexBlocks - numShared) : 0; in RandomUniformBlockCase()
80 int numFragBlocks = m_maxFragmentBlocks-numShared > 0 ? rnd.getInt(1, m_maxFragmentBlocks - numShared): 0; in RandomUniformBlockCase()
106 int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0, m_maxInstances) : 0; in generateBlock()
107 int numUniforms = rnd.getInt(1, m_maxBlockMembers); in generateBlock()
113 numInstances = rnd.getInt(2, 4); in generateBlock()
193 int numMembers = rnd.getInt(1, m_maxStructMembers); in generateType()
218 int arrayLength = rnd.getInt(1, m_maxArrayLength); in generateType()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/
H A 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) : 0; in RandomUniformBlockCase()
81 int numFragBlocks = m_maxFragmentBlocks-numShared > 0 ? rnd.getInt(1, m_maxFragmentBlocks - numShared): 0; in RandomUniformBlockCase()
107 int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0, m_maxInstances) : 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 int arrayLength = rnd.getInt(1, m_maxArrayLength); in generateType()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiGranularityTests.cpp547 const int i0 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
548 const int i1 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
555 const deUint32 iterations = rnd.getInt(minIteration, maxIteration); in createGranularityQueryTests()
556 const int i0 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
557 const int i1 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
565 const deUint32 iterations = rnd.getInt(minIteration, maxIteration); in createGranularityQueryTests()
566 const int i0 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
567 const int i1 = rnd.getInt(1, maxDimension); in createGranularityQueryTests()
571 const int i2 = rnd.getInt(0, DE_LENGTH_OF_ARRAY(mandatoryFormats) - 1); in createGranularityQueryTests()
572 const int i3 = rnd.getInt( in createGranularityQueryTests()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fUniformLocationTests.cpp808 rng.getInt(0, maxLocations-1));
837 rng.getInt(0, maxLocations-1-8));
867 rng.getInt(0, maxLocations-1-arraySize*arraySize));
890 const int location = layoutLoc ? rng.getInt(0, maxLocations-1-5) : -1;
896 structProto->addMember("a", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)]));
897 structProto->addMember("b", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)]));
898 structProto->addMember("c", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)]));
899 structProto->addMember("d", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)]));
900 structProto->addMember("e", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)]));
927 const int baseLoc = rng.getInt(
[all...]

Completed in 19 milliseconds

12345678910>>...17