/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | subr.c | 205 char *ep, hexval[3]; in smb_simpledecrypt() local 220 ch = strtoul(hexval, &ep, 16); in smb_simpledecrypt() 221 if (*ep != 0) in smb_simpledecrypt()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/ |
H A D | fstyp.c | 457 extent_t *ep; in dumplog() local 482 for (i = 0, ep = &ebp->extents[0]; i < ebp->nextents; ++i, ++ep) { in dumplog() 486 ep->lbno, ep->pbno, ep->nbno); in dumplog() 487 tb += dbtob(ep->nbno); in dumplog() 492 ep = &ebp->extents[0]; in dumplog() 493 (void) llseek(h->fd, (offset_t)logbtodb(fsp, ep->pbno) * DEV_BSIZE, 0); in dumplog()
|
/illumos-gate/usr/src/cmd/tr/ |
H A D | str.c | 304 char *ep; local 335 s->cnt = strtol(s->str, &ep, 0); 336 if (*ep == ']') { 337 s->str = ep + 1;
|
/illumos-gate/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 875 const char *ep = NULL; in config_strerror() local 880 ep = __config_strerror(cfgerrnum); in config_strerror() 882 return ((ep != NULL) ? dgettext(TEXT_DOMAIN, ep) : NULL); in config_strerror() 937 const char *ep = NULL; in __config_strerror() local 956 ep = "Insufficient privileges"; in __config_strerror() 965 ep = "Data error"; in __config_strerror() 968 ep = "Library error"; in __config_strerror() 971 ep = "No Library found"; in __config_strerror() 974 ep = "Insufficient condition"; in __config_strerror() 986 ep = NULL; in __config_strerror() [all …]
|
/illumos-gate/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 1270 if (ep->ex_flags & EX_NOSUID) in printarg() 1272 if (ep->ex_flags & EX_ACLOK) in printarg() 1274 if (ep->ex_flags & EX_PUBLIC) in printarg() 1276 if (ep->ex_flags & EX_NOSUB) in printarg() 1278 if (ep->ex_flags & EX_LOG) in printarg() 1280 if (ep->ex_flags & EX_CHARMAP) in printarg() 1284 if (ep->ex_flags == 0) in printarg() 1287 if (ep->ex_flags & EX_LOG) { in printarg() 1289 (ep->ex_log_buffer ? ep->ex_log_buffer : "(NULL)")); in printarg() 1291 (ep->ex_tag ? ep->ex_tag : "(NULL)")); in printarg() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 82 struct envctrl_kstat_data *ep); 760 struct envctrl_kstat_data *ep) in read_platform_kstats() argument 769 ep = &sys_kstat->env_data; in read_platform_kstats() 776 (void) memcpy(ep->ps_kstats, ksp->ks_data, in read_platform_kstats() 788 (void) memcpy(ep->fan_kstats, ksp->ks_data, in read_platform_kstats() 800 (void) memcpy(ep->encl_kstats, ksp->ks_data, in read_platform_kstats() 953 struct envctrl_kstat_data *ep; in disp_envctrl_status() local 972 ep = &sys_kstats->env_data; in disp_envctrl_status() 987 encl = ep->encl_kstats[i]; in disp_envctrl_status() 1164 fan = ep->fan_kstats[i]; in disp_envctrl_status() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | io.c | 1123 sp = ep = stakptr(1); in io_usename() 1127 stakseek(ep-sp); in io_usename() 1131 ep = sp; in io_usename() 2353 ep->disc = eval_disc; in sh_sfeval() 2354 ep->argv = argv; in sh_sfeval() 2355 ep->slen = -1; in sh_sfeval() 2356 ep->addspace = 0; in sh_sfeval() 2378 free((void*)ep); in eval_exceptf() 2382 if(!ep->addspace) in eval_exceptf() 2387 ep->argv++; in eval_exceptf() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/gvpr/ |
H A D | subg-fwd | 29 // find the ep corresponding to ARG[0] 32 n = node($,g.ep);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | roff.c | 1302 ep--; in roff_expand() 1304 if (*ep == ' ' || *ep == '\t') in roff_expand() 1314 while (*ep == ' ' || *ep == '\t') in roff_expand() 1315 ep--; in roff_expand() 2346 char *ep; in roff_cond_checkend() local 2362 if (ep[0] == '\\' && ep[1] == '}' && (ep[2] == '\0' || *offs == 0)) in roff_cond_checkend() 2370 while ((ep = strchr(ep, '\\')) != NULL) { in roff_cond_checkend() 2378 memmove(ep, ep + 2, strlen(ep + 2) + 1); in roff_cond_checkend() 2383 ++ep; in roff_cond_checkend() 3564 while (*ep != '\0' && *ep != ' ') in roff_manyarg() [all …]
|
H A D | man_macro.c | 205 char *p, *ep; in blk_close() local 218 target = strtol(p, &ep, 10); in blk_close() 219 if (*ep != '\0') in blk_close() 221 la + (buf[la] == '"') + (int)(ep - p), in blk_close() 222 "RE ... %s", ep); in blk_close()
|
H A D | dbm.c | 88 const int32_t *mp, *ep; in dbm_open() local 111 if ((ep = dbm_get(*++mp)) == NULL) { in dbm_open() 116 nvals[im] = be32toh(*ep); in dbm_open() 117 macros[im] = (struct macro *)++ep; in dbm_open()
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | doprnt.c | 2601 insert_thousands_sep(char *bp, char *ep) in insert_thousands_sep() 2626 return (ep); in insert_thousands_sep() 2628 buf_index = ep - bp; in insert_thousands_sep() 2644 ep++; in insert_thousands_sep() 2656 return (ep); in insert_thousands_sep() 2661 insert_decimal_point(wchar_t *ep) in insert_decimal_point() argument 2664 insert_decimal_point(char *ep) in insert_decimal_point() 2673 *ep = wdp; in insert_decimal_point() 2674 return (ep + 1); in insert_decimal_point() 2676 (void) memcpy(ep, dp, strlen(dp)); in insert_decimal_point() [all …]
|
/illumos-gate/usr/src/uts/common/io/ppp/spppasyn/ |
H A D | spppasyn.c | 998 uchar_t *ep; in ahdlc_encode() local 1110 ep = dp + outmp_len; in ahdlc_encode() 1120 while (dp < ep) { in ahdlc_encode() 1130 while (dp < ep) { in ahdlc_encode() 1261 uchar_t *cp, *ep; in receive_frame() local 1323 ep = outmp->b_wptr; in receive_frame() 1325 if (i > ep - cp) in receive_frame() 1327 else if (i < ep - cp) in receive_frame() 1328 ep = cp + i; in receive_frame() 1333 if (cp + i > ep) in receive_frame() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | unssa.c | 133 int unssa(struct entrypoint *ep) in unssa() argument 137 FOR_EACH_PTR(ep->bbs, bb) { in unssa()
|
H A D | example.c | 1809 sym = ep->name; in set_up_arch_entry() 1889 set_up_arch_entry(ep, ep->entry); in arch_set_up_storage() 1891 FOR_EACH_PTR(ep->bbs, bb) { in arch_set_up_storage() 1916 unssa(ep); in output() 1919 set_up_storage(ep); in output() 1922 arch_set_up_storage(ep); in output() 1925 output_bb(ep->entry->bb, generation); in output() 1935 struct entrypoint *ep; in compile() local 1937 ep = linearize_symbol(sym); in compile() 1938 if (ep) in compile() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getaddrinfo.c | 306 char *ep; local 310 ep = NULL; 312 (void)strtoul(p, &ep, 10); 313 if (errno == 0 && ep && *ep == '\0') 1115 char *ep; in ip6_str2scopeid() local 1147 lscopeid = strtoul(scope, &ep, 10); in ip6_str2scopeid() 1149 if (errno == 0 && ep && *ep == '\0' && scopeid == lscopeid) { in ip6_str2scopeid()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | alias.c | 898 char *ep; local 923 for (pp = ForwardPath; pp != NULL; pp = ep) 929 ep = strchr(pp, SEPARATOR); 930 if (ep != NULL) 931 *ep = '\0'; 933 if (ep != NULL) 934 *ep++ = SEPARATOR;
|
H A D | readcf.c | 96 auto char *ep; local 431 ep = ap[1]; 440 ep); 670 if (*ep++ == '/') 677 if (!setvendor(ep)) 679 ep); 772 auto char *ep; local 836 *p = macid_parse(p, &ep); 837 if (ep != p + 1) 2385 auto char *ep; local [all …]
|
/illumos-gate/usr/src/cmd/ls/ |
H A D | ls.c | 411 struct lbuf *ep; in main() local 1083 ep->lflags |= ISARG; in main() 1209 struct lbuf **ep; in pem() local 1218 for (ep = slp; ep < lp; ep++) in pem() 1219 pentry(*ep); in pem() 1235 if (ep < lp) in pem() 1236 pentry(*ep); in pem() 1573 struct lbuf *ep; in rddir() local 1608 if (ep == NULL) { in rddir() 1616 ep->ln.lname[j] = '\0'; in rddir() [all …]
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_arbel_hw.c | 1035 dapli_arbel_post_send(DAPL_EP *ep, ibt_send_wr_t *wr, boolean_t ns) in dapli_arbel_post_send() argument 1048 if ((ep->qp_state == IBT_STATE_RESET) || in dapli_arbel_post_send() 1049 (ep->qp_state == IBT_STATE_INIT) || in dapli_arbel_post_send() 1050 (ep->qp_state == IBT_STATE_RTR)) { in dapli_arbel_post_send() 1052 "post_send: invalid qp_state %d\n", ep->qp_state); in dapli_arbel_post_send() 1056 qp = ep->qp_handle; in dapli_arbel_post_send() 1172 dapli_arbel_post_recv(DAPL_EP *ep, ibt_recv_wr_t *wr, boolean_t ns) in dapli_arbel_post_recv() argument 1184 if (ep->qp_state == IBT_STATE_RESET) { in dapli_arbel_post_recv() 1186 "post_recv: invalid qp_state %d\n", ep->qp_state); in dapli_arbel_post_recv() 1189 qp = ep->qp_handle; in dapli_arbel_post_recv()
|
H A D | dapl_tavor_hw.c | 1295 dapli_tavor_post_send(DAPL_EP *ep, ibt_send_wr_t *wr, boolean_t ns) in dapli_tavor_post_send() argument 1308 if ((ep->qp_state == IBT_STATE_RESET) || in dapli_tavor_post_send() 1309 (ep->qp_state == IBT_STATE_INIT) || in dapli_tavor_post_send() 1310 (ep->qp_state == IBT_STATE_RTR)) { in dapli_tavor_post_send() 1312 "post_send: invalid qp_state %d\n", ep->qp_state); in dapli_tavor_post_send() 1316 qp = ep->qp_handle; in dapli_tavor_post_send() 1427 dapli_tavor_post_recv(DAPL_EP *ep, ibt_recv_wr_t *wr, boolean_t ns) in dapli_tavor_post_recv() argument 1439 if (ep->qp_state == IBT_STATE_RESET) { in dapli_tavor_post_recv() 1441 "post_recv: invalid qp_state %d\n", ep->qp_state); in dapli_tavor_post_recv() 1444 qp = ep->qp_handle; in dapli_tavor_post_recv()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | audio_link.c | 183 char *ep; in audio_process() local 235 inst = strtol(mn + i, &ep, 10); in audio_process() 283 num = strtol(buf, &ep, 10); in audio_process()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_msg.c | 48 char *ep; in debugging() local 55 if ((ep = getenv("SBD_DEBUG")) == NULL) in debugging() 58 if (*ep == '\0') in debugging() 61 if ((debug_fp = fopen(ep, "a")) == NULL) in debugging()
|
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fabric-xlate.c | 114 fab_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in fab_recv() argument 131 fab_pr(hdl, ep, new_nvl); in fab_recv()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | scn.c | 401 scn_registry_t **ep, *e; in scn_remove_portal() local 406 ep = &scn_registry; in scn_remove_portal() 407 e = *ep; in scn_remove_portal() 427 *ep = e->next; in scn_remove_portal() 430 ep = &e->next; in scn_remove_portal() 432 e = *ep; in scn_remove_portal() 509 ep = &scn_registry; in scn_list_remove() 510 e = *ep; in scn_list_remove() 514 *ep = e->next; in scn_list_remove() 520 ep = &e->next; in scn_list_remove() [all …]
|