/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/ |
D | SystraceExtractor.kt | 40 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/ |
D | StreamingLineReader.kt | 21 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>()
|
D | StreamingReader.kt | 38 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/ |
D | StringSearch.kt | 98 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/ |
D | renderer.cpp | 46 int Renderer::initDisplay(NativeWindowType window) { in initDisplay() argument 47 egl.window = window; in initDisplay() 112 surface = eglCreateWindowSurface(display, config, window, NULL); in initDisplay()
|
D | renderer.h | 33 NativeWindowType window; member 55 int initDisplay(NativeWindowType window);
|
D | main.cpp | 74 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/ |
D | PowerTelTrafficTest.py | 247 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/ |
D | IperfHelper.py | 60 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/ |
D | surface_flinger_test_activity.cpp | 66 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/ |
D | audio_analysis.py | 553 window = signal[cur:cur + window_size] 554 res = THDN(window, rate, q, freq)
|
/tools/dexter/testdata/expected/ |
D | medium.rewrite | 54767 .local v2, "window", android.view.Window
|
D | medium.wrap_invoke | 54767 .local v2, "window", android.view.Window
|
D | medium.scratch_regs | 65210 .local v10, "window", android.view.Window
|
D | medium.exit_hook | 57912 .local v2, "window", android.view.Window
|
D | medium.entry_hook | 56462 .local v2, "window", android.view.Window
|
D | medium.compact_cfg | 65683 .local v2, "window", android.view.Window
|