Home
last modified time | relevance | path

Searched refs:wnd (Results 1 – 25 of 30) sorted by relevance

12

/external/aac/libAACenc/src/
Dgrp_data.cpp134 INT wnd; /* counts through windows in a group */ in FDKaacEnc_groupShortData() local
146 for (wnd = 0; wnd < TRANS_FAC; wnd++) { in FDKaacEnc_groupShortData()
149 if (mdctSpectrum[wnd * granuleLength_short + line] != in FDKaacEnc_groupShortData()
182 wnd = 0; in FDKaacEnc_groupShortData()
186 FIXP_DBL thresh = sfbThreshold->Short[wnd][sfb]; in FDKaacEnc_groupShortData()
188 thresh = nrgAddSaturate(thresh, sfbThreshold->Short[wnd + j][sfb]); in FDKaacEnc_groupShortData()
193 wnd += groupLen[grp]; in FDKaacEnc_groupShortData()
197 wnd = 0; in FDKaacEnc_groupShortData()
201 FIXP_DBL energy = sfbEnergy->Short[wnd][sfb]; in FDKaacEnc_groupShortData()
203 energy = nrgAddSaturate(energy, sfbEnergy->Short[wnd + j][sfb]); in FDKaacEnc_groupShortData()
[all …]
/external/webrtc/rtc_base/
Dwin32_window_unittest.cc42 TestWindow wnd; in TEST() local
43 EXPECT_TRUE(wnd.handle() == nullptr); in TEST()
44 EXPECT_FALSE(wnd.destroyed()); in TEST()
45 EXPECT_TRUE(wnd.Create(0, L"Test", 0, 0, 0, 0, 100, 100)); in TEST()
46 EXPECT_TRUE(wnd.handle() != nullptr); in TEST()
47 EXPECT_EQ(kDummyResult, ::SendMessage(wnd.handle(), WM_USER, 1, 2)); in TEST()
48 EXPECT_EQ(static_cast<UINT>(WM_USER), wnd.msg().message); in TEST()
49 EXPECT_EQ(1u, wnd.msg().wParam); in TEST()
50 EXPECT_EQ(2l, wnd.msg().lParam); in TEST()
51 wnd.Destroy(); in TEST()
[all …]
/external/webrtc/examples/peerconnection/client/linux/
Dmain.cc30 explicit CustomSocketServer(GtkMainWnd* wnd) in CustomSocketServer() argument
31 : wnd_(wnd), conductor_(NULL), client_(NULL) {} in CustomSocketServer()
93 GtkMainWnd wnd(server.c_str(), absl::GetFlag(FLAGS_port), in main() local
96 wnd.Create(); in main()
98 CustomSocketServer socket_server(&wnd); in main()
105 new rtc::RefCountedObject<Conductor>(&client, &wnd)); in main()
112 wnd.Destroy(); in main()
Dmain_wnd.cc132 GtkMainWnd* wnd = reinterpret_cast<GtkMainWnd*>(data); in Redraw() local
133 wnd->OnRedraw(); in Redraw()
138 GtkMainWnd* wnd = reinterpret_cast<GtkMainWnd*>(data); in Draw() local
139 wnd->Draw(widget, cr); in Draw()
/external/google-breakpad/src/client/windows/tests/crash_generation_app/
Dcrash_generation_app.cc117 HWND wnd = CreateWindow(window_class, in InitInstance() local
129 if (!wnd) { in InitInstance()
133 ShowWindow(wnd, command_show); in InitInstance()
134 UpdateWindow(wnd); in InitInstance()
357 LRESULT CALLBACK WndProc(HWND wnd, in WndProc() argument
366 HINSTANCE instance = (HINSTANCE)GetWindowLongPtr(wnd, GWLP_HINSTANCE); in WndProc()
377 wnd, in WndProc()
381 DestroyWindow(wnd); in WndProc()
402 return DefWindowProc(wnd, message, w_param, l_param); in WndProc()
413 wnd, in WndProc()
[all …]
/external/webrtc/examples/peerconnection/client/
Dmain_wnd.cc31 void CalculateWindowSizeForText(HWND wnd, in CalculateWindowSizeForText() argument
35 HDC dc = ::GetDC(wnd); in CalculateWindowSizeForText()
38 ::ReleaseDC(wnd, dc); in CalculateWindowSizeForText()
40 ::GetClientRect(wnd, &client); in CalculateWindowSizeForText()
41 ::GetWindowRect(wnd, &window); in CalculateWindowSizeForText()
54 std::string GetWindowText(HWND wnd) { in GetWindowText() argument
56 ::GetWindowTextA(wnd, &text[0], ARRAYSIZE(text)); in GetWindowText()
457 void MainWnd::CreateChildWindow(HWND* wnd, in CreateChildWindow() argument
462 if (::IsWindow(*wnd)) in CreateChildWindow()
467 *wnd = ::CreateWindowExW(ex_style, class_name, L"", style, 100, 100, 100, 100, in CreateChildWindow()
[all …]
Dmain.cc103 MainWnd wnd(server.c_str(), absl::GetFlag(FLAGS_port), in wWinMain() local
105 if (!wnd.Create()) { in wWinMain()
113 new rtc::RefCountedObject<Conductor>(&client, &wnd)); in wWinMain()
119 if (!wnd.PreTranslateMessage(&msg)) { in wWinMain()
128 if (!wnd.PreTranslateMessage(&msg)) { in wWinMain()
Dmain_wnd.h109 VideoRenderer(HWND wnd,
171 void CreateChildWindow(HWND* wnd,
/external/skqp/tools/sk_app/win/
DRasterWindowContext_win.cpp39 RasterWindowContext_win::RasterWindowContext_win(HWND wnd, const DisplayParams& params) in RasterWindowContext_win() argument
41 , fWnd(wnd) { in RasterWindowContext_win()
43 GetClientRect(wnd, &rect); in RasterWindowContext_win()
90 WindowContext* NewRasterForWin(HWND wnd, const DisplayParams& params) { in NewRasterForWin() argument
91 WindowContext* ctx = new RasterWindowContext_win(wnd, params); in NewRasterForWin()
DGLWindowContext_win.cpp52 GLWindowContext_win::GLWindowContext_win(HWND wnd, const DisplayParams& params) in GLWindowContext_win() argument
54 , fHWND(wnd) in GLWindowContext_win()
145 WindowContext* NewGLForWin(HWND wnd, const DisplayParams& params) { in NewGLForWin() argument
146 GLWindowContext_win* ctx = new GLWindowContext_win(wnd, params); in NewGLForWin()
DANGLEWindowContext_win.cpp59 ANGLEGLWindowContext_win::ANGLEGLWindowContext_win(HWND wnd, const DisplayParams& params) in ANGLEGLWindowContext_win() argument
60 : INHERITED(params), fHWND(wnd) { in ANGLEGLWindowContext_win()
170 WindowContext* NewANGLEForWin(HWND wnd, const DisplayParams& params) { in NewANGLEForWin() argument
171 ANGLEGLWindowContext_win* ctx = new ANGLEGLWindowContext_win(wnd, params); in NewANGLEForWin()
/external/skia/tools/sk_app/win/
DRasterWindowContext_win.cpp39 RasterWindowContext_win::RasterWindowContext_win(HWND wnd, const DisplayParams& params) in RasterWindowContext_win() argument
41 , fWnd(wnd) { in RasterWindowContext_win()
43 GetClientRect(wnd, &rect); in RasterWindowContext_win()
90 std::unique_ptr<WindowContext> MakeRasterForWin(HWND wnd, const DisplayParams& params) { in MakeRasterForWin() argument
91 std::unique_ptr<WindowContext> ctx(new RasterWindowContext_win(wnd, params)); in MakeRasterForWin()
DGLWindowContext_win.cpp52 GLWindowContext_win::GLWindowContext_win(HWND wnd, const DisplayParams& params) in GLWindowContext_win() argument
54 , fHWND(wnd) in GLWindowContext_win()
149 std::unique_ptr<WindowContext> MakeGLForWin(HWND wnd, const DisplayParams& params) { in MakeGLForWin() argument
150 std::unique_ptr<WindowContext> ctx(new GLWindowContext_win(wnd, params)); in MakeGLForWin()
DANGLEWindowContext_win.cpp59 ANGLEGLWindowContext_win::ANGLEGLWindowContext_win(HWND wnd, const DisplayParams& params) in ANGLEGLWindowContext_win() argument
60 : INHERITED(params), fHWND(wnd) { in ANGLEGLWindowContext_win()
170 std::unique_ptr<WindowContext> MakeANGLEForWin(HWND wnd, const DisplayParams& params) { in MakeANGLEForWin() argument
171 std::unique_ptr<WindowContext> ctx(new ANGLEGLWindowContext_win(wnd, params)); in MakeANGLEForWin()
/external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/
DSwingHelper.java47 public static void centerInWindow(Window wnd, Component cmp) { in centerInWindow() argument
48 Dimension size = wnd.getSize(); in centerInWindow()
49 Point loc = wnd.getLocationOnScreen(); in centerInWindow()
/external/perfetto/src/trace_processor/metrics/experimental/
Dframe_times.sql110 LEAD(ts) OVER wnd - ts as dur,
112 LEAD(ts) OVER wnd - ts as dur_fs,
115 WINDOW wnd AS (PARTITION BY exp ORDER BY ts);
/external/lzma/CPP/Windows/
DWindow.cpp106 bool MySetWindowText(HWND wnd, LPCWSTR s) in MySetWindowText() argument
109 return BOOLToBool(::SetWindowTextW(wnd, s)); in MySetWindowText()
110 return BOOLToBool(::SetWindowTextA(wnd, UnicodeStringToMultiByte(s))); in MySetWindowText()
DWindow.h39 inline bool MySetWindowText(HWND wnd, LPCWSTR s) { return BOOLToBool(::SetWindowText(wnd, s)); } in MySetWindowText() argument
41 bool MySetWindowText(HWND wnd, LPCWSTR s);
/external/aac/libAACdec/src/
Dconceal.cpp926 int wnd; in CConcealment_ApplyInter() local
938 for (wnd = 0; wnd < 8; wnd++) { in CConcealment_ApplyInter()
940 &pSpectralCoefficient[wnd * in CConcealment_ApplyInter()
946 &pConcealmentInfo->spectralCoefficient[wnd * (samplesPerFrame / in CConcealment_ApplyInter()
952 &pSpectralCoefficient[wnd * in CConcealment_ApplyInter()
954 &pSpecScale[wnd], &pConcealmentInfo->specScale[wnd], in CConcealment_ApplyInter()
955 &pSpecScale[wnd], sfbEnergyPrev, sfbEnergyAct, in CConcealment_ApplyInter()
/external/lzma/CPP/7zip/UI/FileManager/
DBrowseDialog.h19 bool Dlg_CreateFolder(HWND wnd, UString &destName);
DBrowseDialog.cpp74 static void MessageBox_Error_Global(HWND wnd, const wchar_t *message) in MessageBox_Error_Global() argument
76 ::MessageBoxW(wnd, message, L"7-Zip", MB_ICONERROR); in MessageBox_Error_Global()
79 static void MessageBox_HResError(HWND wnd, HRESULT errorCode, const wchar_t *name) in MessageBox_HResError() argument
87 MessageBox_Error_Global(wnd, s); in MessageBox_HResError()
1014 bool Dlg_CreateFolder(HWND wnd, UString &destName) in Dlg_CreateFolder() argument
1021 if (dlg.Create(wnd) != IDOK) in Dlg_CreateFolder()
/external/lzma/CPP/Windows/Control/
DDialog.h14 CDialog(HWND wnd = NULL): CWindow(wnd){}; in CWindow() argument
/external/webrtc/p2p/base/
Dpseudo_tcp.h124 uint16_t wnd; member
Dpseudo_tcp.cc579 seg.wnd = bytes_to_short(buffer + 14); in parse()
591 << "><ACK=" << seg.ack << "><WND=" << seg.wnd in parse()
735 m_snd_wnd = static_cast<uint32_t>(seg.wnd) << m_swnd_scale; in process()
788 m_snd_wnd = static_cast<uint32_t>(seg.wnd) << m_swnd_scale; in process()
/external/hyphenation-patterns/cy/
Dhyph-cy.pat.txt6186 2wnd

12