/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kalloc.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 69 t_kalloc(TIUSER *tiptr, int struct_type, int fields, char **ptr) argument 88 * fields within each structure. Initialize the 89 * 'buf' and 'maxlen' fields of each. 94 if (fields & T_ADDR) 101 if (fields & T_ADDR) 103 if (fields & T_OPT) 105 if (fields & T_UDATA) { 115 if (fields & T_OPT) 122 if (fields [all...] |
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_alloc.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 48 static int _alloc_buf(struct netbuf *buf, t_scalar_t n, int fields, 52 _tx_alloc(int fd, int struct_type, int fields, int api_semantics) argument 76 * Get size info for T_ADDR, T_OPT, and T_UDATA fields 105 * fields within each structure. Initialize the 106 * 'buf' and 'maxlen' fields of each. 113 if (fields & T_ADDR) { 116 fields, api_semantics, B_FALSE) < 0) 125 if (fields & T_ADDR) { 128 fields, api_semantic 263 _alloc_buf(struct netbuf *buf, t_scalar_t n, int fields, int api_semantics, boolean_t option) argument [all...] |
H A D | tli_wrappers.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 50 t_alloc(int fd, int struct_type, int fields) argument 52 return (_tx_alloc(fd, struct_type, fields, TX_TLI_API));
|
H A D | xti_wrappers.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 70 _xti_alloc(int fd, int struct_type, int fields) argument 72 return (_tx_alloc(fd, struct_type, fields, TX_XTI_API));
|
/illumos-gate/usr/src/cmd/lp/lib/filters/ |
H A D | loadfilters.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 194 getfields(int fd, char *fields[], char *buf, int bufsiz, int max, char *seps) argument 206 for (eMode = CHECK_LEAD_DBL_QUOTE, fields[n++] = q = p; *p; ) { 229 fields[n++] = q; 251 fields[n++] = "";
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | get_creds.c | 58 krb5_flags *fields) 95 *fields = KRB5_TC_MATCH_TIMES /*XXX |KRB5_TC_MATCH_SKEY_TYPE */ 102 *fields |= KRB5_TC_MATCH_KTYPE; 118 *fields |= KRB5_TC_MATCH_2ND_TKT|KRB5_TC_MATCH_IS_SKEY; 139 krb5_flags fields; local 144 &mcreds, &fields); 158 if ((retval = krb5_cc_retrieve_cred(context, ccache, fields, &mcreds, 56 krb5_get_credentials_core(krb5_context context, krb5_flags options, krb5_creds *in_creds, krb5_creds *mcreds, krb5_flags *fields) argument
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | uniq.c | 50 "[f:skip-fields]#[fields?\afields\a is the number of fields to skip over " 53 "\b--skip-fields\b=\anumber\a.]" 63 "after skipping any specified fields and characters.]" 85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare) argument 109 if (f = fields) 110 while (f-->0 && cp<ep) /* skip over fields */ 250 int fields=0, chars=0, width=-1; local 289 fields [all...] |
H A D | join.c | 42 "fields. The default output line consists of the join field, " 43 "then the remaining fields from \afile1\a, then the remaining " 44 "fields from \afile2\a, but this can be changed with the \b-o\b " 49 "sequence of \bsort -b\b on the fields on which they are to be " 54 "[e:empty]:[string?Replace empty output fields in the list selected with" 56 "[o:output]:[list?Construct the output line to comprise the fields specified " 143 Field_t* fields; member in struct:File_s 175 if (jp->file[0].fields) 176 free(jp->file[0].fields); 177 if (jp->file[1].fields) [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_cfgfile.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 92 char *fields [128]; local 128 if ((fieldcnt = strbreak(fields, 128, buffer, " \t\n")) == 129 0 || *fields[0] == '#') { 138 str = fields[1]; 142 dbname = fields[1]; 143 str = fields[2]; 148 (void) strlcpy(u.data, fields[0], sizeof (u.data)); 152 (void) strlcat(u.data, fields[i], 173 rc = _nscd_cfg_get_handle(fields[ [all...] |
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | compat_common.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 282 char *fields[MAXFIELDS]; local 296 fields[i] = 0; 311 fields[i] = s; 330 free(fields[0]); 331 fields[0] = NULL; 340 switch ((*be->mergef)(be, args, (const char **)fields)) { 368 if (fields[i] != 0) { 369 free(fields[i]); 1203 * Override some fields i [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_encode.c | 581 const struct field_info *fields, size_t nfields, 588 const struct field_info *f = fields+i-1; 614 const struct field_info *fields = seq->fields; local 628 retval = encode_fields(buf, val, fields, nfields, optional, &length); 580 encode_fields(asn1buf *buf, const void *val, const struct field_info *fields, size_t nfields, unsigned int optional, unsigned int *retlen) argument
|
H A D | asn1_encode.h | 218 Most of the fields are related only to the C type -- size, how 237 GENERALSTRING. Pluck data and length fields out of a structure 324 /* XXX The handling of data+length fields really needs reworking. 355 /* A sequence, defined by the indicated series of fields, and an 356 optional function indicating which fields are present. */ 441 /* Encode a thing (probably sub-fields within the structure) as a 492 handling strings with length fields. 531 tag.) The tag is omitted for optional fields that are not 544 function pointer describing which fields are present, OPT is 559 /* We use different types for "length" fields i 637 const struct field_info *fields; member in struct:seq_info [all...] |
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | form.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 111 /* sort_form - sort fields on form(per page) */ 151 /* disconnect_fields - disconnect fields from form */ 171 /* connect_fields - connect fields to form */ 177 int nf, /* number of fields */ 198 return (E_BAD_ARGUMENT); /* no fields */ 262 set_form_fields(FORM *f, FIELD **fields) argument 276 if ((v = connect_fields(f, fields)) == E_OK) { 285 (void) connect_fields(f, p); /* reconnect original fields */
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | lib.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 44 wchar_t fields[RECSIZE]; variable 49 int donefld; /* 1 = implies rec broken into fields */ 56 CELL fldtab[MAXFLD] = { /* room for fields */ 223 fr = fields; 224 i = 0; /* number of fields accumulated here */ 235 "record `%.20ws...' has too many fields", record); 254 "record `%.20ws...' has too many fields", record);
|
/illumos-gate/usr/src/test/libc-tests/tests/common/ |
H A D | test_common.c | 269 char *fields[MAXFIELD]; local 367 fields[nfields] = strsep(&ptr, "|"); 368 if (fields[nfields] == NULL) { 371 test_trim(&fields[nfields]); 381 rv = callbs[i](fields, nfields, &err);
|
/illumos-gate/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_symbol.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 604 * dsym_free_fields(): frees an array of fields allocated by 607 * input: char **: array of fields to free 612 dsym_free_fields(char **fields) argument 615 if (fields != NULL) { 617 free(fields[i]); 619 free(fields); 626 * input: char **: the fields allocated by dsym_init_parser() 632 dsym_close_parser(char **fields, dhcp_symbol_t *sym) argument 634 dsym_free_fields(fields); 660 char **fields; local 733 dsym_parse_field(int field_num, char **fields, dhcp_symbol_t *sym) argument 802 dsym_parser(char **fields, dhcp_symbol_t *sym, int *lastField, boolean_t bestEffort) argument [all...] |
H A D | dhcp_inittab.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 70 * the number of fields in the inittab and names for the fields. note that 169 char *fields[ITAB_FIELDS]; local 218 * parse the entry out into fields. 220 if (parse_entry(buffer, fields) == B_FALSE) { 229 if (atoi(fields[ITAB_GRAN]) > ITAB_GRAN_MAX) { 231 " out of range, skipping", line, fields[ITAB_GRAN]); 235 if (atoi(fields[ITAB_MAX]) > ITAB_MAX_MAX) { 237 "out of range, skipping", line, fields[ITAB_MA 319 parse_entry(char *entry, char **fields) argument [all...] |
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | private.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 559 * labelfields - Return names for the label fields. 563 * Exit fields = Updated. 574 labelfields(struct name_fields *fields) argument 594 if ((fields->class_name = strdup(&lfret.buf[lfret.classi])) == NULL) { 600 if ((fields->comps_name = strdup(&lfret.buf[lfret.compsi])) == NULL) { 601 free(fields->class_name); 607 if ((fields->marks_name = strdup(&lfret.buf[lfret.marksi])) == NULL) { 608 free(fields->class_name); 609 free(fields [all...] |
/illumos-gate/usr/src/cmd/kvmstat/ |
H A D | kvmstat.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 221 kstat_field_t *fields) 226 for (nfields = 0; fields[nfields].ksf_header != NULL; nfields++) 270 kstat_field_t *field = &fields[i]; 300 kstat_instances_print(kstat_instance_t *instances, kstat_field_t *fields, argument 306 for (nfields = 0; fields[nfields].ksf_header != NULL; nfields++) 311 (void) printf("%*s%c", fields[i].ksf_width, 312 fields[i].ksf_header, i < nfields - 1 ? ' ' : '\n'); 323 if (fields[i].ksf_flags & KSTAT_FIELD_FILLER) { 324 (void) printf("%*s%c", fields[ 220 kstat_instances_read(kstat_ctl_t *kcp, kstat_instance_t *instances, kstat_field_t *fields) argument 406 kstat_field_t fields[] = { local [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | display.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 87 } fields[FIELDS + 1] = { variable in typeref:struct:__anon47 174 toupper(fields[field].text2[0]), 175 fields[field].text2 + 1, pattern); 350 /* display the input fields */ 353 (void) printw("%s %s:\n", fields[i].text1, fields[i].text2); 363 fldcolumn = strlen(fields[field].text1) + 364 strlen(fields[field].text2) + 3; 411 f = fields[fiel [all...] |
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | shiocmd_solaris.c | 215 Shfield_t *fields; /* field description table */ member in struct:_class_ 245 Shfield_t *fp = sh_findfield(sp->fields,sp->nelem,name); 247 int n = fp-sp->fields; 262 Shfield_t *fp = sp->fields;
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | lib.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 39 int donefld; /* 1 = implies rec broken into fields */ 44 Cell fields[FLD_INCR]; member in struct:fldtab_chunk 51 static uchar *fields; variable 237 /* make sure fields is always allocated */ 238 adjust_buf(&fields, fields_size); 241 * make sure fields has enough size. We don't expand the buffer 243 * the address in the fields. 246 expand_buf(&fields, &fields_size, len); 247 fr = fields; [all...] |
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.h | 312 fields[HTTP_FIELD_MAX][HTTP_MAX_VALUE]; member in struct:__anon4296 347 # define httpClearFields(http) memset((http)->fields, 0, sizeof((http)->fields)),\ 361 # define httpGetField(http,field) (http)->fields[field]
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | nvtype.c | 667 sfprintf(out,"[+?\b%s\b defines the following fields:]{\n",np->nvname); 1398 Namval_t *nv_mkstruct(const char *name, int rsize, Fields_t *fields) argument 1414 for(fp=fields; fp->name; fp++) 1450 for(i=0,fp=fields; fp->name; fp++)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_rules.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 574 ofmt_field_t *fields; local 604 fields = rfields_v4; 606 fields = rfields_v6; 608 oerr = ofmt_open(larg->o_str, fields, oflags, ocols, &oh); 692 /* no -o option, so we use std. fields */ 799 ofmt_field_t *fields; local 817 fields = ssfields_v4; 819 fields = ssfields_v6; 822 oerr = ofmt_open(larg->o_str, fields, oflag [all...] |