Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 199) sorted by relevance

12345678

/titanic_41/usr/src/cmd/hal/tools/
H A Dhal-storage-cleanup-all-mountpoints.c56 char **lines; in do_cleanup() local
82 lines = g_strsplit (hal_mtab_buf, "\n", 0); in do_cleanup()
86 for (i = 0; lines[i] != NULL; i++) { in do_cleanup()
90 printf (" line = '%s'\n", lines[i]); in do_cleanup()
93 if ((lines[i])[0] == '#') in do_cleanup()
96 line_elements = g_strsplit (lines[i], "\t", 6); in do_cleanup()
120 line_to_free = lines[i]; in do_cleanup()
121 for (j = i; lines[j] != NULL; j++) { in do_cleanup()
122 lines[j] = lines[j+1]; in do_cleanup()
124 lines[j] = NULL; in do_cleanup()
[all …]
H A Dhal-storage-cleanup-mountpoint.c56 char **lines; in do_cleanup() local
83 lines = g_strsplit (hal_mtab_buf, "\n", 0); in do_cleanup()
88 for (i = 0; lines[i] != NULL && !found; i++) { in do_cleanup()
92 printf (" line = '%s'\n", lines[i]); in do_cleanup()
95 if ((lines[i])[0] == '#') in do_cleanup()
98 line_elements = g_strsplit (lines[i], "\t", 6); in do_cleanup()
115 line_to_free = lines[i]; in do_cleanup()
116 for (j = i; lines[j] != NULL; j++) { in do_cleanup()
117 lines[j] = lines[j+1]; in do_cleanup()
119 lines[j] = NULL; in do_cleanup()
[all …]
H A Dhal-storage-shared.c281 char **lines; in handle_unmount() local
344 lines = g_strsplit (hal_mtab_buf, "\n", 0); in handle_unmount()
351 for (i = 0; lines[i] != NULL; i++) { in handle_unmount()
357 printf (" line = '%s'\n", lines[i]); in handle_unmount()
360 if ((lines[i])[0] == '#') in handle_unmount()
363 line_elements = g_strsplit (lines[i], "\t", 6); in handle_unmount()
393 line_to_free = lines[i]; in handle_unmount()
395 for (j = i; lines[j] != NULL; j++) { in handle_unmount()
396 lines[j] = lines[j+1]; in handle_unmount()
398 lines[j] = NULL; in handle_unmount()
[all …]
/titanic_41/usr/src/lib/libbsm/common/
H A Daudit_class.c210 static int lines = 0; in xcacheauclass() local
232 lines++; in xcacheauclass()
235 class_tbl = (au_class_ent_t **)calloc((size_t)lines + 1, in xcacheauclass()
242 lines = 0; in xcacheauclass()
250 class_tbl[lines] = (au_class_ent_t *) in xcacheauclass()
252 if (class_tbl[lines] == NULL) { in xcacheauclass()
256 class_tbl[lines]->ac_name = strdup(p_class->ac_name); in xcacheauclass()
257 class_tbl[lines]->ac_class = p_class->ac_class; in xcacheauclass()
258 class_tbl[lines]->ac_desc = strdup(p_class->ac_desc); in xcacheauclass()
260 printclass(class_tbl[lines]); in xcacheauclass()
[all …]
H A Daudit_event.c279 int lines = 0; in cacheauevent() local
299 lines++; in cacheauevent()
302 size = lines; in cacheauevent()
310 p_tbl = calloc(lines + 1, sizeof (au_event_ent_t)); in cacheauevent()
315 lines = 0; in cacheauevent()
320 p_tbl[lines] = (au_event_ent_t *) in cacheauevent()
322 if (p_tbl[lines] == NULL) { in cacheauevent()
326 p_tbl[lines]->ae_number = p_event->ae_number; in cacheauevent()
327 p_tbl[lines]->ae_name = strdup(p_event->ae_name); in cacheauevent()
328 p_tbl[lines]->ae_desc = strdup(p_event->ae_desc); in cacheauevent()
[all …]
/titanic_41/usr/src/cmd/vi/port/
H A Dex_v.c97 if(value(vi_WINDOW) >= lines || options[vi_WINDOW].odefault == value(vi_WINDOW)) in windowinit()
98 value(vi_WINDOW) = lines -1; in windowinit()
99 options[vi_WINDOW].odefault = lines - 1; in windowinit()
102 options[vi_SCROLL].odefault = (lines - 1)/2; in windowinit()
113 vdirty(0, lines); in redraw()
142 if (columns != jwin.ws_col || lines != jwin.ws_row)
161 lines = jwin.ws_row; in setsize()
166 lines = envlines; in setsize()
174 jwin.ws_row = lines; in setsize()
186 if (lines <= 1) in setsize()
[all …]
H A Dex_tty.c122 …tupterm, lines %d, columns %d, clear_screen '%s', cursor_address '%s'\n", lines, columns, clear_sc… in setterm()
130 i = lines; in setterm()
131 if (lines <= 1) in setterm()
132 lines = 24; in setterm()
133 if (lines > TUBELINES) in setterm()
134 lines = TUBELINES; in setterm()
135 l = lines; in setterm()
140 if (l > lines) in setterm()
141 l = lines; in setterm()
247 lines = 2; in setterm()
[all …]
/titanic_41/usr/src/cmd/dtrace/test/tst/common/pragma/
H A Dtst.temporal.ksh49 @lines = count();
55 /* Bump @lines every time we print a line. */
56 @lines = count();
58 @lines = count();
59 printa("99999999999999999 lines %@u\n", @lines);
64 @lines = count();
102 echo $tst: incorrect number of lines output
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_tab.c52 if (tabp->lines != NULL) { in meta_tab_free()
55 md_tab_line_t *linep = &tabp->lines[line]; in meta_tab_free()
66 Free(tabp->lines); in meta_tab_free()
118 assert(tabp->lines == NULL); in realloc_lines()
119 tabp->lines = Malloc(nlines * sizeof (*tabp->lines)); in realloc_lines()
121 assert(tabp->lines != NULL); in realloc_lines()
122 tabp->lines = in realloc_lines()
123 Realloc(tabp->lines, (nlines * sizeof (*tabp->lines))); in realloc_lines()
127 (void) memset(&tabp->lines[tabp->alloc], 0, in realloc_lines()
128 ((nlines - tabp->alloc) * sizeof (*tabp->lines))); in realloc_lines()
[all …]
/titanic_41/usr/src/cmd/make/bin/
H A Drep.cc326 register Property lines; in gather_recursive_deps() local
344 for (lines = get_prop(np->prop,recursive_prop); in gather_recursive_deps()
345 lines != NULL; in gather_recursive_deps()
346 lines = get_prop(lines->next, recursive_prop)) { in gather_recursive_deps()
351 if (lines->body.recursive.in_depinfo) in gather_recursive_deps()
353 if (!lines->body.recursive.has_built) in gather_recursive_deps()
356 lines->body.recursive.in_depinfo=true; in gather_recursive_deps()
365 APPEND_NAME(lines->body.recursive.directory, in gather_recursive_deps()
368 APPEND_NAME(lines->body.recursive.target, in gather_recursive_deps()
373 for (dp = lines->body.recursive.makefiles; in gather_recursive_deps()
H A Dstate.cc130 register Property lines; in write_state_file() local
245 if ((lines = get_prop(np->prop, line_prop)) == NULL) { in write_state_file()
256 for (m = 0, dependency = lines->body.line.dependencies; in write_state_file()
269 if (m || (lines->body.line.command_used != NULL)) { in write_state_file()
299 lines->body.line.dependencies; in write_state_file()
312 if (lines->body.line.command_used != NULL) { in write_state_file()
326 for (cp = lines->body.line.command_used; in write_state_file()
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/
H A DMultiLineLabel.java74 protected Vector lines; // The lines of text to display field in MultiLineLabel
94 lines = new Vector(); in newLabel()
111 lines.addElement(line); in newLabel()
122 lines.addElement(line.substring(0, offset)); in newLabel()
125 lines.addElement(line); in newLabel()
128 num_lines = lines.size(); in newLabel()
149 (String) lines.elementAt(i)); in measure()
288 g.drawString(((String) lines.elementAt(i)).trim(), x, y); in paint()
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnewterm.c148 if (lines < 2) in __m_slk_init()
151 sp->_slk._w = subwin(sp->_newscr, 1, 0, lines-1, 0); in __m_slk_init()
286 lines = 1; in newterm()
300 if ((sp->_curscr = newwin(lines, columns, 0, 0)) == NULL) in newterm()
303 if ((sp->_newscr = newwin(lines, columns, 0, 0)) == NULL) in newterm()
307 sp->_hash = (unsigned int *) calloc(lines, sizeof (*sp->_hash)); in newterm()
309 sp->_hash = (unsigned long *) calloc(lines, sizeof (*sp->_hash)); in newterm()
371 stdscr = newwin(lines - n, 0, rip.top, 0); in newterm()
385 y += lines; in newterm()
446 LINES = lines; in set_term()
H A Dmvcur.c374 newrow %= lines; in __m_mvcur()
382 if (newrow == lines-1 && newcol == columns-1) { in __m_mvcur()
388 oldrow %= lines; in __m_mvcur()
414 row(try, lines - 1, newrow); in __m_mvcur()
475 cost(row_address, __MOVE_ROW, lines-1, 0); in __m_mvcur_cost()
476 cost(parm_up_cursor, __MOVE_N_UP, lines-1, 0); in __m_mvcur_cost()
477 cost(parm_down_cursor, __MOVE_N_DOWN, lines-1, 0); in __m_mvcur_cost()
481 cost(cursor_address, __MOVE_ROW_COLUMN, lines-1, columns-1); in __m_mvcur_cost()
/titanic_41/usr/src/cmd/last/
H A Dlast.c103 static int lines; variable
246 lines = CHUNK_SIZE; in main()
247 ttnames = calloc(lines, sizeof (char *)); in main()
248 logouts = calloc(lines, sizeof (time_t)); in main()
258 for (i = 0; i <= lines; i++) { in main()
259 if (i == lines) in main()
386 for (i = 0; i < lines; i++) in main()
417 lines += CHUNK_SIZE; in reallocate_buffer()
418 tmpttnames = realloc(ttnames, sizeof (char *)*lines); in reallocate_buffer()
419 tmplogouts = realloc(logouts, sizeof (time_t)*lines); in reallocate_buffer()
[all …]
/titanic_41/usr/src/cmd/more/
H A Dmore.help5 <space> Display next k lines of text [current screen size]
6 z Display next k lines of text [current screen size]*
7 <return> Display next k lines of text [1]*
8 d or ctrl-D Scroll k lines [current scroll size, initially 11]*
10 s Skip forward k lines of text [1]
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dnewterm.c145 if (lines < 2) in __m_slk_init()
148 sp->_slk._w = subwin(sp->_newscr, 1, 0, --lines, 0); in __m_slk_init()
290 lines = 1;
311 if ((sp->_curscr = newwin(lines, columns, 0, 0)) == (WINDOW *) 0)
314 if ((sp->_newscr = newwin(lines, columns, 0, 0)) == (WINDOW *) 0)
317 sp->_hash = (unsigned long *) calloc(lines, sizeof *sp->_hash);
358 stdscr = newwin(lines - n, 0, rip.top, 0);
369 y += lines;
440 LINES = lines;
/titanic_41/usr/src/lib/pyzfs/common/
H A Dtable.py36 self.lines = list()
49 self.lines.append((sortkey, va))
56 self.lines.sort()
57 for (k, va) in self.lines:
/titanic_41/usr/src/lib/libshell/common/scripts/
H A Dtermclock.sh84 rect.lines=${ tput lines ; } || return 1
164 clock.middle_y=termsize.lines/2.-.5 ,
166 clock.len_y=termsize.lines/2-2 ,
233 integer lines=-1
308 tput_cup $((termsize.lines-2)) 0
/titanic_41/usr/src/cmd/mailx/
H A Dedit.c98 long ms, lines; in edit1() local
224 lines = 0; in edit1()
227 lines++; in edit1()
239 lines++; in edit1()
242 mp->m_lines = lines; in edit1()
H A Dcmd4.c195 int lines; in loadmsg() local
236 lines = 0; in loadmsg()
239 lines++; in loadmsg()
251 lines++; in loadmsg()
254 mp->m_lines = lines; in loadmsg()
259 printf(gettext("[Loaded] %d/%ld\n"), lines, ms); in loadmsg()
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dgrep.sh92 to see how many lines find both foo and bar.
94 and some lines contain bar only.
95 However, many lines contain both foo and also bar.
97 There should be six lines with foo and bar.
/titanic_41/usr/src/lib/libeti/panel/common/
H A Dnew.c69 int lines, cols; in new_panel() local
79 getmaxyx(window, lines, cols); in new_panel()
80 panel -> wendy = panel->wstarty + lines - 1; in new_panel()
/titanic_41/usr/src/cmd/mandoc/
H A Dchars.c45 #define CHAR_TBL_START static struct ln lines[LINES_MAX] = {
83 hash = (int)lines[i].code[0] - PRINT_LO; in mchars_alloc()
86 htab[hash] = &lines[i]; in mchars_alloc()
92 pp->next = &lines[i]; in mchars_alloc()
/titanic_41/usr/src/lib/libcmd/common/
H A Dwc.c77 sfprintf(sfstdout," %7I*d",sizeof(wp->lines),wp->lines); in printout()
177 tlines += wp->lines; in b_wc()
182 wp->lines = tlines; in b_wc()

12345678