Home
last modified time | relevance | path

Searched refs:item_type (Results 1 – 12 of 12) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/
Dproperty.py554 self.item_type = model
617 def __init__(self, item_type, verbose_name=None, name=None, default=None, **kwds): argument
620 self.item_type = item_type
630 if self.item_type in six.integer_types:
631 item_type = six.integer_types
632 elif self.item_type in six.string_types:
633 item_type = six.string_types
635 item_type = self.item_type
638 if not isinstance(item, item_type):
639 if item_type == six.integer_types:
[all …]
Dsequence.py144 self.item_type = type(fnc(None))
184 self._value = self.item_type(val['current_value'])
186 self.last_value = self.item_type(val['last_value'])
/external/autotest/client/site_tests/webstore_InstallItem/
Dwebstore_InstallItem.py18 def run(self, item_id, item_type, install_type): argument
19 self.install_item(item_id, item_type, install_type)
20 if item_type != ItemType.extension and item_type != ItemType.theme:
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/manager/
Dxmlmanager.py61 def encode(self, item_type, value): argument
62 if item_type in self.type_map:
63 encode = self.type_map[item_type][0]
67 def decode(self, item_type, value): argument
68 if item_type in self.type_map:
69 decode = self.type_map[item_type][1]
80 item_type = getattr(prop, "item_type")
81 if Model in item_type.mro():
82 item_type = Model
83 new_value.append(self.encode(item_type, v))
[all …]
Dsdbmanager.py76 def encode(self, item_type, value): argument
78 if self.model_class in item_type.mro():
79 item_type = self.model_class
82 if item_type in self.type_map:
83 encode = self.type_map[item_type][0]
87 def decode(self, item_type, value): argument
88 if item_type in self.type_map:
89 decode = self.type_map[item_type][1]
99 item_type = getattr(prop, "item_type")
100 return self.encode(item_type, value)
[all …]
/external/autotest/client/cros/
Dwebstore_test.py73 def _install_type_click_xpath(item_type, install_type): argument
86 if item_type == ItemType.hosted_app:
206 def install_item(self, item_id, item_type, install_type): argument
217 item_id, ItemType.to_string[item_type],
226 item_type, install_type)
227 if item_type == ItemType.extension or item_type == ItemType.theme:
/external/icu/icu4c/source/test/depstest/
Ddepstest.py91 item_type = item["type"]
94 (item_type, name, parents))
121 print "Info: %s %s does not need to depend on %s\n" % (item_type, name, dep)
138 (item_type, name, file_name, symbol, neededItem))
/external/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc236 const Descriptor* item_type = file->FindMessageTypeByName("Item"); in TEST_F() local
237 ASSERT_TRUE(item_type != NULL); in TEST_F()
240 const FieldDescriptor* key_field = item_type->FindFieldByName("key"); in TEST_F()
/external/freetype/src/pfr/
Dpfrload.c54 FT_UInt num_items, item_type, item_size; in pfr_extra_items_parse() local
64 item_type = PFR_NEXT_BYTE( p ); in pfr_extra_items_parse()
75 if ( extra->type == item_type ) in pfr_extra_items_parse()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pfr/
Dpfrload.c141 FT_UInt num_items, item_type, item_size; in pfr_extra_items_parse() local
151 item_type = PFR_NEXT_BYTE( p ); in pfr_extra_items_parse()
162 if ( extra->type == item_type ) in pfr_extra_items_parse()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/
Dvolume.py86 past_volume_ids = ListProperty(item_type=str)
/external/protobuf/src/google/protobuf/
Ddescriptor.cc4625 const Descriptor* item_type = field->message_type(); in ValidateMapKey() local
4626 if (item_type == NULL) { in ValidateMapKey()
4639 item_type->full_name() + "." + key_name); in ValidateMapKey()
4644 item_type->full_name() + "\"."); in ValidateMapKey()