Home
last modified time | relevance | path

Searched refs:__name (Results 1 – 23 of 23) sorted by relevance

/freebsd/libexec/rc/tests/
H A Drc_subr_test.sh42 __name="$(atf_get ident)"
43 __pidfile="$(mktemp -t "${__name}.pid")"
44 __childpidfile="$(mktemp -t "${__name}.childpid")"
45 __script=$(mktemp -t "${__name}.script")
59 atf_check -s exit:0 -o inline:"Starting ${__name}.\n" -e empty \
60 /bin/sh "$__script" "$__name" "$__pidfile" "$__childpidfile" onestart
66 /bin/sh "$__script" "$__name" "$__pidfile" "$__childpidfile" onestop
83 __name="$(atf_get ident)"
84 __pidfile="$(mktemp -t "${__name}.pid")"
85 __script=$(mktemp -t "${__name}.script")
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dtzdb.h48 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const time_zone* __locate_zone(string_view __name) const { in __locate_zone()
49 if (const time_zone* __result = __find_in_zone(__name)) in __locate_zone()
52 if (auto __it = ranges::lower_bound(links, __name, {}, &time_zone_link::name); in __locate_zone()
53 __it != links.end() && __it->name() == __name) in __locate_zone()
60 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const time_zone* locate_zone(string_view __name) const { in locate_zone()
61 if (const time_zone* __result = __locate_zone(__name)) in locate_zone()
72 _LIBCPP_HIDE_FROM_ABI const time_zone* __find_in_zone(string_view __name) const noexcept { in __find_in_zone()
73 if (auto __it = ranges::lower_bound(zones, __name, {}, &time_zone::name); in __find_in_zone()
74 __it != zones.end() && __it->name() == __name) in __find_in_zone()
H A Dzoned_time.h52 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI static const time_zone* locate_zone(string_view __name) {
53 return chrono::locate_zone(__name);
86 _LIBCPP_HIDE_FROM_ABI explicit zoned_time(string_view __name)
89 : __zone_{__traits::locate_zone(__name)}, __tp_{} {}
99 _LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const sys_time<_Duration>& __tp)
101 : zoned_time{__traits::locate_zone(__name), __tp} {}
108 _LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const local_time<_Duration>& __tp)
113 : zoned_time{__traits::locate_zone(__name), __tp} {}
121 …_LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const local_time<_Duration>& __tp, choose __c)
126 : zoned_time{__traits::locate_zone(__name), __tp, __c} {}
[all …]
H A Dtime_zone_link.h42 …_LIBCPP_HIDE_FROM_ABI explicit time_zone_link(__private_constructor_tag, string_view __name, strin… in time_zone_link() argument
43 : __name_{__name}, __target_{__target} {} in time_zone_link()
H A Dtzdb_list.h87 …P_AVAILABILITY_TZDB _LIBCPP_HIDE_FROM_ABI inline const time_zone* locate_zone(string_view __name) { in locate_zone() argument
88 return get_tzdb().locate_zone(__name); in locate_zone()
H A Dtime_zone.h65 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI string_view name() const noexcept { return __name(); } in name()
153 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI string_view __name() const noexcept;
/freebsd/sys/contrib/xen/io/
H A Dring.h109 #define DEFINE_RING_TYPES(__name, __req_t, __rsp_t) \ argument
112 union __name##_sring_entry { \
118 struct __name##_sring { \
131 union __name##_sring_entry ring[1]; /* variable-length */ \
135 struct __name##_front_ring { \
139 struct __name##_sring *sring; \
143 struct __name##_back_ring { \
147 struct __name##_sring *sring; \
151 typedef struct __name##_sring __name##_sring_t; \
152 typedef struct __name##_front_ring __name##_front_ring_t; \
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dseq_file.h40 #define DEFINE_SHOW_ATTRIBUTE(__name) \ argument
41 static int __name ## _open(struct inode *inode, struct linux_file *file) \
43 return single_open(file, __name ## _show, inode->i_private); \
46 static const struct file_operations __name ## _fops = { \
48 .open = __name ## _open, \
/freebsd/contrib/llvm-project/libcxx/src/experimental/include/tzdb/
H A Dtime_zone_private.h27 …explicit _LIBCPP_HIDE_FROM_ABI __impl(string&& __name, const __tz::__rules_storage_type& __rules_d… in __impl() argument
28 : __name_(std::move(__name)), __rules_db_(__rules_db) {} in __impl()
30 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI string_view __name() const noexcept { return __name_; } in __name() function
/freebsd/contrib/llvm-project/libcxx/src/experimental/
H A Dtzdb.cpp514 static __tz::__rule& __create_entry(__tz::__rules_storage_type& __rules, const string& __name) { in __create_entry() argument
516 auto& __rule = __rules.emplace_back(__name, vector<__tz::__rule>{}); in __create_entry()
525 if (__rules.back().first == __name) in __create_entry()
528 if (auto __it = ranges::find(__rules, __name, [](const auto& __r) { return __r.first; }); in __create_entry()
537 string __name = chrono::__parse_string(__input); in __parse_rule() local
539 __tz::__rule& __rule = __create_entry(__rules, __name); in __parse_rule()
580 string __name = chrono::__parse_string(__input); in __parse_link() local
583 …__tzdb.links.emplace_back(std::__private_constructor_tag{}, std::move(__name), std::move(__target)… in __parse_link()
739 string __name = filesystem::relative(__tz, "/usr/share/zoneinfo/"); in __current_zone_posix() local
740 if (const time_zone* __result = tzdb.__locate_zone(__name)) in __current_zone_posix()
[all …]
H A Dtime_zone.cpp738 …]] _LIBCPP_EXPORTED_FROM_ABI string_view time_zone::__name() const noexcept { return __impl_->__na… in __name() function in chrono::time_zone
/freebsd/include/ssp/
H A Dunistd.h58 (const char *__name, gid_t __base, gid_t *__buf, int *__lenp),
59 (__name, __base, __buf, __lenp), 1, __ssp_gid_bos, *__lenp);
/freebsd/usr.sbin/bsdconfig/share/
H A Dstruct.subr131 local __name="$1" __action="$2" __property="$3"
134 1) f_have "$__name" ;;
137 f_getvar "_struct_value_${__name}_$__property" "$__var_to_set"
140 setvar "_struct_value_${__name}_$__property" "$new_value" ;;
141 unset) unset "_struct_value_${__name}_$__property" ;;
H A Ddevice.subr133 local __var_to_set="$1" __name="$2" __desc="$3" __devname="$4"
138 [ "$__name" ] || return $FAILURE
144 if f_device_find -1 "$__name" "$__type" __device; then
152 $__device set name "$__name"
795 local __type="$1" __name="$2" __var_to_set="$3"
799 [ "$__name" ] || return $FAILURE
805 # Attempt to create an alternate-form of $__name that contains the
809 local __left="${__name%%[0-9]*}" __right="${__name#*[0-9]}"
810 if [ "$__left" != "$__name" ]; then
825 [ "$__dev_name" = "$__name" -o "$__dev_name" = "$__dname" ] ||
[all …]
H A Dgeom.subr254 local __name="$1" __type="${2:-$GEOM_CLASS_ANY}" __var_to_set="$3"
272 [ "$__name" = "$__geom_name" -o ! "$__name" ] &&
H A Dsysrc.subr274 local __name __test_path __configs=
275 for __name in $__names; do
277 __test_path="${__dir%/rc.d}/rc.conf.d/$__name"
H A Dcommon.subr269 local __name="$1" __var_to_set="$2"
270 case "$__name" in */*|'') return $FAILURE; esac
273 __exec="$__p/$__name"
/freebsd/share/examples/jails/
H A Djib221 __num=$( set -- `echo -n "$__name" | sum` && echo $1 )
H A Djng223 __num=$( set -- `echo -n "$__name" | sum` && echo $1 )
/freebsd/usr.sbin/bsdconfig/usermgmt/share/
H A Dgroup_input.subr128 local __var_to_set="$1" __name="$2"
133 local __input="$__name"
140 if [ "$__input" = "$__name" ]; then
H A Duser_input.subr303 local __var_to_set="$1" __name="$2"
308 local __input="$__name"
315 if [ "$__input" = "$__name" ]; then
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dwasm_simd128.h1686 #define __DEPRECATED_WASM_MACRO(__name, __replacement) \ argument
1688 "'" __name "' is deprecated: use '" __replacement "' instead")))
1690 #define __DEPRECATED_WASM_MACRO(__name, __replacement) argument
/freebsd/contrib/mandoc/
H A Droff.c167 #define PREDEF(__name, __str) \ argument
168 { (__name), (__str) },