Home
last modified time | relevance | path

Searched refs:old_mode (Results 1 – 16 of 16) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl08.c53 unsigned short old_mode; in verify_shmset() local
58 old_mode = ds.shm_perm.mode; in verify_shmset()
72 check_mode(&ds, old_mode & ~0066); in verify_shmset()
82 ds.shm_perm.mode = old_mode; in verify_shmset()
88 check_mode(&ds, old_mode & MODE_MASK); in verify_shmset()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D26-1.c34 mode_t old_mode; in main() local
47 old_mode = stat_buf.st_mode; in main()
64 if (stat_buf.st_mode == old_mode) { in main()
/third_party/rust/crates/termcolor/wincolor/src/
Dwin.rs130 let old_mode = winutil::console::mode(&handle)?; in set_virtual_terminal_processing() localVariable
131 let new_mode = if yes { old_mode | vt } else { old_mode & !vt }; in set_virtual_terminal_processing()
132 if old_mode == new_mode { in set_virtual_terminal_processing()
/third_party/musl/src/signal/
Dpsignal.c18 int old_mode = f->mode; in psignal() local
23 f->mode = old_mode; in psignal()
/third_party/musl/src/stdio/
Dperror.c16 int old_mode = f->mode; in perror() local
26 f->mode = old_mode; in perror()
/third_party/musl/porting/uniproton/kernel/src/stdio/
Dperror.c16 int old_mode = f->mode; in perror() local
26 f->mode = old_mode; in perror()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
Dperror.c16 int old_mode = f->mode; in perror() local
26 f->mode = old_mode; in perror()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
Dperror.c16 int old_mode = f->mode; in perror() local
26 f->mode = old_mode; in perror()
/third_party/python/Python/
Ddynload_win.c184 unsigned int old_mode; local
187 old_mode = SetErrorMode(SEM_FAILCRITICALERRORS);
203 SetErrorMode(old_mode);
/third_party/python/Lib/test/support/
D__init__.py1553 old_mode = msvcrt.CrtSetReportMode(report_type,
1557 self.old_modes[report_type] = old_mode, old_file
1604 for report_type, (old_mode, old_file) in self.old_modes.items():
1605 msvcrt.CrtSetReportMode(report_type, old_mode)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_scan.c375 enum nl80211_iftype old_mode = drv->nlmode; in wpa_driver_nl80211_scan() local
386 wpa_driver_nl80211_set_mode(bss, old_mode); in wpa_driver_nl80211_scan()
391 drv->ap_scan_as_station = old_mode; in wpa_driver_nl80211_scan()
Ddriver_nl80211.c5894 enum nl80211_iftype nlmode, old_mode; in wpa_driver_nl80211_ap() local
5903 old_mode = drv->nlmode; in wpa_driver_nl80211_ap()
5911 if (old_mode != nlmode) in wpa_driver_nl80211_ap()
5912 wpa_driver_nl80211_set_mode(drv->first_bss, old_mode); in wpa_driver_nl80211_ap()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_scan.c372 enum nl80211_iftype old_mode = drv->nlmode; in wpa_driver_nl80211_scan() local
383 wpa_driver_nl80211_set_mode(bss, old_mode); in wpa_driver_nl80211_scan()
388 drv->ap_scan_as_station = old_mode; in wpa_driver_nl80211_scan()
Ddriver_nl80211.c5221 enum nl80211_iftype nlmode, old_mode; in wpa_driver_nl80211_ap() local
5230 old_mode = drv->nlmode; in wpa_driver_nl80211_ap()
5238 if (old_mode != nlmode) in wpa_driver_nl80211_ap()
5239 wpa_driver_nl80211_set_mode(drv->first_bss, old_mode); in wpa_driver_nl80211_ap()
/third_party/gstreamer/gstplugins_bad/gst/timecode/
Dgstavwait.c565 GstAvWaitMode old_mode; in gst_avwait_set_property() local
568 old_mode = self->mode; in gst_avwait_set_property()
570 if (self->mode != old_mode) { in gst_avwait_set_property()
/third_party/FreeBSD/sys/dev/usb/
Dusb_generic.c1715 uint8_t old_mode; in ugen_set_power_mode() local
1726 old_mode = udev->power_mode; in ugen_set_power_mode()
1729 if (old_mode == mode) in ugen_set_power_mode()
1785 if (old_mode == USB_POWER_MODE_OFF) { in ugen_set_power_mode()