/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowSettingsTest.java | 33 assertThat(Settings.System.getInt(contentResolver, "property", 0)).isEqualTo(0); in testSystemGetInt() 34 assertThat(Settings.System.getInt(contentResolver, "property", 2)).isEqualTo(2); in testSystemGetInt() 37 assertThat(Settings.System.getInt(contentResolver, "property", 0)).isEqualTo(1); in testSystemGetInt() 40 assertThat(Settings.System.getInt(contentResolver, "property", 0)).isEqualTo(11); in testSystemGetInt() 45 assertThat(Settings.Secure.getInt(contentResolver, "property", 0)).isEqualTo(0); in testSecureGetInt() 46 assertThat(Settings.Secure.getInt(contentResolver, "property", 2)).isEqualTo(2); in testSecureGetInt() 49 assertThat(Settings.Secure.getInt(contentResolver, "property", 0)).isEqualTo(1); in testSecureGetInt() 52 assertThat(Settings.Secure.getInt(contentResolver, "property", 0)).isEqualTo(11); in testSecureGetInt() 58 assertThat(Settings.Global.getInt(contentResolver, "property", 0)).isEqualTo(0); in testGlobalGetInt() 59 assertThat(Settings.Global.getInt(contentResolver, "property", 2)).isEqualTo(2); in testGlobalGetInt() [all …]
|
D | ShadowSystemPropertiesTest.java | 30 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(16); in readPropFromJarNotClassPath16() 36 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(17); in readPropFromJarNotClassPath17() 42 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(18); in readPropFromJarNotClassPath18() 48 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(19); in readPropFromJarNotClassPath19() 54 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(21); in readPropFromJarNotClassPath21() 60 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(22); in readPropFromJarNotClassPath22() 66 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(23); in readPropFromJarNotClassPath23() 72 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(24); in readPropFromJarNotClassPath24() 78 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(25); in readPropFromJarNotClassPath25() 84 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(26); in readPropFromJarNotClassPath26() [all …]
|
/external/clang/test/Analysis/inlining/ |
D | InlineObjCClassMethod.m | 24 + (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 …]
|
D | InlineObjCInstanceMethod.m | 13 - (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 …]
|
/external/llvm/unittests/ADT/ |
D | PointerIntPairTest.cpp | 25 EXPECT_EQ(1U, Pair.getInt()); in TEST() 29 EXPECT_EQ(2U, Pair.getInt()); in TEST() 33 EXPECT_EQ(2U, Pair.getInt()); in TEST() 37 EXPECT_EQ(3U, Pair.getInt()); in TEST() 52 EXPECT_EQ(E::Case1, Pair2.getInt()); in TEST() 56 EXPECT_EQ(E::Case2, Pair2.getInt()); in TEST() 60 EXPECT_EQ(E::Case2, Pair2.getInt()); in TEST() 64 EXPECT_EQ(E::Case3, Pair2.getInt()); in TEST() 70 EXPECT_EQ(0U, Pair.getInt()); in TEST() 92 EXPECT_FALSE(pair.getInt()); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | PointerIntPairTest.cpp | 25 EXPECT_EQ(1U, Pair.getInt()); in TEST() 29 EXPECT_EQ(2U, Pair.getInt()); in TEST() 33 EXPECT_EQ(2U, Pair.getInt()); in TEST() 37 EXPECT_EQ(3U, Pair.getInt()); in TEST() 52 EXPECT_EQ(E::Case1, Pair2.getInt()); in TEST() 56 EXPECT_EQ(E::Case2, Pair2.getInt()); in TEST() 60 EXPECT_EQ(E::Case2, Pair2.getInt()); in TEST() 64 EXPECT_EQ(E::Case3, Pair2.getInt()); in TEST() 70 EXPECT_EQ(0U, Pair.getInt()); in TEST() 92 EXPECT_FALSE(pair.getInt()); in TEST() [all …]
|
/external/flatbuffers/java/com/google/flatbuffers/ |
D | Table.java | 65 return bb.getShort(vtable + vtable_offset - bb.getInt(vtable)) + vtable; in __offset() 75 return offset + bb.getInt(offset); in __indirect() 79 return offset + bb.getInt(offset); in __indirect() 94 offset += bb.getInt(offset); in __string() 95 int length = bb.getInt(offset); in __string() 107 offset += bb.getInt(offset); in __vector_len() 108 return bb.getInt(offset); in __vector_len() 119 return offset + bb.getInt(offset) + SIZEOF_INT; // data starts after the length in __vector() 173 t.bb_pos = offset + bb.getInt(offset); in __union() 175 t.vtable_start = t.bb_pos - bb.getInt(t.bb_pos); in __union() [all …]
|
/external/clang/test/Analysis/ |
D | dead-stores.c | 550 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/ |
D | GenericMediaHeaderTextAtom.java | 48 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/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiJsonParser.java | 61 scanResult.frequency = j.getInt("frequency"); in getScanResult() 64 scanResult.level = j.getInt("level"); in getScanResult() 73 scanResult.centerFreq0 = j.getInt("centerFreq0"); in getScanResult() 76 scanResult.centerFreq1 = j.getInt("centerFreq1"); in getScanResult() 79 scanResult.channelWidth = j.getInt("channelWidth"); in getScanResult() 82 scanResult.distanceCm = j.getInt("distanceCm"); in getScanResult() 85 scanResult.distanceSdCm = j.getInt("distanceSdCm"); in getScanResult() 94 scanResult.numUsage = j.getInt("numUsage"); in getScanResult() 115 scanIe.id = jIe.getInt("id"); in getScanResult() 128 item.id = jRinfo.getInt("id"); in getScanResult() [all …]
|
D | WifiRttManagerFacade.java | 188 result.deviceType = j.getInt("deviceType"); in parseRttParam() 191 result.requestType = j.getInt("requestType"); in parseRttParam() 197 result.frequency = j.getInt("frequency"); in parseRttParam() 200 result.channelWidth = j.getInt("channelWidth"); in parseRttParam() 203 result.centerFreq0 = j.getInt("centerFreq0"); in parseRttParam() 206 result.centerFreq1 = j.getInt("centerFreq1"); in parseRttParam() 209 result.numberBurst = j.getInt("numberBurst"); in parseRttParam() 212 result.burstTimeout = j.getInt("burstTimeout"); in parseRttParam() 215 result.interval = j.getInt("interval"); in parseRttParam() 218 result.numSamplesPerBurst = j.getInt("numSamplesPerBurst"); in parseRttParam() [all …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResourceTypes.java | 117 this.size = buf.getInt(offset + 4); in ResChunk_header() 328 this.data = buf.getInt(offset + 4); in Res_value() 396 ident = buf.getInt(offset); in ResTable_ref() 422 this.index = buf.getInt(offset); in ResStringPool_ref() 494 this.stringCount = buf.getInt(offset + ResChunk_header.SIZEOF); in ResStringPool_header() 495 this.styleCount = buf.getInt(offset + ResChunk_header.SIZEOF + 4); in ResStringPool_header() 496 this.flags = buf.getInt(offset + ResChunk_header.SIZEOF + 8); in ResStringPool_header() 497 this.stringsStart = buf.getInt(offset + ResChunk_header.SIZEOF + 12); in ResStringPool_header() 498 this.stylesStart = buf.getInt(offset + ResChunk_header.SIZEOF + 16); in ResStringPool_header() 636 firstChar = buf.getInt(offset + ResStringPool_ref.SIZEOF); in ResStringPool_span() [all …]
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | UConverterDataReader.java | 446 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 …]
|
/external/flatbuffers/php/ |
D | Table.php | 53 $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));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | RBBIDataWrapper.java | 66 This.fNumStates = bytes.getInt(); in get() 67 This.fRowLen = bytes.getInt(); in get() 68 This.fFlags = bytes.getInt(); in get() 69 This.fReserved = bytes.getInt(); in get() 263 This.fHeader.fMagic = bytes.getInt(); in get() 268 This.fHeader.fLength = bytes.getInt(); in get() 269 This.fHeader.fCatCount = bytes.getInt(); in get() 270 This.fHeader.fFTable = bytes.getInt(); in get() 271 This.fHeader.fFTableLen = bytes.getInt(); in get() 272 This.fHeader.fRTable = bytes.getInt(); in get() [all …]
|
D | UCharacterNameReader.java | 64 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()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | RBBIDataWrapper.java | 69 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 …]
|
D | UCharacterNameReader.java | 64 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()
|
/external/proguard/src/proguard/gui/splash/ |
D | RectangleSprite.java | 98 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()
|
/external/deqp/framework/delibs/decpp/ |
D | deBlockBuffer.cpp | 77 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 …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | CompositionShiftLeastGreatestAtom.java | 44 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()
|
/external/deqp/modules/egl/ |
D | teglChooseConfigTests.cpp | 296 …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 …]
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiGranularityTests.cpp | 466 …attachments.push_back(AttachmentInfo(format, rnd.getInt(1, maxDimension), rnd.getInt(1, maxDimensi… in createGranularityQueryTests() 472 deUint32 iterations = rnd.getInt(minIteration, maxIteration); in createGranularityQueryTests() 474 …achments.push_back(AttachmentInfo(VkFormat(formatIdx), rnd.getInt(1, maxDimension), rnd.getInt(1, … in createGranularityQueryTests() 480 deUint32 iterations = rnd.getInt(minIteration, maxIteration); in createGranularityQueryTests() 481 …achments.push_back(AttachmentInfo(VkFormat(formatIdx), rnd.getInt(1, maxDimension), rnd.getInt(1, … in createGranularityQueryTests() 483 …mentInfo(mandatoryFormats[rnd.getInt(0, DE_LENGTH_OF_ARRAY(mandatoryFormats) - 1)], rnd.getInt(1, … in createGranularityQueryTests() 489 …attachments.push_back(AttachmentInfo(format, rnd.getInt(1, maxDimension), rnd.getInt(1, maxDimensi… in createGranularityQueryTests()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/ |
D | XXHash32.java | 135 hash = rotateLeft(hash + getInt(buffer, idx) * PRIME3, 17) * PRIME4; in getValue() 149 private static int getInt(byte[] buffer, int idx) { in getInt() method in XXHash32 167 s0 = rotateLeft(s0 + getInt(b, offset) * PRIME2, ROTATE_BITS) * PRIME1; in process() 168 s1 = rotateLeft(s1 + getInt(b, offset + 4) * PRIME2, ROTATE_BITS) * PRIME1; in process() 169 s2 = rotateLeft(s2 + getInt(b, offset + 8) * PRIME2, ROTATE_BITS) * PRIME1; in process() 170 s3 = rotateLeft(s3 + getInt(b, offset + 12) * PRIME2, ROTATE_BITS) * PRIME1; in process()
|
/external/deqp/modules/glshared/ |
D | glsInteractionTestUtil.cpp | 162 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()
|