Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 1689) sorted by relevance

12345678910>>...68

/freebsd/crypto/openssh/openbsd-compat/
H A Dvis.c46 #define isvisible(c,flag) \ argument
47 (((c) == '\\' || (flag & VIS_ALL) == 0) && \
50 (flag & VIS_GLOB) == 0) && isgraph((u_char)(c))) || \
51 ((flag & VIS_SP) == 0 && (c) == ' ') || \
52 ((flag & VIS_TAB) == 0 && (c) == '\t') || \
53 ((flag & VIS_NL) == 0 && (c) == '\n') || \
54 ((flag & VIS_SAFE) && ((c) == '\b' || \
62 vis(char *dst, int c, int flag, int nextc) in vis() argument
64 if (isvisible(c, flag)) { in vis()
65 if ((c == '"' && (flag & VIS_DQ) != 0) || in vis()
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dvis.c130 #define MAKEEXTRALIST(flag, extra, orig_str) \ argument
142 if (flag & VIS_SP) *e++ = ' '; \
143 if (flag & VIS_TAB) *e++ = '\t'; \
144 if (flag & VIS_NL) *e++ = '\n'; \
145 if ((flag & VIS_NOSLASH) == 0) *e++ = '\\'; \
153 do_hvis(char *dst, int c, int flag, int nextc, const char *extra) in do_hvis() argument
160 dst = do_svis(dst, c, flag, nextc, extra); in do_hvis()
175 do_svis(char *dst, int c, int flag, int nextc, const char *extra) in do_svis() argument
180 ((flag & VIS_SAFE) && issafe(c)))) { in do_svis()
184 if (flag & VIS_CSTYLE) { in do_svis()
[all …]
/freebsd/crypto/heimdal/include/
H A Dbits.c77 print_bt(FILE *f, int flag) __attribute__ ((unused));
106 print_bt(FILE *f, int flag) in print_bt() argument
108 if(flag == 0){ in print_bt()
120 int flag; in main() local
175 flag = 0; in main()
177 flag = print_bt(f, flag); in main()
181 flag = print_bt(f, flag); in main()
185 flag = print_bt(f, flag); in main()
189 flag = print_bt(f, flag); in main()
194 flag = print_bt(f, flag); in main()
[all …]
/freebsd/lib/libc/softfloat/templates/
H A Dsoftfloat.h160 !!!flag float32_eq( float32, float32 );
161 !!!flag float32_le( float32, float32 );
162 !!!flag float32_lt( float32, float32 );
163 !!!flag float32_eq_signaling( float32, float32 );
164 !!!flag float32_le_quiet( float32, float32 );
165 !!!flag float32_lt_quiet( float32, float32 );
166 !!!flag float32_is_signaling_nan( float32 );
197 !!!flag float64_eq( float64, float64 );
198 !!!flag float64_le( float64, float64 );
199 !!!flag float64_lt( float64, float64 );
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-env-var-test_.cc47 void PrintFlag(const char* flag) { in PrintFlag() argument
48 if (strcmp(flag, "break_on_failure") == 0) { in PrintFlag()
53 if (strcmp(flag, "catch_exceptions") == 0) { in PrintFlag()
58 if (strcmp(flag, "color") == 0) { in PrintFlag()
63 if (strcmp(flag, "death_test_style") == 0) { in PrintFlag()
68 if (strcmp(flag, "death_test_use_fork") == 0) { in PrintFlag()
73 if (strcmp(flag, "fail_fast") == 0) { in PrintFlag()
78 if (strcmp(flag, "filter") == 0) { in PrintFlag()
83 if (strcmp(flag, "output") == 0) { in PrintFlag()
88 if (strcmp(flag, "brief") == 0) { in PrintFlag()
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_atomic.h1088 char rhs, int flag);
1090 char rhs, int flag);
1092 char rhs, int flag);
1095 unsigned char rhs, int flag);
1097 char rhs, int flag);
1099 char rhs, int flag);
1101 char rhs, int flag);
1103 char rhs, int flag);
1106 unsigned char rhs, int flag);
1108 char rhs, int flag);
[all …]
H A Dkmp_wait_release.cpp15 void __kmp_wait_64(kmp_info_t *this_thr, kmp_flag_64<> *flag, in __kmp_wait_64() argument
19 this_thr, flag USE_ITT_BUILD_ARG(itt_sync_obj)); in __kmp_wait_64()
22 this_thr, flag USE_ITT_BUILD_ARG(itt_sync_obj)); in __kmp_wait_64()
25 void __kmp_release_64(kmp_flag_64<> *flag) { __kmp_release_template(flag); } in __kmp_release_64() argument
29 void __kmp_mwait_32(int th_gtid, kmp_flag_32<C, S> *flag) { in __kmp_mwait_32() argument
30 __kmp_mwait_template(th_gtid, flag); in __kmp_mwait_32()
33 void __kmp_mwait_64(int th_gtid, kmp_flag_64<C, S> *flag) { in __kmp_mwait_64() argument
34 __kmp_mwait_template(th_gtid, flag); in __kmp_mwait_64()
37 void __kmp_atomic_mwait_64(int th_gtid, kmp_atomic_flag_64<C, S> *flag) { in __kmp_atomic_mwait_64() argument
38 __kmp_mwait_template(th_gtid, flag); in __kmp_atomic_mwait_64()
[all …]
/freebsd/sys/geom/
H A Dgeom_event.c71 int flag; member
120 g_attr_changed_event(void *arg, int flag) in g_attr_changed_event() argument
131 if (flag != EV_CANCEL && g_shutdown == 0) { in g_attr_changed_event()
144 g_attr_changed(struct g_provider *pp, const char *attr, int flag) in g_attr_changed() argument
149 args = g_malloc(sizeof *args, flag); in g_attr_changed()
154 error = g_post_event(g_attr_changed_event, args, flag, pp, NULL); in g_attr_changed()
255 ep->flag |= EV_INPROGRESS; in one_event()
263 ep->flag &= ~EV_INPROGRESS; in one_event()
264 if (ep->flag & EV_WAKEUP) { in one_event()
265 ep->flag |= EV_DONE; in one_event()
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_options.c53 idlok(WINDOW *win, bool flag) in NCURSES_EXPORT()
56 T((T_CALLED("idlok(%p,%d)"), (void *) win, flag)); in NCURSES_EXPORT()
66 win->_idlok = (flag && (NCURSES_SP_NAME(has_il) (NCURSES_SP_ARG) in NCURSES_EXPORT()
75 idcok(WINDOW *win, bool flag) in idcok() argument
77 T((T_CALLED("idcok(%p,%d)"), (void *) win, flag)); in idcok()
81 sp->_nc_sp_idcok = win->_idcok = (flag && NCURSES_SP_NAME(has_ic) (NCURSES_SP_ARG)); in idcok()
108 nodelay(WINDOW *win, bool flag) in nodelay() argument
110 T((T_CALLED("nodelay(%p,%d)"), (void *) win, flag)); in nodelay()
113 if (flag == TRUE) in nodelay()
146 keypad(WINDOW *win, bool flag) in keypad() argument
[all …]
/freebsd/contrib/llvm-project/libcxx/src/
H A Dcall_once.cpp31 void __call_once(volatile once_flag::_State_type& flag, void* arg, void (*func)(void*)) { in __call_once() argument
34 if (flag == once_flag::_Unset) { in __call_once()
35 auto guard = std::__make_exception_guard([&flag] { flag = once_flag::_Unset; }); in __call_once()
36 flag = once_flag::_Pending; in __call_once()
38 flag = once_flag::_Complete; in __call_once()
45 while (flag == once_flag::_Pending) in __call_once()
47 if (flag == once_flag::_Unset) { in __call_once()
48 auto guard = std::__make_exception_guard([&flag] { in __call_once()
50 __libcpp_relaxed_store(&flag, once_flag::_Unset); in __call_once()
55 __libcpp_relaxed_store(&flag, once_flag::_Pending); in __call_once()
[all …]
/freebsd/lib/libc/posix1e/
H A Dacl_flag.c35 _flag_is_invalid(acl_flag_t flag) in _flag_is_invalid() argument
38 if ((flag & ACL_FLAGS_BITS) == flag) in _flag_is_invalid()
47 acl_add_flag_np(acl_flagset_t flagset_d, acl_flag_t flag) in acl_add_flag_np() argument
55 if (_flag_is_invalid(flag)) in acl_add_flag_np()
58 *flagset_d |= flag; in acl_add_flag_np()
78 acl_delete_flag_np(acl_flagset_t flagset_d, acl_flag_t flag) in acl_delete_flag_np() argument
86 if (_flag_is_invalid(flag)) in acl_delete_flag_np()
89 *flagset_d &= ~flag; in acl_delete_flag_np()
95 acl_get_flag_np(acl_flagset_t flagset_d, acl_flag_t flag) in acl_get_flag_np() argument
103 if (_flag_is_invalid(flag)) in acl_get_flag_np()
[all …]
/freebsd/tools/regression/netinet/ipsockopt/
H A Dipsockopt.c215 int flag[2], sock; in test_ip_hdrincl() local
225 flag[0] = -1; in test_ip_hdrincl()
226 len = sizeof(flag[0]); in test_ip_hdrincl()
227 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) == 0) in test_ip_hdrincl()
235 flag[0] = 1; in test_ip_hdrincl()
236 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl()
255 flag[0] = -1; in test_ip_hdrincl()
256 len = sizeof(flag[0]); in test_ip_hdrincl()
257 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) == 0) in test_ip_hdrincl()
266 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DGnu.cpp1050 auto MArchMips16 = MultilibBuilder("/mips16").flag("-m32").flag("-mips16"); in findMipsCsMultilibs()
1053 MultilibBuilder("/micromips").flag("-m32").flag("-mmicromips"); in findMipsCsMultilibs()
1056 .flag("-mips16", /*Disallow=*/true) in findMipsCsMultilibs()
1057 .flag("-mmicromips", /*Disallow=*/true); in findMipsCsMultilibs()
1059 auto UCLibc = MultilibBuilder("/uclibc").flag("-muclibc"); in findMipsCsMultilibs()
1061 auto SoftFloat = MultilibBuilder("/soft-float").flag("-msoft-float"); in findMipsCsMultilibs()
1063 auto Nan2008 = MultilibBuilder("/nan2008").flag("-mnan=2008"); in findMipsCsMultilibs()
1066 .flag("-msoft-float", /*Disallow=*/true) in findMipsCsMultilibs()
1067 .flag("-mnan=2008", /*Disallow=*/true); in findMipsCsMultilibs()
1070 MultilibBuilder("").flag("-EB").flag("-EL", /*Disallow=*/true); in findMipsCsMultilibs()
[all …]
/freebsd/bin/sh/
H A Dexpand.c163 nextword(char c, int flag, char *p, struct worddest *dst) in nextword() argument
171 if (flag & EXP_GLOB) in nextword()
184 #define NEXTWORD(c, flag, p, dstlist) p = nextword(c, flag, p, dstlist) argument
187 stputs_split(const char *data, const char *syntax, int flag, char *p, in stputs_split() argument
198 NEXTWORD(c, flag, p, dst); in stputs_split()
201 if (flag & EXP_GLOB && syntax[(int)c] == CCTL) in stputs_split()
207 #define STPUTS_SPLIT(data, syntax, flag, p, dst) p = stputs_split((data), syntax, flag, p, dst) argument
222 expandarg(union node *arg, struct arglist *arglist, int flag) in expandarg() argument
228 flag &= ~EXP_GLOB; in expandarg()
233 argstr(arg->narg.text, &argbackq, flag, &exparg); in expandarg()
[all …]
/freebsd/contrib/openbsm/compat/
H A Dvis.h81 vis(dst, c, flag, nextc) in vis() argument
84 int flag;
88 if (flag & VIS_HTTPSTYLE) {
103 if ((flag & VIS_GLOB) &&
107 ((flag & VIS_SP) == 0 && c == ' ') ||
108 ((flag & VIS_TAB) == 0 && c == '\t') ||
109 ((flag & VIS_NL) == 0 && c == '\n') ||
110 ((flag & VIS_SAFE) && (c == '\b' || c == '\007' || c == '\r'))) {
112 if (c == '\\' && (flag & VIS_NOSLASH) == 0)
118 if (flag & VIS_CSTYLE) {
[all …]
/freebsd/contrib/pjdfstest/tests/rename/
H A D06.t31 for flag in ${flags}; do
32 expect 0 chflags ${n0} ${flag}
33 expect ${flag} stat ${n0} flags
34 …[ "${flag}" = "SF_APPEND" ] && todo FreeBSD:ZFS "Renaming a file protected by SF_APPEND should ret…
36 …[ "${flag}" = "SF_APPEND" ] && todo FreeBSD:ZFS "Renaming a file protected by SF_APPEND should ret…
48 for flag in ${flags}; do
49 expect 0 lchflags ${n0} ${flag}
50 expect ${flag} lstat ${n0} flags
51 …[ "${flag}" = "SF_APPEND" ] && todo FreeBSD:ZFS "Renaming a file protected by SF_APPEND should ret…
53 …[ "${flag}" = "SF_APPEND" ] && todo FreeBSD:ZFS "Renaming a file protected by SF_APPEND should ret…
H A D07.t35 for flag in ${flags1}; do
36 expect 0 chflags ${n0} ${flag}
37 expect ${flag} stat ${n0} flags
38 …[ "${flag}" = "SF_APPEND" ] && todo FreeBSD:ZFS "Renaming a file protected by SF_APPEND should ret…
40 …[ "${flag}" = "SF_APPEND" ] && todo FreeBSD:ZFS "Renaming a file protected by SF_APPEND should ret…
53 for flag in ${flags2}; do
54 expect 0 chflags ${n0} ${flag}
55 expect ${flag} stat ${n0} flags
/freebsd/contrib/libarchive/libarchive/
H A Darchive_string.c88 int flag; member
480 (sc->flag & (SCONV_NORMALIZATION_C | SCONV_NORMALIZATION_D))) { in archive_wstring_append_from_mbs_in_codepage()
486 int saved_flag = sc->flag;/* save current flag. */ in archive_wstring_append_from_mbs_in_codepage()
489 sc->flag |= SCONV_TO_UTF16BE; in archive_wstring_append_from_mbs_in_codepage()
491 sc->flag |= SCONV_TO_UTF16LE; in archive_wstring_append_from_mbs_in_codepage()
493 if (sc->flag & SCONV_FROM_UTF16) { in archive_wstring_append_from_mbs_in_codepage()
509 if (sc->flag & SCONV_NORMALIZATION_C) in archive_wstring_append_from_mbs_in_codepage()
516 sc->flag = saved_flag;/* restore the saved flag. */ in archive_wstring_append_from_mbs_in_codepage()
518 } else if (sc != NULL && (sc->flag & SCONV_FROM_UTF16)) { in archive_wstring_append_from_mbs_in_codepage()
526 if ((sc->flag & SCONV_FROM_UTF16BE) && !is_big_endian()) { in archive_wstring_append_from_mbs_in_codepage()
[all …]
/freebsd/sys/security/mac/
H A Dmac_framework.c352 #define MPC_FLAG(method, flag) \ in mac_policy_getlabeled() argument
354 labeled |= (flag); \ in mac_policy_getlabeled()
417 bool *flag; member
422 { .offset = FPO(priv_check), .flag = &mac_priv_check_fp_flag },
423 { .offset = FPO(priv_grant), .flag = &mac_priv_grant_fp_flag },
425 .flag = &mac_vnode_check_lookup_fp_flag },
427 .flag = &mac_vnode_check_readlink_fp_flag },
429 .flag = &mac_vnode_check_open_fp_flag },
431 .flag = &mac_vnode_check_stat_fp_flag },
433 .flag = &mac_vnode_check_read_fp_flag },
[all …]
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_prtn_config.c218 char *name, char *id, char *flag, char *flag_val) in partition_create() argument
273 char *flag, char *val) in parse_group_flag() argument
276 int len = strlen(flag); in parse_group_flag()
277 if (!strncmp(flag, "mtu", len)) { in parse_group_flag()
284 } else if (!strncmp(flag, "rate", len)) { in parse_group_flag()
291 } else if (!strncmp(flag, "scope", len)) { in parse_group_flag()
301 } else if (!strncmp(flag, "Q_Key", strlen(flag))) { in parse_group_flag()
308 } else if (!strncmp(flag, "TClass", strlen(flag))) { in parse_group_flag()
315 } else if (!strncmp(flag, "sl", len)) { in parse_group_flag()
328 } else if (!strncmp(flag, "FlowLabel", len)) { in parse_group_flag()
[all …]
/freebsd/usr.bin/lsvfs/
H A Dlsvfs.c23 int flag; member
26 { .flag = VFCF_STATIC, .str = "static", },
27 { .flag = VFCF_NETWORK, .str = "network", },
28 { .flag = VFCF_READONLY, .str = "read-only", },
29 { .flag = VFCF_SYNTHETIC, .str = "synthetic", },
30 { .flag = VFCF_LOOPBACK, .str = "loopback", },
31 { .flag = VFCF_UNICODE, .str = "unicode", },
32 { .flag = VFCF_JAIL, .str = "jail", },
33 { .flag = VFCF_DELEGADMIN, .str = "delegated-administration", },
89 if ((flags & fl[i].flag) != 0) { in fmt_flags()
/freebsd/contrib/pjdfstest/tests/chflags/
H A D09.t29 for flag in SF_IMMUTABLE SF_APPEND SF_NOUNLINK; do
30 expect 0 chflags ${n1} ${flag}
32 expect ${flag} stat ${n1} flags
34 expect ${flag} stat ${n1} flags
36 expect ${flag} stat ${n1} flags
48 for flag in SF_IMMUTABLE SF_APPEND SF_NOUNLINK; do
49 expect 0 lchflags ${n1} ${flag}
51 expect ${flag} lstat ${n1} flags
53 expect ${flag} lstat ${n1} flags
55 expect ${flag} lstat ${n1} flags
H A D08.t26 for flag in SF_IMMUTABLE SF_APPEND SF_NOUNLINK; do
27 expect 0 chflags ${n1} ${flag}
29 expect ${flag} stat ${n1} flags
31 expect ${flag} stat ${n1} flags
43 for flag in SF_IMMUTABLE SF_APPEND SF_NOUNLINK; do
44 expect 0 lchflags ${n1} ${flag}
46 expect ${flag} lstat ${n1} flags
48 expect ${flag} lstat ${n1} flags
/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_delete_001_pos.ksh177 typeset flag=$2
189 if [[ $flag == "owner@" || $flag == "everyone@" ]]; then
193 if [[ $flag == "group@" || $flag == "everyone@" ]]; then
197 if [[ $flag == "everyone@" ]]; then
201 if [[ $flag == "user:"* ]]; then
202 typeset user=${flag#user:}
213 typeset flag acl_p acl_t parent
218 for flag in ${a_flag[@]}; do
222 log_must usr_exec $CHMOD A+$flag:$acl $parent
228 log_must usr_exec $CHMOD A+$flag:$acl_t $node
[all …]
/freebsd/contrib/ncurses/ncurses/
H A Dreport_offsets.c40 flag = 0; \
49 printf("%5lu %c " #type "." #member "\n", next, flag ? *flag : ' '); \
51 flag = 0
54 #define show_COLORS(type,member) { flag = "c"; show_offset(type,member); }
60 #define show_DRIVER(type,member) { flag = "d"; show_offset(type,member); }
66 #define show_MLEAKS(type,member) { flag = "L"; show_offset(type,member); }
71 #define show_NORMAL(type,member) { flag = "n"; show_offset(type,member); }
72 #define show_OPTION(type,member) { flag = "+"; show_offset(type,member); }
75 #define show_REENTR(type,member) { flag = "r"; show_offset(type,member); }
81 #define show_SPFUNC(type,member) { flag = "s"; show_offset(type,member); }
[all …]

12345678910>>...68