Home
last modified time | relevance | path

Searched +full:detect +full:- +full:newline (Results 1 – 25 of 432) sorted by relevance

12345678910>>...18

/external/pcre/doc/
Dpcre2demo.32 .\"AUTOMATICALLY GENERATED BY PrepareRelease - do not EDIT!
4 PCRE2DEMO - A demonstration C program for PCRE2
27 .RS -7
40 width. This demonstration program uses the 8-bit library. The default is to
42 "(*UTF)", both it and the subject are treated as UTF-8 strings, where
45 In Unix-like environments, if PCRE2 is installed in your standard system
48 cc -Wall pcre2demo.c -lpcre2-8 -o pcre2demo
51 with support for the pkg-config mechanism. If you have pkg-config, you can
54 cc -Wall pcre2demo.c `pkg-config --cflags --libs libpcre2-8` -o pcre2demo
56 If you do not have pkg-config, you may have to use something like this:
[all …]
Dpcre2build.33 PCRE2 - Perl-compatible regular expressions (revised API)
10 the library in Unix-like environments using the applications known as
23 .\" HTML <a href="NON-AUTOTOOLS-BUILD.txt">
25 \fBNON-AUTOTOOLS-BUILD\fP.
32 file if you are building in a non-Unix-like environment.
35 .SH "PCRE2 BUILD-TIME OPTIONS"
42 same options can be selected in both Unix-like and non-Unix-like environments
48 .\" HTML <a href="NON-AUTOTOOLS-BUILD.txt">
50 \fBNON-AUTOTOOLS-BUILD\fP.
57 ./configure --help
[all …]
/external/python/cpython3/Doc/library/
Dtokenize.rst1 :mod:`tokenize` --- Tokenizer for Python source
12 --------------
16 as well, making it useful for implementing "pretty-printers", including
17 colorizers for on-screen displays.
26 ----------------
37 The generator produces 5-tuples with these members: the token type; the
38 token string; a 2-tuple ``(srow, scol)`` of ints specifying the row and
39 column where the token begins in the source; a 2-tuple ``(erow, ecol)`` of
58 UTF-8 BOM or encoding cookie, according to :pep:`263`.
87 lossless and round-trips are assured. The guarantee applies only to the
[all …]
Dtextwrap.rst1 :mod:`textwrap` --- Text wrapping and filling
12 --------------
84 This can be used to make triple-quoted strings line up with the left edge of the
92 single newline character in the output.
123 and whitespace-only lines::
157 You can re-use the same :class:`TextWrapper` object many times, and you can
193 as follows: tab, newline, vertical tab, formfeed, and carriage
215 if non-whitespace follows it. If whitespace being dropped takes up an
235 (default: ``False``) If true, :class:`TextWrapper` attempts to detect
242 unable to detect the difference between "Dr." in ::
[all …]
/external/python/cpython2/Doc/reference/
Dtoplevel_components.rst2 .. _top-level:
5 Top-level components
31 built-in and standard modules are available, but none have been initialized,
32 except for :mod:`sys` (various system services), :mod:`__builtin__` (built-in
55 in three forms: with the :option:`-c` *string* command line option, as a file
61 .. _file-input:
66 All input read from non-interactive files has the same form:
69 file_input: (NEWLINE | `statement`)*
88 interactive_input: [`stmt_list`] NEWLINE | `compound_stmt` NEWLINE
90 Note that a (top-level) compound statement must be followed by a blank line in
[all …]
/external/python/cpython3/Doc/reference/
Dtoplevel_components.rst2 .. _top-level:
5 Top-level components
31 built-in and standard modules are available, but none have been initialized,
32 except for :mod:`sys` (various system services), :mod:`builtins` (built-in
56 in three forms: with the :option:`-c` *string* command line option, as a file
62 .. _file-input:
67 All input read from non-interactive files has the same form:
69 .. productionlist:: python-grammar
70 file_input: (NEWLINE | `statement`)*
88 .. productionlist:: python-grammar
[all …]
/external/pcre/doc/html/
Dpcre2demo.html30 width. This demonstration program uses the 8-bit library. The default is to
32 "(*UTF)", both it and the subject are treated as UTF-8 strings, where
35 In Unix-like environments, if PCRE2 is installed in your standard system
38 cc -Wall pcre2demo.c -lpcre2-8 -o pcre2demo
41 with support for the pkg-config mechanism. If you have pkg-config, you can
44 cc -Wall pcre2demo.c `pkg-config --cflags --libs libpcre2-8` -o pcre2demo
46 If you do not have pkg-config, you may have to use something like this:
48 cc -Wall pcre2demo.c -I/usr/local/include -L/usr/local/lib \
49 -R/usr/local/lib -lpcre2-8 -o pcre2demo
53 systems (Solaris is one) use the -R option.
[all …]
/external/pcre/src/
Dpcre2demo.c12 width. This demonstration program uses the 8-bit library. The default is to
14 "(*UTF)", both it and the subject are treated as UTF-8 strings, where
17 In Unix-like environments, if PCRE2 is installed in your standard system
20 cc -Wall pcre2demo.c -lpcre2-8 -o pcre2demo
23 with support for the pkg-config mechanism. If you have pkg-config, you can
26 cc -Wall pcre2demo.c `pkg-config --cflags --libs libpcre2-8` -o pcre2demo
28 If you do not have pkg-config, you may have to use something like this:
30 cc -Wall pcre2demo.c -I/usr/local/include -L/usr/local/lib \
31 -R/usr/local/lib -lpcre2-8 -o pcre2demo
35 systems (Solaris is one) use the -R option.
[all …]
/external/antlr/runtime/JavaScript/tests/functional/
Drhino-python.extensions44 ... 1 COLON NEWLINE INDENT PRINT a NEWLINE DEDENT b ASSIGN 3 ...
49 Upon NEWLINE token from the lexer, however, an INDENT or DEDENT token
50 may need to be sent to the parser. The NEWLINE is the trigger for
51 this class to do it's job. NEWLINE is saved and then the first token
52 of the next line is examined. If non-leading-whitespace token,
54 the column of the next non-whitespace token will dictate indent vs
60 A stack of column numbers is tracked and used to detect changes
75 this.sp=-1; // grow upwards
79 this.lastTokenAddedIndex = -1;
109 I use char position in line 0..n-1 instead.
[all …]
/external/iputils/
Dtftpsubs.c39 /* Simple minded read-ahead/write-behind subroutines for tftp user and
43 Todo: add some sort of final error check so when the write-buffer
44 is finally flushed, the caller can detect if the disk filled up
67 #define BF_ALLOC -3 /* alloc'd but not yet filled */
68 #define BF_FREE -2 /* free */
69 /* [-1 .. SEGSIZE] = size of data in the data buffer */
75 int newline = 0; /* fillbuf: in middle of newline expansion */ variable
76 int prevchar = -1; /* putbuf: previous char (cr check) */
80 struct tftphdr *w_init() { return rw_init(0); } /* write-behind */ in w_init()
81 struct tftphdr *r_init() { return rw_init(1); } /* read-ahead */ in r_init()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DStructuralWhitespaceStripper.java8 * http://www.apache.org/licenses/LICENSE-2.0
66 * ----------------
75 * ----------------
82 * ----------------
88 * ----------------
100 * "not (non-space or newline)".
108 * Pattern to match strings that start with arbitrary (inline) whitespace, followed by a newline.
113 * Pattern to match strings that end with a newline, followed by trailing (inline) whitespace.
118 * Pattern to capture the content of a string after a leading newline. Only ever used on input
125 * Pattern to capture the content of a string before a trailing newline. Note that this may have
[all …]
/external/curl/tests/unit/
Dunit3200.c21 * SPDX-License-Identifier: curl
51 #pragma GCC diagnostic ignored "-Woverlength-strings"
58 "LINE2 NEWLINE\n",
81 #pragma GCC diagnostic warning "-Woverlength-strings"
112 fail_unless(line && !strcmp("LINE2 NEWLINE\n", line),
136 "Did not detect max read on EOF (3)");
/external/angle/build/
Dwrite_buildflag_header.py3 # Use of this source code is governed by a BSD-style license that can be
14 # [--flags <list of one or more flag values>]
32 parser.add_option('--output', help="Output header name inside --gen-dir.")
33 parser.add_option('--rulename',
36 parser.add_option('--gen-dir',
38 parser.add_option('--definitions',
43 # upper-casing everything and prepending '_' if first symbol is digit.
53 # Definition file in GYP is newline separated, in GN they are shell formatted.
57 flags_index = defs.index('--flags')
59 # Everything after --flags are flags. true/false are remapped to 1/0,
[all …]
/external/autotest/utils/frozen_chromite/lib/
Doperation.py1 # -*- coding: utf-8 -*-
3 # Use of this source code is governed by a BSD-style license that can be
100 width = max(1, self._GetTerminalSize().columns -
104 unshaded = '-' * (width - block)
132 One example use of this method could be to detect 'foo' in stdout and
272 the progress bar isn't displayed, then the return value is -1.
298 return -1
357 # -1 = no newline pending
358 # n = newline pending, and line length of last line was n
359 self._pending_nl = -1
[all …]
/external/python/cpython3/Lib/lib2to3/pgen2/
Dpgen.py1 # Copyright 2004-2005 Elemental Security, Inc. All Rights Reserved.
15 stream = open(filename, encoding="utf-8")
67 # A symbol name (a non-terminal)
98 # An operator (any non-numeric token)
117 self.first[name] = None # dummy to detect left recursion
148 # MSTART: (NEWLINE | RULE)* ENDMARKER
150 while self.type == token.NEWLINE:
152 # RULE: NAME ':' RHS NEWLINE
156 self.expect(token.NEWLINE)
217 print(" -> %d" % j)
[all …]
Dtokenize.py7 text into Python tokens. It accepts a readline-like method which is called
9 5-tuples with these members:
13 the starting (row, column) indices of the token (a 2-tuple of ints)
14 the ending (row, column) indices of the token (a 2-tuple of ints)
28 __author__ = 'Ka-Ping Yee <ping@lfw.org>'
62 Hexnumber = r'0[xX]_?[\da-fA-F]+(?:_[\da-fA-F]+)*[lL]?'
63 Octnumber = r'0[oO]?_?[0-7]+(?:_[0-7]+)*[lL]?'
64 Decnumber = group(r'[1-9]\d*(?:_\d+)*[lL]?', '0[lL]?')
66 Exponent = r'[eE][-+]?\d+(?:_\d+)*'
83 # Single-line ' or " string.
[all …]
/external/python/cpython2/Lib/lib2to3/pgen2/
Dpgen.py1 # Copyright 2004-2005 Elemental Security, Inc. All Rights Reserved.
67 # A symbol name (a non-terminal)
98 # An operator (any non-numeric token)
117 self.first[name] = None # dummy to detect left recursion
148 # MSTART: (NEWLINE | RULE)* ENDMARKER
150 while self.type == token.NEWLINE:
152 # RULE: NAME ':' RHS NEWLINE
156 self.expect(token.NEWLINE)
217 print " -> %d" % j
219 print " %s -> %d" % (label, j)
[all …]
Dtokenize.py7 text into Python tokens. It accepts a readline-like method which is called
9 5-tuples with these members:
13 the starting (row, column) indices of the token (a 2-tuple of ints)
14 the ending (row, column) indices of the token (a 2-tuple of ints)
28 __author__ = 'Ka-Ping Yee <ping@lfw.org>'
55 Name = r'[a-zA-Z_]\w*'
58 Hexnumber = r'0[xX][\da-fA-F]*[lL]?'
59 Octnumber = r'0[oO]?[0-7]*[lL]?'
60 Decnumber = r'[1-9]\d*[lL]?'
62 Exponent = r'[eE][-+]?\d+'
[all …]
/external/mesa3d/src/util/
Dos_misc.h20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
40 #include "util/detect.h"
79 * Output a message. Message should preferably end in a newline.
88 …* https://wiki.sei.cmu.edu/confluence/display/c/ENV34-C.+Do+not+store+pointers+returned+by+certain…
/external/tensorflow/tensorflow/tools/docs/
Dfenced_doctest_lib.py7 # http://www.apache.org/licenses/LICENSE-2.0
33 tear_down: Optional[Callable[[Any], None]] = None) -> doctest.DocFileSuite:
81 https://docs.python.org/3/library/doctest.html#doctestparser-objects
105 # Match anything, except if the look-behind sees a closing fence.
109 ^( # After a newline
121 # Multiline so ^ matches after a newline
125 # Verbose to allow comments/ignore-whitespace.
130 name: str = '<string>') -> Iterable[doctest.Example]:
131 # Check for a file-level skip comment.
132 if re.search('<!--.*?doctest.*?skip.*?all.*?-->', string, re.IGNORECASE):
[all …]
/external/python/cpython2/Doc/library/
Dtextwrap.rst1 :mod:`textwrap` --- Text wrapping and filling
13 --------------
60 This can be used to make triple-quoted strings line up with the left edge of the
94 You can re-use the same :class:`TextWrapper` object many times, and you can
121 as follows: tab, newline, vertical tab, formfeed, and carriage
143 if non-whitespace follows it. If whitespace being dropped takes up an
166 (default: ``False``) If true, :class:`TextWrapper` attempts to detect
173 unable to detect the difference between "Dr." in ::
186 English-language texts.
211 module-level convenience functions:
/external/toybox/toys/posix/
Dpatch.c1 /* patch.c - Apply a "universal" diff.
6 * (But only does -u, because who still cares about "ed"?)
9 * -b backup
10 * -N ignore already applied
11 * -D define wrap #ifdef and #ifndef around changes
12 * -o outfile output here instead of in place
13 * -r rejectfile write rejected hunks to this file
14 * -E remove empty files --remove-empty-files
17 USE_PATCH(NEWTOY(patch, ">2(no-backup-if-mismatch)(dry-run)F#g#fulp#v(verbose)@d:i:Rs(quiet)[!sv]",…
23 usage: patch [-Rlsuv] [-d DIR] [-i FILE] [-p DEPTH] [-F FUZZ] [--dry-run] [FILE [PATCH]]
[all …]
/external/python/parse_type/tasks/_vendor/
Dpath.py4 # -----------------------------------------------------------------------------
27 path.py - An object representing a path to a file or directory.
118 NEWLINE = re.compile('|'.join(LINESEPS)) variable
120 NL_END = re.compile(r'(?:{0})$'.format(NEWLINE.pattern))
128 __version__ = '8.2.1' # XXX-MODIFIED-WAS: 'unknown'
230 # --- Special Python methods.
292 # --- Operations on Path strings.
384 """ p.splitpath() -> Return ``(p.parent, p.name)``.
392 """ p.splitdrive() -> Return ``(p.drive, <the rest of p>)``.
404 """ p.splitext() -> Return ``(p.stripext(), p.ext)``.
[all …]
/external/curl/tests/
DFILEFORMAT.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
12 in its own line. Comments are either XML-style (enclosed with `<!--` and
13 `-->`) or shell script style (beginning with `#`) and must appear on their own
43 or even percent-encoded individual bytes. As an example, insert the HTTP
56 %hex[ %XX-encoded data to decode ]hex%
96 Accept-Encoding
103 Accept-Encoding: not-brotli
110 Accept-Encoding: brotli
[all …]
/external/kotlinx.coroutines/buildSrc/src/main/kotlin/
DJava9Modularity.kt2 …* Copyright 2016-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… in <lambda>()
18 * The source file for the module descriptor is expected at <project-dir>/src/module-info.java. in <lambda>()
20 * To maintain backwards compatibility with Java 8, the jvm JAR is marked as a multi-release JAR in <lambda>()
21 * with the module-info.class being moved to META-INF/versions/9/module-info.class. in <lambda>()
23 * The Java toolchains feature of Gradle is used to detect or provision a JDK 11, in <lambda>()
29 * Task that patches `module-info.java` and removes `requires kotlinx.atomicfu` directive. in <lambda>()
31 … JPMS properly supported, Kotlin compiler **must** be supplied with the correct `module-info.java`. in <lambda>()
32 …* The correct module info has to contain `atomicfu` requirement because atomicfu plugin kicks-in *… in <lambda>()
33 …* the compilation process. But `atomicfu` is compile-only dependency that shouldn't be present in … in <lambda>()
34 * `module-info.java` and that's exactly what this task ensures. in <lambda>()
[all …]

12345678910>>...18