Home
last modified time | relevance | path

Searched refs:key_name (Results 1 – 25 of 47) sorted by relevance

12

/external/python/oauth2client/oauth2client/contrib/django_util/
Dstorage.py28 def __init__(self, model_class, key_name, key_value, property_name): argument
41 self.key_name = key_name
56 query = {self.key_name: self.key_value}
73 **{self.key_name: self.key_value})
80 query = {self.key_name: self.key_value}
/external/python/oauth2client/oauth2client/contrib/
Dsqlalchemy.py114 def __init__(self, session, model_class, key_name, argument
132 self.key_name = key_name
142 filters = {self.key_name: self.key_value}
160 filters = {self.key_name: self.key_value}
172 filters = {self.key_name: self.key_value}
Dappengine.py110 model = SiteXsrfSecretKey.get_or_insert(key_name='site')
309 def __init__(self, model, key_name, property_name, cache=None, user=None): argument
326 if key_name is None:
330 key_name = user.user_id()
333 self._key_name = key_name
/external/python/oauth2client/tests/contrib/django_util/
Dtest_django_storage.py45 self.key_name = 'id'
50 storage = Storage(FakeCredentialsModel, self.key_name,
54 self.assertEqual(storage.key_name, self.key_name)
69 storage = Storage(FakeCredentialsModelMock, self.key_name,
83 storage = Storage(FakeCredentialsModelMock, self.key_name,
99 storage = Storage(FakeCredentialsModelMockNoSet, self.key_name,
111 storage = Storage(FakeCredentialsModelMock, self.key_name,
131 storage = Storage(FakeCredentialsModelMock, self.key_name,
/external/autotest/client/site_tests/hardware_Keyboard/
Dhardware_Keyboard.py33 def _supported(self, event, key_name): argument
35 cmd += ' -s ' + key_name
38 logging.error('Unsupported Key : %s' % key_name)
40 logging.info('%s : %s' % (key_name, output))
64 if not all(self._supported(high_key_event, key_name)
65 for key_name in hardware_Keyboard.supported_keys):
/external/chromium-trace/catapult/common/py_utils/py_utils/
Ddiscover.py153 key_name = camel_case.ToUnderscore(obj.__name__)
155 key_name = module.__name__.split('.')[-1]
157 if key_name in classes and index_by_class_name:
158 assert classes[key_name] is obj, (
160 'key=%s, obj1=%s, obj2=%s' % (key_name, classes[key_name], obj))
162 classes[key_name] = obj
/external/adhd/cras/src/server/
Dcras_alsa_plugin_io.c48 static char key_name[MAX_INI_NAME_LENGTH + 1]; variable
224 snprintf(key_name, MAX_INI_NAME_LENGTH, "%s:%s", sec_name, in cras_alsa_plugin_io_init()
226 tmp = iniparser_getstring(plugins_ini, key_name, NULL); in cras_alsa_plugin_io_init()
236 snprintf(key_name, MAX_INI_NAME_LENGTH, "%s:%s", sec_name, in cras_alsa_plugin_io_init()
238 pcm_name = iniparser_getstring(plugins_ini, key_name, NULL); in cras_alsa_plugin_io_init()
244 snprintf(key_name, MAX_INI_NAME_LENGTH, "%s:%s", sec_name, in cras_alsa_plugin_io_init()
246 ctl_name = iniparser_getstring(plugins_ini, key_name, NULL); in cras_alsa_plugin_io_init()
252 snprintf(key_name, MAX_INI_NAME_LENGTH, "%s:%s", sec_name, in cras_alsa_plugin_io_init()
254 card_name = iniparser_getstring(plugins_ini, key_name, NULL); in cras_alsa_plugin_io_init()
/external/autotest/client/tests/iozone/
Diozone.py100 key_name = "%d-%d-%s" % (fields[0], fields[1], l)
101 keylist[key_name] = v
125 key_name = '%s-%d-kids' % (section, w_count)
126 keylist[key_name] = match.group(3)
157 key_name = "%s-%d-%s" % (section, w_count, basekey)
158 keylist[key_name] = result
/external/libchrome/components/policy/core/common/
Dpreg_parser.cc202 bool KeyRootEquals(const base::string16& key_name, const base::string16& root) { in KeyRootEquals() argument
206 if (!base::StartsWith(key_name, root, base::CompareCase::INSENSITIVE_ASCII)) in KeyRootEquals()
211 return key_name.length() == root.length() || in KeyRootEquals()
212 key_name.at(root.length()) == kRegistryPathSeparator[0]; in KeyRootEquals()
219 void HandleRecord(const base::string16& key_name, in HandleRecord() argument
228 base::SplitStringPiece(key_name, kRegistryPathSeparator, in HandleRecord()
358 base::string16 key_name; in ReadDataInternal() local
364 if (!ReadFieldString(&cursor, end, &key_name)) in ReadDataInternal()
399 if (KeyRootEquals(key_name, root)) in ReadDataInternal()
400 HandleRecord(key_name.substr(root.size()), value, type, data, dict); in ReadDataInternal()
/external/autotest/frontend/migrations/
D037_db_constraints.py73 key_name = foreign_key_name(table, field)
76 (table, key_name, field, destination_table))
80 key_name = foreign_key_name(table, field)
81 manager.execute('ALTER TABLE %s DROP FOREIGN KEY %s' % (table, key_name))
/external/libxkbcommon/tools/
Dhow-to-type.c164 const char *key_name; in main() local
167 key_name = xkb_keymap_key_get_name(keymap, keycode); in main()
168 if (!key_name) { in main()
206 keycode, key_name, layout + 1, layout_name, level + 1); in main()
/external/pdfium/testing/tools/
Dencode_pdf_filter.py31 key_name = name.lower()
32 if key_name and key_name[0] == '/':
33 key_name = key_name[:1]
35 filter_class = _PdfStream._filter_classes.get(key_name)
/external/python/oauth2client/tests/contrib/
Dtest_sqlalchemy.py74 key_name='key',
92 key_name='key',
114 key_name='key',
Dtest_appengine.py100 def __init__(self, key_name=None, sig_bytes=None, argument
104 self._key_name = key_name
212 key_name = b'1234567890'
215 key_name=key_name, sig_bytes=sig_bytes)
223 self.assertEqual(result, (key_name, sig_bytes))
297 key_name='foo'
342 key_name='foo'
1049 appengine.SiteXsrfSecretKey(key_name='site', secret=secret).put()
/external/llvm-project/lldb/source/Host/common/
DXML.cpp439 std::string key_name; in GetValueNode() local
440 if (key_node.GetElementText(key_name)) { in GetValueNode()
441 if (key_name == key) { in GetValueNode()
500 std::string key_name; in CreatePlistValue() local
501 key_node.GetElementText(key_name); in CreatePlistValue()
502 dict_sp->AddItem(key_name, CreatePlistValue(node)); in CreatePlistValue()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Devp_test.cc242 const std::string &key_name = t->GetParameter(); in ImportKey() local
243 EXPECT_EQ(0u, key_map->count(key_name)) << "Duplicate key: " << key_name; in ImportKey()
244 (*key_map)[key_name] = std::move(pkey); in ImportKey()
372 const std::string &key_name = t->GetParameter(); in TestEVP() local
373 if (key_map->count(key_name) == 0) { in TestEVP()
374 ADD_FAILURE() << "Could not find key " << key_name; in TestEVP()
377 EVP_PKEY *key = (*key_map)[key_name].get(); in TestEVP()
/external/boringssl/src/crypto/evp/
Devp_test.cc242 const std::string &key_name = t->GetParameter(); in ImportKey() local
243 EXPECT_EQ(0u, key_map->count(key_name)) << "Duplicate key: " << key_name; in ImportKey()
244 (*key_map)[key_name] = std::move(pkey); in ImportKey()
372 const std::string &key_name = t->GetParameter(); in TestEVP() local
373 if (key_map->count(key_name) == 0) { in TestEVP()
374 ADD_FAILURE() << "Could not find key " << key_name; in TestEVP()
377 EVP_PKEY *key = (*key_map)[key_name].get(); in TestEVP()
/external/libxkbcommon/src/xkbcomp/
Dast.h199 xkb_atom_t key_name; member
252 ExprKeyName key_name; member
Dast-build.c115 ExprCreateKeyName(xkb_atom_t key_name) in ExprCreateKeyName() argument
120 expr->key_name.key_name = key_name; in ExprCreateKeyName()
Dast-build.h43 ExprCreateKeyName(xkb_atom_t key_name);
/external/libchrome/base/trace_event/
Dtrace_event_argument.cc61 std::string key_name; in ReadKeyName() local
65 key_name = reinterpret_cast<const char*>(static_cast<uintptr_t>(ptr_value)); in ReadKeyName()
67 res = pickle_iterator.ReadString(&key_name); in ReadKeyName()
70 return key_name; in ReadKeyName()
/external/tensorflow/tensorflow/python/debug/wrappers/
Dlocal_cli_wrapper.py502 key_name = common.get_graph_element_name(key)
503 if key_name == tensor_name:
504 feed_key = key_name
/external/python/dateutil/dateutil/tz/
Dwin.py354 key_name, value, dtype = winreg.EnumValue(key, i)
368 dout[key_name] = value
/external/autotest/client/site_tests/hardware_Keyboard/src/
Devtest.c350 int is_key_supported(int fd, char *key_name) in is_key_supported() argument
353 int keycode = keycode_from_name(key_name); in is_key_supported()
364 printf("Invalid keycode %s", key_name); in is_key_supported()
/external/tensorflow/tensorflow/python/ops/
Dparsing_config.py495 key_name = "padding_" + re.sub("[^A-Za-z0-9_.\\-/]", "_", key)
497 default_value, dtype=dtype, name=key_name)
503 key_name = "key_" + re.sub("[^A-Za-z0-9_.\\-/]", "_", key)
505 default_value, dtype=dtype, name=key_name)

12