Lines Matching defs:tap
104 const termio_attr_t *tap;
106 for (tap = tdp->td_data; tap->ta_name != NULL; tap++) {
107 if (strcmp(tap->ta_name, name) == 0) {
108 if (tap->ta_type == TIO_ATTR_REQSTR ||
109 tap->ta_type == TIO_ATTR_STR)
110 return (tap->ta_data);
122 const termio_attr_t *tap;
124 for (tap = tdp->td_data; tap->ta_name != NULL; tap++) {
125 if (strcmp(tap->ta_name, name) == 0) {
126 if (tap->ta_type == TIO_ATTR_BOOL)
127 return ((uintptr_t)tap->ta_data);
139 const termio_attr_t *tap;
141 for (tap = tdp->td_data; tap->ta_name != NULL; tap++) {
142 if (strcmp(tap->ta_name, name) == 0) {
143 if (tap->ta_type == TIO_ATTR_INT)
144 return ((uintptr_t)tap->ta_data);