Home
last modified time | relevance | path

Searched refs:key_str (Results 1 – 25 of 53) sorted by relevance

123

/external/grpc-grpc/src/core/lib/transport/
Dmetadata.cc155 char* key_str = grpc_slice_to_c_string(md->key); in ref_md_locked() local
160 gpr_atm_no_barrier_load(&md->refcnt) + 1, key_str, value_str); in ref_md_locked()
161 gpr_free(key_str); in ref_md_locked()
255 char* key_str = grpc_slice_to_c_string(allocated->key); in grpc_mdelem_create() local
259 key_str, value_str); in grpc_mdelem_create()
260 gpr_free(key_str); in grpc_mdelem_create()
308 char* key_str = grpc_slice_to_c_string(md->key); in grpc_mdelem_create() local
311 gpr_atm_no_barrier_load(&md->refcnt), key_str, value_str); in grpc_mdelem_create()
312 gpr_free(key_str); in grpc_mdelem_create()
355 char* key_str = grpc_slice_to_c_string(md->key); in grpc_mdelem_ref() local
[all …]
/external/grpc-grpc/test/core/security/
Djwt_verifier_test.cc356 char* key_str = json_key_str(json_key_str_part3_for_google_email_issuer); in test_jwt_verifier_google_email_issuer_success() local
357 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_google_email_issuer_success()
358 gpr_free(key_str); in test_jwt_verifier_google_email_issuer_success()
389 char* key_str = json_key_str(json_key_str_part3_for_custom_email_issuer); in test_jwt_verifier_custom_email_issuer_success() local
390 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_custom_email_issuer_success()
391 gpr_free(key_str); in test_jwt_verifier_custom_email_issuer_success()
436 char* key_str = json_key_str(json_key_str_part3_for_url_issuer); in test_jwt_verifier_url_issuer_success() local
437 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_url_issuer_success()
438 gpr_free(key_str); in test_jwt_verifier_url_issuer_success()
475 char* key_str = json_key_str(json_key_str_part3_for_url_issuer); in test_jwt_verifier_url_issuer_bad_config() local
[all …]
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Djwt_verifier_test.cc374 char* key_str = json_key_str(json_key_str_part3_for_google_email_issuer); in test_jwt_verifier_google_email_issuer_success() local
375 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_google_email_issuer_success()
376 gpr_free(key_str); in test_jwt_verifier_google_email_issuer_success()
408 char* key_str = json_key_str(json_key_str_part3_for_custom_email_issuer); in test_jwt_verifier_custom_email_issuer_success() local
409 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_custom_email_issuer_success()
410 gpr_free(key_str); in test_jwt_verifier_custom_email_issuer_success()
456 char* key_str = json_key_str(json_key_str_part3_for_url_issuer); in test_jwt_verifier_url_issuer_success() local
457 grpc_auth_json_key key = grpc_auth_json_key_create_from_string(key_str); in test_jwt_verifier_url_issuer_success()
458 gpr_free(key_str); in test_jwt_verifier_url_issuer_success()
496 char* key_str = json_key_str(json_key_str_part3_for_url_issuer); in test_jwt_verifier_url_issuer_bad_config() local
[all …]
/external/bcc/src/cc/api/
DBPFTable.cc42 StatusTuple BPFTable::get_value(const std::string& key_str, in get_value() argument
49 r = string_to_key(key_str, key); in get_value()
59 StatusTuple BPFTable::get_value(const std::string& key_str, in get_value() argument
67 r = string_to_key(key_str, key); in get_value()
84 StatusTuple BPFTable::update_value(const std::string& key_str, in update_value() argument
91 r = string_to_key(key_str, key); in update_value()
105 StatusTuple BPFTable::update_value(const std::string& key_str, in update_value() argument
113 r = string_to_key(key_str, key); in update_value()
132 StatusTuple BPFTable::remove_value(const std::string& key_str) { in remove_value() argument
137 r = string_to_key(key_str, key); in remove_value()
[all …]
DBPFTable.h43 StatusTuple string_to_key(const std::string& key_str, KeyType* key) { in string_to_key() argument
44 return desc.key_sscanf(key_str.c_str(), key); in string_to_key()
51 StatusTuple key_to_string(const KeyType* key, std::string& key_str) { in key_to_string() argument
55 key_str.assign(buf); in key_to_string()
95 StatusTuple get_value(const std::string& key_str, std::string& value);
96 StatusTuple get_value(const std::string& key_str,
99 StatusTuple update_value(const std::string& key_str,
101 StatusTuple update_value(const std::string& key_str,
104 StatusTuple remove_value(const std::string& key_str);
/external/marisa-trie/bindings/ruby/
Dsample.rb42 print(agent.query_id(), ": ", agent.key_str(), "\n")
46 print(agent.query_id(), ": ", agent.key_str(), "\n")
55 print(agent.query_str(), ": ", agent.key_str(), " (", agent.key_id(), ")\n")
60 print(agent.query_str(), ": ", agent.key_str(), " (", agent.key_id(), ")\n")
Dbenchmark.rb43 agent.key_str
60 agent.key_str
76 agent.key_str
86 agent.key_str
Dmarisa-swig.h92 void key_str(std::size_t i,
125 void key_str(const char **ptr_out, std::size_t *length_out) const;
/external/marisa-trie/bindings/perl/
Dsample.pl42 print($agent->query_id(), ": ", $agent->key_str(), "\n");
45 print($agent->query_id(), ": ", $agent->key_str(), "\n");
54 print($agent->query_str(), ": ", $agent->key_str(), " (",
60 print($agent->query_str(), ": ", $agent->key_str(), " (",
Dbenchmark.pl63 $agent->key_str();
79 $agent->key_str();
89 $agent->key_str();
Dmarisa-swig.h92 void key_str(std::size_t i,
125 void key_str(const char **ptr_out, std::size_t *length_out) const;
/external/marisa-trie/bindings/python/
Dsample.py40 print("%d: %s" % (agent.query_id(), agent.key_str()))
44 print("%d: %s" % (agent.query_id(), agent.key_str()))
53 print("%s: %s (%d)" % (agent.query_str(), agent.key_str(), agent.key_id()))
57 print("%s: %s (%d)" % (agent.query_str(), agent.key_str(), agent.key_id()))
Dbenchmark.py57 agent.key_str()
71 agent.key_str()
79 agent.key_str()
Dmarisa-swig.h92 void key_str(std::size_t i,
125 void key_str(const char **ptr_out, std::size_t *length_out) const;
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dmetadata.cc68 char* key_str = grpc_slice_to_c_string(key); in grpc_mdelem_trace_ref() local
72 refcnt, refcnt + 1, key_str, value_str); in grpc_mdelem_trace_ref()
73 gpr_free(key_str); in grpc_mdelem_trace_ref()
82 char* key_str = grpc_slice_to_c_string(key); in grpc_mdelem_trace_unref() local
86 refcnt, refcnt - 1, key_str, value_str); in grpc_mdelem_trace_unref()
87 gpr_free(key_str); in grpc_mdelem_trace_unref()
159 char* key_str = grpc_slice_to_c_string(key()); in TraceAtStart() local
162 RefValue(), key_str, value_str); in TraceAtStart()
163 gpr_free(key_str); in TraceAtStart()
258 char* key_str = grpc_slice_to_c_string(md->key()); in grpc_mdctx_global_shutdown() local
[all …]
/external/webrtc/pc/
Dsrtp_filter.cc266 std::string key_b64(key_params.substr(7)), key_str; in ParseKeyParams() local
267 if (!rtc::Base64::Decode(key_b64, rtc::Base64::DO_STRICT, &key_str, in ParseKeyParams()
269 key_str.size() != len) { in ParseKeyParams()
273 memcpy(key, key_str.c_str(), len); in ParseKeyParams()
276 rtc::ExplicitZeroMemory(&key_str[0], key_str.size()); in ParseKeyParams()
Dsrtp_transport.cc502 std::string key_b64(key_params.substr(7)), key_str; in ParseKeyParams() local
503 if (!rtc::Base64::Decode(key_b64, rtc::Base64::DO_STRICT, &key_str, in ParseKeyParams()
505 key_str.size() != len) { in ParseKeyParams()
509 memcpy(key, key_str.c_str(), len); in ParseKeyParams()
512 rtc::ExplicitZeroMemory(&key_str[0], key_str.size()); in ParseKeyParams()
/external/grpc-grpc/test/core/slice/
Dslice_weak_hash_table_test.cc38 grpc_slice BuildRefCountedKey(const char* key_str) { in BuildRefCountedKey() argument
39 const size_t key_length = strlen(key_str); in BuildRefCountedKey()
41 memcpy(GRPC_SLICE_START_PTR(key), key_str, key_length); in BuildRefCountedKey()
/external/pdfium/testing/tools/
Dgold.py180 def __init__(self, source_type, output_dir, properties_str, key_str, argument
196 self._properties['key'] = _ParseKeyValuePairs(key_str)
266 key_str = 'arch arm64 compiler Clang configuration Debug'
273 gr = GoldResults('pdfium', output_dir, prop_str, key_str, hash_file)
/external/curl/lib/
Dhash.c259 const char *key_str = (const char *) key; in Curl_hash_str() local
260 const char *end = key_str + key_length; in Curl_hash_str()
263 while(key_str < end) { in Curl_hash_str()
265 h ^= *key_str++; in Curl_hash_str()
/external/toolchain-utils/binary_search_tool/
Drun_bisect.py79 key_str = str(key).rjust(max_key_len)
81 out += ' %s : %s\n' % (key_str, val_str)
90 key_str = str(key).rjust(max_key_len)
94 out += ' %s %s : %s\n' % (changed_str, key_str, val_str)
/external/marisa-trie/tests/
Dbase-test.cc263 const char *key_str = "key"; in TestAgent() local
267 agent.set_key(key_str); in TestAgent()
274 ASSERT(agent.key().ptr() == key_str); in TestAgent()
275 ASSERT(agent.key().length() == std::strlen(key_str)); in TestAgent()
/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp50 const ByteString& key_str = it.first; in ProcessExtGS() local
56 uint32_t key = key_str.GetID(); in ProcessExtGS()
/external/marisa-trie/bindings/
Dmarisa-swig.h92 void key_str(std::size_t i,
125 void key_str(const char **ptr_out, std::size_t *length_out) const;
/external/strace/tests/
Dioctl_evdev-success.c202 const char *key_str[] = { "2", "KEY_1", "KEY_2" }; in main() local
215 { { ARG_STR(EVIOCGBIT(EV_KEY, 0)), key, print_getbit }, &key_str}, in main()

123