Home
last modified time | relevance | path

Searched refs:numstr (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Doid_ops.c221 char numstr[128]; local
251 snprintf(numstr, sizeof(numstr), "%lu ", (unsigned long)number/40);
252 string_length += strlen(numstr);
253 snprintf(numstr, sizeof(numstr), "%lu ", (unsigned long)number%40);
254 string_length += strlen(numstr);
264 snprintf(numstr, sizeof(numstr), "%lu ", (unsigned long)number);
265 string_length += strlen(numstr);
278 snprintf(numstr, sizeof(numstr), "%lu ", (unsigned long)number/40);
279 strcat(bp, numstr);
280 snprintf(numstr, sizeof(numstr), "%lu ", (unsigned long)number%40);
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrtonum.c34 strtonumx(const char *numstr, long long minval, long long maxval, in strtonumx() argument
58 ll = strtoll(numstr, &ep, base); in strtonumx()
59 if (numstr == ep || *ep != '\0') in strtonumx()
76 strtonum(const char *numstr, long long minval, long long maxval, in strtonum() argument
79 return (strtonumx(numstr, minval, maxval, errstrp, 10)); in strtonum()
/illumos-gate/usr/src/lib/libgss/
H A Doid_ops.c238 char numstr[128]; local
266 (void) sprintf(numstr, "%d ", number/40);
267 string_length += strlen(numstr);
268 (void) sprintf(numstr, "%d ", number%40);
269 string_length += strlen(numstr);
279 (void) sprintf(numstr, "%d ", number);
280 string_length += strlen(numstr);
293 (void) sprintf(numstr, "%d ", number/40);
294 (void) strcat(bp, numstr);
295 (void) sprintf(numstr, "%d ", number%40);
[all …]
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetprotoent.c52 char numstr[12]; local
54 (void) sprintf(numstr, "%d", argp->key.number);
56 numstr, 0));
H A Dgetrpcent.c116 char numstr[12]; local
118 (void) sprintf(numstr, "%d", argp->key.number);
119 return (_nss_nis_lookup(be, argp, 1, "rpc.bynumber", numstr, 0));
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetrpcent.c73 char numstr[12]; local
75 (void) snprintf(numstr, 12, "%d", argp->key.number);
76 return (_nss_files_XY_all(be, argp, 1, numstr, check_rpcnum));
H A Dgetprotoent.c72 char numstr[12]; local
74 (void) snprintf(numstr, 12, "%d", argp->key.number);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Ddns_pr.c137 char numstr[16]; in pr_bynumber() local
140 sprintf(numstr, "%d", num); in pr_bynumber()
141 if (!(hes_list = hesiod_resolve(dns->hes_ctx, numstr, "protonum"))) in pr_bynumber()
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c984 char *epstr, *ep, *prefix, *lasts, *numstr; in etm_create_epmaps() local
1031 numstr = strtok(NULL, ":"); in etm_create_epmaps()
1032 if ((numstr == NULL) || (!isdigit(*numstr))) { in etm_create_epmaps()
1038 beg = atoi(numstr); in etm_create_epmaps()
1040 numstr = strtok(NULL, "]"); in etm_create_epmaps()
1041 if ((numstr == NULL) || (!isdigit(*numstr))) { in etm_create_epmaps()
1047 end = atoi(numstr); in etm_create_epmaps()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c781 char numstr[128]; in kmf_oid_to_string() local
795 (void) sprintf(numstr, "%d ", number/40); in kmf_oid_to_string()
797 string_length += strlen(numstr); in kmf_oid_to_string()
798 (void) sprintf(numstr, "%d ", number%40); in kmf_oid_to_string()
800 string_length += strlen(numstr); in kmf_oid_to_string()
811 (void) sprintf(numstr, "%d ", number); in kmf_oid_to_string()
812 string_length += strlen(numstr); in kmf_oid_to_string()
825 (void) sprintf(numstr, "%d.", number/40); in kmf_oid_to_string()
826 (void) strcpy(bp, numstr); in kmf_oid_to_string()
828 (void) sprintf(numstr, "%d.", number%40); in kmf_oid_to_string()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c1109 char *numstr, *nullbyte; in arglist2argv() local
1167 numstr = ulltostr(value.v, nullbyte); in arglist2argv()
1168 addthisarg = STRDUP(numstr); in arglist2argv()
1190 numstr = ulltostr(np->u.ull, nullbyte); in arglist2argv()
1191 addthisarg = STRDUP(numstr); in arglist2argv()
H A Dfme.c1980 char *numstr, *nullbyte; in node2fmri() local
2025 numstr = ulltostr(nc->u.name.child->u.ull, nullbyte); in node2fmri()
2026 err |= nvlist_add_string(p, FM_FMRI_HC_ID, numstr); in node2fmri()
2062 char *numstr, *nullbyte; in ipath2fmri() local
2096 numstr = ulltostr(ipp->i, nullbyte); in ipath2fmri()
2097 err |= nvlist_add_string(p, FM_FMRI_HC_ID, numstr); in ipath2fmri()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c7143 char *numstr; local
7195 numstr = tmpsign + strlen(GRUBSIGN_UFS_PREFIX);
7197 if (numstr[0] == '\0' || !isdigit(numstr[0])) {
7204 signnum = atoi(numstr);