Home
last modified time | relevance | path

Searched refs:esc (Results 1 – 25 of 74) sorted by relevance

123

/external/libwebsockets/plugins/generic-sessions/
Dhandlers.c42 char s[200], esc[96]; in lwsgs_smtp_client_done_sentvfy() local
49 lws_sql_purify(esc, username, sizeof(esc) - 1)); in lwsgs_smtp_client_done_sentvfy()
68 char cookie[1024], s[256], esc[90]; in lwsgs_handler_confirm() local
87 lws_sql_purify(esc, &cookie[6], sizeof(esc) - 1)); in lwsgs_handler_confirm()
106 lws_sql_purify(esc, u.username, sizeof(esc) - 1)); in lwsgs_handler_confirm()
159 char cookie[1024], s[256], esc[96]; in lwsgs_handler_forgot() local
172 lws_sql_purify(esc, &cookie[6], sizeof(esc) - 1)); in lwsgs_handler_forgot()
193 lws_sql_purify(esc, u.username, sizeof(esc) - 1)); in lwsgs_handler_forgot()
248 char s[256], esc[96], *pc; in lwsgs_handler_check() local
276 colname[n], lws_sql_purify(esc, pc, sizeof(esc) - 1)); in lwsgs_handler_check()
[all …]
Dutils.c112 char s[200], esc[96], esc1[96]; in lwsgw_update_session() local
122 lws_sql_purify(esc, user, sizeof(esc)), in lwsgw_update_session()
226 char s[150], esc[96]; in lwsgs_lookup_session() local
232 lws_sql_purify(esc, sid->id, sizeof(esc) - 1)); in lwsgs_lookup_session()
299 char s[150], esc[96]; in lwsgs_lookup_user() local
305 lws_sql_purify(esc, username, sizeof(esc) - 1)); in lwsgs_lookup_user()
324 char s[300], esc[96], esc1[96]; in lwsgs_new_session_id() local
347 lws_sql_purify(esc, sid->id, sizeof(esc) - 1), in lwsgs_new_session_id()
/external/nanopb-c/tests/site_scons/
Dsite_init.py48 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/
Dsite_init.py48 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/curl/tests/unit/
Dunit1605.c47 char *esc; variable
49 esc = curl_easy_escape(easy, "", -1);
50 fail_unless(esc == NULL, "negative string length can't work");
52 esc = curl_easy_unescape(easy, "%41%41%41%41", -1, &len);
53 fail_unless(esc == NULL, "negative string length can't work");
/external/rust/crates/nom/src/bytes/
Dmacros.rs524 named!(esc, escaped!(call!(alpha), '\\', one_of!("\"n\\"))); in escaping()
525 assert_eq!(esc(&b"abcd;"[..]), Ok((&b";"[..], &b"abcd"[..]))); in escaping()
526 assert_eq!(esc(&b"ab\\\"cd;"[..]), Ok((&b";"[..], &b"ab\\\"cd"[..]))); in escaping()
527 assert_eq!(esc(&b"\\\"abcd;"[..]), Ok((&b";"[..], &b"\\\"abcd"[..]))); in escaping()
528 assert_eq!(esc(&b"\\n;"[..]), Ok((&b";"[..], &b"\\n"[..]))); in escaping()
529 assert_eq!(esc(&b"ab\\\"12"[..]), Ok((&b"12"[..], &b"ab\\\""[..]))); in escaping()
530 … assert_eq!(esc(&b"AB\\"[..]), Err(Err::Error(error_position!(&b"AB\\"[..], ErrorKind::Escaped)))); in escaping()
532 esc(&b"AB\\A"[..]), in escaping()
547 named!(esc<&str, &str>, escaped!(call!(alpha), '\\', one_of!("\"n\\")));
548 assert_eq!(esc("abcd;"), Ok((";", "abcd")));
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/
DCharTypes.java281 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()
DCharacterEscapes.java68 int[] esc = CharTypes.get7BitOutputEscapes(); in standardAsciiEscapesForJSON() local
69 return Arrays.copyOf(esc, esc.length); in standardAsciiEscapesForJSON()
/external/llvm-project/llvm/test/Analysis/CFLAliasAnalysis/Andersen/
Dattrs-below.ll9 ; CHECK: NoAlias: i64* %esc, i64*** %p
10 ; CHECK: NoAlias: i64* %esc, i64* %q
14 ; CHECK: MayAlias: i64* %esc, i64* %unknown
16 ; CHECK: MayAlias: i64* %esc, i64** %pdrf
19 ; CHECK: MayAlias: i64* %esc, i64* %pdrf2
22 %esc = alloca i64, align 8
23 %escint = ptrtoint i64* %esc to i64
/external/llvm/test/Transforms/InstCombine/
Dobjsize.ll108 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 …]
Dobjsize-64.ll11 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/owasp/sanitizer/src/main/org/owasp/html/
DCssGrammar.java168 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/python/cpython2/Lib/json/
Ddecoder.py64 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/Lib/json/
Ddecoder.py60 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/llvm-project/llvm/test/DebugInfo/Generic/
Dmem2reg-promote-alloca-2.ll4 ;; that instcombine LowerDbgDeclare inserted before the call to 'esc' when
5 ;; promoting the alloca %local after 'esc' has been inlined. Without this we
16 ;; static void esc(long *e) {
25 ;; esc(&local);
56 br i1 %tobool.not.i, label %esc.exit, label %if.then.i, !dbg !43
62 br label %esc.exit, !dbg !46
64 esc.exit: ; preds = %entry, %if.then.i
104 !27 = distinct !DISubprogram(name: "esc", scope: !3, file: !3, line: 5, type: !28, scopeLine: 5, fl…
Dmem2reg-promote-alloca-3.ll4 ;; that instcombine LowerDbgDeclare inserted before the call to 'esc' when
5 ;; promoting the alloca %local after 'esc' has been inlined. Without this we
13 ;; static void esc(unsigned char **c) {
18 ;; esc(&local);
71 !22 = distinct !DISubprogram(name: "esc", scope: !1, file: !1, line: 2, type: !23, scopeLine: 2, fl…
/external/python/cpython2/Lib/lib2to3/pgen2/
Dliterals.py22 esc = simple_escapes.get(tail)
23 if esc is not None:
24 return esc
/external/python/cpython3/Lib/lib2to3/pgen2/
Dliterals.py22 esc = simple_escapes.get(tail)
23 if esc is not None:
24 return esc
/external/wpa_supplicant_8/src/utils/
Dedit.c763 static int esc = -1; in edit_read_key() local
774 if (esc >= 0) { 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()
789 if (esc == 1) { in edit_read_key()
792 esc = -1; in edit_read_key()
798 if (esc > 1) { in edit_read_key()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DJsonGeneratorImpl.java179 public JsonGenerator setCharacterEscapes(CharacterEscapes esc) in setCharacterEscapes() argument
181 _characterEscapes = esc; in setCharacterEscapes()
182 if (esc == null) { // revert to standard escapes in setCharacterEscapes()
185 _outputEscapes = esc.getEscapeCodesForAscii(); in setCharacterEscapes()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dobjsize-64.ll11 define i64 @f1(i8 **%esc) {
18 store i8* %call, i8** %esc
24 define i64 @f2(i8** %esc) nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personali…
44 store i8* %call, i8** %esc
Dobjsize.ll139 define i32 @test4(i8** %esc) nounwind ssp {
154 store i8* %1, i8** %esc
197 define i32 @test7(i8** %esc) {
204 store i8* %alloc, i8** %esc
212 define i32 @test8(i8** %esc) {
219 store i8* %alloc, i8** %esc
228 define i32 @test9(i8** %esc) {
235 store i8* %call, i8** %esc, align 8
240 define i32 @test10(i8** %esc) {
247 store i8* %call, i8** %esc, align 8
[all …]
/external/llvm-project/debuginfo-tests/dexter-tests/memvars/
Dptr-to.c15 void esc(int* p) { in esc() function
23 esc(plocal); // DexLabel('s1') in main()
Dconst-branch.c14 void esc(int* p) { in esc() function
26 esc(&param); //// alloca is live until here DexLabel('s1') in fun()
Dstruct-dse.c16 void esc(struct Nums* nums) { in esc() function
28 esc(&nums); //// Force nums to live on the stack. in main()

123