Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 104) sorted by relevance

12345

/trafficserver/lib/yamlcpp/
H A DMakefile.am26 src/convert.cpp \
28 src/emit.cpp \
30 src/emitter.cpp \
34 src/exp.cpp \
35 src/memory.cpp \
36 src/node.cpp \
40 src/null.cpp \
42 src/parse.cpp \
43 src/parser.cpp \
51 src/stream.cpp \
[all …]
/trafficserver/iocore/net/quic/test/
H A Dtest_QUICTypeUtil.cc75 uint64_t src = 151288809941952652; variable
79 QUICVariableInt::encode(dst, sizeof(dst), len, src);
88 uint64_t src = 494878333; variable
92 QUICVariableInt::encode(dst, sizeof(dst), len, src);
101 uint64_t src = 15293; variable
114 uint64_t src = 37; variable
129 QUICVariableInt::decode(dst, len, src, sizeof(src));
140 QUICVariableInt::decode(dst, len, src, sizeof(src));
151 QUICVariableInt::decode(dst, len, src, sizeof(src));
162 QUICVariableInt::decode(dst, len, src, sizeof(src));
[all …]
/trafficserver/src/tscpp/util/
H A DTextView.cc104 if (src.ltrim_if(&isspace) && src) { in svtoi()
108 if ('-' == *src) { in svtoi()
109 ++src; in svtoi()
115 if ('0' == *src) { in svtoi()
116 ++src; in svtoi()
118 if (src && ('x' == *src || 'X' == *src)) { in svtoi()
119 ++src; in svtoi()
128 zret = svto_radix<8>(src); in svtoi()
131 zret = svto_radix<10>(src); in svtoi()
134 zret = svto_radix<16>(src); in svtoi()
[all …]
/trafficserver/plugins/lua/
H A Dts_lua_crypto.c78 u_char *src; in ts_lua_md5() local
90 src = (u_char *)""; in ts_lua_md5()
111 u_char *src; in ts_lua_md5_bin() local
122 src = (u_char *)""; in ts_lua_md5_bin()
141 u_char *src; in ts_lua_sha1() local
153 src = (u_char *)""; in ts_lua_sha1()
173 u_char *src; in ts_lua_sha1_bin() local
203 u_char *src; in ts_lua_base64_encode() local
235 u_char *src; in ts_lua_base64_decode() local
268 u_char *src, *dst; in ts_lua_escape_uri() local
[all …]
H A Dts_lua_string.c22 ts_lua_hex_dump(u_char *dst, u_char *src, size_t len) in ts_lua_hex_dump() argument
27 *dst++ = hex[*src >> 4]; in ts_lua_hex_dump()
28 *dst++ = hex[*src++ & 0xf]; in ts_lua_hex_dump()
/trafficserver/iocore/net/quic/
H A DQUICIntUtil.cc32 return 1 << (src[0] >> 6); in size()
39 if (src > 4611686018427387903) { in size()
42 } else if (src > 1073741823) { in size()
44 } else if (src > 16383) { in size()
46 } else if (src > 63) { in size()
59 if (src > 4611686018427387903) { in encode()
62 } else if (src > 1073741823) { in encode()
64 } else if (src > 16383) { in encode()
66 } else if (src > 63) { in encode()
90 len = 1 << (src[0] >> 6); in decode()
[all …]
H A DQUICIntUtil.h32 static size_t size(const uint8_t *src);
33 static size_t size(uint64_t src);
34 static int encode(uint8_t *dst, size_t dst_len, size_t &len, uint64_t src);
35 static int decode(uint64_t &dst, size_t &len, const uint8_t *src, size_t src_len = 8);
H A DQUICTypes.cc44 *dst = hex_digits[src[i] >> 4]; in to_hex_str()
45 *(dst + 1) = hex_digits[src[i] & 0xf]; in to_hex_str()
295 ats_ip_nptop(src, reinterpret_cast<char *>(data), sizeof(data)); in QUICResumptionToken()
319 QUICResumptionToken::is_valid(const IpEndpoint &src) const in is_valid()
345 ats_ip_nptop(src, reinterpret_cast<char *>(data), sizeof(data)); in QUICRetryToken()
363 QUICRetryToken::is_valid(const IpEndpoint &src) const in is_valid()
365 return *this == QUICRetryToken(src, this->original_dcid()); in is_valid()
521 QUICFiveTuple::QUICFiveTuple(IpEndpoint src, IpEndpoint dst, int protocol) : _source(src), _destina… in QUICFiveTuple() argument
524 this->_hash_code = src.port() + dst.port() + protocol; in QUICFiveTuple()
529 this->_source = src; in update()
[all …]
/trafficserver/iocore/cache/test/
H A Dstub.cc103 if (src.ltrim_if(&isspace) && src) { in svtoi()
107 if ('-' == *src) { in svtoi()
108 ++src; in svtoi()
114 if ('0' == *src) { in svtoi()
115 ++src; in svtoi()
117 if (src && ('x' == *src || 'X' == *src)) { in svtoi()
118 ++src; in svtoi()
127 zret = svto_radix<8>(src); in svtoi()
130 zret = svto_radix<10>(src); in svtoi()
133 zret = svto_radix<16>(src); in svtoi()
[all …]
/trafficserver/plugins/experimental/access_control/
H A Dutils.cc83 src++; in hexEncode()
127 *dst++ = hex2uchar(*src) << 4 | hex2uchar(*(src + 1)); in hexDecode()
128 src += 2; in hexDecode()
148 if (isalnum(*src) || *src == '-' || *src == '_' || *src == '.' || *src == '~') { in urlEncode()
149 *dst++ = *src; in urlEncode()
157 src++; in urlEncode()
178 if (src[1] && src[2]) { in urlDecode()
179 int u = hex2uchar(*(src + 1)) << 4 | hex2uchar(*(src + 2)); in urlDecode()
181 src += 2; in urlDecode()
186 *dst++ = *src; in urlDecode()
[all …]
/trafficserver/src/tscore/
H A Dink_string.cc39 dst[i] = src[i]; in ink_memcpy_until_char()
41 return &src[i]; in ink_memcpy_until_char()
128 ink_string_append(char *dest, char *src, int n) in ink_string_append() argument
132 ink_assert(src != nullptr); in ink_string_append()
157 s = src; in ink_string_append()
174 ink_strlcpy(char *dst, const char *src, size_t siz) in ink_strlcpy() argument
177 const char *s = src; in ink_strlcpy()
199 return (s - src - 1); /* count does not include NUL */ in ink_strlcpy()
205 ink_strlcat(char *dst, const char *src, size_t siz) in ink_strlcat() argument
208 const char *s = src; in ink_strlcat()
[all …]
H A Dink_inet.cc198 if (src) { in ats_ip_parse()
202 if ('[' == *src) { in ats_ip_parse()
217 ++src; // skip bracket. in ats_ip_parse()
219 if (':' == *src) { in ats_ip_parse()
221 ++src; in ats_ip_parse()
230 *addr = src; in ats_ip_parse()
231 src.clear(); in ats_ip_parse()
235 ts::TextView tmp{src}; in ats_ip_parse()
244 *rest = src; in ats_ip_parse()
300 if (idx != src.npos) { in ats_ip_range_parse()
[all …]
H A DIpMapConf.cc44 char *src = line + *i; in read_addr() local
49 if ((*i < n) && ('[' == *src)) { in read_addr()
50 ++*i, ++src, bracketed_p = true; in read_addr()
53 …= 0; k < INET6_ADDRSTRLEN && *i < n && (isxdigit(*src) || '.' == *src || ':' == *src); ++k, ++*i, … in read_addr()
54 dst[k] = *src; in read_addr()
57 if (bracketed_p && (!(*i < n) || (']' != *src))) { in read_addr()
H A Dink_queue_utils.cc69 ink_queue_load_64(void *dst, void *src) in ink_queue_load_64() argument
72 int32_t src_version = (*(head_p *)src).s.version; in ink_queue_load_64()
73 void *src_pointer = (*(head_p *)src).s.pointer; in ink_queue_load_64()
78 *static_cast<void **>(dst) = *static_cast<void **>(src); in ink_queue_load_64()
/trafficserver/proxy/hdrs/
H A DMakefile.am65 $(top_builddir)/src/tscore/libtscore.la \
66 $(top_builddir)/src/tscpp/util/libtscpputil.la
78 $(top_builddir)/src/tscore/libtscore.la \
98 $(top_builddir)/src/tscore/libtscore.la \
100 $(top_builddir)/src/tscore/libtscore.la \
117 $(top_builddir)/src/tscore/libtscore.la \
119 $(top_builddir)/src/tscore/libtscore.la \
129 $(top_builddir)/src/tscore/libtscore.la \
130 $(top_builddir)/src/tscpp/util/libtscpputil.la
142 $(top_builddir)/src/tscore/libtscore.la \
[all …]
H A DHuffmanCodec.cc153 huffman_decode(char *dst_start, const uint8_t *src, uint32_t src_len) in huffman_decode() argument
162 if (*src & (1 << shift)) { in huffman_decode()
180 ++src; in huffman_decode()
199 huffman_encode_append(uint8_t *dst, uint32_t src, int n = 0) in huffman_encode_append() argument
202 *dst++ = ((src >> (8 * j)) & 255); in huffman_encode_append()
208 huffman_encode(uint8_t *dst_start, const uint8_t *src, uint32_t src_len) in huffman_encode() argument
216 const uint32_t hex = huffman_table[src[i]].code_as_hex; in huffman_encode()
217 const uint32_t bit_len = huffman_table[src[i]].bit_len; in huffman_encode()
H A Dtest_Huffmancode.cc78 const uint8_t *src = (const uint8_t *)string; in random_test() local
81 int bytes = huffman_decode(dst_start, src, src_len); in random_test()
146 uint8_t *src; member
165 int64_t encoded_len = huffman_encode(dst, i.src, i.src_len); in encode_test()
/trafficserver/plugins/experimental/inliner/
H A Dinliner-handler.cc95 std::string src; in handleImage() local
99 src = item.second; in handleImage()
104 …(src.find("http://") == 0 || src.find("https://") == 0) && src.find("inline", src.find('#')) != st… in handleImage()
124 src.erase(src.find('#')); in handleImage()
125 …cache::fetch<CacheHandler>(src + VERSION, src, original, classes, generateId(), sink2_->branch(), … in handleImage()
/trafficserver/proxy/
H A DHostStatus.h114 HostStatRec(const HostStatRec &src) in HostStatRec()
116 status = src.status; in HostStatRec()
117 reasons = src.reasons; in HostStatRec()
118 active_marked_down = src.active_marked_down; in HostStatRec()
119 active_down_time = src.active_down_time; in HostStatRec()
120 local_marked_down = src.local_marked_down; in HostStatRec()
121 local_down_time = src.local_down_time; in HostStatRec()
122 manual_marked_down = src.manual_marked_down; in HostStatRec()
123 manual_down_time = src.manual_down_time; in HostStatRec()
124 self_detect_marked_down = src.self_detect_marked_down; in HostStatRec()
/trafficserver/include/tscore/
H A Dink_queue.h63 void ink_queue_load_64(void *dst, void *src);
66 #define INK_QUEUE_LD64(dst, src) *((uint64_t *)&(dst)) = *((uint64_t *)&(src)) argument
68 #define INK_QUEUE_LD64(dst, src) (ink_queue_load_64((void *)&(dst), (void *)&(src))) argument
72 #define INK_QUEUE_LD(dst, src) \ argument
74 *(__int128_t *)&(dst) = __sync_val_compare_and_swap((__int128_t *)&(src), 0, 0); \
77 #define INK_QUEUE_LD(dst, src) INK_QUEUE_LD64(dst, src) argument
/trafficserver/mgmt/api/
H A DMakefile.am68 $(top_builddir)/src/tscore/libtscore.la
73 $(top_builddir)/src/tscore/libtscore.la \
81 $(top_builddir)/src/tscpp/util/libtscpputil.la \
83 $(top_builddir)/src/tscpp/util/libtscpputil.la \
84 $(top_builddir)/src/tscore/libtscore.la \
85 $(top_builddir)/src/tscpp/util/libtscpputil.la \
/trafficserver/plugins/experimental/tls_bridge/
H A Dregex.cc103 Regex::exec(std::string_view src) const in exec()
106 return exec(src, ovector, 30); in exec()
110 Regex::exec(std::string_view src, int *ovector, int ovecsize) const in exec() argument
114 rv = pcre_exec(regex, regex_extra, src.data(), src.size(), 0, 0, ovector, ovecsize); in exec()
/trafficserver/proxy/http2/
H A DMakefile.am73 $(top_builddir)/src/tscore/libtscore.la \
74 $(top_builddir)/src/tscpp/util/libtscpputil.la
85 $(top_builddir)/src/tscore/libtscore.la \
86 $(top_builddir)/src/tscpp/util/libtscpputil.la
98 $(top_builddir)/src/tscore/libtscore.la \
99 $(top_builddir)/src/tscpp/util/libtscpputil.la \
/trafficserver/proxy/logging/
H A DMakefile.am88 $(top_builddir)/src/tscore/libtscore.la \
89 $(top_builddir)/src/tscpp/util/libtscpputil.la \
103 $(top_builddir)/src/tscore/libtscore.la \
104 $(top_builddir)/src/tscpp/util/libtscpputil.la \
118 $(top_builddir)/src/tscore/libtscore.la \
119 $(top_builddir)/src/tscpp/util/libtscpputil.la \
/trafficserver/plugins/s3_auth/
H A Ds3_auth.cc232 copy_changes_from(const S3Config *src) in copy_changes_from() argument
234 if (src->_secret) { in copy_changes_from()
236 _secret_len = src->_secret_len; in copy_changes_from()
239 if (src->_keyid) { in copy_changes_from()
241 _keyid_len = src->_keyid_len; in copy_changes_from()
244 if (src->_token) { in copy_changes_from()
246 _token_len = src->_token_len; in copy_changes_from()
249 if (src->_version_modified) { in copy_changes_from()
254 if (src->_virt_host_modified) { in copy_changes_from()
269 if (src->_region_map_modified) { in copy_changes_from()
[all …]

Completed in 201 milliseconds

12345