| /freebsd/libexec/rc/tests/ |
| H A D | rc_subr_test.sh | 54 __name="$(atf_get ident)" 55 __pidfile="$(mktemp -t "${__name}.pid")" 56 __childpidfile="$(mktemp -t "${__name}.childpid")" 57 __script=$(mktemp -t "${__name}.script") 71 atf_check -s exit:0 -o inline:"Starting ${__name}.\n" -e empty \ 72 /bin/sh "$__script" "$__name" "$__pidfile" "$__childpidfile" onestart 78 /bin/sh "$__script" "$__name" "$__pidfile" "$__childpidfile" onestop 95 __name="$(atf_get ident)" 96 __pidfile="$(mktemp -t "${__name}.pid")" 97 __script=$(mktemp -t "${__name}.script") [all …]
|
| H A D | safe_eval_test.sh | 15 __name="$(atf_get ident)" 16 __input=$(mktemp -t "${__name}.input") 46 __name="$(atf_get ident)" 47 __input=$(mktemp -t "${__name}.input")
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | seq_file.h | 46 #define DEFINE_SHOW_ATTRIBUTE(__name) \ argument 47 static int __name ## _open(struct inode *inode, struct linux_file *file) \ 49 return single_open(file, __name ## _show, inode->i_private); \ 52 static const struct file_operations __name ## _fops = { \ 54 .open = __name ## _open, \ 60 #define DEFINE_SHOW_STORE_ATTRIBUTE(__name) \ argument 61 static int __name ## _open(struct inode *inode, struct linux_file *file) \ 63 return single_open(file, __name ## _show, inode->i_private); \ 66 static const struct file_operations __name ## _fops = { \ 68 .open = __name ## _open, \ [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
| H A D | tzdb.h | 50 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const time_zone* __locate_zone(string_view __name) const { in __locate_zone() 51 if (const time_zone* __result = __find_in_zone(__name)) in __locate_zone() 54 if (auto __it = ranges::lower_bound(links, __name, {}, &time_zone_link::name); in __locate_zone() 55 __it != links.end() && __it->name() == __name) in __locate_zone() 62 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const time_zone* locate_zone(string_view __name) const { in locate_zone() 63 if (const time_zone* __result = __locate_zone(__name)) in locate_zone() 74 _LIBCPP_HIDE_FROM_ABI const time_zone* __find_in_zone(string_view __name) const noexcept { in __find_in_zone() 75 if (auto __it = ranges::lower_bound(zones, __name, {}, &time_zone::name); in __find_in_zone() 76 __it != zones.end() && __it->name() == __name) in __find_in_zone()
|
| H A D | zoned_time.h | 53 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI static const time_zone* locate_zone(string_view __name) { 54 return chrono::locate_zone(__name); 87 _LIBCPP_HIDE_FROM_ABI explicit zoned_time(string_view __name) 90 : __zone_{__traits::locate_zone(__name)}, __tp_{} {} 100 _LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const sys_time<_Duration>& __tp) 102 : zoned_time{__traits::locate_zone(__name), __tp} {} 109 _LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const local_time<_Duration>& __tp) 114 : zoned_time{__traits::locate_zone(__name), __tp} {} 122 …_LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const local_time<_Duration>& __tp, choose __c) 127 : zoned_time{__traits::locate_zone(__name), __tp, __c} {} [all …]
|
| H A D | time_zone_link.h | 41 …_LIBCPP_HIDE_FROM_ABI explicit time_zone_link(__private_constructor_tag, string_view __name, strin… in time_zone_link() argument 42 : __name_{__name}, __target_{__target} {} in time_zone_link()
|
| H A D | tzdb_list.h | 87 …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 D | time_zone.h | 64 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI string_view name() const noexcept { return __name(); } in name() 156 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI string_view __name() const noexcept;
|
| /freebsd/sys/contrib/xen/io/ |
| H A D | ring.h | 109 #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/contrib/llvm-project/libcxx/src/experimental/ |
| H A D | tzdb.cpp | 527 static __tz::__rule& __create_entry(__tz::__rules_storage_type& __rules, const string& __name) { in __create_entry() argument 529 auto& __rule = __rules.emplace_back(__name, vector<__tz::__rule>{}); in __create_entry() 538 if (__rules.back().first == __name) in __create_entry() 541 if (auto __it = ranges::find(__rules, __name, [](const auto& __r) { return __r.first; }); in __create_entry() 550 string __name = chrono::__parse_string(__input); in __parse_rule() local 552 __tz::__rule& __rule = __create_entry(__rules, __name); in __parse_rule() 593 string __name = chrono::__parse_string(__input); in __parse_link() local 596 …__tzdb.links.emplace_back(std::__private_constructor_tag{}, std::move(__name), std::move(__target)… in __parse_link() 739 string __name; in __current_zone_etc_timezone() local 740 std::getline(__f, __name); in __current_zone_etc_timezone() [all …]
|
| H A D | time_zone.cpp | 747 …]] _LIBCPP_EXPORTED_FROM_ABI string_view time_zone::__name() const noexcept { return __impl_->__na… in __name() function in chrono::time_zone
|
| /freebsd/sys/contrib/dev/iwlwifi/fw/ |
| H A D | regulatory.c | 15 #define GET_BIOS_TABLE(__name, ...) \ argument 19 ret = iwl_uefi_get_ ## __name(__VA_ARGS__); \ 21 ret = iwl_acpi_get_ ## __name(__VA_ARGS__); \ 25 #define IWL_BIOS_TABLE_LOADER(__name) \ argument 26 int iwl_bios_get_ ## __name(struct iwl_fw_runtime *fwrt) \ 27 {GET_BIOS_TABLE(__name, fwrt); } \ 28 IWL_EXPORT_SYMBOL(iwl_bios_get_ ## __name) 30 #define IWL_BIOS_TABLE_LOADER_DATA(__name, data_type) \ argument 31 int iwl_bios_get_ ## __name(struct iwl_fw_runtime *fwrt, \ 33 {GET_BIOS_TABLE(__name, fwrt, data); } \ [all …]
|
| /freebsd/contrib/llvm-project/libcxx/src/experimental/include/tzdb/ |
| H A D | time_zone_private.h | 27 …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/include/ssp/ |
| H A D | unistd.h | 58 (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 D | struct.subr | 131 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 D | device.subr | 133 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 D | geom.subr | 254 local __name="$1" __type="${2:-$GEOM_CLASS_ANY}" __var_to_set="$3" 272 [ "$__name" = "$__geom_name" -o ! "$__name" ] &&
|
| H A D | sysrc.subr | 274 local __name __test_path __configs= 275 for __name in $__names; do 277 __test_path="${__dir%/rc.d}/rc.conf.d/$__name"
|
| H A D | common.subr | 269 local __name="$1" __var_to_set="$2" 270 case "$__name" in */*|'') return $FAILURE; esac 273 __exec="$__p/$__name"
|
| /freebsd/contrib/llvm-project/libcxx/include/__locale_dir/support/ |
| H A D | fuchsia.h | 57 inline _LIBCPP_HIDE_FROM_ABI __locale_t __newlocale(int __category_mask, const char* __name, __loca… in __newlocale() argument 58 return ::newlocale(__category_mask, __name, __loc); in __newlocale()
|
| /freebsd/contrib/llvm-project/libcxx/include/__locale_dir/ |
| H A D | locale_base_api.h | 169 inline _LIBCPP_HIDE_FROM_ABI __locale_t __newlocale(int __category_mask, const char* __name, __loca… in __newlocale() argument 170 return newlocale(__category_mask, __name, __loc); in __newlocale()
|
| /freebsd/share/examples/jails/ |
| H A D | jib | 207 __num=$( set -- `echo -n "$__name" | sum` && echo $1 )
|
| H A D | jng | 264 __num=$( set -- $( echo -n "$__name" | sum ) && echo $1 )
|
| /freebsd/usr.sbin/bsdconfig/usermgmt/share/ |
| H A D | group_input.subr | 128 local __var_to_set="$1" __name="$2" 133 local __input="$__name" 140 if [ "$__input" = "$__name" ]; then
|
| H A D | user_input.subr | 303 local __var_to_set="$1" __name="$2" 308 local __input="$__name" 315 if [ "$__input" = "$__name" ]; then
|