/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils_threadfuncs.c | 185 struct adutils_lderrno *le; local 188 le = pthread_getspecific(adutils_lderrno_key); 189 if (le == NULL) { 190 le = calloc(1, sizeof (*le)); 191 if (le == NULL) { 197 rc = pthread_setspecific(adutils_lderrno_key, le); 203 free(le); 208 return (le); 219 struct adutils_lderrno *le; 262 struct adutils_lderrno *le = tsd; local [all...] |
/illumos-gate/usr/src/cmd/sort/common/ |
H A D | internal.c | 94 ssize_t le; /* boundary of left equal partition */ local 118 le = rand() % n; 119 swap((void **)&X[0], (void **)&X[le]); 121 le = l = 1; 128 swap((void **)&X[le++], (void **)&X[l]); 148 p = MIN(le, l - le); 156 p = l - le; 192 ssize_t le; /* boundary of left equal partition */ local 215 le [all...] |
/illumos-gate/usr/src/tools/ctf/common/ |
H A D | list.c | 49 list_t *le; local 51 le = xmalloc(sizeof (list_t)); 52 le->l_data = data; 53 le->l_next = *list; 54 *list = le; 82 list_t *le, **le2; local 88 for (le = *list, le2 = list; le; le2 = &le->l_next, le 103 list_t *le; local [all...] |
/illumos-gate/usr/src/cmd/localedef/ |
H A D | charmap.c | 260 int ls, le; local 268 le = strlen(e); 273 (strspn(e + si, digits) != (le - si)) ||
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | eventlog_log.c | 105 logr_syslog_set_timestamp(char **argv, logr_entry_t *le) argument 117 le->le_timestamp.tv_sec = 0; 129 le->le_timestamp.tv_sec = mktime(&tm); 139 logr_syslog_set_priority(char **argv, logr_entry_t *le) argument 146 le->le_pri = LOG_INFO; 155 le->le_pri = entry->p_value; 172 logr_syslog_parse_entry(char *logline, logr_entry_t *le) argument 208 (void) strlcpy(le->le_msg, bp, LOGR_MAXENTRYLEN); 209 (void) strlcpy(le->le_hostname, argv[LOGR_HOST], MAXHOSTNAMELEN); 210 logr_syslog_set_timestamp(argv, le); [all...] |
H A D | eventlog_svc.c | 433 logr_set_logrecord(char *src_name, logr_entry_t *le, argument 446 (void) smb_mbstowcs(wcs_hostname, le->le_hostname, 447 strlen(le->le_hostname) + 1); 448 hostname_len = LOGR_WNSTRLEN(le->le_hostname); 457 rec->TimeGenerated = le->le_timestamp.tv_sec; 458 rec->TimeWritten = le->le_timestamp.tv_sec; 459 logr_set_event_typeid(le->le_pri, &rec->EventType, &rec->EventID); 474 len = strlen(le->le_msg) + 1; 478 le->le_msg, len); 496 logr_entry_t *le; local [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | open.c | 211 struct nsldapi_ldap_error *le; local 214 le = pthread_getspecific( nsldapi_key ); 216 if (le == NULL) { 221 le = pthread_getspecific( nsldapi_key ); 223 if (le == NULL) { 228 le->le_errno = err; 230 if ( le->le_matched != NULL ) { 231 ldap_memfree( le->le_matched ); 233 le->le_matched = matched; 235 if ( le 244 struct nsldapi_ldap_error *le; local [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | tdata.c | 276 labelent_t *le = xmalloc(sizeof (*le)); local 278 le->le_name = xstrdup(label); 279 le->le_idx = (idx == -1 ? td->td_nextid - 1 : idx); 281 slist_add(&td->td_labels, le, (int (*)())tdata_label_cmp); 287 labelent_t *le = data; local 290 *topp = le; 306 tdata_label_find_cb(labelent_t *le, labelent_t *tmpl) argument 308 return (streq(le->le_name, tmpl->le_name)); 334 labelent_t *le local 353 tdata_label_free_cb(labelent_t *le, void *private) argument [all...] |
H A D | ctf.c | 134 write_label(labelent_t *le, ctf_buf_t *b) argument 138 ctl.ctl_label = strtab_insert(&b->ctb_strtab, le->le_name); 139 ctl.ctl_typeidx = le->le_idx;
|
/illumos-gate/usr/src/cmd/iconv/ |
H A D | charmap.c | 385 int ls, le; local 402 le = strlen(esym); 407 (strspn(esym + si, digits) != (le - si)) ||
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_types.c | 601 ctf_encoding_t le, re; local 624 return (ctf_type_encoding(lfp, ltype, &le) == 0 && 626 bcmp(&le, &re, sizeof (ctf_encoding_t)) == 0);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zap_leaf.c | 129 struct zap_leaf_entry *le; local 133 le = &lc->l_entry; 135 le->le_type = BSWAP_8(le->le_type); 136 le->le_value_intlen = BSWAP_8(le->le_value_intlen); 137 le->le_next = BSWAP_16(le->le_next); 138 le->le_name_chunk = BSWAP_16(le 402 struct zap_leaf_entry *le; local 462 struct zap_leaf_entry *le; local 499 struct zap_leaf_entry *le = local 520 struct zap_leaf_entry *le = local 542 struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, *zeh->zeh_chunkp); local 562 struct zap_leaf_entry *le; local 587 struct zap_leaf_entry *le; local 685 struct zap_leaf_entry *le; local 722 struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, entry); local 774 struct zap_leaf_entry *le, *nle; local 830 struct zap_leaf_entry *le = ZAP_LEAF_ENTRY(l, i); local 867 struct zap_leaf_entry *le = local [all...] |
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 321 * Take the arguments and create/append a string list to the 'le' list. 324 create_args_list(char *arg, poolstat_list_element_t *le, const char *delim) argument 326 poolstat_list_element_t *head = le; 334 if (le == NULL) { 336 NEW0(le); 337 head = le; 340 while (le->ple_next != NULL) 341 le = le->ple_next; 342 NEW0(le 636 poolstat_list_element_t *le; /* list element in the print sequence */ local 680 poolstat_list_element_t *le; /* list element in the print sequence */ local [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | logger.c | 238 klog_rotate(struct log_entry *le) 255 if (le->lfu_rotate_period == K_LOG_DEF_FILE_ROTATE_PERIOD) 260 if (t >= le->lfu_last_rotated + le->lfu_rotate_period) { 267 name_buf1 = malloc(strlen(le->lfu_fname) + 32); 272 name_buf2 = malloc(strlen(le->lfu_fname) + 32); 286 (void) sprintf(new_name, "%s.%d", le->lfu_fname, 287 le->lfu_rotate_versions - 1); 293 for (i = le->lfu_rotate_versions - 1; i > 0; i--) { 294 (void) sprintf(old_name, "%s.%d", le 236 klog_rotate(struct log_entry *le) argument [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | logger.c | 238 klog_rotate(struct log_entry *le) 255 if (le->lfu_rotate_period == K_LOG_DEF_FILE_ROTATE_PERIOD) 260 if (t >= le->lfu_last_rotated + le->lfu_rotate_period) { 267 name_buf1 = malloc(strlen(le->lfu_fname) + 32); 272 name_buf2 = malloc(strlen(le->lfu_fname) + 32); 286 (void) sprintf(new_name, "%s.%d", le->lfu_fname, 287 le->lfu_rotate_versions - 1); 293 for (i = le->lfu_rotate_versions - 1; i > 0; i--) { 294 (void) sprintf(old_name, "%s.%d", le 236 klog_rotate(struct log_entry *le) argument [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_connmgmt.c | 141 struct ldap_error *le = (struct ldap_error *)key; local 143 if (le == NULL) 145 if (le->le_matched != NULL) { 146 ldap_memfree(le->le_matched); 148 if (le->le_errmsg != NULL) { 149 ldap_memfree(le->le_errmsg); 151 free(le); 231 struct ldap_error *le; local 234 if ((eno = thr_getspecific(ns_mtckey, (void **)&le)) != 0) { 242 if (le 278 struct ldap_error *le; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 664 struct zap_leaf_entry *le; local 673 chunk != CHAIN_END; chunk = le->le_next) { 678 le = ZAP_LEAF_ENTRY(l, blksft, chunk); 681 if (le->le_type != ZAP_CHUNK_ENTRY) 684 if (le->le_hash != h) 687 if (zap_leaf_array_equal(l, blksft, le->le_name_chunk, 688 le->le_name_length, name)) { 693 if (le->le_int_size != 8 || le->le_value_length != 1) 698 le [all...] |
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.c | 461 mc_error_t *le; local 474 if (e == NULL && (le = malloc(sizeof (mc_error_t))) == NULL) 477 le = e; 479 le->type = type; 480 le->destroy = 1; 484 if ((le = realloc(e, sizeof (mc_error_t) + 487 le = e; 491 le->size = size; 492 (void) vsnprintf(le->msg, le [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | cgrep.c | 358 uchar_t *lb, *le; local 364 bestlen = re_lit(pat, &lb, &le); 371 for (p = lb; p < le; p++) printf("%c", *p); 375 pat->bm_ptr = re_bmcomp(lb, le, pat->cmap); 381 pat->bm_ptr = re_bmcomp(lb, le, pat->cmap);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_parser.c | 346 ctf_encoding_t le, re; local 362 if (ctf_type_encoding(lfp, lbase, &le) == CTF_ERR) { 378 lrank = le.cte_bits + ((le.cte_format & CTF_INT_SIGNED) == 0);
|
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_interface.h | 592 } le; member in struct:fw_ofld_connection_wr 2998 } le; member in union:fw_ldst_cmd::fw_ldst
|