/illumos-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)]);
|
/illumos-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
|
/illumos-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],
|
/illumos-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...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strcasecmp.c | 47 const int *cm; local 59 cm = lct->lc_trans_lower; 63 while (cm[*us1] == cm[*us2++]) 66 return (cm[*us1] - cm[*(us2 - 1)]);
|
H A D | strcasestr.c | 49 const int *cm = loc->ctype->lc_trans_lower; local 58 c = cm[*us2]; 60 if (c == cm[*us1++]) { 62 while (cm[c = *++us2] == cm[*us1++] && c != '\0') 68 c = cm[*us2];
|
H A D | strncasecmp.c | 47 const int *cm; local 59 cm = lct->lc_trans_lower; 63 while (n != 0 && cm[*us1] == cm[*us2++]) { 68 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]);
|
/illumos-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...] |
/illumos-gate/usr/src/cmd/tr/ |
H A D | cmap.c | 48 struct cmap *cm; local 50 cm = malloc(sizeof (*cm)); 51 if (cm == NULL) 53 cm->cm_root = NULL; 54 cm->cm_def = CM_DEF_SELF; 55 cm->cm_havecache = false; 56 cm->cm_min = cm->cm_max = 0; 57 return (cm); 65 cmap_add(struct cmap *cm, wint_t from, wint_t to) argument 118 cmap_lookup_hard(struct cmap *cm, wint_t ch) argument 134 cmap_cache(struct cmap *cm) argument 151 cmap_default(struct cmap *cm, wint_t def) argument [all...] |
H A D | tr.c | 58 cmap_lookup(struct cmap *cm, wint_t from) argument 61 if (from < CM_CACHE_SIZE && cm->cm_havecache) 62 return (cm->cm_cache[from]); 63 return (cmap_lookup_hard(cm, from)); 67 cmap_max(struct cmap *cm) argument 69 return (cm->cm_max);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | isdir.c | 52 #define ISCOMPCPIO ((unsigned char) cm.c_mag[0] == m_h[0] && \ 53 (unsigned char) cm.c_mag[1] == m_h[1] && \ 54 (MASK_CK((unsigned char) cm.c_mag[2], BLOCK_MASK) || \ 55 MASK_CK((unsigned char) cm.c_mag[2], BIT_MASK))) 57 #define ISCPIO (cm.b_mag != CMN_BIN && \ 58 (strcmp(cm.c_mag, CMS_ASC) == 0) && \ 59 (strcmp(cm.c_mag, CMS_CHR) == 0) && \ 60 (strcmp(cm.c_mag, CMS_CRC) == 0)) 171 } cm; local 193 if (read(fd, cm [all...] |
/illumos-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) {
|
/illumos-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)
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | charmap.c | 244 charmap_t *cm = NULL; local 247 cm = avl_find(&cmap_sym, &srch, NULL); 249 if ((undefok == 0) && ((cm == NULL) || (cm->wc == -1))) {
|
/illumos-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...] |
/illumos-gate/usr/src/cmd/fm/schemes/mem/ |
H A D | mem.c | 543 mem_bank_map_t *bm, *cm; local 554 for (bm = mem.mem_bank; bm != NULL; bm = cm) { 555 cm = bm->bm_next;
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | client.c | 119 cmechanism_t *cm; local 147 cm=cmechlist->mech_list; /* m point to begging of the list */ 148 while (cm!=NULL) 150 cprevm=cm; 151 cm=cm->next;
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | mbuf.c | 346 struct mbuf *cm = mbp->mb_cur; local 347 int ts = M_TRAILINGSPACE(cm); 356 cm->m_next = m;
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.h | 128 drmach_common_t cm; member in struct:__anon9358 140 drmach_common_t cm; member in struct:__anon9359
|
/illumos-gate/usr/src/cmd/iconv/ |
H A D | charmap.c | 234 charmap_t *cm; local 237 cm = avl_first(&cmap_mbs); 238 while (cm != NULL) { 239 (void) printf("name=\"%s\"\n", cm->cm_name); 242 for (i = 0; i < cm->cm_frmbs_len; i++) 243 (void) printf("\\x%02x", cm->cm_frmbs[i] & 0xFF); 247 for (i = 0; i < cm->cm_tombs_len; i++) 248 (void) printf("\\x%02x", cm->cm_tombs[i] & 0xFF); 251 cm = AVL_NEXT(&cmap_mbs, cm); 462 charmap_t *cm = NULL; local 484 charmap_t *cm; local 507 charmap_t *cm; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem_mdesc.c | 483 mem_bank_map_t *bm, *cm; local 494 for (bm = mem->mem_bank; bm != NULL; bm = cm) { 499 cm = bm->bm_next;
|
/illumos-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...] |
/illumos-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...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_kverbs.c | 2320 ib_get_ibt_channel_hdl(struct rdma_cm_id *cm) argument 2322 return (cm->qp == NULL ? NULL : cm->qp->ibt_qp);
|