Home
last modified time | relevance | path

Searched refs:mode1 (Results 1 – 24 of 24) sorted by relevance

/src/lib/libc/tests/stdio/
H A Dfreopen_test.c36 runtest(const char *fname1, const char *mode1, const char *fname2, in runtest() argument
43 fp1 = fopen(fname1, mode1); in runtest()
45 "fopen(\"%s\", \"%s\") failed; errno=%d", fname1, mode1, errno); in runtest()
50 "unexpectedly", fname2_print, mode2, fname1, mode1); in runtest()
55 fname2_print, mode2, fname1, mode1, errno); in runtest()
/src/sys/dev/drm2/
H A Ddrm_modes.c753 bool drm_mode_equal(const struct drm_display_mode *mode1, const struct drm_display_mode *mode2) in drm_mode_equal() argument
757 if (mode1->clock && mode2->clock) { in drm_mode_equal()
758 if (KHZ2PICOS(mode1->clock) != KHZ2PICOS(mode2->clock)) in drm_mode_equal()
760 } else if (mode1->clock != mode2->clock) in drm_mode_equal()
763 if (mode1->hdisplay == mode2->hdisplay && in drm_mode_equal()
764 mode1->hsync_start == mode2->hsync_start && in drm_mode_equal()
765 mode1->hsync_end == mode2->hsync_end && in drm_mode_equal()
766 mode1->htotal == mode2->htotal && in drm_mode_equal()
767 mode1->hskew == mode2->hskew && in drm_mode_equal()
768 mode1->vdisplay == mode2->vdisplay && in drm_mode_equal()
[all …]
H A Ddrm_crtc.h897 extern bool drm_mode_equal(const struct drm_display_mode *mode1, const struct drm_display_mode *mod…
/src/contrib/libevent/
H A Devthread-internal.h314 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
315 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
350 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument
355 EVLOCK_LOCK(lock1_tmplock_,mode1); \
360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument
367 EVLOCK_UNLOCK(lock1_tmplock_,mode1); \
/src/contrib/ntp/sntp/libevent/
H A Devthread-internal.h314 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
315 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
350 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument
355 EVLOCK_LOCK(lock1_tmplock_,mode1); \
360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument
367 EVLOCK_UNLOCK(lock1_tmplock_,mode1); \
/src/contrib/libdiff/test/
H A Dexpect019.diff26 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
88 mode_t mode1, mode_t mode2, struct got_repository *repo)
93 - err = diff_blobs(NULL, blob1, blob2, label1, label2, mode1, mode2,
97 + blob1, blob2, label1, label2, mode1, mode2, a->diff_context,
H A Dtest019.left.txt45 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
97 if (mode1 && mode1 != mode2) {
98 if (S_ISLNK(mode1))
103 mode1 & modebits) == -1) {
108 if (mode2 && mode1 != mode2) {
159 mode_t mode1, mode_t mode2, struct got_repository *repo)
164 err = diff_blobs(NULL, blob1, blob2, label1, label2, mode1, mode2,
295 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
328 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2,
574 mode_t mode1, mode_t mode2, struct got_repository *repo)
[all …]
H A Dtest019.right.txt60 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
117 if (mode1 && mode1 != mode2) {
118 if (S_ISLNK(mode1))
123 mode1 & modebits) == -1) {
128 if (mode2 && mode1 != mode2) {
201 mode_t mode1, mode_t mode2, struct got_repository *repo)
206 blob1, blob2, label1, label2, mode1, mode2, a->diff_context,
338 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
371 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2,
617 mode_t mode1, mode_t mode2, struct got_repository *repo)
[all …]
H A Dtest020.left.txt43 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
118 if (mode1 && mode1 != mode2) {
119 if (S_ISLNK(mode1))
124 mode1 & modebits) == -1) {
129 if (mode2 && mode1 != mode2) {
161 mode_t mode1, mode_t mode2, struct got_repository *repo)
165 return diff_blobs(blob1, blob2, label1, label2, mode1, mode2,
334 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
367 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2,
613 mode_t mode1, mode_t mode2, struct got_repository *repo)
[all …]
H A Dtest020.right.txt60 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
117 if (mode1 && mode1 != mode2) {
118 if (S_ISLNK(mode1))
123 mode1 & modebits) == -1) {
128 if (mode2 && mode1 != mode2) {
201 mode_t mode1, mode_t mode2, struct got_repository *repo)
206 blob1, blob2, label1, label2, mode1, mode2, a->diff_context,
369 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
402 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2,
648 mode_t mode1, mode_t mode2, struct got_repository *repo)
[all …]
/src/sys/dev/sec/
H A Dsec.h76 u_int mode1 : 8; member
105 #define shd_mode1 shd_control.request.mode1
/src/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-ampere-mtjade.dts785 /*H0-H7*/ "uart1-mode1","uart2-mode1","uart3-mode1","uart4-mode1",
H A Daspeed-bmc-ampere-mtmitchell.dts1057 /*18C0-18C7*/ "uart1-mode0","uart1-mode1","uart2-mode0","uart2-mode1",
1058 "uart3-mode0","uart3-mode1","uart4-mode0","uart4-mode1",
H A Daspeed-bmc-ampere-mtjefferson.dts618 /*18C0-18C7*/ "uart1-mode0","uart1-mode1","uart2-mode0","uart2-mode1",
H A Daspeed-bmc-opp-romulus.dts271 nic-func-mode1-hog {
H A Daspeed-bmc-opp-nicole.dts256 func-mode1-hog {
H A Daspeed-bmc-opp-palmetto.dts219 pin-func-mode1-hog {
/src/sys/contrib/device-tree/src/arm64/ti/
H A Dk3-am6548-iot2050-advanced-sm.dts133 "wkup_gpio0-base", "", "", "", "UART0-mode1", "UART0-mode0",
H A Dk3-am65-iot2050-arduino-connector.dtsi693 "wkup_gpio0-base", "", "", "", "UART0-mode1", "UART0-mode0",
/src/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mq-zii-ultra.dtsi251 usb-mode1-hog {
255 line-name = "usb-mode1";
/src/sys/contrib/device-tree/src/arm/ti/omap/
H A Dmotorola-mapphone-handset.dtsi135 /* mode1/apwake 0x4a100150 sdmmc5_dat2.gpio_149 ag3 */
/src/contrib/ntp/ntpd/
H A Drefclock_oncore.c852 int cap, mode, mode1; in oncore_ppsapi() local
872 mode1 = PPS_OFFSETASSERT; in oncore_ppsapi()
876 mode1 = PPS_OFFSETCLEAR; in oncore_ppsapi()
887 if (!(mode1 & cap)) { in oncore_ppsapi()
891 mode1 = 0; in oncore_ppsapi()
896 instance->pps_p.mode = (mode | mode1 | PPS_TSFMT_TSPEC) & cap; in oncore_ppsapi()
/src/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx6qdl-zii-rdu2.dtsi340 usb-mode1-hog {
344 line-name = "usb-mode1";
/src/contrib/wpa/wpa_supplicant/
H A Dp2p_supplicant.c6469 enum hostapd_hw_mode mode1, mode2; in wpas_same_band() local
6472 mode1 = ieee80211_freq_to_chan(freq1, &chan1); in wpas_same_band()
6474 if (mode1 == NUM_HOSTAPD_MODES) in wpas_same_band()
6476 return mode1 == mode2; in wpas_same_band()