Home
last modified time | relevance | path

Searched refs:iptr (Results 1 – 25 of 39) sorted by relevance

12

/titanic_41/usr/src/cmd/bnu/
H A Duuencode.c184 unsigned char *iptr, *optr; in encode() local
192 iptr = in_buf; in encode()
196 n = fread(iptr, 1, 45, in); in encode()
201 *(optr++) = ENC(*iptr >> 2); in encode()
202 *(optr++) = ENC((*iptr << 4) & 060 | in encode()
203 (*(iptr + 1) >> 4) & 017); in encode()
204 *(optr++) = ENC((*(iptr + 1) << 2) & 074 | in encode()
205 (*(iptr + 2) >> 6) & 03); in encode()
206 *(optr++) = ENC(*(iptr + 2) & 077); in encode()
207 iptr += 3; in encode()
[all …]
H A Dversys.c50 register char *iptr; local
59 if ((iptr = aliasFind(name)) != NULL) {
61 strncpy(name, iptr, MAXBASENAME);
75 if ((iptr=strpbrk(line, " \t")) == NULL)
77 *iptr = '\0';
H A Duudecode.c290 char inbuf[120], *ibp, *iptr; in decode() local
358 iptr = inbuf; in decode()
359 while ((curchr = *(iptr++)) != NULL) { in decode()
/titanic_41/usr/src/common/iscsi/
H A Dbase64.c118 char *iptr; in iscsi_base64_str_to_binary() local
133 iptr = hstr; in iscsi_base64_str_to_binary()
135 while (((curchr = *(iptr++)) != NULL) && in iscsi_base64_str_to_binary()
136 (((uintptr_t)iptr - (uintptr_t)hstr) <= hstr_len)) { in iscsi_base64_str_to_binary()
189 uint8_t *iptr; in iscsi_binary_to_base64_str() local
194 iptr = in_buf; in iscsi_binary_to_base64_str()
204 while (iptr + 3 <= in_buf + in_buf_len) { in iscsi_binary_to_base64_str()
208 *(optr++) = ENC(*iptr >> 2); in iscsi_binary_to_base64_str()
209 *(optr++) = ENC((*iptr << 4) & 060 | in iscsi_binary_to_base64_str()
210 (*(iptr + 1) >> 4) & 017); in iscsi_binary_to_base64_str()
[all …]
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dmodf.c39 modf(value, iptr) in modf() argument
41 register double *iptr;
46 *iptr = value; /* it must be an integer */
48 *iptr = absvalue + MAXPOWTWO; /* shift fraction off right */
49 *iptr -= MAXPOWTWO; /* shift back without fraction */
50 while (*iptr > absvalue) /* above arithmetic might round */
51 *iptr -= 1.0; /* test again just to be sure */
53 *iptr = -*iptr;
55 return (value - *iptr); /* signed fractional part */
/titanic_41/usr/src/uts/sun4/os/
H A Dintr.c454 struct intr_dist *iptr; in intr_dist_add_list() local
464 for (iptr = *phead, pptr = phead; iptr != NULL; in intr_dist_add_list()
465 pptr = &iptr->next, iptr = iptr->next) { in intr_dist_add_list()
467 if ((iptr->func == func) && (iptr->arg == arg)) { in intr_dist_add_list()
498 struct intr_dist *iptr; in intr_dist_rem_list() local
502 for (iptr = *headp, vect = headp; in intr_dist_rem_list()
503 iptr != NULL; vect = &iptr->next, iptr = iptr->next) { in intr_dist_rem_list()
504 if ((iptr->func == func) && (iptr->arg == arg)) { in intr_dist_rem_list()
505 *vect = iptr->next; in intr_dist_rem_list()
506 kmem_free(iptr, sizeof (struct intr_dist)); in intr_dist_rem_list()
[all …]
/titanic_41/usr/src/lib/libtecla/common/
H A Dkeytab.c549 const char *iptr = keyseq; /* Pointer into keyseq[] */ in _kt_parse_keybinding_string() local
556 while(*iptr) { in _kt_parse_keybinding_string()
560 switch(*iptr) { in _kt_parse_keybinding_string()
567 if(iptr[1]) { in _kt_parse_keybinding_string()
571 if(iptr[1] == '\\') { in _kt_parse_keybinding_string()
572 c = _kt_backslash_escape(iptr+2, &iptr); in _kt_parse_keybinding_string()
574 c = iptr[1]; in _kt_parse_keybinding_string()
575 iptr += 2; in _kt_parse_keybinding_string()
582 *optr++ = *iptr++; in _kt_parse_keybinding_string()
592 *optr++ = _kt_backslash_escape(iptr+1, &iptr); in _kt_parse_keybinding_string()
[all …]
/titanic_41/usr/src/lib/libm/common/m9x/
H A Dmodfl.c37 __modfl(long double x, long double *iptr) { in __modfl() argument
48 *iptr = x; in __modfl()
60 *iptr = xx.q; in __modfl()
84 *iptr = yy.q; in __modfl()
99 __modfl(long double x, long double *iptr) { in __modfl() argument
114 *iptr = x; in __modfl()
126 *iptr = xx.e; in __modfl()
140 *iptr = yy.e; in __modfl()
H A Dmodff.c36 __modff(float x, float *iptr) { in __modff() argument
47 *iptr = x; in __modff()
55 *iptr = xx.f; in __modff()
62 *iptr = yy.f; in __modff()
H A Dmodf.c48 __modf(double x, double *iptr) { in __modf() argument
59 *iptr = x; in __modf()
71 *iptr = xx.d; in __modf()
86 *iptr = yy.d; in __modf()
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dutf_str.c96 const char *iptr; in convert_ucs2xx_to_utf8() local
105 iptr = (const char *)us; in convert_ucs2xx_to_utf8()
117 ret = iconv(cd, &iptr, &ileft, &optr, &oleft); in convert_ucs2xx_to_utf8()
171 const char *iptr; in convert_utf8_to_ucs2xx() local
180 iptr = utf8_string; in convert_utf8_to_ucs2xx()
181 ileft = strlen(iptr); in convert_utf8_to_ucs2xx()
191 ret = iconv(cd, &iptr, &ileft, (char **)&optr, &oleft); in convert_utf8_to_ucs2xx()
/titanic_41/usr/src/lib/efcode/engine/
H A Dactions.c76 instance_t **iptr; in internal_env_fetch() local
79 iptr = (instance_t **)get_internal_address(env); in internal_env_fetch()
80 PUSH(DS, (fstack_t)(*iptr)); in internal_env_fetch()
86 instance_t **iptr; in internal_env_store() local
89 iptr = (instance_t **)get_internal_address(env); in internal_env_store()
90 *iptr = (instance_t *)POP(DS); in internal_env_store()
/titanic_41/usr/src/cmd/sgs/tools/common/
H A Dsgsmsg.c365 const char *iptr, *_ptr; in init_defs() local
370 for (iptr = 0, _ptr = fldefs; _ptr && (*_ptr != '\0'); _ptr++) { in init_defs()
372 iptr = _ptr + 1; in init_defs()
374 if (iptr == 0) in init_defs()
375 iptr = fldefs; in init_defs()
378 for (*optr++ = '_'; iptr && (*iptr != '\0'); iptr++, optr++) { in init_defs()
379 if (*iptr == '.') { in init_defs()
386 *optr = toupper(*iptr); in init_defs()
/titanic_41/usr/src/cmd/format/
H A Dio.c73 static int getbn(char *str, diskaddr_t *iptr);
79 static int geti64(char *str, uint64_t *iptr, uint64_t *wild);
91 static int getbn(char *str, diskaddr_t *iptr);
97 static int geti64(char *str, uint64_t *iptr, uint64_t *wild);
273 geti(str, iptr, wild) in geti() argument
275 int *iptr, *wild;
284 *iptr = *wild;
289 *iptr = (int)strtol(str, &str2, 0);
308 geti64(str, iptr, wild) in geti64() argument
310 uint64_t *iptr, *wild;
[all …]
H A Dio.h105 int geti(char *str, int *iptr, int *wild);
/titanic_41/usr/src/cmd/nl/
H A Dnl.c119 FILE *iptr = stdin; local
298 if ((iptr = fopen(argv[0], "r")) == NULL) {
511 } else if ((iptr = fopen(argv[j], "r")) == NULL) {
517 } else if ((iptr = fopen(argv[j], "r")) == NULL) {
543 while ((p = fgets(line, sizeof (line), iptr)) != NULL) {
648 (void) fclose(iptr);
/titanic_41/usr/src/cmd/bc/
H A Dbc.y52 int *iptr; member
57 %type <iptr> stat, def, slist, dlets, e
58 %type <iptr> slist, re, fprefix, cargs, eora, cons, constant, lora
755 yyval.iptr = q; in bundle()
830 pre = yyval.iptr; in pp()
832 post = yyval.iptr; in pp()
839 pre = yyval.iptr; in tp()
841 post = yyval.iptr; in tp()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dexpand.c177 uint32_t *iptr = (uint32_t *)vendor; in amd64_config_cpu() local
179 *iptr++ = vcr->r_ebx; in amd64_config_cpu()
180 *iptr++ = vcr->r_edx; in amd64_config_cpu()
181 *iptr++ = vcr->r_ecx; in amd64_config_cpu()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli4.c2083 uint32_t *iptr; in emlxs_issue_bootstrap_mb() local
2110 iptr = (uint32_t *)hba->sli.sli4.bootstrapmb.virt; in emlxs_issue_bootstrap_mb()
2115 *iptr, *(iptr+1), *(iptr+2)); in emlxs_issue_bootstrap_mb()
2128 uint32_t *iptr; in emlxs_init_bootstrap_mb() local
2148 iptr = (uint32_t *)hba->sli.sli4.bootstrapmb.virt; in emlxs_init_bootstrap_mb()
2149 *iptr = LE_SWAP32(FW_INITIALIZE_WORD0); in emlxs_init_bootstrap_mb()
2150 *(iptr+1) = LE_SWAP32(FW_INITIALIZE_WORD1); in emlxs_init_bootstrap_mb()
2155 emlxs_data_dump(port, "FW_INIT", (uint32_t *)iptr, 6, 0); in emlxs_init_bootstrap_mb()
3150 uint32_t *iptr; in emlxs_sli4_issue_mq() local
3187 iptr = (uint32_t *)&mb4->un.varSLIConfig.be.un_hdr.hdr_req; in emlxs_sli4_issue_mq()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c4038 const mib_item_t *iptr; in ire_report() local
4048 for (iptr = item; iptr != NULL; iptr = iptr->next_item) { in ire_report()
4049 if (iptr->group == MIB2_IP6 && iptr->mib_id == MIB2_IP6_ROUTE) in ire_report()
4050 ipv6_route_count += iptr->length / ipv6RouteEntrySize; in ire_report()
4051 if (iptr->group == MIB2_IP && iptr->mib_id == MIB2_IP_ROUTE) in ire_report()
4052 ipv4_route_count += iptr->length / ipRouteEntrySize; in ire_report()
4053 if ((iptr->group == MIB2_IP || iptr->group == MIB2_IP6) && in ire_report()
4054 iptr->mib_id == EXPER_IP_RTATTR) in ire_report()
4055 route_attrs_count += iptr->length / in ire_report()
4082 for (iptr = item; iptr != NULL; iptr = iptr->next_item) { in ire_report()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dasn1.c699 vp->val.iptr = (int *)calloc(1, sizeof (int)); in asn_parse_objval()
700 if (vp->val.iptr == NULL) in asn_parse_objval()
703 if ((p = asn_parse_int(msg, varsz_p, vp->val.iptr)) == NULL) { in asn_parse_objval()
704 free(vp->val.iptr); in asn_parse_objval()
H A Dpdu.h47 int *iptr; member
/titanic_41/usr/src/cmd/vscan/vscand/
H A Dvs_icap.c1971 unsigned char *iptr; in vs_icap_uri_encode() local
1976 for (iptr = (unsigned char *)data; *iptr; iptr++) { in vs_icap_uri_encode()
1977 if (vs_icap_uri_illegal_char(*iptr)) { in vs_icap_uri_encode()
1980 (void) sprintf(optr, "%%%0x", *iptr); in vs_icap_uri_encode()
1985 *optr++ = *iptr; in vs_icap_uri_encode()
/titanic_41/usr/src/lib/libm1/common/
H A Dlibmv1.c492 __modff(float x, float *iptr) { in __modff() argument
624 __modfl(long double x, long double *iptr) { in __modfl() argument
/titanic_41/usr/src/cmd/dtrace/test/tst/common/typedef/
H A Dtst.TypedefDataAssign.d88 new_intptr iptr; variable

12