Home
last modified time | relevance | path

Searched refs:ls (Results 1 – 25 of 168) sorted by relevance

1234567

/titanic_41/usr/src/lib/libast/common/features/
H A Dsfinit.c36 char* ls = ""; in main() local
40 char* ls = "L"; in main() local
54 printf("\t1E%d%s,\n", i, ls); in main()
58 printf("\t{ 1E1%s, 1E2%s, 1E4%s, 1E8%s, 1E16%s, 1E32%s },\n", ls, ls, ls, ls, ls, ls); in main()
59 printf("\t{ 1E-1%s, 1E-2%s, 1E-4%s, 1E-8%s, 1E-16%s, 1E-32%s },\n", ls, ls, ls, ls, ls, ls); in main()
/titanic_41/usr/src/lib/libast/common/port/
H A Dlc.c748 register Lc_scan_t* ls; in lcscan() local
750 if (!(ls = (Lc_scan_t*)lc)) in lcscan()
752 if (!(ls = newof(0, Lc_scan_t, 1, 0))) in lcscan()
754 ls->lc.code = ls->lc.name = ls->buf; in lcscan()
755 ls->territory = -1; in lcscan()
756 ls->language = elementsof(ls->lc.territory->languages); in lcscan()
757 ls->attribute = elementsof(ls->lc.language->attributes); in lcscan()
759 …if (++ls->attribute >= elementsof(ls->lc.language->attributes) || !(ls->list.attribute = ls->lc.la… in lcscan()
761 …if (++ls->language >= elementsof(ls->lc.territory->languages) || !(ls->lc.language = ls->lc.territ… in lcscan()
763 if (!lc_territories[++ls->territory].code) in lcscan()
[all …]
/titanic_41/usr/src/lib/libnisdb/
H A Dldap_ldap.c66 __nis_ldap_search_t *ls; in lookupLDAP() local
137 ls = buildLdapSearch(base, scope, 0, 0, filter, attrs, 0, 0); in lookupLDAP()
138 if (ls == 0) { in lookupLDAP()
149 rv = ldapSearch(ls, &nrv, 0, &stat); in lookupLDAP()
150 freeLdapSearch(ls); in lookupLDAP()
236 __nis_ldap_search_t ls; in storeLDAP() local
252 ls.numFilterComps = 0; in storeLDAP()
253 ls.filterComp = 0; in storeLDAP()
254 ls.numAttrs = 0; in storeLDAP()
255 ls.attrs = 0; in storeLDAP()
[all …]
H A Dldap_op.c58 __nis_ldap_search_t *ls; in buildLdapSearch() local
63 ls = am(myself, sizeof (*ls)); in buildLdapSearch()
64 if (ls == 0) in buildLdapSearch()
67 ls->base = sdup(myself, T, base); in buildLdapSearch()
68 if (ls->base == 0 && base != 0) in buildLdapSearch()
70 ls->scope = scope; in buildLdapSearch()
73 ls->filterComp = am(myself, numFilterComps * in buildLdapSearch()
74 sizeof (ls->filterComp[0])); in buildLdapSearch()
75 if (ls->filterComp == 0) { in buildLdapSearch()
80 ls->filterComp[i] = sdup(myself, T, filterComp[i]); in buildLdapSearch()
[all …]
H A Dldap_map.c199 __nis_ldap_search_t *ls; in mapFromLDAP() local
241 ls = createLdapRequest(t, rv, 0, 1, &res, NULL); in mapFromLDAP()
244 ls = 0; in mapFromLDAP()
248 ls = createLdapRequest(t, 0, 0, 1, NULL, NULL); in mapFromLDAP()
253 if (ls == 0) { in mapFromLDAP()
272 nqt = (ls->isDN || qin != 0) ? 0 : -1; in mapFromLDAP()
273 rv = ldapSearch(ls, &nqt, 0, ldapStat); in mapFromLDAP()
282 if (ls->isDN || qin == 0) in mapFromLDAP()
287 freeLdapSearch(ls); in mapFromLDAP()
605 __nis_ldap_search_t *ls; in map1qToLDAP() local
[all …]
/titanic_41/usr/src/cmd/ypcmd/revnetgroup/
H A Dgetgroup.c109 register struct list *ls; local
126 for (ls = list; ls != NULL; ls = ls->nxt) {
127 if (strcmp(ls->name, group) == 0) {
136 ls = &tmplist;
137 ls->name = group;
138 ls->nxt = list;
139 list = ls;
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Didmapd.h157 #define NLDAP_OR_MIXED_MODE(pidtype, ls) \ argument
158 (NLDAP_MODE(pidtype, ls) || MIXED_MODE(pidtype, ls))
159 #define AD_OR_MIXED_MODE(pidtype, ls)\ argument
160 (AD_MODE(pidtype, ls) || MIXED_MODE(pidtype, ls))
161 #define NLDAP_MODE(pidtype, ls) \ argument
162 ((PID_UID_OR_UNKNOWN(pidtype) && (ls)->nm_siduid == IDMAP_NM_NLDAP) || \
163 (PID_GID_OR_UNKNOWN(pidtype) && (ls)->nm_sidgid == IDMAP_NM_NLDAP))
164 #define AD_MODE(pidtype, ls) \ argument
165 ((PID_UID_OR_UNKNOWN(pidtype) && (ls)->nm_siduid == IDMAP_NM_AD) || \
166 (PID_GID_OR_UNKNOWN(pidtype) && (ls)->nm_sidgid == IDMAP_NM_AD))
[all …]
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dgetgraent.c262 struct list *ls; in freeminuslist() local
266 for (ls = g->minuslist; ls != NULL; ls = ls->nxt) { in freeminuslist()
267 free(ls->name); in freeminuslist()
268 free(ls); in freeminuslist()
292 struct list *ls; in onminuslist() local
298 for (ls = g->minuslist; ls != NULL; ls = ls->nxt) in onminuslist()
299 if (strcmp(ls->name, nm) == 0) in onminuslist()
384 struct list *ls; in addtominuslist() local
389 ls = (struct list *)malloc(sizeof(struct list)); in addtominuslist()
392 ls->name = buf; in addtominuslist()
[all …]
H A Dgetpwaent.c487 struct list *ls; in freeminuslist() local
491 for (ls = minuslist; ls != NULL; ls = ls->nxt) { in freeminuslist()
492 free(ls->name); in freeminuslist()
493 free((char *) ls); in freeminuslist()
502 struct list *ls; in addtominuslist() local
507 ls = (struct list *) malloc(sizeof(struct list)); in addtominuslist()
510 ls->name = buf; in addtominuslist()
511 ls->nxt = minuslist; in addtominuslist()
512 minuslist = ls; in addtominuslist()
545 struct list *ls; in onminuslist() local
[all …]
/titanic_41/usr/src/lib/libproc/common/
H A DPlwpregs.c399 lwpstatus_t ls; in Plwp_stack() local
400 if (getlwpfile(P, lwpid, "lwpstatus", &ls, sizeof (ls)) != 0) in Plwp_stack()
402 addr = ls.pr_ustack; in Plwp_stack()
432 lwpstatus_t ls; in Plwp_main_stack() local
440 if (getlwpfile(P, lwpid, "lwpstatus", &ls, sizeof (ls)) != 0) in Plwp_main_stack()
446 ls = lwp->lwp_status; in Plwp_main_stack()
449 addr = ls.pr_ustack; in Plwp_main_stack()
481 ucontext_t *ctxp = (void *)ls.pr_oldcontext; in Plwp_main_stack()
488 ucontext32_t *ctxp = (void *)ls.pr_oldcontext; in Plwp_main_stack()
511 lwpstatus_t ls; in Plwp_alt_stack() local
[all …]
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwbrdr.c54 chtype ls, chtype rs, chtype ts, chtype bs, in wborder() argument
63 w, ls, rs, ts, bs, tl, tr, bl, br in wborder()
67 if (ls == 0) in wborder()
68 ls = ACS_VLINE; in wborder()
69 (void) __m_acs_cc(ls, &wls); in wborder()
H A Dbrdr_st.c49 border_set(ls, rs, ts, bs, tl, tr, bl, br) in border_set() argument
50 const cchar_t *ls, *rs, *ts, *bs, *tl, *tr, *bl, *br; in border_set()
57 ls, rs, ts, bs, tl, tr, bl, br
61 code = wborder_set(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
H A Dbrdr.c49 border(chtype ls, chtype rs, chtype ts, chtype bs, in border() argument
57 ls, rs, ts, bs, tl, tr, bl, br in border()
61 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br); in border()
H A Dwbrdr_st.c53 wborder_set(w, ls, rs, ts, bs, tl, tr, bl, br) in wborder_set() argument
55 const cchar_t *ls, *rs, *ts, *bs, *tl, *tr, *bl, *br;
63 w, ls, rs, ts, bs, tl, tr, bl, br
76 (void) wvline_set(w, ls, w->_maxy);
/titanic_41/usr/src/tools/scripts/
H A Dbringovercheck.sh44 left=$(/bin/ls -E "$1" 2>/dev/null | awk '{print $7}')
46 right=$(/bin/ls -E "$2" 2>/dev/null | awk '{print $7}')
77 ls -E "$sfile"
78 ls -E "$file"
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwbrdr.c57 chtype ls, chtype rs, chtype ts, chtype bs, in wborder() argument
63 if (ls == 0) in wborder()
64 ls = ACS_VLINE; in wborder()
65 (void) __m_acs_cc(ls, &wls); in wborder()
H A Dbrdr.c52 border(chtype ls, chtype rs, chtype ts, chtype bs, in border() argument
57 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br); in border()
H A Dbrdr_st.c52 border_set(const cchar_t *ls, const cchar_t *rs, in border_set() argument
58 code = wborder_set(stdscr, ls, rs, ts, bs, tl, tr, bl, br); in border_set()
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dpath.sh107 print 'print hi' > ls
108 if [[ $($SHELL ls 2> /dev/null) != hi ]]
111 if [[ $(ls -d . 2>/dev/null) == . && $(PATH=/bin:/usr/bin:$PATH ls -d . 2>/dev/null) != . ]]
231 if whence ls > /dev/null
250 x=$(whence ls)
251 PATH=.:$PWD:${x%/ls}
252 [[ $(whence ls) == "$x" ]] || err_exit 'PATH search bug when .:$PWD in path'
253 PATH=$PWD:.:${x%/ls}
254 [[ $(whence ls) == "$x" ]] || err_exit 'PATH search bug when :$PWD:. in path'
256 [[ $(whence ls) == /* ]] || err_exit 'whence not generating absolute pathname'
/titanic_41/usr/src/psm/stand/bootblks/common/
H A Dmkbb.sh49 bbsize=$(ls -l $1 | awk -e '{ print $5 }')
55 rdsize=$(ls -l $2 | awk -e '{ print $5 }')
73 extsize=$(ls -l $extra | awk -e '{ print $5 }')
/titanic_41/usr/src/cmd/ls/
H A DMakefile.com28 PROG= ls
29 XPG4PROG= ls
30 XPG6PROG= ls
/titanic_41/usr/src/cmd/localedef/
H A Dcharmap.c260 int ls, le; in add_charmap_range() local
267 ls = strlen(s); in add_charmap_range()
270 if (((si = strcspn(s, digits)) == 0) || (si == ls) || in add_charmap_range()
272 (strspn(s + si, digits) != (ls - si)) || in add_charmap_range()
283 (void) asprintf(&nn, "%s%0*u", s, ls - si, i); in add_charmap_range()
/titanic_41/usr/src/uts/common/sys/scsi/impl/
H A Dcommands.h364 #define SCSI_MK8(ms, ls) \ argument
365 (((uint8_t)(ms) << 4) | (uint8_t)ls)
367 #define SCSI_MK12_4_8(ms, ls) \ argument
368 (((uint16_t)(ms) << 8) | (uint16_t)(ls))
369 #define SCSI_MK12_8_4(ms, ls) \ argument
370 (((uint16_t)(ms) << 4) | (uint16_t)(ls))
375 #define SCSI_MK20_4_16(ms, ls) \ argument
376 (((uint32_t)(ms) << 16) | ((uint32_t)(ls)))
377 #define SCSI_MK20_16_4(ms, ls) \ argument
378 (((uint32_t)(ms) << 4) | ((uint32_t)(ls)))
[all …]
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c1011 __nis_ldap_search_t *ls; in singleReadFromDIT() local
1080 ls = createLdapRequest(t, rv_request, 0, 1, NULL, in singleReadFromDIT()
1082 if (ls == 0) { in singleReadFromDIT()
1093 ls->timeout.tv_sec = SINGLE_ACCESS_TIMEOUT_SEC; in singleReadFromDIT()
1094 ls->timeout.tv_usec = SINGLE_ACCESS_TIMEOUT_USEC; in singleReadFromDIT()
1096 nr = (ls->isDN)?0:-1; in singleReadFromDIT()
1097 rv_result = ldapSearch(ls, &nr, 0, statP); in singleReadFromDIT()
1098 freeLdapSearch(ls); in singleReadFromDIT()
1214 __nis_ldap_search_t *ls; in singleWriteToDIT() local
1311 if ((ls = createLdapRequest(t, &rv[i], in singleWriteToDIT()
[all …]
/titanic_41/usr/src/lib/libcurses/screen/
H A D_border.c49 border(chtype ls, chtype rs, chtype ts, chtype bs, in border() argument
52 return (wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)); in border()

1234567