Home
last modified time | relevance | path

Searched refs:getData (Results 1 – 25 of 619) sorted by relevance

12345678910>>...25

/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/
DFakeDataSetTest.java54 assertThat(fakeDataSet.getData("unseen_uri")).isEqualTo(fakeDataSet.getData((Uri) null)); in testMultipleDataSets()
56 assertThat(fakeDataSet.getData(uris[i]).uri).isEqualTo(uris[i]); in testMultipleDataSets()
58 assertThat(fakeDataSet.getData((Uri) null).getData()).isEqualTo(testData[0]); in testMultipleDataSets()
60 assertThat(fakeDataSet.getData(uris[i - 1]).getData()).isEqualTo(testData[i]); in testMultipleDataSets()
82 List<Segment> segments = fakeDataSet.getData((Uri) null).getSegments(); in testSegmentTypes()
93 assertThat(fakeDataSet.getData((Uri) null).getData()).isEqualTo(allData); in testSegmentTypes()
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DDecoder.java126 this(message, new Validator(message.getData().limit(), message.getHandles().size()), 0); in Decoder()
131 mMessage.getData().order(ByteOrder.LITTLE_ENDIAN); in Decoder()
254 return mMessage.getData().get(mBaseOffset + offset); in readByte()
270 return mMessage.getData().getShort(mBaseOffset + offset); in readShort()
278 return mMessage.getData().getInt(mBaseOffset + offset); in readInt()
286 return mMessage.getData().getFloat(mBaseOffset + offset); in readFloat()
294 return mMessage.getData().getLong(mBaseOffset + offset); in readLong()
302 return mMessage.getData().getDouble(mBaseOffset + offset); in readDouble()
335 d.mMessage.getData().position(d.mBaseOffset + DataHeader.HEADER_SIZE); in readBooleans()
336 d.mMessage.getData().get(bytes); in readBooleans()
[all …]
DServiceMessage.java24 super(baseMessage.getData(), baseMessage.getHandles()); in ServiceMessage()
59 ((ByteBuffer) getData().position(getHeader().getSize())).slice(); in getPayload()
70 mHeader.setRequestId(getData(), requestId); in setRequestId()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowEventLogTest.java43 assertThat((String) events.get(0).getData()).isEqualTo(TEST_STRING1); in testAddEvent_testStringLog()
61 assertThat((int) events.get(0).getData()).isEqualTo(TEST_INT); in testAddEvent_testIntLog()
79 assertThat((long) events.get(0).getData()).isEqualTo(TEST_LONG); in testAddEvent_testLongLog()
97 assertThat((float) events.get(0).getData()).isEqualTo(TEST_FLOAT); in testAddEvent_testFloatLog()
114 assertThat(((String[]) events.get(0).getData())[0]).isEqualTo(TEST_STRING1); in testAddEvent_testListLog()
115 assertThat(((String[]) events.get(0).getData())[1]).isEqualTo(TEST_STRING2); in testAddEvent_testListLog()
127 assertThat((String) events.get(0).getData()).isEqualTo(TEST_STRING1); in testWriteEvent_string()
139 assertThat((String) events.get(0).getData()).isEqualTo(NULL_PLACE_HOLDER); in testWriteEvent_nullString()
152 assertThat((int) events.get(0).getData()).isEqualTo(TEST_INT); in testWriteEvent_int()
164 assertThat((Object[]) events.get(0).getData()) in testWriteEvent_list()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
DAppleTrackNumberBox.java28 return appleDataBox.getData()[3]; in getTrackNumber()
32 return appleDataBox.getData()[5]; in getNumberOfTracks()
36 byte[] content = appleDataBox.getData(); in setNumberOfTracks()
42 byte[] content = appleDataBox.getData(); in setTrackNumber()
/external/brotli/java/org/brotli/wrapper/common/
DSetRfcDictionaryTest.java32 System.err.println(Dictionary.getData().slice().remaining()); in testRfcDictionaryChecksums()
34 md5.update(Dictionary.getData().slice()); in testRfcDictionaryChecksums()
38 sha1.update(Dictionary.getData().slice()); in testRfcDictionaryChecksums()
42 sha256.update(Dictionary.getData().slice()); in testRfcDictionaryChecksums()
51 BrotliCommon.setDictionaryData(Dictionary.getData()); in testSetRfcDictionary()
/external/fonttools/Tests/ttLib/tables/
DotBase_test.py64 self.assertEqual(writer.getData(), deHexStr("CF C7"))
69 self.assertEqual(writer.getData(), deHexStr("FF 43 9E B2"))
74 self.assertEqual(writer.getData(), deHexStr("BE"))
79 self.assertEqual(writer.getData(), deHexStr("BE EF"))
84 self.assertEqual(writer.getData(), deHexStr("BE EF 77"))
89 self.assertEqual(writer.getData(), deHexStr("BE EF CA FE"))
DotConverters_test.py31 self.assertEqual(writer.getData(), b"Hello world" + 53 * b"\0")
37 self.assertEqual(writer.getData(), b"Hello ?" + 57 * b"\0")
45 self.assertEqual(writer.getData(), b"A" * 64)
79 self.assertEqual(writer.getData(), deHexStr("0002"))
94 self.assertEqual(writer.getData(), deHexStr("FF000003"))
124 self.assertEqual(writer.getData(), deHexStr("0123"))
169 self.assertEqual(writer.getData(), deHexStr("FD"))
271 self.assertEqual(writer.getData(), deHexStr("0000 0000 0003 0003 0001"))
284 self.assertEqual(writer.getData(), deHexStr(
305 self.assertEqual(writer.getData(), deHexStr(
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/
DDataKeyTest.java53 assertThat(node.getData(ABC)).contains("w00t"); in addAFewKeysAndSeeIfTheyAreStoredCorrectly()
54 assertThat(node.getData(LISTY)).containsExactly("a", "b"); in addAFewKeysAndSeeIfTheyAreStoredCorrectly()
64 assertThrows(IllegalStateException.class, () -> node.getData(DING)); in aNonExistentKeyThrowsAnException()
74 assertEquals("ABC!", clone.getData(ABC)); in cloningCopiesData()
75 assertEquals("DEF!", clone.getData(DEF)); in cloningCopiesData()
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DJCs.java84 if (localHdf.getData().getValue("Config.PropagateEscapeStatus") != null) { in parseFile()
105 if (localHdf.getData().getValue("Config.PropagateEscapeStatus") != null) { in parseStr()
115 Data data = localHdf.getData(); in getEscapeMode()
130 new LocalAndGlobalData(localHdf.getData(), globalHdf.getData(), jSilver.getOptions() in render()
133 data = localHdf.getData(); in render()
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Daudio_buffer.h66 T* getData() const { return mData; } in getData() function
110 mBuffer(AudioBufferBase<T>::getData()) { in AudioBuffer()
137 : AudioBufferBase<T>(b.getData(), b.getFrameCount(), b.getChannelCount()) {} in AudioBufferView()
161 dst.getData()[i] = convertSampleType(src.getData()[i]); in convertAudioBufferViewType()
168 T *srcData = src.getData(); in forEachFrame()
169 T *dstData = dst.getData(); in forEachFrame()
223 memcpy(dst.getData(), src.getData(), framesToCopy * dst.getFrameSize()); in copyAudioBufferViewData()
/external/llvm-project/clang/test/Analysis/
Dmalloc-free-after-return.cpp8 int *getData() { return Data; } in getData() function
15 return S().getData(); // expected-warning {{Use of memory after it is freed}} in freeAfterReturnTemp()
20 return X.getData(); // expected-warning {{Use of memory after it is freed}} in freeAfterReturnLocal()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DCacheAsserts.java77 public byte[] getData(int i) { in getData() method in CacheAsserts.RequestSet
78 return Assertions.checkNotNull(fakeDataSet.getData(dataSpecs[i].uri)).getData(); in getData()
86 FakeData data = Assertions.checkStateNotNull(fakeDataSet.getData(uriString)); in useBoundedDataSpecFor()
90 dataSpecs[i] = spec.subrange(0, data.getData().length); in useBoundedDataSpecFor()
106 byte[] data = requestSet.getData(i); in assertCachedData()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DRouterTest.java94 mHandle.writeMessage(responseMessage.getData(), new ArrayList<Handle>(), in testSendingToRouterWithResponse()
102 Assert.assertEquals(responseMessage.getData(), receivedResponseMessage.getData()); in testSendingToRouterWithResponse()
119 mHandle.writeMessage(headerMessage.getData(), new ArrayList<Handle>(), in sendMessageToRouter()
126 Assert.assertEquals(headerMessage.getData(), receivedMessage.first.getData()); in sendMessageToRouter()
153 Assert.assertEquals(message.getData(), ByteBuffer.wrap(result.getValue().mData)); in sendResponseFromRouter()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceParserTest.java31 assertThat((String) value.getData()).contains("rainbow.xml"); in shouldLoadDrawableXmlResources()
40 assertThat((String) value.getData()).contains("an_image.png"); in shouldLoadDrawableBitmapResources()
49 assertThat((String) value.getData()).isEqualTo("@drawable/an_image"); in shouldLoadDrawableBitmapResourcesDefinedByItemTag()
59 assertThat((String) value.getData()).isEmpty(); in shouldLoadIdResourcesDefinedByItemTag()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp106 const void* ObjData = DebugObj.getData().data(); in NotifyObjectEmitted()
188 DebugObjects[Obj.getData().data()] = std::move(DebugObjOwner); in NotifyObjectEmitted()
194 if (DebugObjects.find(Obj.getData().data()) == DebugObjects.end()) in NotifyFreeingObject()
198 const ObjectFile &DebugObj = *DebugObjects[Obj.getData().data()].getBinary(); in NotifyFreeingObject()
199 const void* ObjData = DebugObj.getData().data(); in NotifyFreeingObject()
223 DebugObjects.erase(Obj.getData().data()); in NotifyFreeingObject()
/external/cldr/tools/java/org/unicode/cldr/util/
DIso639Data.java151 getData(); in getSource()
164 getData(); in toAlpha3()
174 getData(); in fromAlpha3()
193 getData(); in fromBiblio3()
204 getData(); in toBiblio3()
219 getData(); in getNames()
226 getData(); in getScope()
241 getData(); in getHeirarchy()
248 getData(); in getType()
284 private static void getData() { in getData() method in Iso639Data
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DTypedResource.java16 public T getData() { in getData() method in TypedResource
33 T data = getData(); in asString()
42 Object data = getData(); in isReference()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue29/
DFlexibleScalarStyleTest.java55 String output = yaml.dump(getData()); in testNoFoldedScalar()
65 String output = yaml.dump(getData()); in testCustomScalarStyle()
76 String output = yaml.dump(getData()); in testCustomScalarStyleNoSplitLines()
82 private Map<String, String> getData() { in getData() method in FlexibleScalarStyleTest
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUBinary.java98 static ByteBuffer getData(ByteBuffer bytes, CharSequence key) { in getData() method in ICUBinary.DatPackageReader
217 abstract ByteBuffer getData(String requestedPath);
241 ByteBuffer getData(String requestedPath) {
276 ByteBuffer getData(String requestedPath) {
277 return DatPackageReader.getData(pkgBytes, requestedPath);
438 public static ByteBuffer getData(String itemPath) {
439 return getData(null, null, itemPath, false);
452 public static ByteBuffer getData(ClassLoader loader, String resourceName, String itemPath) {
453 return getData(loader, resourceName, itemPath, false);
465 return getData(null, null, itemPath, true);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchive.cpp69 uint64_t Offset = RawHeaderPtr - Parent->getData().data(); in ArchiveMemberHeader()
89 uint64_t Offset = RawHeaderPtr - Parent->getData().data(); in ArchiveMemberHeader()
106 Parent->getData().data(); in getRawName()
135 Parent->getData().data(); in getName()
162 Parent->getData().data(); in getName()
172 Parent->getData().data(); in getName()
200 Parent->getData().data(); in getName()
208 Parent->getData().data(); in getName()
236 Parent->getData().data(); in getSize()
254 Parent->getData().data(); in getAccessMode()
[all …]
/external/llvm-project/llvm/lib/Object/
DArchive.cpp69 uint64_t Offset = RawHeaderPtr - Parent->getData().data(); in ArchiveMemberHeader()
89 uint64_t Offset = RawHeaderPtr - Parent->getData().data(); in ArchiveMemberHeader()
106 Parent->getData().data(); in getRawName()
135 Parent->getData().data(); in getName()
162 Parent->getData().data(); in getName()
172 Parent->getData().data(); in getName()
200 Parent->getData().data(); in getName()
208 Parent->getData().data(); in getName()
236 Parent->getData().data(); in getSize()
254 Parent->getData().data(); in getAccessMode()
[all …]
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp114 DebugObjects[Obj.getData().data()] = std::move(DebugObjOwner); in NotifyObjectEmitted()
122 if (DebugObjects.find(Obj.getData().data()) == DebugObjects.end()) in NotifyFreeingObject()
125 const ObjectFile &DebugObj = *DebugObjects[Obj.getData().data()].getBinary(); in NotifyFreeingObject()
147 DebugObjects.erase(Obj.getData().data()); in NotifyFreeingObject()
/external/llvm-project/libc/test/src/string/
Dmemcpy_test.cpp21 Data getData(ArrayRef<char> filler) { in getData() function
29 const Data groundtruth = getData(kNumbers); in TEST()
30 const Data dirty = getData(kDeadcode); in TEST()
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/
DAgentTest.java88 assertEquals("test", agent.getData().getSessionId()); in startup_should_set_defined_session_id()
99 final String id1 = agent.getData().getSessionId(); in startup_should_create_random_session_id_when_undefined()
103 final String id2 = agent.getData().getSessionId(); in startup_should_create_random_session_id_when_undefined()
268 boolean[] probes = agent.getData() in reset_should_reset_probes()
283 agent.getData().getExecutionData(Long.valueOf(0x12345678), "Foo", 1) in getExecutionData_should_return_probes_and_session_id()
301 final boolean[] probes = agent.getData() in getExecutionData_should_reset_probes_when_enabled()
316 final boolean[] probes = agent.getData() in getExecutionData_should_not_reset_probes_when_disabled()

12345678910>>...25