/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/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/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/curl/tests/unit/ |
D | unit1605.c | 49 char *esc; variable 51 esc = curl_easy_escape(easy, "", -1); 52 fail_unless(esc == NULL, "negative string length can't work"); 54 esc = curl_easy_unescape(easy, "%41%41%41%41", -1, &len); 55 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/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/flatbuffers/src/ |
D | idl_gen_kotlin.cpp | 50 static std::string Esc(const std::string &name) { in Esc() function 234 writer += "class " + Esc(enum_def.name) + " private constructor() {"; in GenEnum() 245 writer.SetValue("name", Esc(ev.name)); in GenEnum() 426 writer.SetValue("struct_name", Esc(struct_def.name)); in GenStruct() 443 Esc(struct_def.name), [&]() { in GenStruct() 463 GenerateGetRootAsAccessors(Esc(struct_def.name), writer); in GenStruct() 513 params << "obj: " << Esc(struct_def.name) << "?" in GenerateLookupByKey() 521 writer.SetValue("struct_name", Esc(struct_def.name)); in GenerateLookupByKey() 567 Esc(struct_def.name) + "?", statements); in GenerateLookupByKey() 575 auto method_name = "finishSizePrefixed" + Esc(struct_def.name) + "Buffer"; in GenerateFinishSizePrefixed() [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/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/antlr/runtime/Python3/tests/ |
D | t019lexer.g | 26 : '"' (options {greedy=false;}: ESC | .)* '"' 30 : '\'' (options {greedy=false;}: ESC | .)* '\'' 62 ESC : '\\' ('"'|'\''|'\\')
|
/external/antlr/runtime/Cpp/tests/ |
D | t019lexer.g | 33 : '"' (options {greedy=false;}: ESC | .)* '"' 37 : '\'' (options {greedy=false;}: ESC | .)* '\'' 69 ESC : '\\' ('"'|'\''|'\\')
|
/external/antlr/runtime/Python/tests/ |
D | t019lexer.g | 26 : '"' (options {greedy=false;}: ESC | .)* '"' 30 : '\'' (options {greedy=false;}: ESC | .)* '\'' 62 ESC : '\\' ('"'|'\''|'\\')
|
/external/antlr/runtime/JavaScript/tests/functional/ |
D | t019lexer.g | 26 : '"' (options {greedy=false;}: ESC | .)* '"' 30 : '\'' (options {greedy=false;}: ESC | .)* '\'' 62 ESC : '\\' ('"'|'\''|'\\')
|
/external/python/cpython2/Lib/json/ |
D | decoder.py | 64 esc = s[pos + 1:pos + 5] 65 if len(esc) == 4 and esc[1] not in 'xX': 67 return int(esc, 16) 113 esc = s[end] 118 if esc != 'u': 120 char = _b[esc] 122 msg = "Invalid \\escape: " + repr(esc)
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | _codecs_iso2022.c | 32 +----- ESC Throughout 35 #define ESC 0x1B macro 149 WRITEBYTE3(ESC, '(', 'B'); in ENCODER_RESET() 166 WRITEBYTE3(ESC, '(', 'B'); in ENCODER() 219 WRITEBYTE3(ESC, '(', ESCMARK(dsg->mark)); in ENCODER() 224 WRITEBYTE3(ESC, '$', ESCMARK(dsg->mark)); in ENCODER() 229 WRITEBYTE4(ESC, '$', '(', in ENCODER() 239 WRITEBYTE3(ESC, ')', ESCMARK(dsg->mark)); in ENCODER() 244 WRITEBYTE4(ESC, '$', ')', ESCMARK(dsg->mark)); in ENCODER() 344 (*inbuf)[3] == ESC && (*inbuf)[4] == '$' && in iso2022processesc() [all …]
|