/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
RecipeListAdapter.java | 59 List<Item> items = parseJson(jsonObject); local 60 appendItemsToList(items); 67 JSONArray items = json.getJSONArray(Constants.RECIPE_FIELD_LIST); local 68 for (int i = 0; i < items.length(); i++) { 69 JSONObject item = items.getJSONObject(i); 86 private void appendItemsToList(List<Item> items) { 87 mItems.addAll(items);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
collections.py | 97 'od.clear() -> None. Remove all items from od.'
113 def items(self):
member in class:OrderedDict 114 'od.items() -> list of (key, value) pairs in od'
178 return '%s(%r)' % (self.__class__.__name__, self.items())
184 items = [[k, self[k]] for k in self]
189 return (self.__class__, (items,), inst_dict)
190 return self.__class__, (items,)
231 "od.viewitems() -> a set-like object providing a view on od's items"
396 '''Dict subclass for counting hashable items. Sometimes called a bag
586 for elem, count in iterable.items(): [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/ |
xmlreader.py | 333 def items(self):
member in class:AttributesImpl 334 return self._attrs.items()
352 for (nsname, qname) in self._qnames.items():
359 for (nsname, qname) in self._qnames.items():
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
ConfigParser.py | 73 items(section, raw=False, vars=None)
234 for key, value in defaults.items():
334 def items(self, section):
member in class:RawConfigParser 345 return d.items()
395 for (key, value) in self._defaults.items():
400 for (key, value) in self._sections[section].items():
544 for name, val in options.items():
603 for key, value in vars.items():
617 def items(self, section, raw=False, vars=None):
member in class:ConfigParser 637 for key, value in vars.items(): [all...] |
collections.py | 93 'od.clear() -> None. Remove all items from od.'
111 def items(self):
member in class:OrderedDict 112 'od.items() -> list of (key, value) pairs in od'
176 return '%s(%r)' % (self.__class__.__name__, self.items())
182 items = [[k, self[k]] for k in self]
187 return (self.__class__, (items,), inst_dict)
188 return self.__class__, (items,)
211 return len(self)==len(other) and self.items() == other.items()
229 "od.viewitems() -> a set-like object providing a view on od's items"
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
message.py | 47 # A tuple is used for RFC 2231 encoded parameter values where items
346 def items(self):
406 for k, v in _params.items():
783 The returned list of items describes the Content-Type headers'
344 def items(self): member in class:Message
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_cfgparser.py | 11 def items(self):
member in class:SortedDict 12 result = self.data.items()
23 result = self.items()
26 def iteritems(self): return iter(self.items())
353 L = list(cf.items("section"))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/ |
xmlreader.py | 333 def items(self):
member in class:AttributesImpl 334 return self._attrs.items()
352 for (nsname, qname) in self._qnames.items():
359 for (nsname, qname) in self._qnames.items():
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
Misc.py | 384 def items(self):
member in class:Sdict 385 Items = []
387 Items.append((Key, self[Key]))
388 return Items
393 return iter(self.items())
427 for Key1, Val1 in Dict.items():
430 for Key1, Val1 in Kwargs.items():
[all...] |
/external/annotation-tools/asmx/src/org/objectweb/asm/commons/ |
SerialVersionUIDAdder.java | 70 * The sequence of items in the stream is as follows: 439 * Sorts the items in the collection and writes it to the data output stream 441 * @param itemCollection collection of items 452 Item items[] = (Item[]) itemCollection.toArray(new Item[size]); local 453 Arrays.sort(items); 455 dos.writeUTF(items[i].name); 456 dos.writeInt(items[i].access); 458 ? items[i].desc.replace('/', '.') 459 : items[i].desc);
|
/external/elfutils/libdwfl/ |
linux-core-attach.c | 138 const Ebl_Core_Item *items; local 140 ®s_offset, &nregloc, ®locs, &nitems, &items)) 148 for (item = items; item < items + nitems; item++) 151 if (item == items + nitems) 191 const Ebl_Core_Item *items; local 193 &nregloc, ®locs, &nitems, &items); 198 for (item = items; item < items + nitems; item++) 201 assert (item < items + nitems) 380 const Ebl_Core_Item *items; local [all...] |
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
MonitorBasedArrayBlockingQueue.java | 68 /** The queued items */ 69 final E[] items; field in class:MonitorBasedArrayBlockingQueue 70 /** items index for next take, poll or remove */ 72 /** items index for next put, offer, or add. */ 74 /** Number of items in the queue */ 97 return (++i == items.length) ? 0 : i; 105 items[putIndex] = x; 115 final E[] items = this.items; local 116 E x = items[takeIndex] 128 final E[] items = this.items; local 472 final E[] items = this.items; local 526 final E[] items = this.items; local 568 final E[] items = this.items; local 598 final E[] items = this.items; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 751 final TestRelativeDateTimeUnitItem[] items = { local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleDataTest.java | 130 final TestMeasurementSysItem[] items = { local 138 for (TestMeasurementSysItem item: items) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 748 final TestRelativeDateTimeUnitItem[] items = { local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleDataTest.java | 127 final TestMeasurementSysItem[] items = { local 135 for (TestMeasurementSysItem item: items) {
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
ClassHeaderReader.java | 32 private int[] items = new int[1000]; field in class:ClassHeaderReader 74 items = (int[])resizeArray(items, constant_pool_count); 81 items[i] = index + 1; 130 index = readUnsignedShort(items[index]); 131 bin.readFrom(b, items[index]);
|
/external/libmojo/third_party/jinja2/ |
runtime.py | 104 `keys`, `values`, `items`, `iterkeys`, `itervalues`, `iteritems`, 216 items = _all('items') variable in class:Context 302 raise TypeError('no items for cycling given')
|
utils.py | 134 items = import_name.split('.') 135 module = '.'.join(items[:-1]) 136 obj = items[-1] 432 def items(self): member in class:LRUCache 433 """Return a list of items.""" 439 """Iterate over all items.""" 440 return iter(self.items()) 444 return [x[1] for x in self.items()] 463 """Iterate over the values in the cache dict, oldest items 483 def __init__(self, *items) [all...] |
/external/lzma/CPP/Common/ |
Wildcard.cpp | 196 // PathParts.IsEmpty() means all items (universal wildcard)
342 const CObjectVector<CItem> &items = include ? IncludeItems : ExcludeItems;
local 343 FOR_VECTOR (i, items)
344 if (items[i].CheckPath(pathParts, isFile))
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_program_cache.c | 137 for (c = cache->items[hash % cache->size]; c; c = c->next) 140 fprintf(stderr, "bucket %d/%d = %d/%d items\n", hash % cache->size, 144 for (c = cache->items[hash % cache->size]; c; c = c->next) { 156 struct brw_cache_item **items; local 161 items = calloc(size, sizeof(*items)); 164 for (c = cache->items[i]; c; c = next) { 166 c->next = items[c->hash % size]; 167 items[c->hash % size] = c; 170 free(cache->items); [all...] |
/external/protobuf/python/google/protobuf/internal/ |
containers.py | 99 def items(self): member in class:Mapping 111 return dict(self.items()) == dict(other.items()) 166 for key, value in kwds.items(): 309 """Retrieves the subset of items from between the specified indices.""" 313 """Sets the subset of items from between the specified indices.""" 326 """Deletes the subset of items from between the specified indices.""" 411 """Retrieves the subset of items from between the specified indices.""" 420 """Deletes the subset of items from between the specified indices."""
|
/external/python/cpython2/Lib/ |
ConfigParser.py | 73 items(section, raw=False, vars=None) 242 for key, value in defaults.items(): 342 def items(self, section): member in class:RawConfigParser 353 return d.items() 403 for (key, value) in self._defaults.items(): 408 for (key, value) in self._sections[section].items(): 552 for name, val in options.items(): 611 for key, value in vars.items(): 625 def items(self, section, raw=False, vars=None): member in class:ConfigParser 645 for key, value in vars.items() [all...] |
collections.py | 109 'od.clear() -> None. Remove all items from od.' 125 def items(self): member in class:OrderedDict 126 'od.items() -> list of (key, value) pairs in od' 190 return '%s(%r)' % (self.__class__.__name__, self.items()) 196 items = [[k, self[k]] for k in self] 201 return (self.__class__, (items,), inst_dict) 202 return self.__class__, (items,) 243 "od.viewitems() -> a set-like object providing a view on od's items" 408 '''Dict subclass for counting hashable items. Sometimes called a bag 598 for elem, count in iterable.items() [all...] |
/external/python/cpython2/Lib/bsddb/ |
dbshelve.py | 198 def items(self, txn=None): member in class:DBShelf 200 items = self.db.items(txn) 202 items = self.db.items() 205 for k, v in items:
|