Searched refs:policy (Results 1 - 25 of 34) sorted by relevance

12

/haiku/src/system/libroot/posix/
H A Dscheduler.cpp26 sched_get_priority_min(int policy) argument
28 switch (policy) {
43 sched_get_priority_max(int policy) argument
45 switch (policy) {
/haiku/src/preferences/bluetooth/
H A DBluetoothSettings.cpp23 fCurrentSettings.policy = 0;
43 BluetoothSettings::SetPolicy(int32 policy) argument
45 fCurrentSettings.policy = policy;
88 fSettingsMessage.SetValue("Policy", fCurrentSettings.policy);
H A DBluetoothSettings.h33 { return fCurrentSettings.policy; }
39 void SetPolicy(int32 policy);
49 int32 policy; member in struct:BluetoothSettings::BTSetting
H A DBluetoothSettingsView.cpp58 fPolicyMenu = new BOptionPopUp("policy",
59 B_TRANSLATE("Incoming connections policy:"),
160 int32 policy; local
161 if (message->FindInt32("be:value", (int32*)&policy) == B_OK) {
162 fSettings.SetPolicy(policy);
/haiku/src/libs/posix_error_mapper/
H A Dpthread_thread.cpp58 (pthread_t thread, int *policy, struct sched_param *param),
59 return B_TO_POSITIVE_ERROR(sReal_pthread_getschedparam(thread, policy,
65 (pthread_t thread, int policy, const struct sched_param *param),
66 return B_TO_POSITIVE_ERROR(sReal_pthread_setschedparam(thread, policy,
/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DAbstractButton.cpp14 AbstractButton::AbstractButton(button_policy policy, BMessage* message, argument
18 fPolicy(policy),
27 AbstractButton::SetPolicy(button_policy policy) argument
29 fPolicy = policy;
47 // check whether to notify the listeners depending on the button policy
105 // update selected state according to policy
167 // update the selected state according to the button policy
H A DAbstractButton.h15 // button behavior policy
26 AbstractButton(button_policy policy,
30 void SetPolicy(button_policy policy);
/haiku/src/system/libroot/posix/pthread/
H A Dpthread.cpp281 pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) argument
288 if (policy != NULL) {
290 *policy = SCHED_RR;
292 *policy = SCHED_OTHER;
299 pthread_setschedparam(pthread_t thread, int policy, argument
303 if (policy != SCHED_RR && policy != SCHED_OTHER)
305 if (policy == SCHED_RR && param->sched_priority < B_FIRST_REAL_TIME_PRIORITY)
307 if (policy == SCHED_OTHER && param->sched_priority >= B_FIRST_REAL_TIME_PRIORITY)
/haiku/headers/build/private/storage/
H A DMergedDirectory.h21 // policy how to handle equally named entries in different
31 BPolicy policy = B_ALWAYS_FIRST);
37 void SetPolicy(BPolicy policy);
/haiku/headers/private/storage/
H A DMergedDirectory.h21 // policy how to handle equally named entries in different
31 BPolicy policy = B_ALWAYS_FIRST);
37 void SetPolicy(BPolicy policy);
/haiku/src/build/libbe/storage/
H A DMergedDirectory.cpp29 BMergedDirectory::BMergedDirectory(BPolicy policy) argument
33 fPolicy(policy),
65 BMergedDirectory::SetPolicy(BPolicy policy) argument
67 fPolicy = policy;
/haiku/src/apps/packageinstaller/
H A DPackageView.h43 BPath& path, int32& policy);
H A DPackageItem.h36 // Existing item overwriting policy of a single file
58 policy(_policy),
69 uint8 policy; member in struct:ItemState
H A DPackageView.cpp322 PackageView::ItemExists(PackageItem& item, BPath& path, int32& policy) argument
326 switch (policy) {
389 if (policy == P_EXISTS_NONE) {
409 policy = choice;
411 policy = P_EXISTS_ASK;
H A DPackageInstall.cpp217 state.policy = choice;
/haiku/src/kits/storage/
H A DMergedDirectory.cpp30 BMergedDirectory::BMergedDirectory(BPolicy policy) argument
34 fPolicy(policy),
66 BMergedDirectory::SetPolicy(BPolicy policy) argument
68 fPolicy = policy;
/haiku/headers/posix/
H A Dpthread.h235 int *policy);
236 extern int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy);
256 extern int pthread_getschedparam(pthread_t thread, int *policy,
258 extern int pthread_setschedparam(pthread_t thread, int policy,
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_acl.c36 * if the frame should be accepted or rejected. If the policy is
249 acl_setpolicy(struct ieee80211vap *vap, int policy) argument
254 "ACL: set policy to %u\n", policy);
256 switch (policy) {
H A Dieee80211_haiku.h393 * A "policy module" is an adjunct module to net80211 that provides
394 * functionality that typically includes policy decisions. This
397 #define _IEEE80211_POLICY_MODULE(policy, name, version, load, unload) \
398 static void ieee80211_##policy##_##name##_load() { load; } \
399 static void ieee80211_##policy##_##name##_unload() { unload; } \
400 SYSINIT(ieee80211_##policy##_##name, SI_SUB_DRIVERS, SI_ORDER_ANY, \
401 ieee80211_##policy##_##name##_load, NULL); \
402 SYSUNINIT(ieee80211_##policy##_##name, SI_SUB_DRIVERS, SI_ORDER_ANY, \
403 ieee80211_##policy##_##name##_unload, NULL)
423 * Scanner modules provide scanning policy
[all...]
/haiku/headers/os/bluetooth/HCI/
H A DbtHCI_command.h347 uint16 policy; member in struct:hci_rp_read_link_policy
359 uint16 policy; member in struct:hci_cp_write_link_policy
/haiku/src/libs/alm/
H A DALMLayout.cpp33 const char* kBadLayoutPolicyField = "BALMLayout:policy";
972 BALMLayout::SetBadLayoutPolicy(BadLayoutPolicy* policy) argument
974 if (fBadLayoutPolicy != policy)
976 if (policy == NULL)
977 policy = new DefaultPolicy();
978 fBadLayoutPolicy = policy;
1193 BadLayoutPolicy* policy; local
1194 err = unarchiver.FindObject(kBadLayoutPolicyField, policy);
1196 SetBadLayoutPolicy(policy);
/haiku/headers/libs/alm/
H A DALMLayout.h150 void SetBadLayoutPolicy(BadLayoutPolicy* policy);
/haiku/src/bin/network/telnet/
H A Dcommands.c2133 setpolicy(int lnet, struct addrinfo *res, char *policy)
2139 if (policy == NULL)
2142 buf = ipsec_set_policy(policy, strlen(policy));
2125 setpolicy(int lnet, struct addrinfo *res, char *policy) argument
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/
H A Dif_iwireg.h446 uint16_t policy; member in struct:iwi_associate
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c379 int setpolicy(int so, char *policy);
1341 setpolicy(int so, char *policy) argument
1345 buf = ipsec_set_policy(policy, strlen(policy));

Completed in 216 milliseconds

12