Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 171) sorted by relevance

1234567

/trafficserver/src/tscore/
H A DRegression.cc53 regression_status_string(int status) in regression_status_string() argument
56 status == REGRESSION_TEST_NOT_RUN ? in regression_status_string()
81 t->status = REGRESSION_TEST_INPROGRESS; in start_test()
84 int tresult = t->status; in start_test()
172 int status = REGRESSION_TEST_PASSED; in check_status() local
174 status = run_some(regression_level); in check_status()
176 return status; in check_status()
185 …if ((t->status == REGRESSION_TEST_PASSED || t->status == REGRESSION_TEST_FAILED) && !t->printed) { in check_status()
191 switch (t->status) { in check_status()
276 *status = REGRESSION_TEST_FAILED; in REGRESSION_TEST()
[all …]
/trafficserver/proxy/hdrs/
H A DHdrTest.cc64 status = status & test_comma_vals(); in go()
65 status = status & test_parse_comma_list(); in go()
66 status = status & test_set_comma_vals(); in go()
72 status = status & test_parse_date(); in go()
73 status = status & test_format_date(); in go()
74 status = status & test_url(); in go()
75 status = status & test_arena(); in go()
76 status = status & test_regex(); in go()
77 status = status & test_http_mutation(); in go()
78 status = status & test_mime(); in go()
[all …]
/trafficserver/iocore/net/quic/test/
H A Dtest_QUICVersionNegotiator.cc43 CHECK(vn.status() == QUICVersionNegotiationStatus::NOT_NEGOTIATED);
52 CHECK(vn.status() == QUICVersionNegotiationStatus::NEGOTIATED);
58 CHECK(vn.status() == QUICVersionNegotiationStatus::NOT_NEGOTIATED);
67 CHECK(vn.status() == QUICVersionNegotiationStatus::NEGOTIATED);
73 CHECK(vn.status() == QUICVersionNegotiationStatus::NOT_NEGOTIATED);
82 CHECK(vn.status() == QUICVersionNegotiationStatus::NOT_NEGOTIATED);
99 CHECK(vn.status() == QUICVersionNegotiationStatus::NOT_NEGOTIATED);
107 CHECK(vn.status() == QUICVersionNegotiationStatus::NOT_NEGOTIATED);
122 CHECK(vn.status() == QUICVersionNegotiationStatus::NEGOTIATED);
/trafficserver/tests/gold_tests/pluginTest/uri_signing/
H A Drun_sign.sh83 status=$?
84 if [[ "$status" != 0 ]] ; then
90 status=$?
91 if [[ "$status" != 0 ]] ; then
97 status=$?
98 if [[ "$status" != 0 ]] ; then
/trafficserver/lib/yamlcpp/src/
H A Dsimplekey.cpp15 pIndent->status = IndentMarker::VALID; in Validate()
17 pMapStart->status = Token::VALID; in Validate()
19 pKey->status = Token::VALID; in Validate()
24 pIndent->status = IndentMarker::INVALID; in Invalidate()
26 pMapStart->status = Token::INVALID; in Invalidate()
28 pKey->status = Token::INVALID; in Invalidate()
64 key.pIndent->status = IndentMarker::UNKNOWN; in InsertPotentialSimpleKey()
66 key.pMapStart->status = Token::UNVERIFIED; in InsertPotentialSimpleKey()
73 key.pKey->status = Token::UNVERIFIED; in InsertPotentialSimpleKey()
/trafficserver/include/tscore/
H A DTestBox.h42 TestBox(RegressionTest *test, int *status) : _test(test), _status(status) {} in TestBox()
44 …TestBox(RegressionTest *test, int *status, int rstatus) : _test(test), _status(status) { *this = r… in TestBox()
50 operator=(int status) in operator =()
52 *_status = status; in operator =()
H A DRegression.h67 typedef void TestFunction(RegressionTest *t, int type, int *status); typedef
74 int status; member
105 char *regression_status_string(int status);
/trafficserver/src/traffic_server/
H A DHostStatus.cc98 : status(HOST_STATUS_UP), in HostStatRec()
129 status = HOST_STATUS_UP; in HostStatRec()
131 status = HOST_STATUS_DOWN; in HostStatRec()
276 if (status == HostStatus_t::HOST_STATUS_DOWN) { in setHostStatus()
290 if (status == HostStatus_t::HOST_STATUS_DOWN) { in setHostStatus()
304 if (status == HostStatus_t::HOST_STATUS_DOWN) { in setHostStatus()
318 if (status == HostStatus_t::HOST_STATUS_DOWN) { in setHostStatus()
328 if (status == HostStatus_t::HOST_STATUS_UP) { in setHostStatus()
334 host_stat->status = status; in setHostStatus()
345 if (status == HostStatus_t::HOST_STATUS_UP) { in setHostStatus()
[all …]
H A DCrash.cc91 int status; in crash_logger_init() local
135 if (waitpid(crash_logger_pid, &status, WUNTRACED) > 0) { in crash_logger_init()
136 …Debug("server", "waited on PID %ld, %s", (long)crash_logger_pid, WIFSTOPPED(status) ? "STOPPED" : … in crash_logger_init()
138 if (WIFEXITED(status)) { in crash_logger_init()
139 …' unexpectedly exited with status %d", (const char *)logger, WEXITSTATUS(status)); in crash_logger_init()
151 int status; in crash_logger_invoke() local
168 waitpid(crash_logger_pid, &status, 0); in crash_logger_invoke()
/trafficserver/plugins/experimental/slice/
H A DHttpHeader.cc37 HttpHeader::status() const in status() function in HttpHeader
153 bool status = true; in removeKey() local
158 status = (TS_SUCCESS == rcode); in removeKey()
162 return status; in removeKey()
173 bool status = false; in valueForKey() local
186 status = (*vallen < valcap); in valueForKey()
188 if (status) { in valueForKey()
197 return status; in valueForKey()
207 bool status(false); in setKeyVal() local
220 status = (TS_SUCCESS == rcode); in setKeyVal()
[all …]
/trafficserver/src/tscpp/api/
H A DGzipDeflateTransformation.cc135 int status = Z_OK; in handleInputComplete() local
147 status = deflate(&state_->z_stream_, Z_FINISH); in handleInputComplete()
152 if (status == Z_OK || status == Z_STREAM_END) { in handleInputComplete()
154 bytes_to_write, status); in handleInputComplete()
156 } else if (status != Z_STREAM_END) { in handleInputComplete()
157 LOG_ERROR("Iteration %d: Gzip deflate finalize produced an error '%d'", iteration, status); in handleInputComplete()
159 } while (status == Z_OK); in handleInputComplete()
/trafficserver/plugins/prefetch/
H A Dfetch.cc154 bool status = true; in initializePolicy() local
159 status = false; in initializePolicy()
164 return status; in initializePolicy()
170 bool status = true; in initializeMetrics() local
179 return status; in initializeMetrics()
185 bool status = true; in initializeLog() local
201 return status; in initializeLog()
207 int status = true; in init() local
240 return status; in init()
606 const char *status; in logAndMetricUpdate() local
[all …]
/trafficserver/plugins/escalate/
H A Descalate.cc92 TSHttpStatus status; in EscalateResponse() local
110 status = TSHttpHdrStatusGet(mbuf, hdrp); in EscalateResponse()
114 entry = es->status_map.find(static_cast<unsigned>(status)); in EscalateResponse()
119 TSDebug(PLUGIN_NAME, "Found an entry for HTTP status %u", static_cast<unsigned>(status)); in EscalateResponse()
195 unsigned status = strtol(token, nullptr, 10); in TSRemapNewInstance() local
197 if (status < 100 || status > 599) { in TSRemapNewInstance()
202 TSDebug(PLUGIN_NAME, " added status = %d to rule", status); in TSRemapNewInstance()
203 es->status_map[status] = info; in TSRemapNewInstance()
/trafficserver/proxy/
H A DRegressionSM.cc34 if (status != REGRESSION_TEST_FAILED) { in set_status()
35 if (status == REGRESSION_TEST_PASSED) { in set_status()
37 status = astatus; in set_status()
41 status = astatus; in set_status()
55 *pstatus = status; in done()
58 parent->child_done(status); in done()
227 status = o.status; in RegressionSM()
242 ink_assert(status == REGRESSION_TEST_INPROGRESS); in RegressionSM()
H A DRegressionSM.h47 void done(int status = REGRESSION_TEST_NOT_RUN);
52 int status = REGRESSION_TEST_INPROGRESS; member
66 void set_status(int status);
67 void child_done(int status);
H A DHostStatus.h100 HostStatus_t status; member
116 status = src.status; in HostStatRec()
135 os << HostStatusNames[status]; in operator <<()
152 os << HostStatusNames[hs.status]; in operator <<()
189 …void setHostStatus(const char *name, const HostStatus_t status, const unsigned int down_time, cons…
/trafficserver/plugins/experimental/redo_cache_lookup/
H A Dredo_cache_lookup.cc56 Transaction::CacheStatus status = transaction.getCacheStatus(); in handleReadCacheLookupComplete() local
58 …if (status == Transaction::CacheStatus::CACHE_LOOKUP_NONE || status == Transaction::CacheStatus::C… in handleReadCacheLookupComplete()
59 status == Transaction::CacheStatus::CACHE_LOOKUP_MISS) { in handleReadCacheLookupComplete()
/trafficserver/src/wccp/
H A DWccpConfig.cc504 if (!status) { in loader()
528 if (!status) { in loader()
529 zret.push(Ignored_Opt_Errors(SVC_PROP_ALT_HASH, altHash.Mark().line).set(status)); in loader()
610 ts::Errata status = load_routers(routers_prop, routers); in loader() local
611 if (!status) in loader()
659 if (!status.isOK()) { in loader()
660 zret.push(Ignored_Opt_Errors(SVC_PROP_FORWARD, forward.Mark().line).set(status)); in loader()
675 if (!status.isOK()) { in loader()
676 zret.push(Ignored_Opt_Errors(SVC_PROP_RETURN, prop_return.Mark().line).set(status)); in loader()
692 if (!status.isOK()) in loader()
[all …]
/trafficserver/iocore/utils/
H A DMachine.cc73 int status; // return for system calls. in Machine() local
95 status = getifaddrs(&ifa_addrs); in Machine()
108 status = ioctl(s, SIOCGIFCONF, &conf); in Machine()
110 status = -1; in Machine()
114 if (0 != status) { in Machine()
214status = getnameinfo(addr, ats_ip_size(addr), localhost, sizeof(localhost) - 1, nullptr, 0, 0); //… in Machine()
216 if (0 != status) { in Machine()
218 …ress '%s' - %s", ats_ip_ntop(addr, ipbuff, sizeof(ipbuff)), gai_strerror(status)); in Machine()
/trafficserver/plugins/lua/
H A Dts_lua_client_response.c292 int status; in ts_lua_client_response_get_status() local
299 status = TSHttpHdrStatusGet(http_ctx->client_response_bufp, http_ctx->client_response_hdrp); in ts_lua_client_response_get_status()
301 lua_pushinteger(L, status); in ts_lua_client_response_get_status()
309 int status; in ts_lua_client_response_set_status() local
320 status = luaL_checkint(L, 1); in ts_lua_client_response_set_status()
322 reason = TSHttpHdrReasonLookup(status); in ts_lua_client_response_set_status()
325 TSHttpHdrStatusSet(http_ctx->client_response_bufp, http_ctx->client_response_hdrp, status); in ts_lua_client_response_set_status()
383 int n, status; in ts_lua_client_response_set_error_resp() local
400 status = luaL_checkinteger(L, 1); in ts_lua_client_response_set_error_resp()
402 reason = TSHttpHdrReasonLookup(status); in ts_lua_client_response_set_error_resp()
[all …]
H A Dts_lua_http.c294 int status; in ts_lua_http_set_retstatus() local
299 status = luaL_checkinteger(L, 1); in ts_lua_http_set_retstatus()
300 TSHttpTxnStatusSet(http_ctx->txnp, status); in ts_lua_http_set_retstatus()
321 int n, status; in ts_lua_http_set_resp() local
330 status = luaL_checkinteger(L, 1); in ts_lua_http_set_resp()
344 int status; in ts_lua_http_get_cache_lookup_status() local
353 lua_pushnumber(L, status); in ts_lua_http_get_cache_lookup_status()
362 int status; in ts_lua_http_set_cache_lookup_status() local
368 status = luaL_checknumber(L, 1); in ts_lua_http_set_cache_lookup_status()
597 int status; in ts_lua_http_set_server_resp_no_store() local
[all …]
/trafficserver/mgmt/api/
H A DCoreAPI.cc261 int status; in backtrace_for_thread() local
269 status = ptrace(PTRACE_ATTACH, threadid, 0, 0); in backtrace_for_thread()
270 if (status < 0) { in backtrace_for_thread()
276 target = waitpid(threadid, &status, __WALL | WUNTRACED); in backtrace_for_thread()
278 WIFSTOPPED(status) ? "STOPPED" : "???"); in backtrace_for_thread()
295 status = unw_init_remote(&cursor, addr_space, ap); in backtrace_for_thread()
296 Debug("backtrace", "unw_init_remote(...) -> %d", status); in backtrace_for_thread()
297 if (status != 0) { in backtrace_for_thread()
309 int status; in backtrace_for_thread() local
310 char *name = abi::__cxa_demangle(buf, nullptr, nullptr, &status); in backtrace_for_thread()
[all …]
/trafficserver/plugins/cachekey/
H A Dconfigs.cc406 bool status = true; in init() local
452 status = false; in init()
458 status = false; in init()
464 status = false; in init()
474 status = false; in init()
480 status = false; in init()
486 status = false; in init()
492 status = false; in init()
519 status &= finalize(); in init()
521 return status; in init()
/trafficserver/plugins/experimental/fastcgi/src/
H A Dserver_intercept.cc102 bool status = false; in setResponseOutputComplete() local
103 status = InterceptPlugin::setOutputComplete(); in setResponseOutputComplete()
106 return status; in setResponseOutputComplete()
/trafficserver/plugins/background_fetch/
H A Dbackground_fetch.cc329 const char *status; in log() local
333 status = "EOS"; in log()
336 status = "TIMEOUT"; in log()
339 status = "ERROR"; in log()
342 status = "READ_COMP"; in log()
345 status = "UNKNOWN"; in log()
350 TSDebug(PLUGIN_NAME, "%s %" PRId64 " %s %s", "-", _bytes, status, _url.c_str()); in log()
352 TSTextLogObjectWrite(log, "%s %" PRId64 " %s %s", "-", _bytes, status, _url.c_str()); in log()
530 TSHttpStatus status = TSHttpHdrStatusGet(response, resp_hdr); in cont_handle_response() local
531 TSDebug(PLUGIN_NAME, "Testing: response status code: %d?", status); in cont_handle_response()
[all …]

Completed in 168 milliseconds

1234567