Home
last modified time | relevance | path

Searched refs:src_end (Results 1 – 9 of 9) sorted by relevance

/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_api_codec.c85 const duk_uint8_t *src_end; in duk__base64_encode_helper() local
87 src_end = src + srclen; in duk__base64_encode_helper()
89 while (src < src_end) { in duk__base64_encode_helper()
95 if (src >= src_end) { in duk__base64_encode_helper()
144 const duk_uint8_t *src_end; in duk__base64_decode_helper() local
147 src_end = src + srclen; in duk__base64_decode_helper()
148 src_end_safe = src_end - 4; /* if 'src < src_end_safe', safe to read 4 bytes */ in duk__base64_decode_helper()
166 (const void *) src, (const void *) src_end_safe, (const void *) src_end)); in duk__base64_decode_helper()
193 … (const void *) src, (const void *) src_end, (long) n_chars, (long) n_equal, (long) t)); in duk__base64_decode_helper()
195 if (DUK_UNLIKELY(src >= src_end)) { in duk__base64_decode_helper()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_api_codec.c85 const duk_uint8_t *src_end; in duk__base64_encode_helper() local
87 src_end = src + srclen; in duk__base64_encode_helper()
89 while (src < src_end) { in duk__base64_encode_helper()
95 if (src >= src_end) { in duk__base64_encode_helper()
144 const duk_uint8_t *src_end; in duk__base64_decode_helper() local
147 src_end = src + srclen; in duk__base64_decode_helper()
148 src_end_safe = src_end - 4; /* if 'src < src_end_safe', safe to read 4 bytes */ in duk__base64_decode_helper()
166 (const void *) src, (const void *) src_end_safe, (const void *) src_end)); in duk__base64_decode_helper()
193 … (const void *) src, (const void *) src_end, (long) n_chars, (long) n_equal, (long) t)); in duk__base64_decode_helper()
195 if (DUK_UNLIKELY(src >= src_end)) { in duk__base64_decode_helper()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dlstrlib.c172 const char *src_end; /* end (`\0') of source string */ member
290 while (++s < ms->src_end) { in matchbalance()
304 while ((s+i)<ms->src_end && singlematch(uchar(*(s+i)), p, ep)) in max_expand()
322 else if (s<ms->src_end && singlematch(uchar(*s), p, ep)) in min_expand()
358 if ((size_t)(ms->src_end-s) >= len && in match_capture()
411 return (s == ms->src_end) ? s : NULL; /* check end of string */ in match()
416 int m = s<ms->src_end && singlematch(uchar(*s), p, ep); in match()
518 ms.src_end = s+l1; in str_find_aux()
531 } while (s1++ < ms.src_end && !anchor); in str_find_aux()
556 ms.src_end = s+ls; in gmatch_aux()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dlstrlib.c201 const char *src_end; /* end ('\0') of source string */ member
311 if (s >= ms->src_end) in singlematch()
335 while (++s < ms->src_end) { in matchbalance()
403 if ((size_t)(ms->src_end-s) >= len && in match_capture()
430 s = (s == ms->src_end) ? s : NULL; /* check end of string */ in match()
607 ms.src_end = s + ls; in str_find_aux()
622 } while (s1++ < ms.src_end && !anchor); in str_find_aux()
648 ms.src_end = s+ls; in gmatch_aux()
651 src <= ms.src_end; in gmatch_aux()
755 ms.src_end = src+srcl; in str_gsub()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dlstrlib.c216 const char *src_end; /* end ('\0') of source string */ member
327 if (s >= ms->src_end) in singlematch()
350 while (++s < ms->src_end) { in matchbalance()
418 if ((size_t)(ms->src_end-s) >= len && in match_capture()
445 s = (s == ms->src_end) ? s : NULL; /* check end of string */ in match()
596 ms->src_end = s + ls; in prepstate()
647 } while (s1++ < ms.src_end && !anchor); in str_find_aux()
677 for (src = gm->src; src <= gm->ms.src_end; src++) { in gmatch_aux()
789 else if (src < ms.src_end) /* otherwise, skip one character */ in str_gsub()
794 luaL_addlstring(&b, src, ms.src_end-src); in str_gsub()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/
Dduktape.c12981 const duk_uint8_t *src_end; in duk__base64_encode_helper() local
12983 src_end = src + srclen; in duk__base64_encode_helper()
12985 while (src < src_end) { in duk__base64_encode_helper()
12991 if (src >= src_end) { in duk__base64_encode_helper()
13040 const duk_uint8_t *src_end; in duk__base64_decode_helper() local
13043 src_end = src + srclen; in duk__base64_decode_helper()
13044 src_end_safe = src_end - 4; /* if 'src < src_end_safe', safe to read 4 bytes */ in duk__base64_decode_helper()
13062 (const void *) src, (const void *) src_end_safe, (const void *) src_end)); in duk__base64_decode_helper()
13089 … (const void *) src, (const void *) src_end, (long) n_chars, (long) n_equal, (long) t)); in duk__base64_decode_helper()
13091 if (DUK_UNLIKELY(src >= src_end)) { in duk__base64_decode_helper()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/
Dduktape.c13045 const duk_uint8_t *src_end; in duk__base64_encode_helper() local
13047 src_end = src + srclen; in duk__base64_encode_helper()
13049 while (src < src_end) { in duk__base64_encode_helper()
13055 if (src >= src_end) { in duk__base64_encode_helper()
13104 const duk_uint8_t *src_end; in duk__base64_decode_helper() local
13107 src_end = src + srclen; in duk__base64_decode_helper()
13108 src_end_safe = src_end - 4; /* if 'src < src_end_safe', safe to read 4 bytes */ in duk__base64_decode_helper()
13126 (const void *) src, (const void *) src_end_safe, (const void *) src_end)); in duk__base64_decode_helper()
13153 … (const void *) src, (const void *) src_end, (long) n_chars, (long) n_equal, (long) t)); in duk__base64_decode_helper()
13155 if (DUK_UNLIKELY(src >= src_end)) { in duk__base64_decode_helper()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src/
Dduktape.c13029 const duk_uint8_t *src_end; in duk__base64_encode_helper() local
13031 src_end = src + srclen; in duk__base64_encode_helper()
13033 while (src < src_end) { in duk__base64_encode_helper()
13039 if (src >= src_end) { in duk__base64_encode_helper()
13088 const duk_uint8_t *src_end; in duk__base64_decode_helper() local
13091 src_end = src + srclen; in duk__base64_decode_helper()
13092 src_end_safe = src_end - 4; /* if 'src < src_end_safe', safe to read 4 bytes */ in duk__base64_decode_helper()
13110 (const void *) src, (const void *) src_end_safe, (const void *) src_end)); in duk__base64_decode_helper()
13137 … (const void *) src, (const void *) src_end, (long) n_chars, (long) n_equal, (long) t)); in duk__base64_decode_helper()
13139 if (DUK_UNLIKELY(src >= src_end)) { in duk__base64_decode_helper()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/
Dduktape.c12997 const duk_uint8_t *src_end; in duk__base64_encode_helper() local
12999 src_end = src + srclen; in duk__base64_encode_helper()
13001 while (src < src_end) { in duk__base64_encode_helper()
13007 if (src >= src_end) { in duk__base64_encode_helper()
13056 const duk_uint8_t *src_end; in duk__base64_decode_helper() local
13059 src_end = src + srclen; in duk__base64_decode_helper()
13060 src_end_safe = src_end - 4; /* if 'src < src_end_safe', safe to read 4 bytes */ in duk__base64_decode_helper()
13078 (const void *) src, (const void *) src_end_safe, (const void *) src_end)); in duk__base64_decode_helper()
13105 … (const void *) src, (const void *) src_end, (long) n_chars, (long) n_equal, (long) t)); in duk__base64_decode_helper()
13107 if (DUK_UNLIKELY(src >= src_end)) { in duk__base64_decode_helper()
[all …]