Home
last modified time | relevance | path

Searched full:trim (Results 1 – 25 of 244) sorted by relevance

12345678910

/titanic_54/usr/src/uts/i86pc/sys/
H A Drootnex.h159 * We only need to trim a buffer when we have multiple windows. Each window has
160 * trim state. We might have trimmed the end of the previous window, leaving the
162 * won't start with a new cookie), or we might need to trim the end of the
165 * window (a window can have one or more cookies). However, when we trim the
166 * last cookie, we keep a pointer to the last cookie in the trim state since we
167 * only need this info when we trim. The pointer to the first cookie in the
171 * If we do trim a cookie, we save away the physical address and size of the
176 * if we happened to trim on a page that uses the copy buffer, and that page
209 * window, and the trim state for the window. For the 32-bit kernel, we keep
232 * need to trim when switching to a new window. This should only be
[all …]
/titanic_54/usr/src/cmd/sgs/libconv/common/
H A Dstrproc.c110 int trim = (flags & CONV_SPEXV_F_NOTRIM) == 0; in conv_strproc_extract_value() local
116 * If TRIM, skip whitespace between token and '=' in conv_strproc_extract_value()
118 if (trim) in conv_strproc_extract_value()
128 /* if TRIM, skip whitespace following the '=' */ in conv_strproc_extract_value()
129 if (trim) in conv_strproc_extract_value()
/titanic_54/usr/src/cmd/csh/
H A Dsh.glob.c319 switch (*pm & (QUOTE|TRIM)) { in execbrc()
396 scc = *s++ & TRIM; in amatch()
404 lc = TRIM; in amatch()
457 if ((c & TRIM) != scc) in amatch()
504 scc = *s++ & TRIM; in Gmatch()
509 lc = TRIM; in Gmatch()
549 if ((c & TRIM) != scc) in Gmatch()
596 *gpathp++ = c & TRIM; in addpath()
614 trim(tchar **t) in trim() function
619 tprintf("TRACE- trim()\n"); in trim()
[all …]
H A Dsh.print.c104 c &= TRIM; in putbyte()
125 if (isascii(tc&TRIM)) { in Putchar()
129 tc &= TRIM; in Putchar()
160 c &= TRIM; in putbyte()
H A Dsh.dol.c31 * some QUOTEing may have occurred already, so we dont "trim()" here.
197 if ((c & (QUOTE|TRIM)) == ('\n' | QUOTE)) in Dword()
289 c = *lap++ & (QUOTE|TRIM); in DgetC()
305 if (c = *dolp++ & (QUOTE|TRIM)) in DgetC()
352 if ((c & TRIM) == '#') in Dgetdol()
605 return (c&(QUOTE|TRIM)); in Dredc()
649 trim(Dv); rscan(Dv, Dtestq); quoted = gflag; in heredoc()
664 if (c &= TRIM) { in heredoc()
707 if ((c &= TRIM) == 0) in heredoc()
752 *obp++ = *mbp & TRIM; in heredoc()
/titanic_54/usr/src/cmd/refer/
H A Daddbib.c46 static void trim(char []);
138 trim(line); in addbib()
148 trim(line); in addbib()
153 trim(line); in addbib()
156 trim(line); in addbib()
190 trim(char line[]) /* trim line of trailing white space */ in trim() function
/titanic_54/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dexpand.c86 *cp = *cp & TRIM;
382 switch (*pm & (QUOTE|TRIM)) {
460 scc = *s++ & TRIM;
504 if ((c & TRIM) != scc)
546 scc = *s++ & TRIM;
583 if ((c & TRIM) != scc)
610 while (*s++ = *s1++ & TRIM)
613 while (*s++ = *s2++ & TRIM)
624 *pathp++ = c & TRIM; in addpath()
/titanic_54/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c145 int opt_bytes, trim; in myri10ge_lro_rx() local
199 * then we must trim the extra bytes off the end. in myri10ge_lro_rx()
201 trim = tot_len - (ip_len + ETHERNET_HEADER_SIZE); in myri10ge_lro_rx()
202 if (trim != 0) { in myri10ge_lro_rx()
203 if (trim < 0) { in myri10ge_lro_rx()
207 m_head->b_wptr -= trim; in myri10ge_lro_rx()
208 tot_len -= trim; in myri10ge_lro_rx()
/titanic_54/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPV1SAttrMsg.java92 String urlOrServiceType = buf.toString().trim(); in initialize()
117 String scope = buf.toString().toLowerCase().trim(); in initialize()
136 hdr.parseCommaSeparatedListIn(buf.toString().trim(), true); in initialize()
172 tags.setElementAt(tag.trim(), i); in initialize()
H A DServiceStoreFactory.java196 String line = in.readLine().trim(); in deserialize()
230 surl = tk.nextToken().trim(); in deserialize()
233 slang = tk.nextToken().trim(); in deserialize()
236 slifetime = tk.nextToken().trim(); in deserialize()
239 sType = tk.nextToken().trim(); in deserialize()
H A DSLPV1SSrvMsg.java146 st.nextToken().trim().toLowerCase() + ":"; in initialize()
155 String scope = st.nextToken().trim().toLowerCase(); in initialize()
186 hdr.scopes.addElement(scope.toLowerCase().trim()); in initialize()
312 query = query.trim(); in convertQuery()
348 String exp = tk.nextToken().trim(); in rewriteQueryJoin()
862 return value.trim(); // removes trailing whitespace... in parseTag()
1041 String strval = valTok.toString().trim(); in parseValue()
/titanic_54/usr/src/uts/i86pc/io/dr/
H A Dsbdgenerr.pl27 sub trim { subroutine
50 my $txt = trim($3);
53 $txt = trim($l);
/titanic_54/usr/src/uts/sun4u/ngdr/io/
H A Dsbdgenerr.pl30 sub trim { subroutine
53 my $txt = trim($3);
56 $txt = trim($l);
/titanic_54/usr/src/lib/cfgadm_plugins/sbd/
H A Dsbdgenerr.pl30 sub trim { subroutine
53 my $txt = trim($3);
56 $txt = trim($l);
/titanic_54/usr/src/cmd/vi/port/
H A Dex_vput.c121 while (i > 0 && (j = *tp & (QUOTE|TRIM))) { in vclreol()
431 c = *tp++ & TRIM; in vgoto()
738 if ((wchar & TRIM) == 0) in vinschar()
811 if ((*tp++ & TRIM) == 0) { in vrigid()
1092 if ((*--tp & (QUOTE|TRIM)) == QUOTE) { in viin()
1218 c &= (QUOTE|TRIM);
1279 if (!insmode && !insert_null_glitch && (state != HARDOPEN || over_strike) && (*tp&TRIM) == 0) {
1316 d = *tp & TRIM;
1323 if (rewrite == _OFF && d == (c & TRIM) && !insmode && (state != HARDOPEN || over_strike)) {
1325 if (rewrite == _OFF && d == (c & TRIM) && !insmode &&
[all …]
/titanic_54/usr/src/uts/i86pc/io/
H A Drootnex.c3285 * if we need to trim the buffers when we munge the sgl. in rootnex_bind_slowpath()
3597 * extra pages on the trim for the first and last pages of the in rootnex_setup_windows()
3617 * trim]) plus one for remainder. in rootnex_setup_windows()
3631 * trim (see above comment about trim) in rootnex_setup_windows()
4077 * if we know we'll never have to trim, it's pretty easy. Just move to in rootnex_sgllen_window_boundary()
4088 /* figure out how much we need to trim from the window */ in rootnex_sgllen_window_boundary()
4107 * is due to the sgllen, we need to go back to the last cookie and trim in rootnex_sgllen_window_boundary()
4121 * first, setup the current window to account for the trim. Need to go in rootnex_sgllen_window_boundary()
4166 * trim plus the next cookie could put us over maxxfer (a cookie can be in rootnex_sgllen_window_boundary()
4172 * trim will be <= the previous trim (since a cookie can't be in rootnex_sgllen_window_boundary()
[all …]
/titanic_54/usr/src/cmd/abi/appcert/scripts/
H A Dabi_index.pl119 $pathname = trim($pathname);
120 $link = trim($link);
299 $vers = trim($_);
335 # trim off any trailing separators:
412 sub trim subroutine
H A DAppcertUtil.pm98 &trim
435 $line = trim($line);
453 $l1 = trim($l1);
454 $l2 = trim($l2);
644 $val = trim($val);
690 sub trim subroutine
1121 ($n, $tag, $val) = split(/\s+/, trim($line));
1442 $dump = trim($line);
1850 # trim any leading spaces:
1863 $desc = trim($desc);
[all …]
/titanic_54/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/helptools/
H A DparseMain.java243 Debug.message("readTagName: " + (new String(b)).trim()); in readTagName()
244 return (new String(b)).trim(); in readTagName()
373 if ((t.trim()).equalsIgnoreCase("/" + this.name)) { in readMultipleLines()
434 if ((t.trim()).equalsIgnoreCase("/" + this.name)) { in read()
447 content = (new String(b)).trim(); in read()
546 outputFileName = outputFileName.trim(); in main()
/titanic_54/usr/src/cmd/sh/
H A Dservice.c257 trim(p = curstak()); in execs()
317 trim(unsigned char *at) in trim() function
364 /* Same as trim, but only removes backlashes before slashes */
425 trim(t);
444 trim(*comargn);
/titanic_54/usr/src/lib/libsqlite/tool/
H A Dspeedtest2.tcl19 set sql [string trim [read $fd [file size $sqlfile]]]
31 regsub -all \n [string trim $sql] <br> sql
115 set txt [string trim $txt]
/titanic_54/usr/src/cmd/saf/
H A Dutil.c246 * trim - remove comments, trim off trailing white space, done in place
251 trim(p) in trim() function
/titanic_54/usr/src/cmd/sgs/ar/common/
H A Dcmd.c502 trim(next->ar_rawname)); in tcmd()
506 trim(next->ar_longname)); in tcmd()
536 if (strcmp(trim(cmd_info->namv[i]), file) == 0) { in match()
572 trim(cmd_info->namv[i]), SNAME); in cleanup()
575 malloc(strlen(trim(cmd_info->namv[i])) + 1)) == in cleanup()
584 trim(cmd_info->namv[i])); in cleanup()
/titanic_54/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DHost.java169 o = o.trim(); in getNisHost()
220 master = master.trim(); in getLDAPMaster()
280 dn = dn.trim(); in getDefaultAdminDN()
/titanic_54/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c53 #define TRIM 0177 macro
343 switch (*pm & (QUOTE|TRIM)) { in execbrc()
429 /* scc = *s++ & TRIM; */ in amatch()
533 scc = *s++ & TRIM;
571 if ((c & TRIM) != scc)

12345678910