Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 141) sorted by relevance

123456

/trafficserver/lib/yamlcpp/test/integration/
H A Demitter_test.cpp40 Emitter out; member in YAML::__anonaeb6aad30110::EmitterTest
51 out << n; in TEST_F()
57 out << "eggs"; in TEST_F()
59 out << "milk"; in TEST_F()
66 out << Flow; in TEST_F()
70 out << "Moe"; in TEST_F()
77 out << Flow; in TEST_F()
96 out << "one"; in TEST_F()
116 out << Flow; in TEST_F()
170 out << Flow; in TEST_F()
[all …]
H A Dgen_emitter_test.cpp14 Emitter out; in TEST_F() local
16 out << BeginDoc; in TEST_F()
17 out << "foo"; in TEST_F()
18 out << EndDoc; in TEST_F()
27 Emitter out; in TEST_F() local
30 out << "foo"; in TEST_F()
31 out << EndDoc; in TEST_F()
40 Emitter out; in TEST_F() local
42 out << "foo"; in TEST_F()
53 Emitter out; in TEST_F() local
[all …]
/trafficserver/lib/yamlcpp/src/
H A Demitterutils.cpp231 out << "\\"; in WriteDoubleQuoteEscapeSequence()
234 out << "x"; in WriteDoubleQuoteEscapeSequence()
293 out << "'"; in WriteSingleQuotedString()
308 out << "'"; in WriteSingleQuotedString()
314 out << "\""; in WriteDoubleQuotedString()
352 out << "\""; in WriteDoubleQuotedString()
374 out << ch; in WriteChar()
415 out << "*"; in WriteAlias()
420 out << "&"; in WriteAnchor()
447 out << "!"; in WriteTagWithPrefix()
[all …]
H A Dbinary.cpp14 char *out = &ret[0]; in EncodeBase64() local
20 *out++ = encoding[data[0] >> 2]; in EncodeBase64()
32 *out++ = PAD; in EncodeBase64()
33 *out++ = PAD; in EncodeBase64()
39 *out++ = PAD; in EncodeBase64()
43 ret.resize(out - &ret[0]); in EncodeBase64()
74 unsigned char *out = &ret[0]; in DecodeBase64() local
88 *out++ = value >> 16; in DecodeBase64()
90 *out++ = value >> 8; in DecodeBase64()
92 *out++ = value; in DecodeBase64()
[all …]
H A Demitterutils.h33 bool WriteSingleQuotedString(ostream_wrapper& out, const std::string& str);
34 bool WriteDoubleQuotedString(ostream_wrapper& out, const std::string& str,
36 bool WriteLiteralString(ostream_wrapper& out, const std::string& str,
38 bool WriteChar(ostream_wrapper& out, char ch);
39 bool WriteComment(ostream_wrapper& out, const std::string& str,
41 bool WriteAlias(ostream_wrapper& out, const std::string& str);
42 bool WriteAnchor(ostream_wrapper& out, const std::string& str);
43 bool WriteTag(ostream_wrapper& out, const std::string& str, bool verbatim);
44 bool WriteTagWithPrefix(ostream_wrapper& out, const std::string& prefix,
46 bool WriteBinary(ostream_wrapper& out, const Binary& binary);
H A Dindentation.h21 inline ostream_wrapper& operator<<(ostream_wrapper& out, in operator <<() argument
24 out << ' '; in operator <<()
25 return out; in operator <<()
33 inline ostream_wrapper& operator<<(ostream_wrapper& out, in operator <<() argument
35 while (out.col() < indent.n) in operator <<()
36 out << ' '; in operator <<()
37 return out; in operator <<()
H A Demit.cpp7 Emitter& operator<<(Emitter& out, const Node& node) { in operator <<() argument
8 EmitFromEvents emitFromEvents(out); in operator <<()
11 return out; in operator <<()
14 std::ostream& operator<<(std::ostream& out, const Node& node) { in operator <<() argument
15 Emitter emitter(out); in operator <<()
17 return out; in operator <<()
H A Dtoken.h54 friend std::ostream& operator<<(std::ostream& out, const Token& token) { in operator <<()
55 out << TokenNames[token.type] << std::string(": ") << token.value; in operator <<()
57 out << std::string(" ") << token.params[i]; in operator <<()
58 return out; in operator <<()
/trafficserver/plugins/experimental/access_control/
H A Dutils.cc78 char *dst = out; in hexEncode()
79 char *dstEnd = out + outLen; in hexEncode()
85 return dst - out; in hexEncode()
123 char *dst = out; in hexDecode()
130 return dst - out; in hexDecode()
146 char *dst = out; in urlEncode()
159 return dst - out; in urlEncode()
175 char *dst = out; in urlDecode()
190 return dst - out; in urlDecode()
443 char *cur = out;
[all …]
H A Dutils.h37 size_t hexEncode(const char *in, size_t inLen, char *out, size_t outLen);
38 size_t hexDecode(const char *in, size_t inLen, char *out, size_t outLen);
40 size_t urlEncode(const char *in, size_t inLen, char *out, size_t outLen);
41 size_t urlDecode(const char *in, size_t inLen, char *out, size_t outLen);
48 …e, const char *data, size_t dataLen, const char *key, size_t keyLen, char *out,
54 size_t cryptoBase64Encode(const char *in, size_t inLen, char *out, size_t outLen);
55 size_t cryptoBase64Decode(const char *in, size_t inLen, char *out, size_t outLen);
56 size_t cryptoModifiedBase64Encode(const char *in, size_t inLen, char *out, size_t outLen);
57 size_t cryptoModifiedBase64Decode(const char *in, size_t inLen, char *out, size_t outLen);
/trafficserver/lib/yamlcpp/test/
H A Dcreate-emitter-tests.py152 def __init__(self, out): argument
153 self.out = out
173 def create_emitter_tests(out): argument
174 out = Writer(out)
184 out.writeln('')
190 out.writeln('using %s;' % using)
191 out.writeln('')
195 out.writeln('')
197 out.writeln('')
210 out.writeln('')
[all …]
/trafficserver/src/wccp/
H A DWccpConfig.cc99 std::ostringstream out; in Unable_To_Create_Service_Group() local
119 std::ostringstream out; in Service_Type_Defaulted() local
128 std::ostringstream out; in Service_Type_Invalid() local
136 std::ostringstream out; in Prop_Not_Found() local
144 std::ostringstream out; in Prop_Invalid_Type() local
152 std::ostringstream out; in Svc_Prop_Out_Of_Range() local
161 std::ostringstream out; in Svc_Prop_Ignored() local
169 std::ostringstream out; in Svc_Ports_Too_Many() local
178 std::ostringstream out; in Svc_Ports_None_Valid() local
186 std::ostringstream out; in Svc_Ports_Not_Found() local
[all …]
/trafficserver/lib/records/
H A DRecHttp.cc530 HttpProxyPort::print(char *out, size_t n) in print() argument
546 out[zret++] = ':'; in print()
557 out[zret++] = ':'; in print()
568 out[zret++] = ':'; in print()
570 zret += snprintf(out + zret, n - zret, "%d", m_port); in print()
579 out[zret++] = ':'; in print()
581 zret += snprintf(out + zret, n - zret, "fd=%d", m_fd); in print()
591 zret += snprintf(out + zret, n - zret, ":%s", OPT_IPV6); in print()
600 zret += snprintf(out + zret, n - zret, ":%s", OPT_SSL); in print()
602 zret += snprintf(out + zret, n - zret, ":%s", OPT_QUIC); in print()
[all …]
/trafficserver/plugins/experimental/cookie_remap/
H A Dstrip.cc185 get_stripped(const char *in, ssize_t in_len, char *out, int *out_len, unsigned int flags) in get_stripped() argument
192 …if (in == nullptr || in_len < 0 || out_len == nullptr || *out_len < 0 || (out == nullptr && *out_l… in get_stripped()
194 if (out != nullptr && out_len != nullptr && *out_len > 0) { in get_stripped()
195 *out = '\0'; in get_stripped()
202 (*out_len) -= out ? 1 : 0; /* make space for '\0' unless NULL out */ in get_stripped()
209 w = out; in get_stripped()
211 out_end = out + *out_len; in get_stripped()
235 *out_len = w - out; in get_stripped()
244 write_char_if_room(&out, out_end, '\0'); /* make out the empty string */ in get_stripped()
/trafficserver/iocore/net/quic/
H A DQUICDebugNames.h52 to_hex(uint8_t *out, const uint8_t *in, int in_len) in to_hex() argument
57 out[i * 2] = (u4 < 10) ? ('0' + u4) : ('a' + u4 - 10); in to_hex()
58 out[i * 2 + 1] = (l4 < 10) ? ('0' + l4) : ('a' + l4 - 10); in to_hex()
60 out[in_len * 2] = 0; in to_hex()
H A DQUICKeyGenerator.cc104 QUICKeyGenerator::_generate_initial_secret(uint8_t *out, size_t *out_len, QUICHKDF &hkdf, QUICConne… in _generate_initial_secret() argument
125 …hkdf.expand(out, out_len, initial_secret, initial_secret_len, reinterpret_cast<const char *>(label… in _generate_initial_secret()
130 QUICKeyGenerator::_generate_key(uint8_t *out, size_t *out_len, QUICHKDF &hkdf, const uint8_t *secre… in _generate_key() argument
133 …return hkdf.expand(out, out_len, secret, secret_len, LABEL_FOR_KEY.data(), LABEL_FOR_KEY.length(),… in _generate_key()
137 QUICKeyGenerator::_generate_iv(uint8_t *out, size_t *out_len, QUICHKDF &hkdf, const uint8_t *secret… in _generate_iv() argument
140 …return hkdf.expand(out, out_len, secret, secret_len, LABEL_FOR_IV.data(), LABEL_FOR_IV.length(), i… in _generate_iv()
144 QUICKeyGenerator::_generate_hp(uint8_t *out, size_t *out_len, QUICHKDF &hkdf, const uint8_t *secret… in _generate_hp() argument
147 …return hkdf.expand(out, out_len, secret, secret_len, LABEL_FOR_HP.data(), LABEL_FOR_HP.length(), h… in _generate_hp()
H A DQUICStreamState.h93 …ateMachine(QUICTransferProgressProvider *in, QUICTransferProgressProvider *out) in QUICUnidirectionalStreamStateMachine() argument
94 : _in_progress(in), _out_progress(out) in QUICUnidirectionalStreamStateMachine()
106 QUICSendStreamStateMachine(QUICTransferProgressProvider *in, QUICTransferProgressProvider *out) in QUICSendStreamStateMachine() argument
107 : QUICUnidirectionalStreamStateMachine(in, out) in QUICSendStreamStateMachine()
128 …QUICReceiveStreamStateMachine(QUICTransferProgressProvider *in, QUICTransferProgressProvider *out) in QUICReceiveStreamStateMachine() argument
129 : QUICUnidirectionalStreamStateMachine(in, out) in QUICReceiveStreamStateMachine()
H A DQUICKeyGenerator.h59 …int _generate_initial_secret(uint8_t *out, size_t *out_len, QUICHKDF &hkdf, QUICConnectionId cid, …
61 …int _generate_key(uint8_t *out, size_t *out_len, QUICHKDF &hkdf, const uint8_t *secret, size_t sec…
63 …int _generate_iv(uint8_t *out, size_t *out_len, QUICHKDF &hkdf, const uint8_t *secret, size_t secr…
64 …int _generate_hp(uint8_t *out, size_t *out_len, QUICHKDF &hkdf, const uint8_t *secret, size_t secr…
H A DQUICHandshake.cc461 QUICHandshakeMsgs out; in do_handshake() local
463 out.buf = out_buf; in do_handshake()
464 out.max_buf_len = MAX_HANDSHAKE_MSG_LEN; in do_handshake()
466 int result = this->_hs_protocol->handshake(&out, &in); in do_handshake()
477 size_t len = out.offsets[index + 1] - out.offsets[index]; in do_handshake()
480 stream->write(out.buf + out.offsets[index], len); in do_handshake()
483 } else if (out.error_code != 0) { in do_handshake()
485 error = std::make_unique<QUICConnectionError>(QUICErrorClass::TRANSPORT, out.error_code); in do_handshake()
/trafficserver/src/tscore/
H A DErrata.cc237 Errata::write(std::ostream &out, int offset, int indent, int shift, char const *lead) const in write() argument
241out << std::setw(indent + offset) << std::setfill(' ') << ((indent > 0 && lead) ? lead : " "); in write()
244 out << m.m_id << " [" << m.m_code << "]: " << m.m_text << std::endl; in write()
246 m.getErrata().write(out, offset, indent + shift, shift, lead); in write()
249 return out; in write()
255 std::ostringstream out; in write() local
257 this->write(out, offset, indent, shift, lead); in write()
258 text = out.str(); in write()
/trafficserver/src/tscpp/util/
H A DTextView.cc94 ts::svtoi(TextView src, TextView *out, int base) in svtoi() argument
98 if (out) { in svtoi()
99 out->clear(); in svtoi()
149 if (out && (src.data() > (neg ? start + 1 : start))) { in svtoi()
150 out->assign(start, src.data()); in svtoi()
/trafficserver/example/plugins/c-api/protocol/test/
H A DProtocolServerTest.java80 System.out.println ("call unmarshalRequest"); in run()
84 System.out.println ("call marshalResponse"); in run()
96 System.out.println("close socket"); in run()
120 System.out.println ("request is " + request); in unmarshalRequest()
162 System.out.println (new String(responseBody)); in marshalResponse()
/trafficserver/iocore/cache/test/
H A Dstub.cc93 ts::svtoi(TextView src, TextView *out, int base) in svtoi() argument
97 if (out) { in svtoi()
98 out->clear(); in svtoi()
148 if (out && (src.data() > (neg ? start + 1 : start))) { in svtoi()
149 out->assign(start, src.data()); in svtoi()
/trafficserver/contrib/
H A Dmake-ssl-multicert27 $OPENSSL genrsa -out ${name}.key 2048
28 $OPENSSL req -new -key ${name}.key -out ${name}.csr \
31 -in ${name}.csr -signkey ${name}.key -out ${name}.crt
/trafficserver/plugins/experimental/header_freq/
H A Dheader_freq.cc92 std::ofstream out; in CB_Command_Log() local
93 out.open(path, std::ios::out | std::ios::app); in CB_Command_Log()
94 if (out.is_open()) { in CB_Command_Log()
95 Log_Data(out); in CB_Command_Log()

Completed in 210 milliseconds

123456