/external/chromium_org/device/hid/ |
H A D | hid_report_descriptor.cc | 19 HidReportDescriptorItem* item = NULL; local 21 item = new HidReportDescriptorItem(&bytes[header_index], item); 22 items_.push_back(linked_ptr<HidReportDescriptorItem>(item)); 23 header_index += item->GetSize();
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
H A D | grid.js | 21 * Creates a new grid item element. 22 * @param {*} dataItem The data item. 37 * Called when an element is decorated as a grid item. 184 * @param {number} index The index of the item. 185 * @return {number} The top position of the item inside the list, not taking 186 * into account lead item. May vary in the case of multiple columns. 194 * @param {number} index The index of the item. 195 * @return {number} The row of the item. May vary in the case 205 * @return {number} The index of the first item in the row. 228 * first item i [all...] |
/external/markdown/markdown/extensions/ |
H A D | rss.py | 82 item = etree.SubElement(channel, "item") 83 link = etree.SubElement(item, "link") 85 title = etree.SubElement(item, "title") 89 guidElem = etree.SubElement(item, "guid") 95 description = etree.SubElement(item, "description")
|
/external/chromium_org/ash/shelf/ |
H A D | shelf_model.cc | 19 // TODO(skuhne): If the app list item becomes movable again, this need 53 int ShelfModel::Add(const ShelfItem& item) { argument 54 return AddAt(items_.size(), item); 57 int ShelfModel::AddAt(int index, const ShelfItem& item) { argument 58 index = ValidateInsertionIndex(item.type, index); 59 items_.insert(items_.begin() + index, item); 80 ShelfItem item(items_[index]); 82 items_.insert(items_.begin() + target_index, item); 87 void ShelfModel::Set(int index, const ShelfItem& item) { argument 89 int new_index = item [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/ |
H A D | V8InspectorFrontendHostCustom.cpp | 66 v8::Local<v8::Object> item = v8::Local<v8::Object>::Cast(itemArray->Get(i)); local 67 v8::Local<v8::Value> type = item->Get(v8AtomicString(isolate, "type")); 68 v8::Local<v8::Value> id = item->Get(v8AtomicString(isolate, "id")); 69 v8::Local<v8::Value> label = item->Get(v8AtomicString(isolate, "label")); 70 v8::Local<v8::Value> enabled = item->Get(v8AtomicString(isolate, "enabled")); 71 v8::Local<v8::Value> checked = item->Get(v8AtomicString(isolate, "checked")); 72 v8::Local<v8::Value> subItems = item->Get(v8AtomicString(isolate, "subItems")); 77 ContextMenuItem item(ContextMenuItem(SeparatorType, 80 menu.appendItem(item); 87 ContextMenuItem item(SubmenuTyp [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
H A D | IItemAttribute.java | 45 void format (IItem item, StringBuffer appendTo); argument 46 boolean passes (IItem item, int criterion); // ideally, criteria should come from a double-dispatched API argument 94 public void format (final IItem item, final StringBuffer appendTo) argument 96 appendTo.append (item.getName ()); 99 public boolean passes (final IItem item, final int criterion) argument 138 public void format (final IItem item, final StringBuffer appendTo) argument 140 final int n = item.getAggregate (m_numeratorAggregateID); 142 final int d = item.getAggregate (m_denominatorAggregateID); 164 public boolean passes (final IItem item, final int criterion) argument 166 final int n = item [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
H A D | ItemLocationBox.java | 76 for (Item item : items) { 77 size += item.getSize(); 93 for (Item item : items) { 94 item.getContent(byteBuffer); 249 Item item = (Item) o; 251 if (baseOffset != item.baseOffset) return false; 252 if (constructionMethod != item.constructionMethod) return false; 253 if (dataReferenceIndex != item.dataReferenceIndex) return false; 254 if (itemId != item.itemId) return false; 255 if (extents != null ? !extents.equals(item [all...] |
/external/chromium_org/ash/system/tray/ |
H A D | system_tray.h | 47 // Adds a new item in the tray. 48 void AddTrayItem(SystemTrayItem* item); 50 // Removes an existing tray item. 51 void RemoveTrayItem(SystemTrayItem* item); 62 // Shows details of a particular item. If |close_delay_in_seconds| is 64 void ShowDetailedView(SystemTrayItem* item, 73 // Hides the detailed view for |item|. 74 void HideDetailedView(SystemTrayItem* item); 76 // Shows the notification view for |item|. 77 void ShowNotificationView(SystemTrayItem* item); [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/app_launcher/ |
H A D | popup.js | 66 var item = appList[i]; 67 addApp(appsDiv, item, i == selectedIndex); 76 var item = completeList[i]; 78 if (!item.isApp || !item.enabled) { 81 if (filter && item.name.toLowerCase().search(filter) < 0) { 84 appList.push(item);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | test_file_system.py | 40 def update_result(item, path): 42 if isinstance(item, dict): 46 for p, content in item.iteritems()] 47 for subpath, subitem in item.iteritems(): 49 elif isinstance(item, basestring): 50 result[path] = item 52 raise ValueError('Unsupported item type: %s' % type(item))
|
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ |
H A D | ContextMenuUtils.java | 72 * Opens and selects an item from a context menu. 76 * @param itemId The context menu item ID to select. 90 * Opens and selects an item from a context menu. 94 * @param itemTitle The title of the context menu item to select. 107 MenuItem item = menu.getItem(i); 108 if (TextUtils.equals(item.getTitle(), itemTitle)) { 109 itemId = item.getItemId(); 113 Assert.assertNotNull("Couldn't find context menu item for '" + itemTitle + "'", itemId); 120 MenuItem item = menu.findItem(itemId); 121 Assert.assertNotNull("Could not find '" + itemId + "' in menu", item); [all...] |
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
H A D | Options.py | 324 for item in s.split(','): 325 item = item.strip() 326 if not item: continue 327 if not '=' in item: raise ValueError('Expected "=" in option "%s"' % item) 328 name, value = [ s.strip() for s in item.strip().split('=', 1) ]
|
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/ |
H A D | list.pxd | 43 int PyList_SetItem(object list, Py_ssize_t index, object item) except -1 44 # Set the item at index index in list to item. Return 0 on success 46 # item and discards a reference to an item already in the list at 53 # item, and, unlike PyList_SetItem(), does not discard a reference 54 # to any item that it being replaced; any reference in list at 57 int PyList_Insert(object list, Py_ssize_t index, object item) except -1 58 # Insert the item item int [all...] |
/external/chromium_org/tools/idl_parser/ |
H A D | idl_node.py | 23 # Takes an input item, list, or None, and returns a new list of that set. 24 def CopyToList(item): 25 # If the item is 'Empty' make it an empty list 26 if not item: 27 item = [] 29 # If the item is not a list 30 if type(item) is not type([]): 31 item = [item] 34 return list(item) [all...] |
/external/chromium_org/ui/file_manager/gallery/js/ |
H A D | gallery.js | 69 * @param {Gallery.Item} item Original gallery item. 71 * @param {boolean} overwrite Whether to overwrite the image to the item or not. 75 volumeManager, item, canvas, overwrite) { 76 var oldEntry = item.getEntry(); 77 var oldMetadata = item.getMetadata(); 78 var oldLocationInfo = item.getLocationInfo(); 80 item.getMetadata(), canvas, 1 /* quality */); 83 MetadataCache.cloneMetadata(item.getMetadata())); 90 item [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | menu_manager.cc | 83 MenuItem* item = MenuItem::Populate( local 85 if (!item) 87 items.push_back(item); 192 void MenuItem::AddChild(MenuItem* item) { argument 193 item->parent_id_.reset(new Id(id_)); 194 children_.push_back(item); 347 bool MenuManager::AddContextItem(const Extension* extension, MenuItem* item) { argument 348 const MenuItem::ExtensionKey& key = item->id().extension_key; 349 // The item must have a non-empty extension id, and not have already been 351 if (key.empty() || ContainsKey(items_by_id_, item 390 DescendantOf(MenuItem* item, const MenuItem::Id& ancestor_id) argument 525 MenuItem* item = *i; local 549 RadioItemSelected(MenuItem* item) argument [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
H A D | background.js | 179 items.forEach(function(item) { 180 if (item.state == 'in_progress') { 182 if (item.totalBytes) { 183 options.totalTotalBytes += item.totalBytes; 184 options.totalBytesReceived += item.bytesReceived; 188 var dangerous = ((item.danger != 'safe') && 189 (item.danger != 'accepted')); 191 options.anyPaused = options.anyPaused || item.paused; 192 } else if ((item.state == 'complete') && item [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderListItem.cpp | 63 // The marker always inherits from the list item, regardless of where it might end 122 // Returns the next list item with respect to the DOM order. 123 static RenderListItem* nextListItem(const Node* listNode, const RenderListItem* item = 0) 128 const Node* current = item ? item->node() : listNode; 151 // Returns the previous list item with respect to the DOM order. 152 static RenderListItem* previousListItem(const Node* listNode, const RenderListItem* item) argument 154 Node* current = item->node(); 162 // This item is part of our current list, so it's what we're looking for. 167 // be a list item itsel 490 previousOrNextItem(bool isListReversed, Node* list, RenderListItem* item) argument [all...] |
/external/chromium_org/third_party/bintrees/bintrees/ |
H A D | treemixin.py | 50 * __max__() <==> max(T), get max item (k,v) of T, O(log(n)) 51 * __min__() <==> min(T), get min item (k,v) of T, O(log(n)) 120 * pop_min() -> (k, v), remove item with minimum key, O(log(n)) 121 * pop_max() -> (k, v), remove item with maximum key, O(log(n)) 146 return tpl % ", ".join( ("%r: %r" % item for item in self.items()) ) 210 return ( item[0] for item in self.items(reverse) ) 220 return ( item[1] for item i [all...] |
/external/chromium_org/third_party/boringssl/src/ssl/ |
H A D | d1_lib.c | 164 pitem *item = NULL; local 168 while( (item = pqueue_pop(s->d1->unprocessed_rcds.q)) != NULL) 170 rdata = (DTLS1_RECORD_DATA *) item->data; 175 OPENSSL_free(item->data); 176 pitem_free(item); 179 while( (item = pqueue_pop(s->d1->processed_rcds.q)) != NULL) 181 rdata = (DTLS1_RECORD_DATA *) item->data; 186 OPENSSL_free(item->data); 187 pitem_free(item); 190 while( (item [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | intel_batchbuffer.c | 43 struct cached_batch_item *item = intel->batch.cached_items; local 45 while (item) { 46 struct cached_batch_item *next = item->next; 47 free(item); 48 item = next; 327 struct cached_batch_item **prev = &intel->batch.cached_items, *item; local 335 item = *prev; 336 old = intel->batch.map + item->header; 338 if (item->size == sz && memcmp(old, start, sz) == 0) { 340 *prev = item [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | intel_batchbuffer.c | 43 struct cached_batch_item *item = intel->batch.cached_items; local 45 while (item) { 46 struct cached_batch_item *next = item->next; 47 free(item); 48 item = next; 327 struct cached_batch_item **prev = &intel->batch.cached_items, *item; local 335 item = *prev; 336 old = intel->batch.map + item->header; 338 if (item->size == sz && memcmp(old, start, sz) == 0) { 340 *prev = item [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
H A D | intel_batchbuffer.c | 43 struct cached_batch_item *item = intel->batch.cached_items; local 45 while (item) { 46 struct cached_batch_item *next = item->next; 47 free(item); 48 item = next; 327 struct cached_batch_item **prev = &intel->batch.cached_items, *item; local 335 item = *prev; 336 old = intel->batch.map + item->header; 338 if (item->size == sz && memcmp(old, start, sz) == 0) { 340 *prev = item [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_batchbuffer.c | 43 struct cached_batch_item *item = intel->batch.cached_items; local 45 while (item) { 46 struct cached_batch_item *next = item->next; 47 free(item); 48 item = next; 327 struct cached_batch_item **prev = &intel->batch.cached_items, *item; local 335 item = *prev; 336 old = intel->batch.map + item->header; 338 if (item->size == sz && memcmp(old, start, sz) == 0) { 340 *prev = item [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | intel_batchbuffer.c | 43 struct cached_batch_item *item = intel->batch.cached_items; local 45 while (item) { 46 struct cached_batch_item *next = item->next; 47 free(item); 48 item = next; 327 struct cached_batch_item **prev = &intel->batch.cached_items, *item; local 335 item = *prev; 336 old = intel->batch.map + item->header; 338 if (item->size == sz && memcmp(old, start, sz) == 0) { 340 *prev = item [all...] |