Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/trafficserver/lib/records/
H A DI_RecCore.h119 RecErrT RecLinkConfigInt(const char *name, RecInt *rec_int);
120 RecErrT RecLinkConfigInt32(const char *name, int32_t *p_int32);
121 RecErrT RecLinkConfigUInt32(const char *name, uint32_t *p_uint32);
125 RecErrT RecLinkConfigByte(const char *name, RecByte *rec_byte);
126 RecErrT RecLinkConfigBool(const char *name, RecBool *rec_byte);
282 RecInt REC_ConfigReadInteger(const char *name);
283 char *REC_ConfigReadString(const char *name);
284 RecFloat REC_ConfigReadFloat(const char *name);
285 RecCounter REC_ConfigReadCounter(const char *name);
296 RecErrT RecResetStatRecord(const char *name);
[all …]
H A DRecCore.cc95 g_records_ht.emplace(name, r); in register_record()
514 if (regex.match(r->name) < 0) { in RecLookupMatchingRecords()
996 g_records_ht.emplace(r->name, r); in RecForceInsert()
1062 RecGetRecordInt(name, &t); in REC_ConfigReadInteger()
1075 REC_ConfigReadFloat(const char *name) in REC_ConfigReadFloat() argument
1078 RecGetRecordFloat(name, &t); in REC_ConfigReadFloat()
1086 RecGetRecordCounter(name, &t); in REC_ConfigReadCounter()
1096 ink_assert(name); in REC_readInteger()
1109 ink_assert(name); in REC_readFloat()
1122 ink_assert(name); in REC_readCounter()
[all …]
H A DP_RecCore.cc209 RecResetStatRecord(r->name); in recv_message_cb()
372 if (auto it = g_records_ht.find(name); it != g_records_ht.end()) { in RecSetRecord()
410 r2.name = name; in RecSetRecord()
431 r1 = RecAlloc(rec_type, name, data_type); in RecSetRecord()
443 g_records_ht.emplace(name, r1); in RecSetRecord()
535 if ((r->name == nullptr) || (!strlen(r->name))) { in RecReadStatsFile()
708 r2.name = rec->name; in reset_stat_record()
723 RecResetStatRecord(const char *name) in RecResetStatRecord() argument
727 if (auto it = g_records_ht.find(name); it != g_records_ht.end()) { in RecResetStatRecord()
768 RecSetSyncRequired(char *name, bool lock) in RecSetSyncRequired() argument
[all …]
H A Dtest_I_RecLocal.cc41 cb_test_1a(const char *name, RecDataT data_type, RecData data, void *cookie) in cb_test_1a() argument
45 …printf(" - cb_test_1(%d) name: %s, data: %s, cookie: 0x%x\n", g_config_update_result, name, dat… in cb_test_1a()
53 cb_test_1b(const char *name, RecDataT data_type, RecData data, void *cookie) in cb_test_1b() argument
55 return cb_test_1a(name, data_type, data, cookie); in cb_test_1b()
67 cb_test_2b(const char *name, RecDataT data_type, RecData data, void *cookie) in cb_test_2b() argument
69 return cb_test_2a(name, data_type, data, cookie); in cb_test_2b()
114 cb_test_3a(const char *name, RecDataT data_type, RecData data, void *cookie) in cb_test_3a() argument
117 int rec_status = RecGetRecordString_Xmalloc(name, &rec_result); in cb_test_3a()
123 …printf(" - cb_test_3(%d) name: %s, data: %s, cookie: 0x%x\n", g_config_update_result, name, rec… in cb_test_3a()
131 cb_test_3b(const char *name, RecDataT data_type, RecData data, void *cookie) in cb_test_3b() argument
[all …]
/trafficserver/contrib/
H A Dmake-ssl-multicert25 name=$1
27 $OPENSSL genrsa -out ${name}.key 2048
28 $OPENSSL req -new -key ${name}.key -out ${name}.csr \
29 -subj /C=US/ST=CA/L=Norm/O=TrafficServer/OU=Test/CN=${name}.com
31 -in ${name}.csr -signkey ${name}.key -out ${name}.crt
32 cat ${name}.crt ${name}.key > ${name}.pem
33 rm -rf ${name}.csr ${name}.key ${name}.crt
/trafficserver/mgmt/api/
H A DCoreAPIShared.cc200 struct sockaddr_in name; in connectDirect() local
227 err = connect(sock, reinterpret_cast<struct sockaddr *>(&name), sizeof(name)); in connectDirect()
336 ink_strlcpy(name, "MGMT_ALARM_PROXY_PROCESS_DIED", sizeof(name)); in get_event_name()
339 ink_strlcpy(name, "MGMT_ALARM_PROXY_PROCESS_BORN", sizeof(name)); in get_event_name()
342 ink_strlcpy(name, "MGMT_ALARM_PROXY_CONFIG_ERROR", sizeof(name)); in get_event_name()
345 ink_strlcpy(name, "MGMT_ALARM_PROXY_SYSTEM_ERROR", sizeof(name)); in get_event_name()
348 ink_strlcpy(name, "MGMT_ALARM_PROXY_CACHE_ERROR", sizeof(name)); in get_event_name()
351 ink_strlcpy(name, "MGMT_ALARM_PROXY_CACHE_WARNING", sizeof(name)); in get_event_name()
354 ink_strlcpy(name, "MGMT_ALARM_PROXY_LOGGING_ERROR", sizeof(name)); in get_event_name()
357 ink_strlcpy(name, "MGMT_ALARM_PROXY_LOGGING_WARNING", sizeof(name)); in get_event_name()
[all …]
H A DTSControlMain.cc291 name = const_cast<MgmtMarshallString>(rec->name); in send_record_get_response()
382 ats_free(name); in handle_record_get()
417 ats_free(name); in handle_record_match()
429 ats_free(name); in handle_record_match()
470 ats_free(name); in handle_record_set()
664 ats_free(name); in handle_event_resolve()
751 ats_free(name); in handle_event_active()
773 ats_free(name); in handle_stats_reset()
797 ats_free(name); in handle_host_status_up()
821 ats_free(name); in handle_host_status_down()
[all …]
/trafficserver/src/traffic_server/
H A DHostStatus.cc29 stat_name = stat_prefix + name; in getStatName()
36 MgmtMarshallString name; in mgmt_host_status_up_callback() local
54 getStatName(stat_name, name); in mgmt_host_status_up_callback()
59 hs.createHostStat(name); in mgmt_host_status_up_callback()
69 MgmtMarshallString name; in mgmt_host_status_down_callback() local
91 hs.createHostStat(name); in mgmt_host_status_down_callback()
254 getStatName(stat_name, name); in setHostStatus()
257 createHostStat(name); in setHostStatus()
371 auto it = hosts_statuses.find(name); in getHostStatus()
410 createHostStat(name); in getHostStatus()
[all …]
/trafficserver/plugins/lua/
H A Dts_lua_mgmt.c49 const char *name; in ts_lua_mgmt_get_int() local
53 name = luaL_checklstring(L, 1, &name_len); in ts_lua_mgmt_get_int()
55 if (TS_SUCCESS == TSMgmtIntGet(name, &int_val)) { in ts_lua_mgmt_get_int()
66 const char *name; in ts_lua_mgmt_get_counter() local
70 name = luaL_checklstring(L, 1, &name_len); in ts_lua_mgmt_get_counter()
82 const char *name; in ts_lua_mgmt_get_float() local
86 name = luaL_checklstring(L, 1, &name_len); in ts_lua_mgmt_get_float()
87 if (TS_SUCCESS == TSMgmtFloatGet(name, &float_val)) { in ts_lua_mgmt_get_float()
97 const char *name; in ts_lua_mgmt_get_string() local
101 name = luaL_checklstring(L, 1, &name_len); in ts_lua_mgmt_get_string()
[all …]
H A Dts_lua_package.c26 char *name; member
104 pp[n].name = (char *)ptr; in ts_lua_add_package_path()
120 pp[n].name = (char *)ptr; in ts_lua_add_package_path()
142 elt->name = (char *)TSmalloc(pp[i].len); in ts_lua_add_package_path()
143 memcpy(elt->name, pp[i].name, pp[i].len); in ts_lua_add_package_path()
190 memcpy(new_path + new_path_len, pp[i].name, pp[i].len); in ts_lua_add_package_path_items()
250 pp[n].name = (char *)ptr; in ts_lua_add_package_cpath()
266 pp[n].name = (char *)ptr; in ts_lua_add_package_cpath()
288 elt->name = (char *)TSmalloc(pp[i].len); in ts_lua_add_package_cpath()
289 memcpy(elt->name, pp[i].name, pp[i].len); in ts_lua_add_package_cpath()
[all …]
/trafficserver/plugins/prefetch/
H A Dfetch_policy.cc35 const char *name = parameters; in getInstance() local
37 size_t len = (nullptr == delim ? strlen(name) : delim - name); in getInstance()
40 PrefetchDebug("getting '%.*s' policy instance, params: %s", (int)len, name, params); in getInstance()
42 if (6 == len && 0 == strncmp(name, "simple", 6)) { in getInstance()
44 } else if (3 == len && 0 == strncmp(name, "lru", 3)) { in getInstance()
47 PrefetchError("unrecognized fetch policy type: %.*s", (int)len, name); in getInstance()
/trafficserver/src/tscore/
H A Dink_resource.cc65 setName(const char *name) in setName() argument
67 strncpy(_name, name, sizeof(_name)); in setName()
71 setName(const void *symbol, const char *name) in setName() argument
75 snprintf(_name, sizeof(_name), "%s/%s", name, info.dli_sname); in setName()
108 ResourceTracker::increment(const char *name, const int64_t size) in increment() argument
110 Resource &resource = lookup(name); in increment()
113 resource.setName(name); in increment()
122 if (resource.getSymbol() == nullptr && name != nullptr) { in increment()
123 resource.setName(symbol, name); in increment()
130 ResourceTracker::lookup(const char *name) in lookup() argument
[all …]
H A DRegression.cc82 fprintf(stderr, "REGRESSION TEST %s started\n", t->name); in start_test()
86 …printf(stderr, " REGRESSION_RESULT %s:%*s %s\n", t->name, 40 - static_cast<int>(strlen(t->name)… in start_test()
105 if ((dfa.match(t->name) >= 0)) { in run()
129 fprintf(stdout, "%s%s%s %s\n", bold, t->name, unbold, t->location.str(buf, sizeof(buf))); in list()
133 fprintf(stdout, "%s%s%s %s\n", bold, t->name, unbold, t->location.str(buf, sizeof(buf))); in list()
148 …derr, " REGRESSION_RESULT %s:%*s %s\n", current->name, 40 - static_cast<int>(strlen(current->na… in run_some()
156 if ((dfa.match(current->name) >= 0)) { in run_some()
187 …printf(stderr, " REGRESSION_RESULT %s:%*s %s\n", t->name, 40 - static_cast<int>(strlen(t->name)… in check_status()
196 printf("Regression test(%s) still in progress\n", t->name); in check_status()
247 snprintf(buffer, sizeof(buffer), "RPRINT %s: ", t->name); in rprintf()
[all …]
/trafficserver/proxy/hdrs/
H A DMIME.h812 auto name{this->name_get()}; in name_get() local
813 *length = int(name.size()); in name_get()
814 return name.data(); in name_get()
825 if (hdrtoken_is_wks(name)) { in name_set()
840 const char *name; in name_is_valid() local
844 if (ParseRules::is_control(name[length - 1])) { in name_is_valid()
1179 if (name) { in field_create()
1191 MIMEHdr::field_find(const char *name, int length) in field_find() argument
1343 MIMEField const *field = field_find(name.data(), name.size()); in value_get()
1546 field = field_find(name, name_length); in value_append()
[all …]
/trafficserver/plugins/esi/lib/
H A DVariables.cc100 _parseHeader(header.name, name_len, header.value, value_len); in populate()
151 int match_index = _searchHeaders(SIMPLE_HEADERS, name, name_len); in _parseHeader()
155 match_index = _searchHeaders(SPECIAL_HEADERS, name, name_len); in _parseHeader()
196 Variables::getValue(const string &name) const in getValue()
215 string search_key(name); in getValue()
220 iter->second.data(), name.size(), name.data()); in getValue()
229 name.data()); in getValue()
234 …] Dict variable [%.*s] refers to unknown dictionary", __FUNCTION__, name.size(), name.data()); in getValue()
276 const std::string &name = it_cookie->first; in _parseSubCookies() local
282 StringHash &subcookies = _sub_cookies[name]; in _parseSubCookies()
[all …]
/trafficserver/mgmt/
H A DRecordsConfigUtils.cc50 const char *value = RecConfigOverrideFromEnvironment(record->name, record->value); in initialize_record()
57 ink_fatal("%s has a consistency check but no regular expression", record->name); in initialize_record()
64 …RecRegisterConfigInt(type, record->name, data.rec_int, update, check, record->regex, source, acces… in initialize_record()
68 …RecRegisterConfigFloat(type, record->name, data.rec_float, update, check, record->regex, source, a… in initialize_record()
72 …RecRegisterConfigString(type, record->name, data.rec_string, update, check, record->regex, source,… in initialize_record()
76 …RecRegisterConfigCounter(type, record->name, data.rec_counter, update, check, record->regex, sourc… in initialize_record()
91 RecRegisterStatInt(type, record->name, tempInt, RECP_NON_PERSISTENT); in initialize_record()
96 RecRegisterStatFloat(type, record->name, tempFloat, RECP_NON_PERSISTENT); in initialize_record()
100 RecRegisterStatString(type, record->name, (RecString)record->value, RECP_NON_PERSISTENT); in initialize_record()
105 RecRegisterStatCounter(type, record->name, tempCounter, RECP_NON_PERSISTENT); in initialize_record()
/trafficserver/doc/ext/
H A Ddoxygen.py42 def escape(name): argument
47 …return name.replace('_', '__').replace(':', '_1').replace('/', '_2').replace('<', '_3').replace('>…
94 name = child.astext()
101 … descendant::name[text() = $name]][1]', owner=signature_owner or owner, name=name)
111 …ilename].xpath('descendant::compounddef[compoundname[text() = $name]]', name=name) or cache[filena…
112 … 'descendant::memberdef[name[text() = $name] | enumvalue[name[text() = $name]]]', name=name)
131 if self.app.builder.name == 'html':
145 self.traverse(desc_child, name)
/trafficserver/proxy/logging/
H A DLogFormat.cc59 if (name == nullptr) { in setup()
72 name); in setup()
84 ((name) ? name : "no-name"), format_str); in setup()
108 if (name) { in id_from_name()
110 CryptoContext().hash_immediate(hash, name, static_cast<int>(strlen(name))); in id_from_name()
150 if (name) { in init_variables()
151 m_name_str = ats_strdup(name); in init_variables()
411 char *symbol, *name, *sym, *saveptr; in parse_symbol_string() local
455 name); in parse_symbol_string()
481 name = symbol + 1; in parse_symbol_string()
[all …]
H A DLogFormat.h55 LogFormat(const char *name, const char *format_str, unsigned interval_sec = 0);
56 …LogFormat(const char *name, const char *fieldlist_str, const char *printf_str, unsigned interval_s…
69 name() const in name() function in LogFormat
120 static int32_t id_from_name(const char *name);
139 bool setup(const char *name, const char *format_str, unsigned interval_sec = 0);
140 …void init_variables(const char *name, const char *fieldlist_str, const char *printf_str, unsigned …
177 MakeTextLogFormat(const char *name = "text") in MakeTextLogFormat() argument
179 return new LogFormat(name, nullptr /* format_str */); in MakeTextLogFormat()
193 LogFormat *find_by_name(const char *name) const;
/trafficserver/plugins/experimental/fastcgi/src/
H A Dfcgi_config.cc190 length = strlen(name); in fcgiHttpTxnConfigFind()
260 length = strlen(name); in fcgiParamConfigFind()
297 if (!strncmp(name, "SCRIPT_NAME", length)) { in fcgiParamConfigFind()
302 if (!strncmp(name, "REQUEST_URI", length)) { in fcgiParamConfigFind()
322 if (!strncmp(name, "REMOTE_ADDR", length)) { in fcgiParamConfigFind()
327 if (!strncmp(name, "REMOTE_PORT", length)) { in fcgiParamConfigFind()
332 if (!strncmp(name, "SERVER_ADDR", length)) { in fcgiParamConfigFind()
357 FcgiParamKey name; in initFcgiParam() local
434 switch (name) { in initFcgiParam()
613 FcgiConfigKey name; in initConfig() local
[all …]
/trafficserver/example/plugins/c-api/statistic/
H A Dstatistic.cc48 const char name[] = "plugin." PLUGIN_NAME ".now"; in TSPluginInit() local
50 if (TSStatFindName(name, &id) == TS_ERROR) { in TSPluginInit()
51 id = TSStatCreate(name, TS_RECORDDATATYPE_INT, TS_STAT_NON_PERSISTENT, TS_STAT_SYNC_SUM); in TSPluginInit()
53 TSError("[%s] failed to register '%s'", PLUGIN_NAME, name); in TSPluginInit()
58 TSError("[%s] %s registered with id %d", PLUGIN_NAME, name, id); in TSPluginInit()
70 TSDebug(PLUGIN_NAME, "%s is set to %" PRId64, name, TSStatIntGet(id)); in TSPluginInit()
/trafficserver/src/traffic_layout/
H A Dinfo.cc46 print_feature(std::string_view name, int value, bool json, bool last = false) in print_feature() argument
49 …printf(" \"%.*s\": %d%s", static_cast<int>(name.size()), name.data(), value, last ? "\n" : ",\n… in print_feature()
51 printf("#define %.*s %d\n", static_cast<int>(name.size()), name.data(), value); in print_feature()
56 print_feature(std::string_view name, std::string_view value, bool json, bool last = false) in print_feature() argument
59 …printf(R"( "%.*s": "%.*s"%s)", static_cast<int>(name.size()), name.data(), static_cast<int>(val… in print_feature()
62 …printf("#define %.*s \"%.*s\"\n", static_cast<int>(name.size()), name.data(), static_cast<int>(val… in print_feature()
129 print_var(std::string_view const &name, std::string_view const &value, bool json, bool last = false… in print_var() argument
132 …printf(R"( "%.*s": "%.*s"%s)", static_cast<int>(name.size()), name.data(), static_cast<int>(val… in print_var()
135 …printf("%.*s: %.*s\n", static_cast<int>(name.size()), name.data(), static_cast<int>(value.size()),… in print_var()
/trafficserver/iocore/net/
H A DP_SSLSNI.h43 …std::string name; // name of the se… member
60 setGlobName(std::string name) in setGlobName()
63 while ((pos = name.find('.', pos)) != std::string::npos) { in setGlobName()
64 name.replace(pos, 1, "\\."); in setGlobName()
68 while ((pos = name.find('*', pos)) != std::string::npos) { in setGlobName()
69 name.replace(pos, 1, ".{0,}"); in setGlobName()
71 Debug("ssl_sni", "Regexed fqdn=%s", name.c_str()); in setGlobName()
72 setRegexName(name); in setGlobName()
/trafficserver/src/tscpp/api/
H A DStat.cc43 Stat::init(const string &name, Stat::SyncType type, bool persistent) in init() argument
45 if (TSStatFindName(name.c_str(), &stat_id_) == TS_SUCCESS) { in init()
46 LOG_DEBUG("Attached to stat '%s' with stat_id = %d", name.c_str(), stat_id_); in init()
52 …stat_id_ = TSStatCreate(name.c_str(), TS_RECORDDATATYPE_INT, persistent ? TS_STAT_PERSISTENT : TS_… in init()
55 LOG_DEBUG("Created new stat named '%s' with stat_id = %d", name.c_str(), stat_id_); in init()
57 LOG_ERROR("Unable to create stat named '%s'.", name.c_str()); in init()
/trafficserver/plugins/experimental/access_control/
H A Dpattern.h79 MultiPattern(const String &name = "") : _name(name) {} in MultiPattern() argument
86 const String &name() const;
103 NonMatchingMultiPattern(const String &name) { _name = name; } in NonMatchingMultiPattern() argument
135 bool classify(const String &subject, String &name) const;
136 bool classify(const String &subject, String &name, String &pattern) const;
137 bool matchAll(const String &subject, String &name, String &pattern) const;

Completed in 231 milliseconds

12345678910>>...18