/ndk/sources/cxx-stl/stlport/src/ |
lock_free_slist.h | 39 struct item { struct in class:_STLP_atomic_freelist 40 item* _M_next; 51 * Atomically pushes the specified item onto the freelist. 53 * @param __item [in] Item to add to the front of the list 55 void push(item* __item) { 83 * Atomically removes the topmost item from the freelist and returns a 86 * @return Item that was removed from front of list; NULL if list empty 88 item* pop() { 89 item* __result; 108 * topmost item. The items are still chained and may be traversed safely a 186 struct item { struct in class:_STLP_atomic_freelist [all...] |
/external/vulkan-validation-layers/loader/ |
cJSON.c | 91 /* Parse the input text to generate a number, and populate the result into item. 93 static const char *parse_number(cJSON *item, const char *num) { 127 item->valuedouble = n; 128 item->valueint = (int)n; 129 item->type = cJSON_Number; 181 /* Render the number nicely from the given item into a string. */ 182 static char *print_number(cJSON *item, printbuffer *p) { 184 double d = item->valuedouble; 192 } else if (fabs(((double)item->valueint) - d) <= DBL_EPSILON && 200 sprintf(str, "%d", item->valueint) 1163 cJSON *item = cJSON_New_Item(); local 1169 cJSON *item = cJSON_New_Item(); local 1175 cJSON *item = cJSON_New_Item(); local 1181 cJSON *item = cJSON_New_Item(); local 1187 cJSON *item = cJSON_New_Item(); local 1196 cJSON *item = cJSON_New_Item(); local 1204 cJSON *item = cJSON_New_Item(); local 1210 cJSON *item = cJSON_New_Item(); local [all...] |
/prebuilts/go/darwin-x86/src/text/template/parse/ |
lex_test.go | 49 return fmt.Sprintf("item%d", int(i)) 57 items []item 61 tEOF = item{itemEOF, 0, ""} 62 tFor = item{itemIdentifier, 0, "for"} 63 tLeft = item{itemLeftDelim, 0, "{{"} 64 tLpar = item{itemLeftParen, 0, "("} 65 tPipe = item{itemPipe, 0, "|"} 66 tQuote = item{itemString, 0, `"abc \n\t\" "`} 67 tRange = item{itemRange, 0, "range"} 68 tRight = item{itemRightDelim, 0, "}}" [all...] |
/prebuilts/go/linux-x86/src/text/template/parse/ |
lex_test.go | 49 return fmt.Sprintf("item%d", int(i)) 57 items []item 61 tEOF = item{itemEOF, 0, ""} 62 tFor = item{itemIdentifier, 0, "for"} 63 tLeft = item{itemLeftDelim, 0, "{{"} 64 tLpar = item{itemLeftParen, 0, "("} 65 tPipe = item{itemPipe, 0, "|"} 66 tQuote = item{itemString, 0, `"abc \n\t\" "`} 67 tRange = item{itemRange, 0, "range"} 68 tRight = item{itemRightDelim, 0, "}}" [all...] |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
set.py | 39 for item in items: 40 self.add(item) 45 def add(self, item): 46 """Add an item to the set.""" 47 if not item in self.items: 48 self.items.append(item) 50 def remove(self, item): 51 """Remove an item from the set.""" 52 self.items.remove(item) 54 def discard(self, item) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNodeListBase.java | 62 * Returns the <code>index</code>th item in the collection. If 70 public Node item(int index) { method in class:DTMNodeListBase
|
/external/bison/src/ |
ielr.h | 42 bool ielr_item_has_lookahead (state *s, symbol_number lhs, size_t item,
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
LruResourceCache.java | 30 protected void onItemEvicted(Key key, Resource<?> item) { 32 listener.onResourceRemoved(item); 37 protected int getSize(Resource<?> item) { 38 return item.getSize();
|
/external/smali/deodexerant/ |
deodexerant.c | 87 InlineOperation *item = &inlineTable[i]; local 89 printf("%s->%s%s\n", item->classDescriptor, item->methodName, item->methodSignature);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
BaseOnItemViewClickedListener.java | 17 * Interface for receiving notification when an item view holder is clicked. 22 * Called when an item inside a row gets clicked. 23 * @param itemViewHolder The view holder of the item that is clicked. 24 * @param item The item that is currently selected. 25 * @param rowViewHolder The view holder of the row which the clicked item belongs to. 26 * @param row The row which the clicked item belongs to. 28 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
|
BaseOnItemViewSelectedListener.java | 17 * Interface for receiving notification when a row or item becomes selected. The concept of 18 * current selection is different than focus. A row or item can be selected without having focus; 24 * Called when a row or a new item becomes selected. 26 * For a non {@link ListRow} case, parameter item may be null. Event is fired when 29 * For a {@link ListRow} case, parameter item is null if the list row is empty. 39 * focused item in the row. 42 * @param itemViewHolder The view holder of the item that is currently selected. 43 * @param item The item that is currently selected. 47 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
ContextMenuAdapter.java | 29 boolean onContextItemSelected(MenuItem item);
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
MarshalHashtable.java | 55 SoapObject item = new ItemSoapObject(instance); local 56 parser.require(XmlPullParser.START_TAG, null, "item"); 58 Object key = envelope.read(parser, item, 0, null, null, PropertyInfo.OBJECT_TYPE); 61 item.setProperty(0, key); 63 Object value = envelope.read(parser, item, 1, null, null, PropertyInfo.OBJECT_TYPE); 66 item.setProperty(1, value); 68 parser.require(XmlPullParser.END_TAG, null, "item"); 76 SoapObject item = new SoapObject(null, null); local 77 item.addProperty("key", null); 78 item.addProperty("value", null) [all...] |
/external/selinux/libsepol/cil/src/ |
cil_parser.c | 50 struct cil_tree_node *item = NULL; local 93 cil_tree_node_init(&item); 94 item->parent = current; 97 item->data = cil_strpool_add(tok.value + 1); 99 item->data = cil_strpool_add(tok.value); 101 item->flavor = CIL_NODE; 102 item->line = tok.line; 103 item->path = path; 105 current->cl_head = item; 107 current->cl_tail->next = item; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
UserDetailView.java | 71 UserSwitcherController.UserRecord item = getItem(position); local 77 String name = getName(mContext, item); 78 if (item.picture == null) { 79 v.bind(name, getDrawable(mContext, item), item.resolveId()); 81 v.bind(name, item.picture, item.info.id); 83 v.setActivated(item.isCurrent); 84 v.setDisabledByAdmin(item.isDisabledByAdmin); 85 if (!item.isSwitchToEnabled) [all...] |
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
CheckableListAdapter.java | 36 * state of a given item. 65 CheckableItem item = getItem(position); local 66 row.setChecked(item.isChecked); 67 row.setText(item.name); 72 CheckableItem item = getItem(position); 73 item.isChecked = b; 88 CheckableItem item = getItem(i); local 89 if (item.isChecked) { 106 CheckableItem item = new CheckableItem(e, false); local 107 newList.add(item); [all...] |
/prebuilts/go/darwin-x86/src/container/heap/ |
example_pq_test.go | 13 // An Item is something we manage in a priority queue. 14 type Item struct { 15 value string // The value of the item; arbitrary. 16 priority int // The priority of the item in the queue. 18 index int // The index of the item in the heap. 22 type PriorityQueue []*Item 39 item := x.(*Item) 40 item.index = n 41 *pq = append(*pq, item) [all...] |
/prebuilts/go/darwin-x86/test/bench/shootout/ |
binary-tree-freelist.go | 47 item int 68 func (a *Arena) New(item int, left, right *Node) *Node { 78 n.item = item 84 func bottomUpTree(item, depth int) *Node { 86 return arena.New(item, nil, nil) 88 return arena.New(item, bottomUpTree(2*item-1, depth-1), bottomUpTree(2*item, depth-1)) 93 return n.item [all...] |
/prebuilts/go/linux-x86/src/container/heap/ |
example_pq_test.go | 13 // An Item is something we manage in a priority queue. 14 type Item struct { 15 value string // The value of the item; arbitrary. 16 priority int // The priority of the item in the queue. 18 index int // The index of the item in the heap. 22 type PriorityQueue []*Item 39 item := x.(*Item) 40 item.index = n 41 *pq = append(*pq, item) [all...] |
/prebuilts/go/linux-x86/test/bench/shootout/ |
binary-tree-freelist.go | 47 item int 68 func (a *Arena) New(item int, left, right *Node) *Node { 78 n.item = item 84 func bottomUpTree(item, depth int) *Node { 86 return arena.New(item, nil, nil) 88 return arena.New(item, bottomUpTree(2*item-1, depth-1), bottomUpTree(2*item, depth-1)) 93 return n.item [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ArrayTestListAdapter.java | 36 public void add(TestListItem item) { 37 mRows.add(item);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
DetailsDescriptionPresenter.java | 22 protected void onBindDescription(ViewHolder viewHolder, Object item) { 23 Movie movie = (Movie) item;
|
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/ |
Notepadv1.java | 40 public boolean onOptionsItemSelected(MenuItem item) { 42 return super.onOptionsItemSelected(item);
|
/external/chromium-trace/catapult/tracing/tracing/ui/extras/chrome/cc/ |
display_item_list_view.css | 6 * /deep/ .tr-ui-e-chrome-cc-display-item-list-view {
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
LruCache.java | 7 * A general purpose size limited cache that evicts items using an LRU algorithm. By default every item is assumed to 8 * have a size of one. Subclasses can override {@link #getSize(Object)}} to change the size on a per item basis. 45 * Returns the size of a given item, defaulting to one. The units must match those used in the size passed in to the 48 * @param item The item to get the size of. 50 protected int getSize(Y item) { 55 * A callback called whenever an item is evicted from the cache. Subclasses can override. 57 * @param key The key of the evicted item. 58 * @param item The evicted item [all...] |