Home
last modified time | relevance | path

Searched refs:extra (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/titanic_51/usr/src/lib/libshell/common/bltins/
H A Dmisc.c60 int b_exec(int argc,char *argv[], void *extra) in b_exec() argument
66 logdata.sh = ((Shbltin_t*)extra)->shp; in b_exec()
98 int B_login(int argc,char *argv[],void *extra) in B_login() argument
105 shp = ((Shbltin_t*)extra)->shp; in B_login()
108 logp = (struct login*)extra; in B_login()
159 int b_let(int argc,char *argv[],void *extra) in b_let() argument
164 NOT_USED(extra); in b_let()
182 int b_eval(int argc,char *argv[], void *extra) in b_eval() argument
185 register Shell_t *shp = ((Shbltin_t*)extra)->shp; in b_eval()
207 int b_dot_cmd(register int n,char *argv[],void* extra) in b_dot_cmd() argument
[all …]
H A Dcflow.c44 int b_exit(int n, register char *argv[],void *extra){}
46 int b_return(register int n, register char *argv[],void *extra) in b_return() argument
49 register Shell_t *shp = ((Shbltin_t*)extra)->shp; in b_return()
81 int b_continue(int n, register char *argv[],void *extra){}
83 int b_break(register int n, register char *argv[],void *extra) in b_break() argument
87 register Shell_t *shp = ((Shbltin_t*)extra)->shp; in b_break()
H A Dcd_pwd.c52 int b_cd(int argc, char *argv[],void *extra) in b_cd() argument
57 register Shell_t *shp = ((Shbltin_t*)extra)->shp; in b_cd()
209 int b_pwd(int argc, char *argv[],void *extra) in b_pwd() argument
214 register Shell_t *shp = ((Shbltin_t*)extra)->shp; in b_pwd()
216 NOT_USED(extra); in b_pwd()
/titanic_51/usr/src/cmd/boot/common/
H A Dmboot_extra.c40 * bootblock and the location of the extra information area.
107 * Given a pointer to the extra information area (a sequence of bb_header_ext_t
111 find_einfo(char *extra, uint32_t size) in find_einfo() argument
117 assert(extra != NULL); in find_einfo()
119 ext_header = (bb_header_ext_t *)extra; in find_einfo()
126 cksum = compute_checksum(extra + sizeof (bb_header_ext_t), in find_einfo()
137 * Currently we only have one extra header so it must be encapsulating in find_einfo()
140 einfo = (bblk_einfo_t *)(extra + sizeof (bb_header_ext_t)); in find_einfo()
153 * Given a pointer to the extra area, add the extended information structure
157 add_einfo(char *extra, cha argument
[all...]
/titanic_51/usr/src/boot/sys/boot/efi/libefi/
H A Dhandles.c38 uint64_t extra; member
83 efi_handle_lookup(EFI_HANDLE h, struct devsw **dev, int *unit, uint64_t *extra) in efi_handle_lookup() argument
94 if (extra != NULL) in efi_handle_lookup()
95 *extra = entry[idx].extra; in efi_handle_lookup()
113 entry[idx].extra = guid; in efi_handle_update_dev()
/titanic_51/usr/src/cmd/ipf/lib/common/
H A Dipft_ef.c78 int slen, extra = 0, i; local
103 extra = sizeof(struct tcphdr);
105 extra = sizeof(struct udphdr);
109 extra = sizeof(struct igmp);
113 extra = sizeof(struct icmp);
124 slen = IP_HL(ip) + extra;
H A Dipft_td.c101 int n, slen, extra = 0; local
154 extra = sizeof(struct tcphdr);
156 extra = sizeof(struct udphdr);
160 extra = sizeof(struct igmp);
164 extra = sizeof(struct icmp);
170 slen = IP_HL(ip) + extra + ip->ip_len;
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dfcin.c161 static struct Extra extra; in fcmbstate() local
165 if((c = mbsize(extra.next)) < 0) in fcmbstate()
174 *s = state[*extra.next++]; in fcmbstate()
179 c = mbchar(extra.next); in fcmbstate()
189 memcpy(extra.buff, _Fcin.fcptr, n); in fcmbstate()
193 if((extra.buff[i] = fcgetc(c))==0) in fcmbstate()
197 extra.next = extra.buff; in fcmbstate()
H A Denv.c45 int extra; member
91 register int n=ep->extra; in env_get()
110 environ = ep->env+ep->extra; in env_get()
111 return(ep->env+ep->extra); in env_get()
189 Env_t *env_open(char **envp, int extra) in env_open() argument
204 if(extra==ENV_STABLE) in env_open()
210 ep->count = ep->extra = extra; in env_open()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dfcin.c167 static struct Extra extra; in _fcmbget() local
171 if((c = mbsize(extra.next)) < 0) in _fcmbget()
180 c = *extra.next++; in _fcmbget()
184 c = mbchar(extra.next); in _fcmbget()
192 memcpy(extra.buff, _Fcin.fcptr, n); in _fcmbget()
196 if((extra.buff[i] = fcgetc(c))==0) in _fcmbget()
200 extra.next = extra.buff; in _fcmbget()
H A Denv.c45 int extra; member
91 register int n=ep->extra; in env_get()
110 environ = ep->env+ep->extra; in env_get()
111 return(ep->env+ep->extra); in env_get()
184 * If <extra> > 0, <extra> slots will be left at beginning of
186 * If <extra>==ENV_USABLE, then the original environ can be
189 Env_t *env_open(char **envp, int extra) in env_open() argument
204 if(extra==ENV_STABLE) in env_open()
210 ep->count = ep->extra in env_open()
[all...]
/titanic_51/usr/src/uts/common/inet/sctp/
H A Dsctp_output.c701 int extra; in sctp_find_fast_rexmit_mblks() local
740 if ((extra = msglen & (SCTP_ALIGN - 1)) != 0) { in sctp_find_fast_rexmit_mblks()
741 extra = SCTP_ALIGN - extra; in sctp_find_fast_rexmit_mblks()
749 if (*total + msglen + extra > in sctp_find_fast_rexmit_mblks()
755 if (extra > 0) { in sctp_find_fast_rexmit_mblks()
756 fill = sctp_get_padding(sctp, extra); in sctp_find_fast_rexmit_mblks()
772 *total += msglen + extra; in sctp_find_fast_rexmit_mblks()
1000 int extra; in sctp_output() local
1082 if ((extra in sctp_output()
1675 int extra; sctp_rexmit() local
2079 int extra; sctp_rexmit_packet() local
[all...]
/titanic_51/usr/src/lib/libast/common/string/
H A Dfmtfmt.c64 unsigned int extra[elementsof(formats)]; in fmtfmt() local
185 if (extra[i] = x) in fmtfmt()
199 if (extra[i]) in fmtfmt()
200 s += sfsprintf(s, 10, "%d", extra[m]); in fmtfmt()
/titanic_51/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtfmt.c64 unsigned int extra[elementsof(formats)]; in fmtfmt() local
185 if (extra[i] = x) in fmtfmt()
199 if (extra[i]) in fmtfmt()
200 s += sfsprintf(s, 10, "%d", extra[m]); in fmtfmt()
/titanic_51/usr/src/lib/libast/common/misc/
H A Dgetcwd.c120 ssize_t extra = -1;
176 extra = len;
178 if (!(buf = newof(0, char, len, extra))) ERROR(ENOMEM);
216 if (extra >= 0 && !(buf = newof(buf, char, len, extra))) ERROR(ENOMEM);
261 if (extra < 0 || !(buf = newof(buf, char, len += PATH_MAX, extra))) ERROR(ERANGE);
284 if (extra >= 0) free(buf);
/titanic_51/usr/src/boot/lib/libz/
H A Dinftrees.c56 const unsigned short FAR *extra; /* extra bits table to use */ local
57 int end; /* use base and extra for symbol > end */
63 static const unsigned short lext[31] = { /* Length codes 257..285 extra */
70 static const unsigned short dext[32] = { /* Distance codes 0..29 extra */
183 base = extra = work; /* dummy value--not used */
189 extra = lext;
190 extra -= 257;
195 extra = dext;
224 here.op = (unsigned char)(extra[wor
[all...]
H A Dinfback.c537 /* length code -- get extra bits, if any */
538 state->extra = (unsigned)(here.op) & 15;
539 if (state->extra != 0) {
540 NEEDBITS(state->extra);
541 state->length += BITS(state->extra);
542 DROPBITS(state->extra);
570 /* get distance extra bits, if any */
571 state->extra = (unsigned)(here.op) & 15;
572 if (state->extra != 0) {
573 NEEDBITS(state->extra);
[all...]
/titanic_51/usr/src/lib/libcmd/common/
H A Duname.c230 #define extra(m) do \ macro
474 extra(sysname); in b_uname()
475 extra(nodename); in b_uname()
476 extra(release); in b_uname()
477 extra(version); in b_uname()
478 extra(machine); in b_uname()
480 extra(idnumber); in b_uname()
483 extra(m_type); in b_uname()
486 extra(base_rel); in b_uname()
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
H A Duname.c230 #define extra(m) do \ macro
474 extra(sysname); in b_uname()
475 extra(nodename); in b_uname()
476 extra(release); in b_uname()
477 extra(version); in b_uname()
478 extra(machine); in b_uname()
480 extra(idnumber); in b_uname()
483 extra(m_type); in b_uname()
486 extra(base_rel); in b_uname()
/titanic_51/usr/src/tools/btxld/
H A Dversion.c52 uint32_t extra; in add_version() local
112 extra = P2ROUNDUP(sb.st_size, 8); in add_version()
113 avail_space = buf_size - extra; in add_version()
115 add_einfo(buf + extra, version, &hs, avail_space); in add_version()
/titanic_51/usr/src/contrib/ast/src/lib/libast/misc/
H A Dgetcwd.c148 * len extra chars after the path name
162 ssize_t extra = -1;
218 extra = len;
220 if (!(buf = newof(0, char, len, extra))) ERROR(ENOMEM);
258 if (extra >= 0 && !(buf = newof(buf, char, len, extra))) ERROR(ENOMEM);
303 if (extra < 0 || !(buf = newof(buf, char, len += PATH_MAX, extra))) ERROR(ERANGE);
326 if (extra >= 0) free(buf);
/titanic_51/usr/src/psm/stand/bootblks/common/
H A Dmkbb.sh36 e) extra=$OPTARG
73 extsize=$(ls -l $extra | awk -e '{ print $5 }')
78 dd if=$extra of=$3 conv=notrunc bs=1 oseek=$bblen
/titanic_51/usr/src/contrib/zlib/
H A Dinftrees.c52 const unsigned short FAR *extra; /* extra bits table to use */ in inflate_table() local
53 unsigned match; /* use base and extra for symbol >= match */ in inflate_table()
59 static const unsigned short lext[31] = { /* Length codes 257..285 extra */ in inflate_table()
66 static const unsigned short dext[32] = { /* Distance codes 0..29 extra */ in inflate_table()
179 base = extra = work; /* dummy value--not used */ in inflate_table()
184 extra = lext; in inflate_table()
189 extra = dext; in inflate_table()
218 here.op = (unsigned char)(extra[work[sym] - match]); in inflate_table()
H A Dinfback.c528 /* length code -- get extra bits, if any */ in inflateBack()
529 state->extra = (unsigned)(here.op) & 15; in inflateBack()
530 if (state->extra != 0) { in inflateBack()
531 NEEDBITS(state->extra); in inflateBack()
532 state->length += BITS(state->extra); in inflateBack()
533 DROPBITS(state->extra); in inflateBack()
561 /* get distance extra bits, if any */ in inflateBack()
562 state->extra = (unsigned)(here.op) & 15; in inflateBack()
563 if (state->extra != 0) { in inflateBack()
564 NEEDBITS(state->extra); in inflateBack()
[all...]
/titanic_51/usr/src/cmd/hal/hald-runner/
H A Dutils.c34 get_string_array(DBusMessageIter *iter, char *extra) in get_string_array() argument
48 if (extra != NULL) in get_string_array()
49 g_array_append_vals(array, &extra, 1); in get_string_array()

12345678910>>...12