Home
last modified time | relevance | path

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

12345678910>>...17

/external/clang/test/Analysis/inlining/
DInlineObjCClassMethod.m24 + (int)getInt; class
27 + (int)getInt; class
31 int y = [MyClass getInt];
34 + (int)getInt { class
41 + (int)getInt; class
47 int y = [MyClassDIP getInt];
52 + (int)getInt { class
61 + (int)getInt; class in MyCat
64 int y = [AAA getInt];
70 + (int)getInt { class in MyCat
[all …]
DInlineObjCInstanceMethod.m13 - (int)getInt; method
17 - (int)getInt { method
36 int y = [self getInt];
43 return 5/[a getInt]; // expected-warning {{Division by zero}}
49 return 5/[a getInt]; // expected-warning {{Division by zero}}
54 return 5/[a getInt]; // expected-warning {{Division by zero}}
59 return 5/[a getInt]; // no warning
102 (void)[arr[i] getInt];
107 - (id)getInt; method
112 - (id)getInt { // expected-warning {{types are incompatible}} method
[all …]
Dtest_objc_inlining_option.m21 + (int)getInt; class
24 + (int)getInt; class
28 int y = [MyClass getInt];
31 + (int)getInt { class
/external/clang/test/Analysis/
Ddead-stores.c550 int getInt();
553 int x0 = (getInt(), 0); // expected-warning{{unused variable 'x0'}} in testBOComma()
554 …int x1 = (getInt(), getInt()); // expected-warning {{Value stored to 'x1' during its initializatio… in testBOComma()
555 …int x2 = (getInt(), getInt(), getInt()); //expected-warning{{Value stored to 'x2' during its initi… in testBOComma()
557 x3 = (getInt(), getInt(), 0); // expected-warning{{Value stored to 'x3' is never read}} in testBOComma()
558 int x4 = (getInt(), (getInt(), 0)); // expected-warning{{unused variable 'x4'}} in testBOComma()
560 int x5 = (getInt(), (y = 0)); // expected-warning{{unused variable 'x5'}} in testBOComma()
561 …int x6 = (getInt(), (y = getInt())); //expected-warning {{Value stored to 'x6' during its initiali… in testBOComma()
562 …int x7 = 0, x8 = getInt(); //expected-warning {{Value stored to 'x8' during its initialization is … in testBOComma()
563 …int x9 = getInt(), x10 = 0; //expected-warning {{Value stored to 'x9' during its initialization is… in testBOComma()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/
DGenericMediaHeaderTextAtom.java48 unknown_1 = content.getInt(); in _parseDetails()
49 unknown_2 = content.getInt(); in _parseDetails()
50 unknown_3 = content.getInt(); in _parseDetails()
51 unknown_4 = content.getInt(); in _parseDetails()
52 unknown_5 = content.getInt(); in _parseDetails()
53 unknown_6 = content.getInt(); in _parseDetails()
54 unknown_7 = content.getInt(); in _parseDetails()
55 unknown_8 = content.getInt(); in _parseDetails()
56 unknown_9 = content.getInt(); in _parseDetails()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DSettingsTest.java31 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); in whileApplicationStaysSame_shouldRememberOldSettings()
35 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); in whileApplicationStaysSame_shouldRememberOldSettings()
41 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); in whenApplicationChanges_shouldStartWithNewSettings()
46 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(0)); in whenApplicationChanges_shouldStartWithNewSettings()
51 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(0)); in testSystemGetInt()
52 assertThat(Settings.System.getInt(contentResolver, "property", 2), equalTo(2)); in testSystemGetInt()
55 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); in testSystemGetInt()
60 assertThat(Settings.Secure.getInt(contentResolver, "property", 0), equalTo(0)); in testSecureGetInt()
61 assertThat(Settings.Secure.getInt(contentResolver, "property", 2), equalTo(2)); in testSecureGetInt()
64 assertThat(Settings.Secure.getInt(contentResolver, "property", 0), equalTo(1)); in testSecureGetInt()
[all …]
/external/libvncserver/webclients/novnc/include/
Djsunzip.js36 this.getInt = function(offset, size) { method in JSUnzip
71 while (endOfCentralDirectory >= 0 && this.getInt(endOfCentralDirectory, 4) != 0x06054b50)
75 …if (this.getInt(endOfCentralDirectory + 4, 2) != 0 || this.getInt(endOfCentralDirectory + 6, 2) !=…
78 var entriesInThisDisk = this.getInt(endOfCentralDirectory + 8, 2);
79 var centralDirectoryOffset = this.getInt(endOfCentralDirectory + 16, 4);
80 var globalCommentLength = this.getInt(endOfCentralDirectory + 20, 2);
86 if (this.getInt(fileOffset + 0, 4) != 0x02014b50)
88 if (this.getInt(fileOffset + 6, 2) > 20)
90 if (this.getInt(fileOffset + 8, 2) & 1)
93 var compressionMethod = this.getInt(fileOffset + 10, 2);
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBreakDictionary.java180 bytes.getInt(); in readDictionaryFile()
184 l = bytes.getInt(); in readDictionaryFile()
188 l = bytes.getInt(); in readDictionaryFile()
195 numCols = bytes.getInt(); in readDictionaryFile()
196 /*numColGroups = */bytes.getInt(); in readDictionaryFile()
199 l = bytes.getInt(); in readDictionaryFile()
205 l = bytes.getInt(); in readDictionaryFile()
209 l = bytes.getInt(); in readDictionaryFile()
212 rowIndexFlags[i] = bytes.getInt(); in readDictionaryFile()
215 l = bytes.getInt(); in readDictionaryFile()
[all …]
DRBBIDataWrapper.java176 This.fHeader.fMagic = bytes.getInt(); in get()
180 This.fHeader.fVersion = bytes.getInt(bytes.position()); in get()
185 This.fHeader.fLength = bytes.getInt(); in get()
186 This.fHeader.fCatCount = bytes.getInt(); in get()
187 This.fHeader.fFTable = bytes.getInt(); in get()
188 This.fHeader.fFTableLen = bytes.getInt(); in get()
189 This.fHeader.fRTable = bytes.getInt(); in get()
190 This.fHeader.fRTableLen = bytes.getInt(); in get()
191 This.fHeader.fSFTable = bytes.getInt(); in get()
192 This.fHeader.fSFTableLen = bytes.getInt(); in get()
[all …]
/external/llvm/unittests/ADT/
DPointerIntPairTest.cpp24 EXPECT_EQ(1U, Pair.getInt()); in TEST_F()
28 EXPECT_EQ(2U, Pair.getInt()); in TEST_F()
32 EXPECT_EQ(2U, Pair.getInt()); in TEST_F()
36 EXPECT_EQ(3U, Pair.getInt()); in TEST_F()
42 EXPECT_EQ(0U, Pair.getInt()); in TEST_F()
64 EXPECT_FALSE(pair.getInt()); in TEST_F()
68 EXPECT_TRUE(pair.getInt()); in TEST_F()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterDataReader.java444 sd.structSize = byteBuffer.getInt(); in readStaticData()
448 sd.codepage = byteBuffer.getInt(); in readStaticData()
470 h.countStates = byteBuffer.getInt(); in readMBCSHeader()
471 h.countToUFallbacks = byteBuffer.getInt(); in readMBCSHeader()
472 h.offsetToUCodeUnits = byteBuffer.getInt(); in readMBCSHeader()
473 h.offsetFromUTable = byteBuffer.getInt(); in readMBCSHeader()
474 h.offsetFromUBytes = byteBuffer.getInt(); in readMBCSHeader()
475 h.flags = byteBuffer.getInt(); in readMBCSHeader()
476 h.fromUBytesLength = byteBuffer.getInt(); in readMBCSHeader()
478 h.options = byteBuffer.getInt(); in readMBCSHeader()
[all …]
/external/proguard/src/proguard/gui/splash/
DRectangleSprite.java98 int xt = x.getInt(time); in paint()
99 int yt = y.getInt(time); in paint()
100 int w = width.getInt(time); in paint()
101 int h = height.getInt(time); in paint()
102 int aw = arcWidth.getInt(time); in paint()
103 int ah = arcHeight.getInt(time); in paint()
DCircleSprite.java61 int xt = x.getInt(time); in paint()
62 int yt = y.getInt(time); in paint()
63 int r = radius.getInt(time); in paint()
DTextSprite.java79 int xt = x.getInt(time); in paint()
80 int yt = y.getInt(time); in paint()
82 int spacingt = spacing.getInt(time); in paint()
/external/deqp/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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterNameReader.java61 m_tokenstringindex_ = m_byteBuffer_.getInt(); in read()
62 m_groupindex_ = m_byteBuffer_.getInt(); in read()
63 m_groupstringindex_ = m_byteBuffer_.getInt(); in read()
64 m_algnamesindex_ = m_byteBuffer_.getInt(); in read()
92 count = m_byteBuffer_.getInt(); in read()
166 int rangestart = m_byteBuffer_.getInt(); in readAlg()
167 int rangeend = m_byteBuffer_.getInt(); in readAlg()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DCompositionShiftLeastGreatestAtom.java44 compositionOffsetToDisplayOffsetShift = content.getInt(); in _parseDetails()
45 leastDisplayOffset = content.getInt(); in _parseDetails()
46 greatestDisplayOffset = content.getInt(); in _parseDetails()
47 displayStartTime = content.getInt(); in _parseDetails()
48 displayEndTime = content.getInt(); in _parseDetails()
DMovieHeaderBox.java126 previewTime = content.getInt(); in _parseDetails()
127 previewDuration = content.getInt(); in _parseDetails()
128 posterTime = content.getInt(); in _parseDetails()
129 selectionTime = content.getInt(); in _parseDetails()
130 selectionDuration = content.getInt(); in _parseDetails()
131 currentTime = content.getInt(); in _parseDetails()
/external/deqp/modules/egl/
DteglChooseConfigTests.cpp294 …return eglu::getConfigID(m_eglTestCtx.getLibrary(), m_display, configs[rnd.getInt(0, (int)configs.… in getValue()
356 const int numAttribs = rnd.getInt(0, (int)m_attribSet.size()*2); in iterate()
366 template <int MinVal, int MaxVal> static EGLint getInt (de::Random& rnd) in getInt() function in deqp::egl::ChooseConfigRandomCase
368 return rnd.getInt(MinVal, MaxVal); in getInt()
417 { EGL_BUFFER_SIZE, ChooseConfigRandomCase::getInt<0, 32>, }, in genRandomAttributes()
418 { EGL_RED_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
419 { EGL_GREEN_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
420 { EGL_BLUE_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
421 { EGL_LUMINANCE_SIZE, ChooseConfigRandomCase::getInt<0, 1>, }, in genRandomAttributes()
422 { EGL_ALPHA_SIZE, ChooseConfigRandomCase::getInt<0, 8>, }, in genRandomAttributes()
[all …]
/external/deqp/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()
/external/replicaisland/src/com/replica/replicaisland/
DAndouKun.java158 mLevelRow = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_ROW, 0); in onCreate()
159 mLevelIndex = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_INDEX, 0); in onCreate()
160 int completed = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED, 0); in onCreate()
162 mRobotsDestroyed = prefs.getInt(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED, 0); in onCreate()
163 mPearlsCollected = prefs.getInt(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED, 0); in onCreate()
164 mPearlsTotal = prefs.getInt(PreferenceConstants.PREFERENCE_PEARLS_TOTAL, 0); in onCreate()
165 mLinearMode = prefs.getInt(PreferenceConstants.PREFERENCE_LINEAR_MODE, in onCreate()
168 …mDifficulty = prefs.getInt(PreferenceConstants.PREFERENCE_DIFFICULTY, getIntent().getIntExtra("dif… in onCreate()
307 … final int tiltSensitivity = prefs.getInt(PreferenceConstants.PREFERENCE_TILT_SENSITIVITY, 50); in onResume()
308 …final int movementSensitivity = prefs.getInt(PreferenceConstants.PREFERENCE_MOVEMENT_SENSITIVITY, … in onResume()
[all …]
/external/llvm/include/llvm/Analysis/
DMemoryDependenceAnalysis.h127 bool isClobber() const { return Value.getInt() == Clobber; } in isClobber()
131 bool isDef() const { return Value.getInt() == Def; } in isDef()
137 return Value.getInt() == Other in isNonLocal()
144 return Value.getInt() == Other in isNonFuncLocal()
151 return Value.getInt() == Other in isUnknown()
158 if (Value.getInt() == Other) return nullptr; in getInst()
180 bool isDirty() const { return Value.getInt() == Invalid; } in isDirty()
/external/deqp/modules/gles31/functional/
Des31fUniformLocationTests.cpp766 rng.getInt(0, maxLocations-1)); in init()
795 rng.getInt(0, maxLocations-1-8)); in init()
825 rng.getInt(0, maxLocations-1-arraySize*arraySize)); in init()
848 const int location = layoutLoc ? rng.getInt(0, maxLocations-1-5) : -1; in init()
854 structProto->addMember("a", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
855 structProto->addMember("b", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
856 structProto->addMember("c", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
857 structProto->addMember("d", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
858 structProto->addMember("e", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
885 const int baseLoc = rng.getInt(0, maxLocations-1-60); in init()
[all …]

12345678910>>...17