Home
last modified time | relevance | path

Searched refs:ix (Results 1 – 8 of 8) sorted by relevance

/trafficserver/plugins/conf_remap/
H A Dconf_remap.cc304 for (int ix = 0; ix < conf->_current; ++ix) { in TSRemapDeleteInstance() local
305 if (TS_RECORDDATATYPE_STRING == conf->_items[ix]._type) { in TSRemapDeleteInstance()
306 TSfree(conf->_items[ix]._data.rec_string); in TSRemapDeleteInstance()
323 for (int ix = 0; ix < conf->_current; ++ix) { in TSRemapDoRemap() local
324 switch (conf->_items[ix]._type) { in TSRemapDoRemap()
326 TSHttpTxnConfigIntSet(txnp, conf->_items[ix]._name, conf->_items[ix]._data.rec_int); in TSRemapDoRemap()
327 …UGIN_NAME, "Setting config id %d to %" PRId64 "", conf->_items[ix]._name, conf->_items[ix]._data.r… in TSRemapDoRemap()
330 …TSHttpTxnConfigStringSet(txnp, conf->_items[ix]._name, conf->_items[ix]._data.rec_string, conf->_i… in TSRemapDoRemap()
331 …TSDebug(PLUGIN_NAME, "Setting config id %d to %s", conf->_items[ix]._name, conf->_items[ix]._data.… in TSRemapDoRemap()
/trafficserver/lib/perl/lib/Apache/TS/Config/
H A DRecords.pm99 my $ix = $self->{_lookup}->{$c};
101 return [] unless defined($ix);
102 return $self->{_configs}->[$ix];
118 my $ix = $self->{_lookup}->{$c};
120 if (!defined($ix)) {
126 my $val = $self->{_configs}->[$ix];
144 my $ix = $self->{_lookup}->{$c};
146 $self->{_configs}->[$ix]->[2] = TS_CONF_REMOVED if defined($ix);
/trafficserver/plugins/regex_remap/
H A Dregex_remap.cc411 int ix = -1; in compile() local
452 if (ix > -1) { in compile()
453 if ((ix < 10) && (ix > ccount)) { in compile()
483 if (ix < 10) { in get_lengths()
484 lengths[ix] = ovector[2 * ix + 1] - ovector[2 * ix]; // -1 - -1 == 0 in get_lengths()
489 switch (ix) { in get_lengths()
547 if (ix < 10) { in substitute()
548 memcpy(p1, src + ovector[2 * ix], lengths[ix]); in substitute()
555 switch (ix) { in substitute()
873 int ix = 1; in TSRemapDeleteInstance() local
[all …]
/trafficserver/proxy/
H A DProxySession.h130 void *get_user_arg(unsigned ix) const;
131 void set_user_arg(unsigned ix, void *arg);
209 ProxySession::get_user_arg(unsigned ix) const in get_user_arg()
211 ink_assert(ix < countof(user_args)); in get_user_arg()
212 return this->user_args[ix]; in get_user_arg()
216 ProxySession::set_user_arg(unsigned ix, void *arg) in set_user_arg() argument
218 ink_assert(ix < countof(user_args)); in set_user_arg()
219 user_args[ix] = arg; in set_user_arg()
/trafficserver/iocore/eventsystem/
H A DI_VConnection.h396 get_user_arg(unsigned ix) const in get_user_arg()
398 ink_assert(ix < user_args.size()); in get_user_arg()
399 return this->user_args[ix]; in get_user_arg()
402 set_user_arg(unsigned ix, void *arg) in set_user_arg() argument
404 ink_assert(ix < user_args.size()); in set_user_arg()
405 user_args[ix] = arg; in set_user_arg()
/trafficserver/plugins/experimental/cookie_remap/
H A Dcookie_remap.cc665 int ix = sendto[pos + 1] - '0'; in process() local
667 if (ix <= subop->getRegexCcount()) { // Just skip an illegal regex group in process()
669 … dest += string_to_match.substr(ovector[ix * 2], ovector[ix * 2 + 1] - ovector[ix * 2]); in process()
678 ix, sendto.c_str()); in process()
/trafficserver/plugins/experimental/fastcgi/src/
H A Dconfiguru.hpp609 Config &operator[](size_t ix) in operator []() argument
612 check(ix < array.size(), "Array index out of range"); in operator []()
613 return array[ix]; in operator []()
617 const Config &operator[](size_t ix) const in operator []()
620 check(ix < array.size(), "Array index out of range"); in operator []()
621 return array[ix]; in operator []()
/trafficserver/src/traffic_logstats/
H A Dlogstats.cc1966 …int ix = (stat.bytes > 1024 ? static_cast<int>(log10(static_cast<double>(stat.bytes)) / LOG10_1024… in format_line() local
1992 …izeof(buf), "%10.2f%cB", stat.bytes / pow(static_cast<double>(1024), ix), metrics[ix]); in format_line()

Completed in 61 milliseconds