Searched defs:cap (Results 1 - 24 of 24) sorted by relevance

/osnet-11/usr/src/lib/libcurses/screen/
H A Dtgoto.c52 tgoto(char *cap, int col, int row) argument
56 cp = tparm_p2(cap, row, col);
H A Dtcsearch.c48 _tcsearch(char *cap, short offsets[], char *names[], int size, int n) argument
55 cmp = ((n == 0) ? strcmp(cap, names[offsets[m]]) :
56 strncmp(cap, names[offsets[m]], n));
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtgetflag.c53 tgetflag(char *cap) argument
59 if (memcmp(*p, cap, 2) == 0) {
H A Dtgetnum.c53 tgetnum(char *cap) argument
59 if (memcmp(*p, cap, 2) == 0) {
H A Dtigetfla.c53 tigetflag(char *cap) argument
59 if (strcmp(*p, cap) == 0) {
H A Dtigetnum.c53 tigetnum(char *cap) argument
59 if (strcmp(*p, cap) == 0) {
H A Dtgetstr.c55 * Similar to tigetstr() except cap is a termcap code and area is
59 tgetstr(char *cap, char **area) argument
66 if (memcmp(*p, cap, 2) == 0) {
H A Dtgoto.c52 tgoto(char *cap, int col, int row) argument
56 str = tparm((char *)cap, (long) row, (long) col,
H A Dtigetstr.c49 tigetstr(char *cap) argument
56 if (strcmp(*p, cap) == 0) {
H A Dmvcur.c434 cost(char *cap, int index, int p1, int p2) argument
436 cur_term->_move[index]._seq = cap;
438 if (cap == (char *) 0 || cap[0] == '\0') {
442 tparm(cap, (long) p1, (long) p2, 0, 0, 0, 0, 0, 0, 0),
445 if (cap == cursor_down && strchr(cap, '\n') != (char *) 0)
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtgoto.c47 (tgoto)(const char *cap, int col, int row) argument
52 __m_trace("tgoto(%p = \"%s\", %d, %d)", cap, col, row);
55 str = tparm((char *)cap, (long) row, (long) col, 0L, 0L, 0L, 0L, 0L, 0L, 0L);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dpmap_prot.c179 xdr_rmtcallargs(XDR *xdrs, struct p_rmtcallargs *cap) argument
186 if (!xdr_u_int(xdrs, (uint_t *)&(cap->prog)) ||
187 !xdr_u_int(xdrs, (uint_t *)&(cap->vers)) ||
188 !xdr_u_int(xdrs, (uint_t *)&(cap->proc)))
191 IXDR_PUT_U_INT32(buf, cap->prog);
192 IXDR_PUT_U_INT32(buf, cap->vers);
193 IXDR_PUT_U_INT32(buf, cap->proc);
200 if (!xdr_u_int(xdrs, &(cap->args.args_len)))
203 if (!(*cap->xdr_args)(xdrs, cap
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dpci.c476 * @cap: capability code
481 * support it. Possible values for @cap:
495 int pci_find_capability(struct pci_device *dev, int cap) argument
524 if (id == cap)
/osnet-11/usr/src/lib/scsi/plugins/smp/sas2/common/
H A Dsas2_functions.c66 uint_t cap; local
73 cap = smp_target_getcap(tp);
78 if (cap & SMP_TARGET_C_LONG_RESP) {
559 uint_t cap = smp_target_getcap(tp); local
562 if (cap & SMP_TARGET_C_ZG_256)
926 smp_default_request_len(uint_t cap, smp_function_t fn) argument
936 if (cap & SMP_TARGET_C_LONG_RESP)
941 if (cap & SMP_TARGET_C_LONG_RESP)
946 if (cap & SMP_TARGET_C_LONG_RESP)
960 if (cap
1034 smp_default_response_len(uint_t cap, smp_function_t fn) argument
[all...]
/osnet-11/usr/src/cmd/powertop/common/
H A Ddisplay.c522 pt_display_acpi_power(uint32_t flag, double rate, double rem_cap, double cap, argument
550 (uint32_t)(cap - rem_cap)/rate);
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dctl_clnt.c147 ctl_client(evContext lev, const struct sockaddr *cap, size_t cap_len, argument
187 if (cap != NULL) {
194 DE_CONST(cap, captmp);
/osnet-11/usr/src/lib/libds/common/
H A Dlibds.c83 static int ds_register(ds_capability_t *cap, ds_ops_t *ops, uint_t flags);
354 ds_register(ds_capability_t *cap, ds_ops_t *ops, uint_t flags) argument
365 if (cap == NULL || ops == NULL || cap->svc_id == NULL ||
366 cap->vers == NULL || (flags & (~VLDS_REG_CLIENT)) != 0) {
370 if (cap->nvers > VLDS_MAX_VERS) {
378 if (ds_hdl_lookup(cap->svc_id, (flags & VLDS_REG_CLIENT), NULL, 1,
392 ds_string_arg(&vlds_cap.vlds_service, cap->svc_id);
395 for (i = 0; i < cap->nvers; i++) {
396 vlds_vers[i].vlds_major = cap
454 ds_svc_reg(ds_capability_t *cap, ds_ops_t *ops) argument
466 ds_clnt_reg(ds_capability_t *cap, ds_ops_t *ops) argument
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Dmime.c56 Cap_t* cap; member in struct:__anon1162
107 dropcap(register Cap_t* cap) argument
111 while (att = cap->att.next)
113 cap->att.next = att->next;
116 free(cap);
127 register Cap_t* cap; local
129 while (cap = ent->cap)
131 ent->cap = cap
145 register Cap_t* cap; local
345 register Cap_t* cap; local
605 register Cap_t* cap; local
[all...]
/osnet-11/usr/src/lib/libv12n/sparc/
H A Dlibv12n.c239 int cap; local
251 cap = 0;
257 cap = (V12N_CAP_SUPPORTED | V12N_CAP_IMPL_LDOMS |
264 cap = (V12N_CAP_SUPPORTED | V12N_CAP_IMPL_LDOMS);
267 return (cap);
/osnet-11/usr/src/lib/scsi/libsmp/common/
H A Dsmp_engine.c355 uint_t cap = 0; local
358 cap |= SMP_TARGET_C_LONG_RESP;
361 cap |= SMP_TARGET_C_ZONING;
364 cap |= SMP_TARGET_C_ZG_256;
366 return (cap);
574 uint_t cap; local
579 cap = smp_target_getcap(tp);
588 ((cap & dp->sfd_capmask) == dp->sfd_capset))
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dahci.c85 grub_uint32_t cap; member in struct:grub_ahci_hba
353 nports = (hba->cap & GRUB_AHCI_HBA_CAP_NPORTS_MASK) + 1;
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_rcm.c157 void *cap; local
191 cap = (void *)(cp->type.cpuid);
194 cap = (void *)&(cp->type.npages);
203 if (ap_cm_capacity(a, cm, cap, ncap, os)) {
540 cap_info_t cap; local
549 cpuid = cap.type.cpuid;
550 nc = &cap.ncap;
H A Dap_sbd.c934 ap_cm_capacity(apd_t *a, int seq, void *cap, int *ncap, cfga_stat_t *ostate) argument
940 if (cap == NULL)
955 *((processorid_t *)cap) = cpu->cs_cpuid;
960 *((long *)cap) = mem->ms_totpages;
967 cpuid = (processorid_t *)cap;
981 DBG("%d ", ((int *)cap)[i]);
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Ddrive.c1341 struct capabilities *cap; local
1347 cap = (struct capabilities *)
1355 if (cap->dvdram_write) {
1358 if (cap->dvdr_write) {
1361 if (cap->dvdrom_read) {
1364 if (cap->cdrw_write) {
1367 if (cap->cdr_write) {
1370 if (cap->cdr_read) {

Completed in 406 milliseconds