/external/google-benchmark/src/ |
json_reporter.cc | 34 std::string FormatKV(std::string const& key, std::string const& value) { 35 return StringPrintF("\"%s\": \"%s\"", key.c_str(), value.c_str()); 38 std::string FormatKV(std::string const& key, const char* value) { 39 return StringPrintF("\"%s\": \"%s\"", key.c_str(), value); 42 std::string FormatKV(std::string const& key, bool value) { 43 return StringPrintF("\"%s\": %s", key.c_str(), value ? "true" : "false"); 46 std::string FormatKV(std::string const& key, int64_t value) { 48 ss << '"' << key << "\": " << value; 52 std::string FormatKV(std::string const& key, double value) { 54 ss << '"' << key << "\": " local [all...] |
/external/guava/guava-gwt/src/com/google/common/collect/ |
GwtSerializationDependencies.java | 65 K key; field in class:GwtSerializationDependencies.ImmutableListMultimapDependencies 79 K key; field in class:GwtSerializationDependencies.ImmutableSetMultimapDependencies 93 K key; field in class:GwtSerializationDependencies.LinkedListMultimapDependencies 138 K key; field in class:GwtSerializationDependencies.TreeMultimapDependencies
|
LinkedListMultimap_CustomFieldSerializer.java | 41 Object key = in.readObject(); local 43 multimap.put(key, value);
|
Multimap_CustomFieldSerializerBase.java | 43 Object key = reader.readObject(); local 47 builder.put(key, value); 58 Object key = reader.readObject(); local 62 multimap.put(key, value);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ForwardingImmutableMap.java | 44 K key = checkNotNull(entry.getKey()); local 45 V previous = delegate.put(key, checkNotNull(entry.getValue())); 47 throw new IllegalArgumentException("duplicate key: " + key); 61 public final boolean containsKey(@Nullable Object key) { 62 return Maps.safeContainsKey(delegate, key); 69 public V get(@Nullable Object key) { 70 return (key == null) ? null : Maps.safeGet(delegate, key);
|
/external/guice/core/src/com/google/inject/internal/ |
ConstantBindingBuilderImpl.java | 21 import com.google.inject.Key; 41 super(binder, elements, source, (Key<T>) NULL_KEY); 111 Key<T> key; local 113 key = Key.get(typeAsClassT, base.getKey().getAnnotation()); 115 key = Key.get(typeAsClassT, base.getKey().getAnnotationType()); 117 key = Key.get(typeAsClassT) [all...] |
FactoryProxy.java | 20 import com.google.inject.Key; 31 private final Key<T> key; field in class:FactoryProxy 32 private final Key<? extends T> targetKey; 37 FactoryProxy(InjectorImpl injector, Key<T> key, Key<? extends T> targetKey, Object source) { 39 this.key = key; 64 .add("key", key [all...] |
ProvisionListenerCallbackStore.java | 27 import com.google.inject.Key; 37 * {@link ProvisionListenerStackCallback} for each key. 45 private static final Set<Key<?>> INTERNAL_BINDINGS = 46 ImmutableSet.of(Key.get(Injector.class), Key.get(Stage.class), Key.get(Logger.class)); 53 public ProvisionListenerStackCallback<?> load(KeyBinding key) { 54 return create(key.binding); 62 /** Returns a new {@link ProvisionListenerStackCallback} for the key. 75 * Purges a key from the cache. Use this only if the type is not actually valid fo 111 final Key<?> key; field in class:ProvisionListenerCallbackStore.KeyBinding [all...] |
/external/guice/extensions/grapher/src/com/google/inject/grapher/ |
NodeId.java | 20 import com.google.inject.Key; 23 * ID of a node in the graph. An ID is given by a {@link Key} and a node type, which is used to 24 * distinguish instances and implementation classes for the same key. For example 26 * interface node with the key of {@code Key<Integer>} and an instance node with the same 27 * {@link Key} and value of 42. 47 private final Key<?> key; field in class:NodeId 50 private NodeId(Key<?> key, NodeType nodeType) [all...] |
/external/icu/icu4c/source/i18n/ |
number_longnames.cpp | 36 void put(const char *key, ResourceValue &value, UBool /*noFallback*/, UErrorCode &status) U_OVERRIDE { 39 for (int i = 0; pluralsTable.getKeyAndValue(i, key, value); ++i) { 41 if (uprv_strcmp(key, "dnam") == 0 || uprv_strcmp(key, "per") == 0) { 44 StandardPlural::Form plural = StandardPlural::fromString(key, status); 65 CharString key; local 66 key.append("units", status); 68 key.append("Narrow", status); 70 key.append("Short", status); 72 key.append("/", status) [all...] |
/external/iproute2/tipc/ |
cmdl.h | 44 const char *key; member in struct:opt 49 struct opt *get_opt(struct opt *opts, char *key); 50 bool has_opt(struct opt *opts, char *key);
|
/external/ipsec-tools/src/racoon/ |
plainrsa-gen.c | 67 fprintf(stderr, "Plain RSA key generator, part of %s\n", TOP_PACKAGE_STRING); 72 fprintf(stderr, " -b bits Generate <bits> long RSA key (default=1024)\n"); 74 fprintf(stderr, " -f filename Filename to store the key to (default=stdout)\n"); 85 mix_b64_pubkey(RSA *key) 91 binlen = 1 + BN_num_bytes(key->e) + BN_num_bytes(key->n); 94 binbuf[0] = BN_bn2bin(key->e, (unsigned char *) &binbuf[1]); 95 ret = BN_bn2bin(key->n, (unsigned char *) (&binbuf[binbuf[0] + 1])); 121 RSA *key; local 124 key = RSA_generate_key(bits, exp, NULL, NULL) [all...] |
/external/iptables/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 33 __be16 key; /* GRE key is 32bit, PPtP only uses 16bit */ member in struct:nf_conntrack_man_proto::__anon22379
|
/external/jemalloc/test/unit/ |
hash.c | 64 hash_variant_verify_key(hash_variant_t variant, uint8_t *key) 73 memset(key, 0, KEY_SIZE); 82 key[i] = (uint8_t)i; 86 out = hash_x86_32(key, i, 256-i); 91 hash_x86_128(key, i, 256-i, out); 96 hash_x64_128(key, i, 256-i, out); 147 uint8_t key[KEY_SIZE + (MAX_ALIGN - 1)]; local 151 hash_variant_verify_key(variant, &key[i]);
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
nf_conntrack_tuple_common.h | 40 __be16 key; /* GRE key is 32bit, PPtP only uses 16bit */ member in struct:nf_conntrack_man_proto::__anon23102
|
/external/kernel-headers/original/uapi/rdma/ |
cxgb3-abi.h | 52 __u64 key; member in struct:iwch_create_cq_resp_v0 58 __u64 key; member in struct:iwch_create_cq_resp 66 __u64 key; member in struct:iwch_create_qp_resp
|
/external/libcups/cups/ |
globals.c | 32 /* Thread local storage key */ 99 * No, allocate memory as set the pointer for the key... 186 HKEY key; /* Registry key */ local 232 &key)) 241 RegQueryValueEx(key, "installdir", NULL, NULL, installdir, &size); 242 RegCloseKey(key);
|
/external/libcxx/utils/google-benchmark/src/ |
json_reporter.cc | 34 std::string FormatKV(std::string const& key, std::string const& value) { 35 return StringPrintF("\"%s\": \"%s\"", key.c_str(), value.c_str()); 38 std::string FormatKV(std::string const& key, const char* value) { 39 return StringPrintF("\"%s\": \"%s\"", key.c_str(), value); 42 std::string FormatKV(std::string const& key, bool value) { 43 return StringPrintF("\"%s\": %s", key.c_str(), value ? "true" : "false"); 46 std::string FormatKV(std::string const& key, int64_t value) { 48 ss << '"' << key << "\": " << value; 52 std::string FormatKV(std::string const& key, double value) { 54 ss << '"' << key << "\": " local [all...] |
/external/libdrm/amdgpu/ |
util_hash_table.c | 56 unsigned (*make_hash)(void *key); 64 void *key; member in struct:util_hash_table_item 76 util_hash_table_create(unsigned (*hash)(void *key), 99 void *key, unsigned key_hash) 107 if (!ht->compare(item->key, key)) 117 void *key, unsigned key_hash) 125 if (!ht->compare(item->key, key)) 134 util_hash_table_set(struct util_hash_table *ht, void *key, void *value [all...] |
/external/libedit/src/ |
map.h | 51 el_action_t *alt; /* The current alternate key map */ 52 el_action_t *key; /* The current normal key map */ member in struct:el_map_t 54 const el_action_t *emacs; /* The default emacs key map */ 55 const el_action_t *vic; /* The vi command mode key map */ 56 const el_action_t *vii; /* The vi insert mode key map */
|
/external/libunwind/tests/ |
Ltest-nocalloc.c | 118 pthread_key_t key; local 119 if (pthread_key_create (&key, NULL)) 120 panic ("FAILURE: unable to create key %d\n", i);
|
/external/libvncserver/common/ |
vncauth.c | 59 * We use a fixed key to store passwords, since we assume that our local 180 unsigned char key[8]; local 183 /* key is simply password padded with nulls */ 187 key[i] = passwd[i]; 189 key[i] = 0; 193 rfbDesKey(key, EN0); 201 rfbEncryptBytes2(unsigned char *where, const int length, unsigned char *key) { 203 rfbDesKey(key, EN0); 205 where[i] ^= key[i];
|
/external/libxcam/plugins/smart/dvs/libdvs/ |
test-image-stabilization.cpp | 149 char key = static_cast<char>(waitKey(3)); local 150 if (key == 27) {
|
/external/ltp/pan/ |
symbol.h | 41 * an in-memory dbm-like (key, content) database with hierarchical 42 * key names. 46 char *key; member in struct:sym 79 int sym_put (SYM sym, char *key, void *data, int flags ); 80 void *sym_get (SYM sym, char *key ); 81 int sym_seq (SYM sym, DBT *key, DBT *data, int flags ); 92 #define RM_KEY 001 /* free() on key pointer */ 98 #define R_CURSOR 1 /* set "cursor" to where "data" key is */
|
/external/ltp/testcases/kernel/syscalls/getxattr/ |
getxattr01.c | 68 char *key; member in struct:test_case 76 .key = "user.nosuchkey", 83 .key = XATTR_TEST_KEY, 90 .key = XATTR_TEST_KEY, 112 TEST(getxattr(tc[i].fname, tc[i].key, tc[i].value,
|