| /external/grpc-grpc/third_party/nanopb/tests/site_scons/ |
| D | site_init.py | 48 esc = env['ESCAPE'] 49 dirs = ' '.join(['-I' + esc(env.GetBuildPath(d)) for d in env['PROTOCPATH']]) 51 dirs, env['MESSAGE'], esc(str(source[1])), esc(str(source[0])), esc(str(target[0]))) 59 esc = env['ESCAPE'] 60 dirs = ' '.join(['-I' + esc(env.GetBuildPath(d)) for d in env['PROTOCPATH']]) 62 dirs, env['MESSAGE'], esc(str(source[1])), esc(str(source[0])), esc(str(target[0])))
|
| /external/nanopb-c/tests/site_scons/ |
| D | site_init.py | 48 esc = env['ESCAPE'] 49 dirs = ' '.join(['-I' + esc(env.GetBuildPath(d)) for d in env['PROTOCPATH']]) 51 dirs, env['MESSAGE'], esc(str(source[1])), esc(str(source[0])), esc(str(target[0]))) 59 esc = env['ESCAPE'] 60 dirs = ' '.join(['-I' + esc(env.GetBuildPath(d)) for d in env['PROTOCPATH']]) 62 dirs, env['MESSAGE'], esc(str(source[1])), esc(str(source[0])), esc(str(target[0])))
|
| /external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/ |
| D | vt320.java | 688 private final static char ESC = 27; field in vt320 699 private final static int TSTATE_ESC = 1; /* ESC */ 700 private final static int TSTATE_CSI = 2; /* ESC [ */ 701 private final static int TSTATE_DCS = 3; /* ESC P */ 702 private final static int TSTATE_DCEQ = 4; /* ESC [? */ 703 private final static int TSTATE_ESCSQUARE = 5; /* ESC # */ 704 private final static int TSTATE_OSC = 6; /* ESC ] */ 705 private final static int TSTATE_SETG0 = 7; /* ESC (? */ 706 private final static int TSTATE_SETG1 = 8; /* ESC )? */ 707 private final static int TSTATE_SETG2 = 9; /* ESC *? */ [all …]
|
| /external/rust/crates/nom/src/bytes/ |
| D | tests.rs | 74 fn esc(i: &[u8]) -> IResult<&[u8], &[u8]> { in escaping() function 77 assert_eq!(esc(&b"abcd;"[..]), Ok((&b";"[..], &b"abcd"[..]))); in escaping() 78 assert_eq!(esc(&b"ab\\\"cd;"[..]), Ok((&b";"[..], &b"ab\\\"cd"[..]))); in escaping() 79 assert_eq!(esc(&b"\\\"abcd;"[..]), Ok((&b";"[..], &b"\\\"abcd"[..]))); in escaping() 80 assert_eq!(esc(&b"\\n;"[..]), Ok((&b";"[..], &b"\\n"[..]))); in escaping() 81 assert_eq!(esc(&b"ab\\\"12"[..]), Ok((&b"12"[..], &b"ab\\\""[..]))); in escaping() 83 esc(&b"AB\\"[..]), in escaping() 90 esc(&b"AB\\A"[..]), in escaping() 109 fn esc(i: &str) -> IResult<&str, &str> { 112 assert_eq!(esc("abcd;"), Ok((";", "abcd"))); [all …]
|
| /external/llvm/test/Transforms/InstCombine/ |
| D | objsize.ll | 108 define i32 @test4(i8** %esc) nounwind ssp { 117 store i8* %1, i8** %esc 152 define i32 @test7(i8** %esc) { 155 store i8* %alloc, i8** %esc 164 define i32 @test8(i8** %esc) { 167 store i8* %alloc, i8** %esc 178 define i32 @test9(i8** %esc) { 180 store i8* %call, i8** %esc, align 8 187 define i32 @test10(i8** %esc) { 189 store i8* %call, i8** %esc, align 8 [all …]
|
| D | objsize-64.ll | 11 define i64 @f1(i8 **%esc) { 13 store i8* %call, i8** %esc 21 define i64 @f2(i8** %esc) nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personali… 29 store i8* %call, i8** %esc
|
| /external/catch2/projects/SelfTest/IntrospectiveTests/ |
| D | Xml.tests.cpp | 44 #define ESC(lit) (char*)(lit) macro 46 CHECK(encode(ESC(u8"Here be ")) == ESC(u8"Here be ")); 47 CHECK(encode(ESC(u8"šš")) == ESC(u8"šš")); 59 CHECK(encode(ESC("Here \xFF be \xF0\x9F\x91\xBE")) == ESC(u8"Here \\xFF be ")); 61 CHECK(encode("\xC5\xC5\xA0") == ESC(u8"\\xC5Š")); 62 …CHECK(encode("\xF4\x90\x80\x80") == ESC(u8"\\xF4\\x90\\x80\\x80")); // 0x110000 -- out of unicode … 113 #undef ESC
|
| /external/libcups/data/ |
| D | epson.h | 3 * ESC/P driver. 13 #define EPSON_COLOR 2 /* Epson Stylus Color with ESC . */ 14 #define EPSON_PHOTO 3 /* Epson Stylus Photo with ESC . */ 15 #define EPSON_ICOLOR 4 /* Epson Stylus Color with ESC i */ 16 #define EPSON_IPHOTO 5 /* Epson Stylus Photo with ESC i */
|
| /external/jline/src/src/main/java/jline/ |
| D | ANSIBuffer.java | 126 static final char ESC = 27; field in ANSIBuffer.ANSICodes 157 return ESC + "[=" + mode + "h"; in setmode() 166 return ESC + "[=" + mode + "l"; in resetmode() 173 return ESC + "[2J"; in clrscr() 181 return ESC + "[K"; in clreol() 190 return ESC + "[" + n + "D"; in left() 199 return ESC + "[" + n + "C"; in right() 208 return ESC + "[" + n + "A"; in up() 216 return ESC + "[" + n + "B"; in down() 225 return ESC + "[" + row + ";" + column + "H"; in gotoxy() [all …]
|
| /external/rust/crates/anes/src/parser/ |
| D | engine.rs | 7 // sense to add them to the vte crate. An example is Esc key where we need to know if 9 // Esc char is dispatched immediately (user hits just Esc key) or if it's an escape/csi/... 27 /// `Esc` received with a flag that there's more data available. 38 /// `Esc` followed by the `[` received. 117 // More input means possible Esc sequence, just switch state and wait in handle_possible_esc() 120 // No more input means Esc key, dispatch it in handle_possible_esc() 123 // More input means possible Esc sequence, dispatch the previous Esc char in handle_possible_esc() 126 // No more input means Esc key, dispatch the previous & current Esc char in handle_possible_esc() 134 // More input means possible Esc sequence in handle_possible_esc() 138 // No more input means Esc key, dispatch it in handle_possible_esc() [all …]
|
| /external/curl/tests/unit/ |
| D | unit1605.c | 51 char *esc; variable 53 esc = curl_easy_escape(easy, "", -1); 54 fail_unless(esc == NULL, "negative string length can't work"); 56 esc = curl_easy_unescape(easy, "%41%41%41%41", -1, &len); 57 fail_unless(esc == NULL, "negative string length can't work");
|
| /external/wpa_supplicant_8/src/utils/ |
| D | edit.c | 648 /* ESC-[<param1>;<param2><last> */ in esc_seq_to_key1() 702 /* ESC-O<param1>;<param2><last> */ in esc_seq_to_key2() 763 static int esc = -1; in edit_read_key() local 774 if (esc >= 0) { in edit_read_key() 775 if (c == 27 /* ESC */) { in edit_read_key() 776 esc = 0; in edit_read_key() 780 if (esc == 6) { in edit_read_key() 782 esc = -1; in edit_read_key() 784 esc_buf[esc++] = c; in edit_read_key() 785 esc_buf[esc] = '\0'; in edit_read_key() [all …]
|
| /external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/ |
| D | BuiltInEventHandlerTestCase.java | 310 EscapeReference esc = new EscapeHtmlReference(); in testEscapeHtml() local 311 …assertEquals("test string&another<b>bold</b>test",esc.referenceInsert(null,"","tes… in testEscapeHtml() 312 assertEquals("<">",esc.referenceInsert(null,"","<\">")); in testEscapeHtml() 313 assertEquals("test string",esc.referenceInsert(null,"","test string")); in testEscapeHtml() 325 EscapeReference esc = new EscapeXmlReference(); in testEscapeXml() local 326 …assertEquals("test string&another<b>bold</b>test",esc.referenceInsert(null,"","tes… in testEscapeXml() 327 assertEquals("<">",esc.referenceInsert(null,"","<\">")); in testEscapeXml() 328 assertEquals("'",esc.referenceInsert(null,"","'")); in testEscapeXml() 329 assertEquals("test string",esc.referenceInsert(null,"","test string")); in testEscapeXml() 341 EscapeReference esc = new EscapeSqlReference(); in testEscapeSql() local [all …]
|
| /external/rust/crates/anes/src/ |
| D | parser.rs | 98 /// It's crucial to provide correct `more` value in order to receive `KeyCode::Esc` events 103 /// Esc key: 109 … /// // User pressed Esc key & nothing else which means that there's no additional input available 110 /// // aka no possible escape sequence = `KeyCode::Esc` dispatched. 113 /// assert_eq!(Some(Sequence::Key(KeyCode::Esc, KeyModifiers::empty())), parser.next()); 125 /// // Every escape sequence starts with Esc (0x1b). There's more input available 126 /// // aka possible escape sequence = `KeyCode::Esc` isn't dispatched even when the parser 181 … // Esc O - dispatched as an escape sequence followed by single character (P-S) representing in provide_esc_sequence() 182 // F1-F4 keys. We store Esc O flag only which is then used in the dispatch_char method. in provide_esc_sequence()
|
| D | macros.rs | 3 /// This macro prepends provided sequence with the control sequence introducer `ESC [` (`\x1B[`). 19 /// This macro prepends provided sequence with the `ESC` (`\x1B`) character. 24 /// use anes::esc; 26 /// assert_eq!(esc!("7"), "\x1B7"); 29 macro_rules! esc { macro 35 /// This macro prepends provided sequence with the `ESC[` (`\x1B[`) character and appends `m` chara… 61 /// use anes::{esc, sequence}; 65 /// struct SaveCursorPosition => esc!("7") 307 fn esc() { in esc() function 308 assert_eq!(esc!("bar"), "\x1Bbar"); in esc() [all …]
|
| /external/antlr/runtime/Ruby/test/functional/lexer/ |
| D | filter-mode.rb | 33 : '"' (options {greedy=false;}: ESC | .)* '"' 37 : '\'' (options {greedy=false;}: ESC | .)* '\'' 69 ESC : '\\' ('"'|'\''|'\\') 167 : '"' (options {greedy=false;}: ESC | .)* '"' 171 : '\'' (options {greedy=false;}: ESC | .)* '\'' 203 ESC : '\\' ('"'|'\''|'\\')
|
| /external/cronet/third_party/icu/source/common/ |
| D | ucnv2022.cpp | 115 * corresponding to SO, SI, and ESC. 172 * - The escape sequence ESC ( I for half-width 7-bit Katakana is recognized in 235 #define ESC_2022 0x1B /*ESC*/ 247 * ex : ESC$B is the sequence for JISX208 248 * a) First Iteration: char is ESC 249 * i) Get the value of ESC from normalize_esq_chars_2022[] with int value of ESC as index 320 * the associated escape sequences starting with ESC ( B should be removed. 741 * <ESC>(B ASCII 742 * <ESC>.A ISO-8859-1 743 * <ESC>.F ISO-8859-7 [all …]
|
| /external/icu/icu4c/source/common/ |
| D | ucnv2022.cpp | 115 * corresponding to SO, SI, and ESC. 172 * - The escape sequence ESC ( I for half-width 7-bit Katakana is recognized in 235 #define ESC_2022 0x1B /*ESC*/ 247 * ex : ESC$B is the sequence for JISX208 248 * a) First Iteration: char is ESC 249 * i) Get the value of ESC from normalize_esq_chars_2022[] with int value of ESC as index 320 * the associated escape sequences starting with ESC ( B should be removed. 747 * <ESC>(B ASCII 748 * <ESC>.A ISO-8859-1 749 * <ESC>.F ISO-8859-7 [all …]
|
| /external/owasp/sanitizer/src/main/org/owasp/html/ |
| D | CssGrammar.java | 168 for (int esc; (esc = token.indexOf('\\', pos)) >= 0;) { in cssContent() 169 int end = esc + 2; in cssContent() 170 if (esc > n) { break; } in cssContent() 172 sb.append(token, pos, esc); in cssContent() 181 codepoint = Integer.parseInt(token.substring(esc + 1, end), 16); in cssContent()
|
| /external/linux-kselftest/tools/testing/selftests/futex/include/ |
| D | logging.h | 30 #define ESC 0x1B, '[' macro 36 #define BRIGHT_GREEN ESC, BRIGHT, ';', GREEN, ESCEND 37 #define BRIGHT_YELLOW ESC, BRIGHT, ';', YELLOW, ESCEND 38 #define BRIGHT_RED ESC, BRIGHT, ';', RED, ESCEND 39 #define RESET_COLOR ESC, '0', 'm'
|
| /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
| D | CharsetISO2022.java | 183 * corresponding to SO, SI, and ESC. 299 * - The escape sequence ESC ( I for half-width 7-bit Katakana is recognized in 368 private static final byte ESC_2022 = 0x1B; /* ESC */ 380 * ex : ESC$B is the sequence for JISX208 381 * a) First Iteration: char is ESC 382 … * i) Get the value of ESC from normalize_esq_chars_2022[] with int value of ESC as index 491 * <ESC>(B ASCII 492 * <ESC>.A ISO-8859-1 493 * <ESC>.F ISO-8859-7 494 * <ESC>(J JISX-201 [all …]
|
| /external/sg3_utils/doc/ |
| D | sg_reset.8 | 8 [\fI\-\-no-esc\fR] [\fI\-\-target\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] 52 \fB\-N\fR, \fB\-\-no\-esc\fR 61 The same as \fB\-N\fR, \fB\-\-no\-esc\fR. 80 the reset escalation that the \fI\-\-no-esc\fR option attempts to stop. In 84 \fI\-\-no-esc\fR option is not supported. Patches to implement this
|
| /external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/ |
| D | CharTypes.java | 281 int[] esc = _altEscapes[quoteChar]; in escapesFor() local 282 if (esc == null) { in escapesFor() 283 esc = Arrays.copyOf(sOutputEscapes128, 128); in escapesFor() 285 if (esc[quoteChar] == 0) { in escapesFor() 286 esc[quoteChar] = CharacterEscapes.ESCAPE_STANDARD; in escapesFor() 288 _altEscapes[quoteChar] = esc; in escapesFor() 290 return esc; in escapesFor()
|
| /external/python/cpython3/Lib/json/ |
| D | decoder.py | 60 esc = s[pos + 1:pos + 5] 61 if len(esc) == 4 and esc[1] not in 'xX': 63 return int(esc, 16) 104 esc = s[end] 109 if esc != 'u': 111 char = _b[esc] 113 msg = "Invalid \\escape: {0!r}".format(esc)
|
| /external/rust/crates/anes/examples/ |
| D | sequence.rs | 2 use anes::{csi, esc, sequence}; 17 |this, f| write!(f, esc!("{};{}"), this.0, this.1) in dynamic_struct() 28 Bar => esc!("bar"), in static_enum()
|