/titanic_41/usr/src/lib/libtecla/common/ |
H A D | cplfile.c | 240 const char *lptr; /* A pointer into line[] */ in _cf_complete_file() local 264 lptr = line + word_start; in _cf_complete_file() 269 if(nleft > 0 && *lptr == '~') { in _cf_complete_file() 271 if(!cf_read_name(cf, "User", ++lptr, --nleft, cf->usrnam, USR_LEN)) in _cf_complete_file() 277 lptr += slen; in _cf_complete_file() 294 strncmp(lptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in _cf_complete_file() 295 lptr += FS_DIR_SEP_LEN; in _cf_complete_file() 321 int c = lptr[seglen]; in _cf_complete_file() 333 strncmp(lptr + seglen, FS_DIR_SEP, FS_DIR_SEP_LEN)==0) { in _cf_complete_file() 334 word_start = (lptr + seglen) - line + FS_DIR_SEP_LEN; in _cf_complete_file() [all …]
|
H A D | history.c | 1199 char *lptr; /* A pointer into the input line */ in _glh_load_history() 1210 for(lptr=line+comment_len; *lptr && (*lptr==' ' || *lptr=='\t'); lptr++) in _glh_load_history() 1215 if(_glh_decode_timestamp(lptr, &lptr, ×tamp)) { in _glh_load_history() 1222 while(*lptr==' ' || *lptr=='\t') in _glh_load_history() 1223 lptr++; in _glh_load_history() 1227 group = (int) strtoul(lptr, &lptr, 10); in _glh_load_history() 1228 if(*lptr != ' ' && *lptr != '\n') { in _glh_load_history() 1235 while(*lptr==' ' || *lptr=='\t') in _glh_load_history() 1236 lptr++; in _glh_load_history() 1240 if(*lptr != '\n') { in _glh_load_history()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | parms.c | 217 char *p, *lptr; in gwkludge() local 251 for (lptr = lbuf; isspace(*lptr); lptr++) in gwkludge() 254 if (*lptr == '#' || *lptr == '\0') in gwkludge() 258 p = lptr + strlen(lptr) - 1; in gwkludge() 261 while (p > lptr && (isspace(*p) && *(p-1) != '\\')) in gwkludge() 268 if (strncasecmp("net", lptr, 3) != 0 && in gwkludge() 269 strncasecmp("host", lptr, 4) != 0) { in gwkludge() 270 cp = parse_parms(lptr, (sb.st_uid == 0 && in gwkludge() 284 n = sscanf(lptr, "%"STR(NETHOST_LEN)"s %"STR(DNAME_LEN) in gwkludge() 289 lptr, n); in gwkludge() [all …]
|
/titanic_41/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 267 { char *lptr, *lend; in getaline() local 269 lptr = line; in getaline() 270 while (fgets(lptr, (line + BUFSIZ) - lptr, f) != NULL) { in getaline() 271 lend = lptr + strlen(lptr); in getaline() 272 if (lend == lptr || lend[-1] != '\n') in getaline() 278 lptr = lend; in getaline() 284 return (lptr - line); in getaline()
|
/titanic_41/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 582 char *lptr; in expand() local 605 if ((_list = lptr = in expand() 611 (void) strncpy(lptr, *name, in expand() 613 lptr = lptr + hlen; in expand() 614 (void) strncpy(lptr, in expand() 617 lptr = lptr + opt->isa_namesz; in expand() 618 (void) strncpy(lptr, optr, in expand() 620 lptr = lptr + tlen; in expand() 621 *lptr++ = ':'; in expand() 624 (void) strcpy(lptr, *list); in expand() [all …]
|
H A D | external.c | 229 char *lptr = funcs->ci_un.ci_ptr; in get_lcinterface() local 231 DBG_CALL(Dbg_util_lcinterface(lmp, tag, lptr)); in get_lcinterface() 249 lcp[tag].lc_un.lc_ptr = lptr; in get_lcinterface() 274 ((gptr == NULL) || (strcmp(gptr, lptr) != 0))) { in get_lcinterface() 286 glcs[tag].lc_un.lc_ptr = strdup(lptr); in get_lcinterface() 305 glcs[tag].lc_un.lc_ptr = lptr; in get_lcinterface()
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | sysfiles.c | 243 { char *lptr, *lend; local 245 lptr = line; 246 while (fgets(lptr, (line + BUFSIZ) - lptr, f) != NULL) { 247 lend = lptr + strlen(lptr); 248 if (lend == lptr || lend[-1] != '\n') 254 lptr = lend; 260 return(lptr - line);
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_diag.c | 146 uint32_t *lptr; in emlxs_diag_echo_run() local 211 lptr = (uint32_t *)pattern_buffer; in emlxs_diag_echo_run() 214 *lptr++ = pattern; in emlxs_diag_echo_run() 305 uint32_t *lptr; in emlxs_diag_biu_run() local 340 lptr = (uint32_t *)mp->virt; in emlxs_diag_biu_run() 343 *lptr++ = pattern; in emlxs_diag_biu_run()
|
H A D | emlxs_dfc.c | 4610 uintptr_t lptr; in emlxs_dfc_send_mbox() local 4713 lptr = 0; in emlxs_dfc_send_mbox() 4827 lptr = in emlxs_dfc_send_mbox() 4832 if (!lptr || !size || (size > MEM_BUF_SIZE)) { in emlxs_dfc_send_mbox() 4859 lptr = in emlxs_dfc_send_mbox() 4864 if (!lptr || !size || (size > MEM_BUF_SIZE)) { in emlxs_dfc_send_mbox() 4891 lptr = in emlxs_dfc_send_mbox() 4896 if (!lptr || !size || (size > MEM_BUF_SIZE)) { in emlxs_dfc_send_mbox() 4923 lptr = in emlxs_dfc_send_mbox() 4928 if (!lptr || !size || (size > MEM_BUF_SIZE)) { in emlxs_dfc_send_mbox() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | announce.c | 191 char *bptr, *lptr; in print_mesg() local 274 lptr = line_buf[i]; in print_mesg() 275 while (*lptr != '\0') { in print_mesg() 276 *(bptr++) = *(lptr++); in print_mesg()
|
/titanic_41/usr/src/ucbcmd/sed/ |
H A D | sed0.c | 796 struct label *lptr; in dechain() local 799 for(lptr = labtab; lptr < lab; lptr++) { in dechain() 801 if(lptr->address == 0) { in dechain() 802 (void) fprintf(stderr, "sed: Undefined label: %s\n", lptr->asc); in dechain() 806 if(lptr->chain) { in dechain() 807 rptr = lptr->chain; in dechain() 809 rptr->r2.lb1 = lptr->address; in dechain() 812 rptr->r2.lb1 = lptr->address; in dechain()
|
/titanic_41/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 103 char *lptr, *ptr; /* temp pointer */ in get_tz_continents() local 166 lptr = dgettext(TEXT_DOMAIN, lcp->ctnt_id_desc); in get_tz_continents() 167 if ((ptr = strdup(lptr)) == NULL) { in get_tz_continents() 208 char *lp, *lptr, *lp_coord, *lp_cc, *lp_tz; /* line pointer */ in get_tz_countries() local 367 lptr = dgettext(TEXT_DOMAIN, ptr); in get_tz_countries() 368 if ((ptr = strdup(lptr)) == NULL) { in get_tz_countries() 454 char *lp_cc, *lp_tz, *lp_otz, *lp_coord, *lp_tzdesc, *ptr, *lptr; in get_timezones_by_country() local 586 lptr = dgettext(TEXT_DOMAIN, ptr); in get_timezones_by_country() 587 if ((ptr = strdup(lptr)) == NULL) { in get_timezones_by_country()
|
/titanic_41/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.c | 138 segment_list_t *lptr, *lptr2; in frt_shutdown() local 142 lptr = g_raw->segs; in frt_shutdown() 143 while (lptr) { in frt_shutdown() 144 lptr2 = lptr; in frt_shutdown() 145 lptr = lptr->next; in frt_shutdown()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_ioctl.c | 937 uint32_t start_addr, *lptr, data32; in ql_nv_util_load() local 989 lptr = (uint32_t *)nv; in ql_nv_util_load() 991 data32 = *lptr++; in ql_nv_util_load() 1109 uint32_t *lptr = (uint32_t *)dest_addr; in ql_get_nvram() local 1112 rval = ql_24xx_read_flash(ha, src_addr++, lptr); in ql_get_nvram() 1118 LITTLE_ENDIAN_32(lptr); in ql_get_nvram() 1119 lptr++; in ql_get_nvram() 1153 uint32_t start_addr, vpd_size, *lptr, data32; in ql_vpd_load() local 1222 lptr = (uint32_t *)vpd; in ql_vpd_load() 1224 data32 = *lptr++; in ql_vpd_load() [all …]
|
/titanic_41/usr/src/cmd/who/ |
H A D | who.c | 119 static struct tm *lptr; /* holds user login time */ variable 528 lptr = localtime(&utmpp->ut_xtime); in dump() 530 dcgettext(NULL, DATE_FMT, LC_TIME), lptr); in dump()
|
/titanic_41/usr/src/cmd/sgs/libld/common/ |
H A D | files.c | 1988 char *lptr; in expand() local 2012 if ((_next = lptr = libld_malloc(mlen)) == NULL) in expand() 2017 (void) strncpy(lptr, name, hlen); in expand() 2018 lptr = lptr + hlen; in expand() 2019 (void) strncpy(lptr, opt->isa_name, in expand() 2021 lptr = lptr + opt->isa_namesz; in expand() 2022 (void) strncpy(lptr, optr, tlen); in expand() 2023 lptr = lptr + tlen; in expand() 2024 *lptr++ = ':'; in expand() 2027 (void) strcpy(lptr, *next); in expand() [all …]
|
/titanic_41/usr/src/uts/common/io/ |
H A D | trill.c | 723 trill_recv_pkt_cb(void *lptr, bridge_link_t *blp, mac_resource_handle_t rsrc, in trill_recv_pkt_cb() argument 726 trill_sock_t *tsock = lptr; in trill_recv_pkt_cb() 781 trill_encap_pkt_cb(void *lptr, bridge_link_t *blp, mac_header_info_t *hdr_info, in trill_encap_pkt_cb() argument 787 trill_sock_t *tsock = lptr; in trill_encap_pkt_cb() 879 trill_ln_dstr_cb(void *lptr, bridge_link_t *blp) in trill_ln_dstr_cb() argument 881 trill_sock_t *tsock = lptr; in trill_ln_dstr_cb()
|
/titanic_41/usr/src/cmd/nlsadmin/ |
H A D | nlsadmin.c | 127 char *lptr = NULL; /* set with -l addr (old) */ in main() local 187 if ( ( flag && (flag != ADRFLAG)) || svcptr || lptr in main() 191 lptr = optarg; in main() 443 exitcode = setup_addr(lptr, tptr, netspec); in main()
|
/titanic_41/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 3621 unsigned long *lptr; in fprnt() local 3764 lptr = (unsigned long *)cptr; in fprnt() 3769 lptr = print_check(lptr, &tcount, in fprnt() 3773 printf("%011lo ", *lptr++); in fprnt() 3776 printf("%010lu ", *lptr++); in fprnt() 3779 printf("%08lx ", *lptr++); in fprnt() 4411 print_check(unsigned long *lptr, long *tcount, short tbase, int i) in print_check() argument 4418 sptr = (unsigned short *)lptr; in print_check() 4426 tlptr = lptr; in print_check() 4442 lptr += temp; in print_check() [all …]
|
/titanic_41/usr/src/uts/common/netsmb/ |
H A D | smb_dev.h | 160 typedef union lptr { union
|
/titanic_41/usr/src/tools/cscope-fast/ |
H A D | cgrep.c | 299 static BOOL pattern_match(PATTERN *pat, LINE *lptr); 1766 pattern_match(PATTERN *pat, LINE *lptr) in pattern_match() argument 1768 if ((*pat->procfn)(pat, lptr->prntbuf - 1, lptr->newline + 1, in pattern_match() 1772 pat->loc1 = lptr->prntbuf; in pattern_match() 1773 pat->loc2 = lptr->newline - 1; in pattern_match()
|
/titanic_41/usr/src/cmd/sgs/yacc/common/ |
H A D | y1.c | 829 putitem(ptr, lptr) in putitem() argument 831 LOOKSETS *lptr; 841 j->look = flset(lptr);
|
/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hxge_pfc.c | 104 uint32_t *lptr; in hxge_get_tcam() local 109 lptr = (uint32_t *)mp->b_rptr; in hxge_get_tcam() 110 location = *lptr; in hxge_get_tcam()
|
/titanic_41/usr/src/cmd/chmod/ |
H A D | chmod.c | 855 nvlist_t *lptr = attr_nvlist; in print_nvlist() local 859 while (pair = nvlist_next_nvpair(lptr, pair)) { in print_nvlist()
|
/titanic_41/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_fil.h | 171 lookupfunc_t lptr[2]; member 179 lookupfunc_t lptr[2]; member 190 #define iplookupfunc lptr[1]
|