HomeSort by: relevance | last modified time | path
    Searched refs:attr (Results 1 - 25 of 1745) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/bsd/tmux/dist/
attributes.c 26 attributes_tostring(int attr)
31 if (attr == 0)
35 (attr & GRID_ATTR_CHARSET) ? "acs," : "",
36 (attr & GRID_ATTR_BRIGHT) ? "bright," : "",
37 (attr & GRID_ATTR_DIM) ? "dim," : "",
38 (attr & GRID_ATTR_UNDERSCORE) ? "underscore," : "",
39 (attr & GRID_ATTR_BLINK)? "blink," : "",
40 (attr & GRID_ATTR_REVERSE) ? "reverse," : "",
41 (attr & GRID_ATTR_HIDDEN) ? "hidden," : "",
42 (attr & GRID_ATTR_ITALICS) ? "italics," : ""
60 int attr; local
65 int attr; member in struct:__anon8126
    [all...]
  /src/lib/libcurses/
attributes.c 53 attr_get(attr_t *attr, short *pair, void *opts)
55 return wattr_get(stdscr, attr, pair, opts);
64 attr_on(attr_t attr, void *opts)
66 return wattr_on(stdscr, attr, opts);
75 attr_off(attr_t attr, void *opts)
77 return wattr_off(stdscr, attr, opts);
86 attr_set(attr_t attr, short pair, void *opts)
88 return wattr_set(stdscr, attr, pair, opts);
108 attron(int attr)
110 return wattron(stdscr, attr);
329 attr_t attr = 0; local
    [all...]
chgat.c 39 chgat(int n, attr_t attr, short color, const void *opts)
41 return wchgat(stdscr, n, attr, color, opts);
45 mvchgat(int y, int x, int n, attr_t attr, short color,
48 return mvwchgat(stdscr, y, x, n, attr, color, opts);
52 wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts)
54 return mvwchgat(win, win->cury, win->curx, n, attr, color, opts);
58 mvwchgat(WINDOW *win , int y, int x, int count, attr_t attr, short color,
72 attr = (attr & ~__COLOR) | COLOR_PAIR(color);
77 __CTRACE(__CTRACE_ATTR, "mvwchgat: x: %d y: %d count: %d attr: 0x%x
    [all...]
inch.c 88 attr_t attr; local
95 attr = (attr_t) ((win)->alines[(win)->cury]->line[(win)->curx].attr &
97 if (__using_color && ((attr & __COLOR) == __default_color))
98 attr &= ~__COLOR;
99 return (ch | attr);
  /src/lib/libpthread/
pthread_attr.c 61 pthread__attr_init_private(pthread_attr_t *attr)
65 if ((p = attr->pta_private) != NULL)
70 attr->pta_private = p;
80 pthread_attr_init(pthread_attr_t *attr)
83 attr->pta_magic = PT_ATTR_MAGIC;
84 attr->pta_flags = 0;
85 attr->pta_private = NULL;
92 pthread_attr_destroy(pthread_attr_t *attr)
97 attr->pta_magic == PT_ATTR_MAGIC);
99 if ((p = attr->pta_private) != NULL
    [all...]
pthread_barrier.c 45 const pthread_barrierattr_t *attr, unsigned int count)
49 attr == NULL || attr->ptba_magic == _PT_BARRIERATTR_MAGIC);
128 pthread_barrierattr_getpshared(const pthread_barrierattr_t * __restrict attr,
133 attr->ptba_magic == _PT_BARRIERATTR_MAGIC);
140 pthread_barrierattr_setpshared(pthread_barrierattr_t *attr, int pshared)
144 attr->ptba_magic == _PT_BARRIERATTR_MAGIC);
157 pthread_barrierattr_init(pthread_barrierattr_t *attr)
160 attr->ptba_magic = _PT_BARRIERATTR_MAGIC;
165 pthread_barrierattr_destroy(pthread_barrierattr_t *attr)
    [all...]
  /src/external/bsd/wpa/dist/src/wps/
wps_validate.c 1030 struct wps_parse_attr attr; local
1036 if (wps_parse_msg(&buf, &attr) < 0) {
1041 if (wps_validate_network_idx(attr.network_idx, 1) ||
1042 wps_validate_ssid(attr.ssid, attr.ssid_len, 1) ||
1043 wps_validate_auth_type(attr.auth_type, 1) ||
1044 wps_validate_encr_type(attr.encr_type, 1) ||
1045 wps_validate_network_key_index(attr.network_key_idx, 0) ||
1046 wps_validate_network_key(attr.network_key, attr.network_key_len
1085 struct wps_parse_attr attr; local
1124 struct wps_parse_attr attr; local
1182 struct wps_parse_attr attr; local
1229 struct wps_parse_attr attr; local
1258 struct wps_parse_attr attr; local
1287 struct wps_parse_attr attr; local
1343 struct wps_parse_attr attr; local
1398 struct wps_parse_attr attr; local
1450 struct wps_parse_attr attr; local
1486 struct wps_parse_attr attr; local
1524 struct wps_parse_attr attr; local
1555 struct wps_parse_attr attr; local
1591 struct wps_parse_attr attr; local
1622 struct wps_parse_attr attr; local
1658 struct wps_parse_attr attr; local
1689 struct wps_parse_attr attr; local
1726 struct wps_parse_attr attr; local
1764 struct wps_parse_attr attr; local
1800 struct wps_parse_attr attr; local
1837 struct wps_parse_attr attr; local
1871 struct wps_parse_attr attr; local
1906 struct wps_parse_attr attr; local
1940 struct wps_parse_attr attr; local
    [all...]
wps_attr_parse.c 20 static int wps_set_vendor_ext_wfa_subelem(struct wps_parse_attr *attr,
32 attr->version2 = pos;
35 attr->authorized_macs = pos;
36 attr->authorized_macs_len = len;
44 attr->network_key_shareable = pos;
52 attr->request_to_enroll = pos;
60 attr->settings_delay_time = pos;
68 attr->registrar_configuration_methods = pos;
77 attr->multi_ap_ext = *pos;
79 attr->multi_ap_ext)
    [all...]
wps_module_tests.c 266 struct wps_parse_attr attr; local
286 if (wps_parse_msg(buf, &attr) != test->result) {
293 if (!attr.network_key || !attr.ap_setup_locked)
297 if (attr.num_cred != MAX_CRED_COUNT)
301 if (!attr.network_key_idx)
305 if (attr.num_req_dev_type != MAX_REQ_DEV_TYPE_COUNT)
309 if (attr.num_vendor_ext != MAX_WPS_PARSE_VENDOR_EXT)
313 if (!attr.version2 ||
314 !attr.authorized_macs |
    [all...]
wps_upnp_ap.c 33 struct wps_parse_attr attr; local
38 wps_parse_msg(msg, &attr) < 0)
45 if (attr.selected_registrar == NULL || *attr.selected_registrar == 0) {
51 s->dev_password_id = attr.dev_password_id ?
52 WPA_GET_BE16(attr.dev_password_id) : DEV_PW_DEFAULT;
53 s->config_methods = attr.sel_reg_config_methods ?
54 WPA_GET_BE16(attr.sel_reg_config_methods) : -1;
55 if (attr.authorized_macs) {
56 int count = attr.authorized_macs_len / ETH_ALEN
    [all...]
  /src/external/ibm-public/postfix/dist/src/virtual/
virtual.h 105 #define BOUNCE_ATTR(attr) \
106 attr.queue_id, &attr.msg_stats, &attr.rcpt, attr.relay, \
107 DSN_FROM_DSN_BUF(attr.why)
108 #define SENT_ATTR(attr) \
109 attr.queue_id, &attr.msg_stats, &attr.rcpt, attr.relay,
    [all...]
  /src/external/ibm-public/postfix/dist/src/util/
recv_pass_attr.c 11 /* int recv_pass_attr(fd, attr, timeout, bufsize)
13 /* HTABLE **attr;
23 /* .IP attr
58 #include <attr.h>
64 int recv_pass_attr(int fd, HTABLE **attr, int timeout, ssize_t bufsize)
81 ATTR_TYPE_HASH, *attr = htable_create(1),
90 htable_free(*attr, myfree);
91 *attr = 0;
94 if ((*attr)->used == 0) {
95 htable_free(*attr, myfree)
    [all...]
  /src/usr.bin/config/
sem.h 58 struct attr *mkattr(const char *);
59 struct attr *getattr(const char *);
60 struct attr *refattr(const char *);
61 int getrefattr(const char *, struct attr **);
62 void expandattr(struct attr *, void (*)(struct attr *));
65 void selectattr(struct attr *);
66 void deselectattr(struct attr *);
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
multi-create.c 39 pthread_attr_t attr; local
46 pthread_attr_init (&attr); /* set breakpoint 1 here. */
47 pthread_attr_getstacksize (&attr, &stacksize);
48 pthread_attr_setstacksize (&attr, 2 * stacksize);
55 pthread_create (&threads[j], &attr, thread_function, &args[j]);
61 pthread_attr_destroy (&attr);
69 pthread_attr_t attr; local
75 pthread_attr_init (&attr);
76 pthread_attr_getstacksize (&attr, &stacksize);
77 pthread_attr_setstacksize (&attr, 2 * stacksize)
    [all...]
staticthreads.c 56 pthread_attr_t attr; local
58 pthread_attr_init (&attr);
59 pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN);
74 pthread_create (&thread, &attr, thread_function, NULL);
79 pthread_attr_destroy (&attr);
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
multi-create.c 39 pthread_attr_t attr; local
46 pthread_attr_init (&attr); /* set breakpoint 1 here. */
47 pthread_attr_getstacksize (&attr, &stacksize);
48 pthread_attr_setstacksize (&attr, 2 * stacksize);
55 pthread_create (&threads[j], &attr, thread_function, &args[j]);
61 pthread_attr_destroy (&attr);
69 pthread_attr_t attr; local
75 pthread_attr_init (&attr);
76 pthread_attr_getstacksize (&attr, &stacksize);
77 pthread_attr_setstacksize (&attr, 2 * stacksize)
    [all...]
staticthreads.c 56 pthread_attr_t attr; local
58 pthread_attr_init (&attr);
59 pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN);
74 pthread_create (&thread, &attr, thread_function, NULL);
79 pthread_attr_destroy (&attr);
  /src/external/apache2/llvm/dist/llvm/lib/Support/
ELFAttributes.cpp 14 StringRef ELFAttrs::attrTypeAsString(unsigned attr, TagNameMap tagNameMap,
17 tagNameMap, [attr](const TagNameItem item) { return item.attr == attr; });
33 return tagNameIt->attr;
  /src/external/bsd/ntp/dist/libntp/lib/isc/pthreads/
thread.c 37 pthread_attr_t attr; local
41 pthread_attr_init(&attr);
45 ret = pthread_attr_getstacksize(&attr, &stacksize);
50 ret = pthread_attr_setstacksize(&attr, THREAD_MINSTACKSIZE);
57 ret = pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM);
62 ret = pthread_create(thread, &attr, func, arg);
66 pthread_attr_destroy(&attr);
  /src/external/ibm-public/postfix/dist/src/spawn/
spawn.c 203 static void get_service_attr(SPAWN_ATTR *attr, char *service, char **argv)
216 attr->argv = 0;
221 attr->time_limit =
239 attr->uid = pwd->pw_uid;
243 attr->gid = grp->gr_gid;
245 attr->gid = pwd->pw_gid;
254 attr->argv = argv;
270 if (attr->argv == 0)
272 if (attr->uid == 0)
274 if (attr->uid == var_owner_uid
298 static SPAWN_ATTR attr; local
    [all...]
  /src/external/gpl3/gdb/dist/gdb/python/lib/gdb/
prompt.py 29 def _prompt_object_attr(func, what, attr, nattr):
31 if attr is None:
32 attr = nattr
37 if hasattr(obj, attr):
38 result = getattr(obj, attr)
43 return "<no attribute %s on current %s>" % (attr, what)
46 def _prompt_frame(attr):
48 return _prompt_object_attr(gdb.selected_frame, "frame", attr, "name")
51 def _prompt_thread(attr):
53 return _prompt_object_attr(gdb.selected_thread, "thread", attr, "num"
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/
prompt.py 29 def _prompt_object_attr(func, what, attr, nattr):
31 if attr is None:
32 attr = nattr
37 if hasattr(obj, attr):
38 result = getattr(obj, attr)
43 return "<no attribute %s on current %s>" % (attr, what)
46 def _prompt_frame(attr):
48 return _prompt_object_attr(gdb.selected_frame, "frame", attr, "name")
51 def _prompt_thread(attr):
53 return _prompt_object_attr(gdb.selected_thread, "thread", attr, "num"
    [all...]
  /src/external/bsd/openldap/dist/libraries/libldap/
getvalues.c 41 char *attr; local
54 /* skip sequence, dn, sequence of, and snag the first attr */
55 if ( ber_scanf( &ber, "{x{{a" /*}}}*/, &attr ) == LBER_ERROR ) {
60 if ( strcasecmp( target, attr ) == 0 )
65 LDAP_FREE(attr);
66 attr = NULL;
68 if ( ber_scanf( &ber, /*{*/ "x}{a" /*}*/, &attr ) == LBER_ERROR ) {
73 if ( strcasecmp( target, attr ) == 0 )
78 LDAP_FREE(attr);
79 attr = NULL
98 char *attr; local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/x509/
x509_att.c 74 X509_ATTRIBUTE *attr)
90 if ((new_attr = X509_ATTRIBUTE_dup(attr)) == NULL)
111 X509_ATTRIBUTE *attr; local
113 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len);
114 if (!attr)
116 ret = X509at_add1_attr(x, attr);
117 X509_ATTRIBUTE_free(attr);
126 X509_ATTRIBUTE *attr; local
128 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len);
129 if (!attr)
142 X509_ATTRIBUTE *attr; local
    [all...]
  /src/external/bsd/jemalloc/dist/test/src/
mtx.c 17 pthread_mutexattr_t attr;
19 if (pthread_mutexattr_init(&attr) != 0) {
22 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_DEFAULT);
23 if (pthread_mutex_init(&mtx->lock, &attr) != 0) {
24 pthread_mutexattr_destroy(&attr);
27 pthread_mutexattr_destroy(&attr);

Completed in 39 milliseconds

1 2 3 4 5 6 7 8 91011>>