/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | stricmp.c | 57 char *cm = charmap; local 59 while (cm[*s1] == cm[*s2++]) 62 return(cm[*s1] - cm[*--s2]); 68 char *cm = charmap; local 70 while (--n >= 0 && cm[*s1] == cm[*s2++]) 73 return(n < 0 ? 0 : cm[*s1] - cm[* [all...] |
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/ |
H A D | ascii_strcasecmp.c | 49 const unsigned char *cm = (const unsigned char *)strcase_charmap; local 53 while (cm[*us1] == cm[*us2++]) 56 return (cm[*us1] - cm[*(us2 - 1)]);
|
H A D | ascii_strncasecmp.c | 49 const unsigned char *cm = (const unsigned char *)strcase_charmap; local 53 while (n != 0 && cm[*us1] == cm[*us2++]) { 58 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]);
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/i18n/ |
H A D | strcasecmp.c | 44 int *cm; local 55 cm = __trans_lower; 59 while (cm[*us1] == cm[*us2++]) 62 return (cm[*us1] - cm[*(us2 - 1)]);
|
H A D | strcasestr.c | 45 int *cm = __trans_lower; local 54 c = cm[*us2]; 56 if (c == cm[*us1++]) { 58 while (cm[c = *++us2] == cm[*us1++] && c != '\0') 64 c = cm[*us2];
|
H A D | strncasecmp.c | 44 int *cm; local 55 cm = __trans_lower; 59 while (n != 0 && cm[*us1] == cm[*us2++]) { 64 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]);
|
/opensolaris-onvv-gate/usr/src/cmd/tcpd/ |
H A D | strcasecmp.c | 72 register u_char *cm = charmap, local 76 while (cm[*us1] == cm[*us2++]) 79 return(cm[*us1] - cm[*--us2]); 86 register u_char *cm = charmap, local 90 while (--n >= 0 && cm[*us1] == cm[*us2++]) 93 return(n < 0 ? 0 : cm[*us1] - cm[* [all...] |
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | strcasecmp.c | 95 const u_char *cm = charmap, local 99 while (cm[*us1] == cm[*us2++]) 102 return (cm[*us1] - cm[*--us2]); 108 const u_char *cm = charmap, local 113 if (cm[*us1] != cm[*us2++]) 114 return (cm[*us1] - cm[* [all...] |
/opensolaris-onvv-gate/usr/src/lib/libsldap/common/ |
H A D | ns_connmgmt.c | 58 static int close_conn_mt_when_nouser(ns_conn_mt_t *cm); 62 static void close_conn_mt_by_procchg(ns_conn_mt_t *cm, int rc, char *errmsg); 94 #define NS_CONN_UNLOCK_AND_FREE(free, cm, cmg) \ 96 (void) mutex_unlock(&(cm)->lock); \ 98 cmg = free_conn_mt((cm), 1); \ 887 ns_conn_mt_t *cm; local 890 cm = (ns_conn_mt_t *)calloc(1, sizeof (*cm)); 891 if (cm == NULL) { 908 (void) mutex_init(&cm 927 free_conn_mt(ns_conn_mt_t *cm, int unlock_cmg) argument 947 add_cu2cm(ns_conn_user_t *cu, ns_conn_mt_t *cm) argument 962 add_cm2cmg(ns_conn_mt_t *cm, ns_conn_mgmt_t *cmg) argument 987 del_cu4cm(ns_conn_user_t *cu, ns_conn_mt_t *cm) argument 1032 del_cm4cmg(ns_conn_mt_t *cm, ns_conn_mgmt_t *cmg) argument 1080 is_server_cred_matched(const char *server, const ns_cred_t *cred, ns_conn_mt_t *cm) argument 1106 wait_for_conn_mt(ns_conn_user_t *cu, ns_conn_mt_t *cm) argument 1150 check_and_close_conn(ns_conn_mgmt_t *cmg, ns_conn_mt_t **cm, ns_conn_user_t *cu) argument 1274 ns_conn_mt_t *cm = *cmt; local 1537 ns_conn_mt_t *cm = cu->conn_mt; local 1585 ns_conn_mt_t *cm; local 1634 err2cm(ns_conn_mt_t *cm, int rc, ns_ldap_error_t **errorp) argument 1650 err_from_cm(ns_conn_user_t *cu, ns_conn_mt_t *cm) argument 1694 ns_conn_mt_t *cm; local 1781 close_conn_mt(ns_conn_mt_t *cm, int rc, ns_ldap_error_t **errorp, ns_conn_user_t *cu) argument 1855 ns_conn_mt_t *cm; local 1898 close_conn_mt_by_procchg(ns_conn_mt_t *cm, int rc, char *errmsg) argument 1938 close_conn_mt_when_nouser(ns_conn_mt_t *cm) argument 1996 ns_conn_mt_t *cm; local 2189 ns_conn_mt_t *cm; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sendmail/libsm/ |
H A D | strcasecmp.c | 96 register const unsigned char *cm = charmap; 102 if (cm[*us1] != cm[*us2++]) 103 return (cm[*us1] - cm[*--us2]); 95 register const unsigned char *cm = charmap; local
|
/opensolaris-onvv-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_crypto.c | 49 crypto_get_provider_mechanisms(crypto_minor_t *cm, crypto_provider_id_t id, argument 52 if (id >= cm->cm_provider_count) 55 return (crypto_build_permitted_mech_names(cm->cm_provider_array[id],
|
/opensolaris-onvv-gate/usr/src/lib/libpkg/common/ |
H A D | isdir.c | 51 #define ISCOMPCPIO ((unsigned char) cm.c_mag[0] == m_h[0] && \ 52 (unsigned char) cm.c_mag[1] == m_h[1] && \ 53 (MASK_CK((unsigned char) cm.c_mag[2], BLOCK_MASK) || \ 54 MASK_CK((unsigned char) cm.c_mag[2], BIT_MASK))) 56 #define ISCPIO (cm.b_mag != CMN_BIN && \ 57 (strcmp(cm.c_mag, CMS_ASC) == 0) && \ 58 (strcmp(cm.c_mag, CMS_CHR) == 0) && \ 59 (strcmp(cm.c_mag, CMS_CRC) == 0)) 170 } cm; local 192 if (read(fd, cm [all...] |
/opensolaris-onvv-gate/usr/src/cmd/troff/troff.d/ |
H A D | troff.sh | 44 -c*) cm=`echo $i|sed -e s/c/m/` 45 newargs="$newargs $cm"
|
/opensolaris-onvv-gate/usr/src/uts/common/os/ |
H A D | console.c | 256 console_putmsg(console_msg_t *cm) argument 264 vn_rdwr(UIO_WRITE, console_vnode, cm->cm_text, strlen(cm->cm_text), 270 prom_printf("%s", cm->cm_text); 276 kmem_free(cm, cm->cm_size); 282 console_msg_t *cm; local 287 (cm = kmem_alloc(sizeof (*cm) + len, KM_NOSLEEP)) != NULL) { 288 cm [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 438 crypto_minor_t *cm = NULL; local 513 cm = kmem_zalloc(sizeof (crypto_minor_t), KM_SLEEP); 514 mutex_init(&cm->cm_lock, NULL, MUTEX_DRIVER, NULL); 515 cv_init(&cm->cm_cv, NULL, CV_DRIVER, NULL); 518 cm->cm_refcnt = 1; 519 crypto_minors[mn - 1] = cm; 532 crypto_minor_t *cm = NULL; local 548 cm = crypto_minors[mn - 1]; 549 if (cm == NULL) { 568 mutex_enter(&cm 620 crypto_minor_t *cm; local 637 crypto_release_minor(crypto_minor_t *cm) argument 847 crypto_minor_t *cm; local 1172 crypto_get_provider_list(crypto_minor_t *cm, uint_t *count, crypto_provider_entry_t **array, boolean_t return_slot_list) argument 1231 crypto_minor_t *cm; local 1413 crypto_minor_t *cm; local 1517 crypto_minor_t *cm; local 1616 crypto_minor_t *cm; local 1698 crypto_get_provider_session(crypto_minor_t *cm, crypto_provider_id_t provider_index, crypto_provider_session_t **output_ps) argument 1797 crypto_release_provider_session(crypto_minor_t *cm, crypto_provider_session_t *provider_session) argument 1835 grow_session_table(crypto_minor_t *cm) argument 1893 crypto_minor_t *cm; local 1991 crypto_minor_t *cm; local 2443 get_session_ptr(crypto_session_id_t i, crypto_minor_t *cm, crypto_session_data_t **session_ptr, int *out_error, int *out_rv) argument 2611 crypto_minor_t *cm; local 2747 crypto_minor_t *cm; local 2906 crypto_minor_t *cm; local 3063 crypto_minor_t *cm; local 3192 crypto_minor_t *cm; local 3270 crypto_minor_t *cm; local 3356 crypto_minor_t *cm; local 3434 crypto_minor_t *cm; local 3572 get_pin_and_session_ptr(char *in_pin, char **out_pin, size_t pin_len, crypto_minor_t *cm, crypto_session_id_t sid, crypto_session_data_t **sp, int *rv, int *error) argument 3605 crypto_minor_t *cm; local 3693 crypto_minor_t *cm; local 3767 crypto_minor_t *cm; local 3860 crypto_minor_t *cm; local 3997 crypto_minor_t *cm; local 4114 crypto_minor_t *cm; local 4209 crypto_minor_t *cm; local 4291 crypto_minor_t *cm; local 4382 crypto_minor_t *cm; local 4529 crypto_minor_t *cm; local 4623 crypto_minor_t *cm; local 4718 crypto_minor_t *cm; local 4791 crypto_minor_t *cm; local 4886 crypto_minor_t *cm; local 4955 crypto_minor_t *cm; local 5037 crypto_minor_t *cm; local 5132 crypto_minor_t *cm; local 5257 crypto_minor_t *cm; local 5312 crypto_minor_t *cm; local 5439 crypto_minor_t *cm; local 5575 crypto_minor_t *cm; local 5735 crypto_minor_t *cm; local 5922 crypto_minor_t *cm; local 6081 crypto_minor_t *cm; local 6249 crypto_minor_t *cm; local 6407 crypto_minor_t *cm; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_rcm.c | 155 int cm; local 184 for (cp = cinfo, cm = firstcm; cm <= lastcm; cm++, cp++) { 188 switch (ap_cm_type(a, cm)) { 203 if (ap_cm_capacity(a, cm, cap, ncap, os)) { 423 int cm; local 432 for (ncpu = 0, cm = rcm->firstcm; cm <= rcm->lastcm; cm 501 int cm; local 885 int cm; local 942 int cm; local 1044 int cm; local 1157 int cm; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/libtecla/common/ |
H A D | pcache.c | 114 static CacheMem *del_CacheMem(CacheMem *cm); 115 static void rst_CacheMem(CacheMem *cm); 716 CacheMem *cm; /* The object to be returned */ local 720 cm = (CacheMem *)malloc(sizeof(CacheMem)); 721 if(!cm) { 730 cm->sg = NULL; 731 cm->files_dim = 0; 732 cm->files = NULL; 733 cm->nfiles = 0; 737 cm 761 del_CacheMem(CacheMem *cm) argument 790 rst_CacheMem(CacheMem *cm) argument [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/arn/ |
H A D | arn_regd.c | 439 const struct cmode *cm, 489 if (IS_HT40_MODE(cm->mode) && 498 if (IS_HT40_MODE(cm->mode) && 507 if (IS_HT40_MODE(cm->mode) && 518 channelFlags = cm->flags; 564 if ((cm->mode == ATH9K_MODE_11A) || 565 (cm->mode == ATH9K_MODE_11NA_HT20) || 566 (cm->mode == ATH9K_MODE_11NA_HT40PLUS) || 567 (cm->mode == ATH9K_MODE_11NA_HT40MINUS)) { 593 if ((cm 428 ath9k_regd_add_channel( struct ath_hal *ah, uint16_t c, uint16_t c_lo, uint16_t c_hi, uint16_t maxChan, uint8_t ctl, int pos, struct regDomain rd5GHz, struct RegDmnFreqBand *fband, struct regDomain *rd, const struct cmode *cm, struct ath9k_channel *ichans, boolean_t enableExtendedChannels) argument 646 const struct cmode *cm; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/libcurses/screen/ |
H A D | mvcur.c | 94 cm; /* cost direct cursor motion */ local 112 /* cost of using cm */ 113 cm = _COST(Cursor_address); 118 if (cm < LARGECOST && SP->baud >= 2400 && 135 if (rl < cm) { 159 if (cm >= LARGECOST && rl >= LARGECOST && hu >= LARGECOST && 164 if (cm <= rl && cm <= hu && cm <= hd)
|
/opensolaris-onvv-gate/usr/src/common/util/ |
H A D | string.c | 437 const unsigned char *cm = (const unsigned char *)charmap; local 441 while (cm[*us1] == cm[*us2++]) 444 return (cm[*us1] - cm[*(us2 - 1)]); 450 const unsigned char *cm = (const unsigned char *)charmap; local 454 while (n != 0 && cm[*us1] == cm[*us2++]) { 459 return (n == 0 ? 0 : cm[*us1] - cm[*(us [all...] |
/opensolaris-onvv-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | drmach.c | 129 drmach_common_t cm; member in struct:__anon10135 140 drmach_common_t cm; member in struct:__anon10136 765 dp->bp->cm.name, dp->cm.name, name); 781 dp->bp->cm.name, dp->cm.name, name); 797 bp->cm.isa = (void *)drmach_board_new; 798 bp->cm.release = drmach_board_release; 799 bp->cm.status = drmach_board_status; 801 (void) drmach_board_name(bnum, bp->cm [all...] |
/opensolaris-onvv-gate/usr/src/cmd/terminfo/ |
H A D | termcap | 122 :bs:co#80:ce=^P^U:cl=20^P^]:cm=%r^P^Q%.%.:dc=^X:\ 137 :ic=:ip=.1*:so=\E"I:us=\E"U:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :\ 152 :cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:ct=\E3:\ 169 :le=^H:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:li#24:ma=^K^P:nd=^L:ku=^K:\ 175 :cm=\E[%i%2;%2H:ct=\E[3g:dc=\E[1P:dl=\E[1M:ho=\E[H:\ 188 :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[1M:\ 204 :cm=\E1%+ %+ :ho=^Y:al=\E\114:dl=\E\112:ce=^V:cd=^X:am: 206 :do=^J:li#24:co#80:cl=^y^x:le=^H:bs:cm=\E1%+ %+ :am: 213 :do=^J:am:le=^H:bs:cd=^K:ce=^]:cl=^L:cm=^^%r%+ %+ :co#80:ho=^Y:\ 218 :cm [all...] |
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 508 self->cm.dispose(id); 535 bp->cm.isa = (void *)drmach_board_new; 536 bp->cm.release = drmach_board_release; 537 bp->cm.status = drmach_board_status; 552 err = drmach_board_name(bnum, bp->cm.name, sizeof (bp->cm.name)); 978 ip->dev.cm.isa = (void *)drmach_io_new; 979 ip->dev.cm.dispose = drmach_io_dispose; 980 ip->dev.cm.release = drmach_io_release; 981 ip->dev.cm [all...] |
H A D | drmach_acpi.h | 128 drmach_common_t cm; member in struct:__anon9445 140 drmach_common_t cm; member in struct:__anon9446
|
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/dimm/ |
H A D | dimm_sun4v.c | 355 mem_create(topo_mod_t *mod, tnode_t *rnode, md_mem_info_t *cm) argument 367 for (dp = cm->mem_dm; dp != NULL; dp = dp->dm_next) { 375 for (dp = cm->mem_dm; dp != NULL; dp = dp->dm_next) {
|