Home
last modified time | relevance | path

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

/reactos/drivers/network/tcpip/lwip/src/include/lwip/prot/
H A Dtcp.h85 #define TCPH_HDRLEN(phdr) ((u16_t)(lwip_ntohs((phdr)->_hdrlen_rsvd_flags) >> 12)) argument
86 #define TCPH_HDRLEN_BYTES(phdr) ((u8_t)(TCPH_HDRLEN(phdr) << 2)) argument
87 #define TCPH_FLAGS(phdr) ((u8_t)((lwip_ntohs((phdr)->_hdrlen_rsvd_flags) & TCP_FLAGS))) argument
89 #define TCPH_HDRLEN_SET(phdr, len) (phdr)->_hdrlen_rsvd_flags = lwip_htons(((len) << 12) | TCPH_FLA… argument
90 #define TCPH_FLAGS_SET(phdr, flags) (phdr)->_hdrlen_rsvd_flags = (((phdr)->_hdrlen_rsvd_flags & PP_… argument
91 #define TCPH_HDRLEN_FLAGS_SET(phdr, len, flags) (phdr)->_hdrlen_rsvd_flags = (u16_t)(lwip_htons((u1… argument
93 #define TCPH_SET_FLAG(phdr, flags ) (phdr)->_hdrlen_rsvd_flags = ((phdr)->_hdrlen_rsvd_flags | lwip… argument
94 #define TCPH_UNSET_FLAG(phdr, flags) (phdr)->_hdrlen_rsvd_flags = ((phdr)->_hdrlen_rsvd_flags & ~lw… argument
/reactos/base/applications/sndrec32/
H A Daudio_waveout.cpp351 WAVEHDR *phdr; in playing_procedure() local
371 phdr = (WAVEHDR *)msg.lParam; in playing_procedure()
387 if (phdr->dwFlags & WHDR_DONE) in playing_procedure()
393 read_size = _this->audio_buf.read((BYTE *)phdr->lpData, in playing_procedure()
394 phdr->dwBufferLength); in playing_procedure()
403 phdr->dwBufferLength = read_size; in playing_procedure()
408 phdr->dwFlags &= ~WHDR_DONE; in playing_procedure()
412 phdr, in playing_procedure()
427 if (phdr->dwUser == 0) in playing_procedure()
439 else if (phdr->dwUser == (_this->buffers - 1)) in playing_procedure()
H A Daudio_wavein.cpp347 WAVEHDR *phdr; in recording_procedure() local
369 phdr = (WAVEHDR *)msg.lParam; in recording_procedure()
374 if (phdr->dwFlags & WHDR_DONE) in recording_procedure()
377 _this->audio_rcvd.audio_receive((unsigned char *)phdr->lpData, in recording_procedure()
378 phdr->dwBytesRecorded); in recording_procedure()
382 _this->audio_rcvd.bytes_received += phdr->dwBytesRecorded; in recording_procedure()
391 waveInAddBuffer(_this->wavein_handle, phdr, sizeof(WAVEHDR)); in recording_procedure()
400 phdr->dwFlags = 0; in recording_procedure()
/reactos/dll/cpl/usrmgr/
H A Dgroups.c380 OnGroupsPageNotify(HWND hwndDlg, PGROUP_DATA pGroupData, NMHDR *phdr) in OnGroupsPageNotify() argument
382 LPNMLISTVIEW lpnmlv = (LPNMLISTVIEW)phdr; in OnGroupsPageNotify()
384 switch (phdr->idFrom) in OnGroupsPageNotify()
387 switch(phdr->code) in OnGroupsPageNotify()
412 return OnGroupsPageBeginLabelEdit((LPNMLVDISPINFO)phdr); in OnGroupsPageNotify()
415 return OnGroupsPageEndLabelEdit((LPNMLVDISPINFO)phdr); in OnGroupsPageNotify()
H A Dusers.c571 OnNotify(HWND hwndDlg, PUSER_DATA pUserData, NMHDR *phdr) in OnNotify() argument
573 LPNMLISTVIEW lpnmlv = (LPNMLISTVIEW)phdr; in OnNotify()
575 switch (phdr->idFrom) in OnNotify()
578 switch(phdr->code) in OnNotify()
603 return OnBeginLabelEdit((LPNMLVDISPINFO)phdr); in OnNotify()
606 return OnEndLabelEdit((LPNMLVDISPINFO)phdr); in OnNotify()
/reactos/dll/win32/dbghelp/
H A Delf_module.c520 } phdr; in elf_map_file() local
522 if (elf_map_file_read(fmap, emfd, &phdr, sizeof(phdr), in elf_map_file()
523 fmap->u.elf.elfhdr.e_phoff + i * sizeof(phdr)) && in elf_map_file()
524 phdr.p_type == ELF_PT_LOAD) in elf_map_file()
526 tmp = (phdr.p_vaddr + phdr.p_memsz + page_mask) & ~page_mask; in elf_map_file()
528 if (phdr.p_vaddr < fmap->u.elf.elf_start) fmap->u.elf.elf_start = phdr.p_vaddr; in elf_map_file()
543 } phdr; in elf_map_file() local
545 if (elf_map_file_read(fmap, emfd, &phdr, sizeof(phdr), in elf_map_file()
547 phdr.p_type == ELF_PT_LOAD) in elf_map_file()
549 tmp = (phdr.p_vaddr + phdr.p_memsz + page_mask) & ~page_mask; in elf_map_file()
[all …]
/reactos/dll/cpl/sysdm/
H A Denvironment.c717 LPNMLISTVIEW lpnmlv = (LPNMLISTVIEW)phdr; in OnNotifyEditVariableDlg()
719 switch (phdr->idFrom) in OnNotifyEditVariableDlg()
722 switch (phdr->code) in OnNotifyEditVariableDlg()
1793 OnNotify(HWND hwndDlg, NMHDR *phdr) in OnNotify() argument
1795 switch (phdr->code) in OnNotify()
1798 if (phdr->idFrom == IDC_USER_VARIABLE_LIST || in OnNotify()
1799 phdr->idFrom == IDC_SYSTEM_VARIABLE_LIST) in OnNotify()
1801 OnEditVariable(hwndDlg, (INT)phdr->idFrom); in OnNotify()
1807 if (((LPNMLVKEYDOWN)phdr)->wVKey == VK_DELETE && in OnNotify()
1808 (phdr->idFrom == IDC_USER_VARIABLE_LIST || in OnNotify()
[all …]
/reactos/base/applications/regedit/
H A Dedit.c844 OnResourceNotify(HWND hwndDlg, NMHDR *phdr) in OnResourceNotify() argument
846 LPNMLISTVIEW lpnmlv = (LPNMLISTVIEW)phdr; in OnResourceNotify()
848 switch (phdr->idFrom) in OnResourceNotify()
855 switch(phdr->code) in OnResourceNotify()
991 OnResourceListNotify(HWND hwndDlg, NMHDR *phdr) in OnResourceListNotify() argument
993 LPNMLISTVIEW lpnmlv = (LPNMLISTVIEW)phdr; in OnResourceListNotify()
995 switch (phdr->idFrom) in OnResourceListNotify()
998 switch(phdr->code) in OnResourceListNotify()
1464 LPNMLISTVIEW lpnmlv = (LPNMLISTVIEW)phdr; in OnRequirementsListNotify()
1466 switch (phdr->idFrom) in OnRequirementsListNotify()
[all …]
/reactos/modules/rosapps/applications/explorer-old/dialogs/
H A Dsearchprogram.cpp379 NMHEADER* phdr = (NMHEADER*)pnmh; in Notify() local
383 _sort.toggle_sort(phdr->iItem); in Notify()
/reactos/modules/rostests/win32/comctl32/buttonvistest/
H A Dbuttonvistest.cpp362 NMHDR* phdr = (NMHDR*)lParam; in WndProc() local
363 if (phdr->code == NM_CUSTOMDRAW) in WndProc()