Home
last modified time | relevance | path

Searched refs:cm (Results 1 – 25 of 65) sorted by relevance

123

/titanic_52/usr/src/cmd/tr/
H A Dcmap.c48 struct cmap *cm; in cmap_alloc() local
50 cm = malloc(sizeof (*cm)); in cmap_alloc()
51 if (cm == NULL) in cmap_alloc()
53 cm->cm_root = NULL; in cmap_alloc()
54 cm->cm_def = CM_DEF_SELF; in cmap_alloc()
55 cm->cm_havecache = false; in cmap_alloc()
56 cm->cm_min = cm->cm_max = 0; in cmap_alloc()
57 return (cm); in cmap_alloc()
65 cmap_add(struct cmap * cm,wint_t from,wint_t to) cmap_add() argument
118 cmap_lookup_hard(struct cmap * cm,wint_t ch) cmap_lookup_hard() argument
134 cmap_cache(struct cmap * cm) cmap_cache() argument
151 cmap_default(struct cmap * cm,wint_t def) cmap_default() argument
[all...]
H A Dtr.c58 cmap_lookup(struct cmap *cm, wint_t from) in cmap_lookup() argument
61 if (from < CM_CACHE_SIZE && cm->cm_havecache) in cmap_lookup()
62 return (cm->cm_cache[from]); in cmap_lookup()
63 return (cmap_lookup_hard(cm, from)); in cmap_lookup()
67 cmap_max(struct cmap *cm) in cmap_max() argument
69 return (cm->cm_max); in cmap_max()
/titanic_52/usr/src/lib/libsldap/common/
H A Dns_connmgmt.c58 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) \ argument
96 (void) mutex_unlock(&(cm)->lock); \
98 cmg = free_conn_mt((cm), 1); \
887 ns_conn_mt_t *cm; in init_conn_mt() local
890 cm = (ns_conn_mt_t *)calloc(1, sizeof (*cm)); in init_conn_mt()
891 if (cm == NULL) { in init_conn_mt()
908 (void) mutex_init(&cm in init_conn_mt()
927 free_conn_mt(ns_conn_mt_t * cm,int unlock_cmg) free_conn_mt() argument
947 add_cu2cm(ns_conn_user_t * cu,ns_conn_mt_t * cm) add_cu2cm() argument
962 add_cm2cmg(ns_conn_mt_t * cm,ns_conn_mgmt_t * cmg) add_cm2cmg() argument
987 del_cu4cm(ns_conn_user_t * cu,ns_conn_mt_t * cm) del_cu4cm() argument
1032 del_cm4cmg(ns_conn_mt_t * cm,ns_conn_mgmt_t * cmg) del_cm4cmg() argument
1081 is_server_cred_matched(const char * server,const ns_cred_t * cred,ns_conn_mt_t * cm) is_server_cred_matched() argument
1106 wait_for_conn_mt(ns_conn_user_t * cu,ns_conn_mt_t * cm) wait_for_conn_mt() argument
1150 check_and_close_conn(ns_conn_mgmt_t * cmg,ns_conn_mt_t ** cm,ns_conn_user_t * cu) check_and_close_conn() argument
1274 ns_conn_mt_t *cm = *cmt; match_conn_mt() local
1537 ns_conn_mt_t *cm = cu->conn_mt; __s_api_conn_mt_add() local
1585 ns_conn_mt_t *cm; __s_api_conn_mt_return() local
1634 err2cm(ns_conn_mt_t * cm,int rc,ns_ldap_error_t ** errorp) err2cm() argument
1650 err_from_cm(ns_conn_user_t * cu,ns_conn_mt_t * cm) err_from_cm() argument
1694 ns_conn_mt_t *cm; __s_api_conn_mt_remove() local
1781 close_conn_mt(ns_conn_mt_t * cm,int rc,ns_ldap_error_t ** errorp,ns_conn_user_t * cu) close_conn_mt() argument
1855 ns_conn_mt_t *cm; __s_api_conn_mt_close() local
1898 close_conn_mt_by_procchg(ns_conn_mt_t * cm,int rc,char * errmsg) close_conn_mt_by_procchg() argument
1938 close_conn_mt_when_nouser(ns_conn_mt_t * cm) close_conn_mt_when_nouser() argument
1996 ns_conn_mt_t *cm; proc_server_change() local
2189 ns_conn_mt_t *cm; shutdown_all_conn_mt() local
[all...]
/titanic_52/usr/src/cmd/localedef/
H A DMakefile48 UTF-8.cm UTF-8.ct \
49 8859-1.cm 8859-2.cm 8859-3.cm 8859-4.cm \
50 8859-5.cm 8859-5.cm 8859-6.cm 8859-7.cm \
51 8859-8.cm 885
[all...]
H A Dcharmap.c244 charmap_t *cm = NULL; in add_charmap_undefined() local
247 cm = avl_find(&cmap_sym, &srch, NULL); in add_charmap_undefined()
249 if ((undefok == 0) && ((cm == NULL) || (cm->wc == -1))) { in add_charmap_undefined()
/titanic_52/usr/src/lib/libbc/libc/gen/common/
H A Dstricmp.c57 char *cm = charmap; in strcasecmp() local
59 while (cm[*s1] == cm[*s2++]) in strcasecmp()
62 return(cm[*s1] - cm[*--s2]); in strcasecmp()
68 char *cm = charmap; in strncasecmp() local
70 while (--n >= 0 && cm[*s1] == cm[*s2++]) in strncasecmp()
73 return(n < 0 ? 0 : cm[*s1] - cm[* in strncasecmp()
[all...]
/titanic_52/usr/src/lib/libresolv2/common/bsd/
H A Dstrcasecmp.c95 const u_char *cm = charmap, in strcasecmp() local
99 while (cm[*us1] == cm[*us2++]) in strcasecmp()
102 return (cm[*us1] - cm[*--us2]); in strcasecmp()
108 const u_char *cm = charmap, in strncasecmp() local
113 if (cm[*us1] != cm[*us2++]) in strncasecmp()
114 return (cm[*us1] - cm[* in strncasecmp()
[all...]
/titanic_52/usr/src/uts/common/crypto/io/
H A Dcrypto.c438 crypto_minor_t *cm = NULL; in crypto_open() local
513 cm = kmem_zalloc(sizeof (crypto_minor_t), KM_SLEEP); in crypto_open()
514 mutex_init(&cm->cm_lock, NULL, MUTEX_DRIVER, NULL); in crypto_open()
515 cv_init(&cm->cm_cv, NULL, CV_DRIVER, NULL); in crypto_open()
518 cm->cm_refcnt = 1; in crypto_open()
519 crypto_minors[mn - 1] = cm; in crypto_open()
532 crypto_minor_t *cm = NULL; in crypto_close() local
548 cm = crypto_minors[mn - 1]; in crypto_close()
549 if (cm == NULL) { in crypto_close()
568 mutex_enter(&cm in crypto_close()
620 crypto_minor_t *cm; crypto_hold_minor() local
637 crypto_release_minor(crypto_minor_t * cm) crypto_release_minor() argument
847 crypto_minor_t *cm; get_function_list() local
1172 crypto_get_provider_list(crypto_minor_t * cm,uint_t * count,crypto_provider_entry_t ** array,boolean_t return_slot_list) crypto_get_provider_list() argument
1231 crypto_minor_t *cm; get_provider_list() local
1413 crypto_minor_t *cm; get_provider_info() local
1517 crypto_minor_t *cm; get_provider_mechanisms() local
1616 crypto_minor_t *cm; get_provider_mechanism_info() local
1698 crypto_get_provider_session(crypto_minor_t * cm,crypto_provider_id_t provider_index,crypto_provider_session_t ** output_ps) crypto_get_provider_session() argument
1797 crypto_release_provider_session(crypto_minor_t * cm,crypto_provider_session_t * provider_session) crypto_release_provider_session() argument
1835 grow_session_table(crypto_minor_t * cm) grow_session_table() argument
1893 crypto_minor_t *cm; crypto_open_session() local
1991 crypto_minor_t *cm; crypto_close_session() 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) get_session_ptr() argument
2611 crypto_minor_t *cm; cipher_init() local
2747 crypto_minor_t *cm; cipher() local
2906 crypto_minor_t *cm; cipher_update() local
3063 crypto_minor_t *cm; common_final() local
3192 crypto_minor_t *cm; digest_init() local
3270 crypto_minor_t *cm; digest_update() local
3356 crypto_minor_t *cm; digest_key() local
3434 crypto_minor_t *cm; common_digest() local
3573 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) get_pin_and_session_ptr() argument
3605 crypto_minor_t *cm; set_pin() local
3693 crypto_minor_t *cm; login() local
3767 crypto_minor_t *cm; logout() local
3860 crypto_minor_t *cm; sign_verify_init() local
3997 crypto_minor_t *cm; verify() local
4114 crypto_minor_t *cm; sign_verify_update() local
4209 crypto_minor_t *cm; verify_final() local
4291 crypto_minor_t *cm; seed_random() local
4382 crypto_minor_t *cm; generate_random() local
4529 crypto_minor_t *cm; object_create() local
4623 crypto_minor_t *cm; object_copy() local
4718 crypto_minor_t *cm; object_destroy() local
4791 crypto_minor_t *cm; object_get_attribute_value() local
4886 crypto_minor_t *cm; object_get_size() local
4955 crypto_minor_t *cm; object_set_attribute_value() local
5037 crypto_minor_t *cm; object_find_init() local
5132 crypto_minor_t *cm; object_find_update() local
5257 crypto_minor_t *cm; object_find_final() local
5312 crypto_minor_t *cm; object_generate_key() local
5439 crypto_minor_t *cm; nostore_generate_key() local
5575 crypto_minor_t *cm; object_generate_key_pair() local
5735 crypto_minor_t *cm; nostore_generate_key_pair() local
5922 crypto_minor_t *cm; object_wrap_key() local
6081 crypto_minor_t *cm; object_unwrap_key() local
6249 crypto_minor_t *cm; object_derive_key() local
6407 crypto_minor_t *cm; nostore_derive_key() local
[all...]
/titanic_52/usr/src/lib/libpkg/common/
H A Disdir.c52 #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; in iscpio() local
193 if (read(fd, cm in iscpio()
[all...]
/titanic_52/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_rcm.c155 int cm; in ap_capinfo() local
184 for (cp = cinfo, cm = firstcm; cm <= lastcm; cm++, cp++) { in ap_capinfo()
188 switch (ap_cm_type(a, cm)) { in ap_capinfo()
203 if (ap_cm_capacity(a, cm, cap, ncap, os)) { in ap_capinfo()
423 int cm; in ap_rcm_init() local
432 for (ncpu = 0, cm = rcm->firstcm; cm <= rcm->lastcm; cm in ap_rcm_init()
501 int cm; ap_rcm_rlist() local
884 int cm; ap_rcm_request_cap() local
941 int cm; ap_rcm_add_cap() local
1043 int cm; ap_rcm_notify_cap() local
1156 int cm; ap_rcm_ctl() local
[all...]
/titanic_52/usr/src/uts/common/os/
H A Dconsole.c256 console_putmsg(console_msg_t *cm) in console_putmsg() argument
264 vn_rdwr(UIO_WRITE, console_vnode, cm->cm_text, strlen(cm->cm_text), in console_putmsg()
270 prom_printf("%s", cm->cm_text); in console_putmsg()
276 kmem_free(cm, cm->cm_size); in console_putmsg()
282 console_msg_t *cm; in console_vprintf() local
287 (cm = kmem_alloc(sizeof (*cm) + len, KM_NOSLEEP)) != NULL) { in console_vprintf()
288 cm in console_vprintf()
[all...]
/titanic_52/usr/src/lib/libc/port/locale/
H A Dstrcasecmp.c47 const int *cm; in strcasecmp_l() local
59 cm = lct->lc_trans_lower; in strcasecmp_l()
63 while (cm[*us1] == cm[*us2++]) in strcasecmp_l()
66 return (cm[*us1] - cm[*(us2 - 1)]); in strcasecmp_l()
H A Dstrncasecmp.c47 const int *cm; in strncasecmp_l() local
59 cm = lct->lc_trans_lower; in strncasecmp_l()
63 while (n != 0 && cm[*us1] == cm[*us2++]) { in strncasecmp_l()
68 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]); in strncasecmp_l()
H A Dstrcasestr.c49 const int *cm = loc->ctype->lc_trans_lower; in strcasestr_l() local
58 c = cm[*us2]; in strcasestr_l()
60 if (c == cm[*us1++]) { in strcasestr_l()
62 while (cm[c = *++us2] == cm[*us1++] && c != '\0') in strcasestr_l()
68 c = cm[*us2]; in strcasestr_l()
/titanic_52/usr/src/lib/libc/port/gen/
H A Dascii_strcasecmp.c49 const unsigned char *cm = (const unsigned char *)strcase_charmap; in ascii_strcasecmp() local
53 while (cm[*us1] == cm[*us2++]) in ascii_strcasecmp()
56 return (cm[*us1] - cm[*(us2 - 1)]); in ascii_strcasecmp()
H A Dascii_strncasecmp.c49 const unsigned char *cm = (const unsigned char *)strcase_charmap; in ascii_strncasecmp() local
53 while (n != 0 && cm[*us1] == cm[*us2++]) { in ascii_strncasecmp()
58 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]); in ascii_strncasecmp()
/titanic_52/usr/src/lib/libtecla/common/
H A Dpcache.c114 static CacheMem *del_CacheMem(CacheMem *cm);
115 static void rst_CacheMem(CacheMem *cm);
716 CacheMem *cm; /* The object to be returned */ in new_CacheMem() local
720 cm = (CacheMem *)malloc(sizeof(CacheMem)); in new_CacheMem()
721 if(!cm) { in new_CacheMem()
730 cm->sg = NULL; in new_CacheMem()
731 cm->files_dim = 0; in new_CacheMem()
732 cm->files = NULL; in new_CacheMem()
733 cm->nfiles = 0; in new_CacheMem()
737 cm in new_CacheMem()
761 del_CacheMem(CacheMem * cm) del_CacheMem() argument
790 rst_CacheMem(CacheMem * cm) rst_CacheMem() argument
[all...]
/titanic_52/usr/src/cmd/sendmail/libsm/
H A Dstrcasecmp.c96 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; global() local
/titanic_52/usr/src/uts/common/io/arn/
H A Darn_regd.c439 const struct cmode *cm, in ath9k_regd_add_channel() argument
489 if (IS_HT40_MODE(cm->mode) && in ath9k_regd_add_channel()
498 if (IS_HT40_MODE(cm->mode) && in ath9k_regd_add_channel()
507 if (IS_HT40_MODE(cm->mode) && in ath9k_regd_add_channel()
518 channelFlags = cm->flags; in ath9k_regd_add_channel()
564 if ((cm->mode == ATH9K_MODE_11A) || in ath9k_regd_add_channel()
565 (cm->mode == ATH9K_MODE_11NA_HT20) || in ath9k_regd_add_channel()
566 (cm->mode == ATH9K_MODE_11NA_HT40PLUS) || in ath9k_regd_add_channel()
567 (cm->mode == ATH9K_MODE_11NA_HT40MINUS)) { in ath9k_regd_add_channel()
593 if ((cm in ath9k_regd_add_channel()
646 const struct cmode *cm; ath9k_regd_init_channels() local
[all...]
/titanic_52/usr/src/lib/libctf/common/
H A Dctf_merge.c775 ctf_merge_types_t cm; in ctf_merge_types() local
795 cm.cm_out = out; in ctf_merge_types()
796 cm.cm_src = source; in ctf_merge_types()
797 cm.cm_dedup = B_FALSE; in ctf_merge_types()
798 cm.cm_unique = B_FALSE; in ctf_merge_types()
799 ret = ctf_merge_types_init(&cm); in ctf_merge_types()
805 ret = ctf_diff_types(cdp, ctf_merge_diffcb, &cm); in ctf_merge_types()
808 ret = ctf_merge_common(&cm); in ctf_merge_types()
824 VERIFY(cm.cm_tmap[cmo->cmo_tid].cmt_map != 0); in ctf_merge_types()
825 cmo->cmo_tid = cm in ctf_merge_types()
896 ctf_merge_types_t cm; ctf_uniquify_types() local
1464 ctf_merge_types_t cm; ctf_merge_dedup() local
[all...]
/titanic_52/usr/src/uts/common/crypto/core/
H A Dkcf_crypto.c49 crypto_get_provider_mechanisms(crypto_minor_t *cm, crypto_provider_id_t id, in crypto_get_provider_mechanisms() argument
52 if (id >= cm->cm_provider_count) in crypto_get_provider_mechanisms()
55 return (crypto_build_permitted_mech_names(cm->cm_provider_array[id], in crypto_get_provider_mechanisms()
/titanic_52/usr/src/common/util/
H A Dstring.c434 const unsigned char *cm = (const unsigned char *)charmap; in strcasecmp() local
438 while (cm[*us1] == cm[*us2++]) in strcasecmp()
441 return (cm[*us1] - cm[*(us2 - 1)]); in strcasecmp()
447 const unsigned char *cm = (const unsigned char *)charmap; in strncasecmp() local
451 while (n != 0 && cm[*us1] == cm[*us2++]) { in strncasecmp()
456 return (n == 0 ? 0 : cm[*us1] - cm[*(us in strncasecmp()
[all...]
/titanic_52/usr/src/lib/libcurses/screen/
H A Dmvcur.c94 cm; /* cost direct cursor motion */ in mvcur() local
112 /* cost of using cm */ in mvcur()
113 cm = _COST(Cursor_address); in mvcur()
118 if (cm < LARGECOST && SP->baud >= 2400 && in mvcur()
135 if (rl < cm) { in mvcur()
159 if (cm >= LARGECOST && rl >= LARGECOST && hu >= LARGECOST && in mvcur()
164 if (cm <= rl && cm <= hu && cm <= hd) in mvcur()
/titanic_52/usr/src/uts/sun4u/starfire/io/
H A Ddrmach.c130 drmach_common_t cm; member
141 drmach_common_t cm; member
766 dp->bp->cm.name, dp->cm.name, name); in drmach_device_get_prop()
782 dp->bp->cm.name, dp->cm.name, name); in drmach_device_get_proplen()
795 bp->cm.isa = (void *)drmach_board_new; in drmach_board_new()
796 bp->cm.release = drmach_board_release; in drmach_board_new()
797 bp->cm.status = drmach_board_status; in drmach_board_new()
799 (void) drmach_board_name(bnum, bp->cm in drmach_board_new()
[all...]
/titanic_52/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.c524 self->cm.dispose(id); in drmach_device_dispose()
547 bp->cm.isa = (void *)drmach_board_new; in drmach_board_new()
548 bp->cm.release = drmach_board_release; in drmach_board_new()
549 bp->cm.status = drmach_board_status; in drmach_board_new()
564 err = drmach_board_name(bnum, bp->cm.name, sizeof (bp->cm.name)); in drmach_board_new()
986 ip->dev.cm.isa = (void *)drmach_io_new; in drmach_io_new()
987 ip->dev.cm.dispose = drmach_io_dispose; in drmach_io_new()
988 ip->dev.cm.release = drmach_io_release; in drmach_io_new()
989 ip->dev.cm in drmach_io_new()
[all...]

123