Home
last modified time | relevance | path

Searched refs:eventIndex (Results 1 – 10 of 10) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/subrip/
DSubripDecoderTest.java196 private static void assertTypicalCue1(Subtitle subtitle, int eventIndex) { in assertTypicalCue1() argument
197 assertThat(subtitle.getEventTime(eventIndex)).isEqualTo(0); in assertTypicalCue1()
198 assertThat(subtitle.getCues(subtitle.getEventTime(eventIndex)).get(0).text.toString()) in assertTypicalCue1()
200 assertThat(subtitle.getEventTime(eventIndex + 1)).isEqualTo(1234000); in assertTypicalCue1()
203 private static void assertTypicalCue2(Subtitle subtitle, int eventIndex) { in assertTypicalCue2() argument
204 assertThat(subtitle.getEventTime(eventIndex)).isEqualTo(2345000); in assertTypicalCue2()
205 assertThat(subtitle.getCues(subtitle.getEventTime(eventIndex)).get(0).text.toString()) in assertTypicalCue2()
207 assertThat(subtitle.getEventTime(eventIndex + 1)).isEqualTo(3456000); in assertTypicalCue2()
210 private static void assertTypicalCue3(Subtitle subtitle, int eventIndex) { in assertTypicalCue3() argument
212 assertThat(subtitle.getEventTime(eventIndex)).isEqualTo(expectedStartTimeUs); in assertTypicalCue3()
[all …]
/external/llvm-project/lld/wasm/
DInputEvent.h37 uint32_t getEventIndex() const { return eventIndex.getValue(); } in getEventIndex()
38 bool hasEventIndex() const { return eventIndex.hasValue(); } in hasEventIndex()
41 eventIndex = index; in setEventIndex()
51 llvm::Optional<uint32_t> eventIndex;
DSymbols.cpp317 assert(eventIndex != INVALID_INDEX); in getEventIndex()
318 return eventIndex; in getEventIndex()
323 assert(eventIndex == INVALID_INDEX); in setEventIndex()
324 eventIndex = index; in setEventIndex()
330 return eventIndex != INVALID_INDEX; in hasEventIndex()
DSyntheticSections.cpp260 uint32_t eventIndex = in addEvent() local
262 LLVM_DEBUG(dbgs() << "addEvent: " << eventIndex << "\n"); in addEvent()
263 event->setEventIndex(eventIndex); in addEvent()
DSymbols.h393 uint32_t eventIndex = INVALID_INDEX; variable
/external/libtextclassifier/java/src/com/android/textclassifier/common/logging/
DTextClassifierEvent.java155 private final int eventIndex; field in TextClassifierEvent
168 eventIndex = builder.eventIndex; in TextClassifierEvent()
221 return eventIndex; in getEventIndex()
272 out.append(", mEventIndex=").append(eventIndex); in toString()
301 private int eventIndex; field in TextClassifierEvent.Builder
352 public T setEventIndex(int eventIndex) { in setEventIndex() argument
353 this.eventIndex = eventIndex; in setEventIndex()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ssa/
DSsaDecoderTest.java270 private static void assertTypicalCue1(Subtitle subtitle, int eventIndex) { in assertTypicalCue1() argument
271 assertThat(subtitle.getEventTime(eventIndex)).isEqualTo(0); in assertTypicalCue1()
272 assertThat(subtitle.getCues(subtitle.getEventTime(eventIndex)).get(0).text.toString()) in assertTypicalCue1()
274 assertThat(subtitle.getEventTime(eventIndex + 1)).isEqualTo(1230000); in assertTypicalCue1()
277 private static void assertTypicalCue2(Subtitle subtitle, int eventIndex) { in assertTypicalCue2() argument
278 assertThat(subtitle.getEventTime(eventIndex)).isEqualTo(2340000); in assertTypicalCue2()
279 assertThat(subtitle.getCues(subtitle.getEventTime(eventIndex)).get(0).text.toString()) in assertTypicalCue2()
281 assertThat(subtitle.getEventTime(eventIndex + 1)).isEqualTo(3450000); in assertTypicalCue2()
284 private static void assertTypicalCue3(Subtitle subtitle, int eventIndex) { in assertTypicalCue3() argument
285 assertThat(subtitle.getEventTime(eventIndex)).isEqualTo(4560000); in assertTypicalCue3()
[all …]
/external/OpenCL-CTS/test_conformance/events/
Dtest_callbacks.cpp195 int eventIndex = (int)(size_t)userData; in simultaneous_event_callback_function() local
196 int actionIndex = eventIndex/EVENT_CALLBACK_TYPE_TOTAL; in simultaneous_event_callback_function()
197 int statusIndex = eventIndex%EVENT_CALLBACK_TYPE_TOTAL; in simultaneous_event_callback_function()
/external/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/
DShadowGoogleAuthUtil.java53 int eventIndex, String accountName) in getAccountChangeEvents() argument
55 return googleAuthUtilImpl.getAccountChangeEvents(context, eventIndex, accountName); in getAccountChangeEvents()
146 public List<AccountChangeEvent> getAccountChangeEvents(Context context, int eventIndex, in getAccountChangeEvents() argument
/external/replicaisland/src/com/replica/replicaisland/
DHudSystem.java540 public void sendGameEventOnFadeComplete(int eventType, int eventIndex) { in sendGameEventOnFadeComplete() argument
542 mFadePendingEventIndex = eventIndex; in sendGameEventOnFadeComplete()