Home
last modified time | relevance | path

Searched refs:window (Results 1 – 17 of 17) sorted by relevance

/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/
DSystraceExtractor.kt40 stream.onWindowReleased = { window -> processWindow(window, pipe) } in <lambda>() method
63 private fun processWindow(window: StreamingReader.Window, pipe: Pipe<DataSlice>) { in <lambda>()
64 if (window.globalEndIndex >= startIndex && window.globalStartIndex < endIndex) { in <lambda>()
65 if (window.globalStartIndex >= startIndex && window.globalEndIndex <= endIndex) { in <lambda>()
66 pipe.add(window.slice) in <lambda>()
68 val sliceStart = maxOf(startIndex - window.globalStartIndex, 0) in <lambda>()
69 val sliceEnd = minOf(endIndex, window.globalEndIndex) - window.globalStartIndex in <lambda>()
70 pipe.add(window.slice.slice(sliceStart.toInt(), sliceEnd.toInt())) in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DStreamingLineReader.kt21 private fun findNewlineInWindow(window: StreamingReader.Window, startIndex: Long): Long { in findNewlineInWindow()
22 for (i in startIndex..window.globalEndIndex) { in findNewlineInWindow()
23 if (window[i] == '\n'.toByte()) return i in findNewlineInWindow()
43 val window = stream.windowFor(index) in <lambda>() constant
44 foundAt = findNewlineInWindow(window, index) in <lambda>()
46 index = window.globalEndIndex + 1 in <lambda>()
62 val window = stream.windowFor(lineStartIndex) in <lambda>() constant
63 if (window === stream.windowFor(lineEndIndexInclusive)) { in <lambda>()
65 yield(window.slice.slice((lineStartIndex - window.globalStartIndex).toInt(), in <lambda>()
66 (lineEndIndexInclusive - window.globalStartIndex + 1).toInt())) in <lambda>()
DStreamingReader.kt38 val window = windows[wi] in get() constant
39 if (window.globalStartIndex <= i && window.globalEndIndex >= i) { in get()
40 return window in get()
107 val window = windowFor(srcIndex) in get() constant
108 while (srcIndex <= window.globalEndIndex && dstIndex < tmpBuffer.size) { in get()
109 tmpBuffer[dstIndex++] = window[srcIndex++] in get()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DStringSearch.kt98 val window = reader.windowFor(index) in find() constant
99 index = findInWindow(window, index, endIndex) in find()
100 if (index <= window.globalEndIndex) { in find()
124 val window = reader.windowFor(index) in findInLoadedRegion() constant
125 index = findInWindow(window, index, endIndex) in findInLoadedRegion()
126 if (index < window.globalEndIndex && index < endIndex) { in findInLoadedRegion()
168 …private fun findInWindow(window: StreamingReader.Window, globalStartIndex: Long, globalEndIndex: L… in findInWindow()
169 var index = (globalStartIndex - window.globalStartIndex).toInt() in findInWindow()
170 val buffer = window.slice in findInWindow()
171 … val endIndex = (minOf(window.globalEndIndex, globalEndIndex) - window.globalStartIndex).toInt() in findInWindow()
[all …]
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Drenderer.cpp46 int Renderer::initDisplay(NativeWindowType window) { in initDisplay() argument
47 egl.window = window; in initDisplay()
112 surface = eglCreateWindowSurface(display, config, window, NULL); in initDisplay()
Drenderer.h33 NativeWindowType window; member
55 int initDisplay(NativeWindowType window);
Dmain.cpp74 if (app->window != NULL) { in engine_handle_cmd()
75 renderer->initDisplay(app->window); in engine_handle_cmd()
/tools/test/connectivity/acts/tests/google/power/tel/lab/
DPowerTelTrafficTest.py247 window=dl_tcp_window,
259 window=ul_tcp_window,
269 window=None): argument
293 'window': window
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DIperfHelper.py60 self.window = config.get("window", None)
61 if self.window:
62 iperf_args += ' -w {}M'.format(self.window)
/tools/test/graphicsbenchmark/functional_tests/java/src/cpp/
Dsurface_flinger_test_activity.cpp66 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_initDisplay() local
67 renderer->initDisplay(window); in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_initDisplay()
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_analysis.py553 window = signal[cur:cur + window_size]
554 res = THDN(window, rate, q, freq)
/tools/dexter/testdata/expected/
Dmedium.rewrite54767 .local v2, "window", android.view.Window
Dmedium.wrap_invoke54767 .local v2, "window", android.view.Window
Dmedium.scratch_regs65210 .local v10, "window", android.view.Window
Dmedium.exit_hook57912 .local v2, "window", android.view.Window
Dmedium.entry_hook56462 .local v2, "window", android.view.Window
Dmedium.compact_cfg65683 .local v2, "window", android.view.Window