/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
TypeIdsSection.java | 50 public Collection<? extends Item> items() { 158 TypeIdItem item = typeIds.get(type); local 160 if (item == null) { 164 return item.getIndex();
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
RelationshipTester.java | 76 T item = group.get(itemNumber); local 79 assertion.assertRelated(item, related); 83 .replace("$ITEM", itemString(item, groupNumber, itemNumber)) 90 T item = groups.get(groupNumber).get(itemNumber); local 93 assertion.assertUnrelated(item, unrelated); 97 .replace("$ITEM", itemString(item, groupNumber, itemNumber)) 102 private static String itemString(Object item, int groupNumber, int itemNumber) { 104 .append(item) [all...] |
/external/icu/icu4c/source/common/ |
uarrsort.c | 64 uprv_stableBinarySearch(char *array, int32_t limit, void *item, int32_t itemSize, 72 int32_t diff=cmp(context, item, array+i*itemSize); 75 * Found the item. We look for the *last* occurrence of such 76 * an item, for stable sorting. 96 int32_t diff=cmp(context, item, array+start*itemSize); 113 char *item=array+j*itemSize; local 114 int32_t insertionPoint=uprv_stableBinarySearch(array, j, item, itemSize, cmp, context); 118 ++insertionPoint; /* one past the last equal item */ 122 uprv_memcpy(pv, item, itemSize); /* v=array[j] */ 135 /* allocate an intermediate item variable (v) * [all...] |
/external/icu/icu4c/source/test/perf/leperf/ |
letrperf.cpp | 117 const Long &item = longs.getObject(i, success); local 122 if(item.v==2) {
|
/external/ipsec-tools/src/racoon/ |
isakmp_frag.c | 183 struct isakmp_frag_item *item; local 213 if ((item = racoon_malloc(sizeof(*item))) == NULL) { 222 item->frag_num = frag->index; 223 item->frag_last = (frag->flags & ISAKMP_FRAG_LAST); 224 item->frag_next = NULL; 225 item->frag_packet = buf; 227 /* Look for the last frag while inserting the new item in the chain */ 228 if (item->frag_last) 229 last_frag = item->frag_num 270 struct isakmp_frag_item *item; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_hash_table.c | 107 struct util_hash_table_item *item; local 111 item = (struct util_hash_table_item *)cso_hash_iter_data(iter); 112 if (!ht->compare(item->key, key)) 127 struct util_hash_table_item *item; local 131 item = (struct util_hash_table_item *)cso_hash_iter_data(iter); 132 if (!ht->compare(item->key, key)) 133 return item; 147 struct util_hash_table_item *item; local 156 item = util_hash_table_find_item(ht, key, key_hash); 157 if(item) { 185 struct util_hash_table_item *item; local 207 struct util_hash_table_item *item; local 231 struct util_hash_table_item *item; local 253 struct util_hash_table_item *item; local 277 struct util_hash_table_item *item; local [all...] |
u_keymap.c | 151 struct keymap_item *item; local 155 item = (struct keymap_item *) cso_hash_iter_data(iter); 156 if (!memcmp(item->key, key, map->key_size)) 192 struct keymap_item *item; local 201 item = hash_table_find_item(map, key, key_hash); 202 if (item) { 203 /* call delete callback for old entry/item */ 204 map->delete_func(map, item->key, item->value, user); 205 item->value = (void *) data 235 struct keymap_item *item; local 261 struct keymap_item *item; local 295 struct keymap_item *item; local [all...] |
/external/openssl/crypto/pqueue/ |
pqueue.c | 73 pitem *item = (pitem *) OPENSSL_malloc(sizeof(pitem)); local 74 if (item == NULL) return NULL; 76 memcpy(item->priority,prio64be,sizeof(item->priority)); 78 item->data = data; 79 item->next = NULL; 81 return item; 85 pitem_free(pitem *item) 87 if (item == NULL) return; 89 OPENSSL_free(item); 159 pitem *item = pq->items; local 205 pitem *item = pq->items; local 243 pitem *item = pq->items; local [all...] |
/external/skia/bench/ |
GrResourceCacheBench.cpp | 117 GrCacheable* item = cache->find(key); local 118 if (NULL == item) { 122 if (static_cast<TextureResource*>(item)->fID != k) { 131 GrCacheable* item = cache->find(key); local 132 if (NULL == item) { 136 if (static_cast<TextureResource*>(item)->fID != k) { 148 GrCacheable* item = cache->find(key); local 149 if (NULL != item) { 159 GrCacheable* item = cache->find(key); local 160 if (NULL != item) { [all...] |
/external/smack/src/org/jivesoftware/smack/ |
RosterGroup.java | 79 RosterPacket.Item item = RosterEntry.toRosterItem(entry); local 80 item.removeGroupName(this.name); 81 item.addGroupName(name); 82 packet.addRosterItem(item); 173 RosterPacket.Item item = RosterEntry.toRosterItem(entry); local 174 item.addGroupName(getName()); 175 packet.addRosterItem(item); 215 RosterPacket.Item item = RosterEntry.toRosterItem(entry) local [all...] |
/external/smack/src/org/jivesoftware/smack/provider/ |
PrivacyProvider.java | 31 * For each <tt>item</tt> in the <tt>list</tt> element, it creates an instance
88 if (parser.getName().equals("item")) {
123 // Create the privacy item
124 PrivacyItem item = new PrivacyItem(type, allow, order);
local 125 item.setValue(parser.getAttributeValue("", "value"));
131 item.setFilterIQ(true);
134 item.setFilterMessage(true);
137 item.setFilterPresence_in(true);
140 item.setFilterPresence_out(true);
144 if (parser.getName().equals("item")) {
[all...] |
/external/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/webrtc/src/system_wrappers/source/ |
list_no_stl.cc | 17 ListItem::ListItem(const void* item) 20 item_ptr_(item), 25 ListItem::ListItem(const unsigned int item) 29 item_(item) 81 ListItem* item = new ListItem(ptr); local 83 PushBackImpl(item); 89 ListItem* item = new ListItem(item_id); local 91 PushBackImpl(item); 97 ListItem* item = new ListItem(item_id); local 99 PushFrontImpl(item); 105 ListItem* item = new ListItem(ptr); local [all...] |
list_stl.cc | 16 ListItem::ListItem(const void* item) 18 item_ptr_(item), 23 ListItem::ListItem(const unsigned int item) 26 item_(item) 73 ListItem* item = new ListItem(ptr); local 74 list_.push_back(item); 80 ListItem* item = new ListItem(item_id); local 81 list_.push_back(item); 87 ListItem* item = new ListItem(item_id); local 88 list_.push_front(item); 94 ListItem* item = new ListItem(ptr); local [all...] |
map_no_stl.cc | 17 MapNoStlItem::MapNoStlItem(int id, void* item) 21 item_ptr_(item) 79 MapNoStlItem* item = first_; local 81 if (!item) 87 while(item->next_) 90 // 1. Item should be inserted first. 91 // 2. Item should be inserted between two items 92 // 3. Item should be inserted last 93 if (item->GetId() > id) 95 new_item->next_ = item; 148 MapNoStlItem* item = Locate(id); local 165 MapNoStlItem* item = Locate(id); local 175 MapNoStlItem* item = first_; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
addinterface.cpp | 85 QTreeWidgetItem *item = new QTreeWidgetItem(interfaceWidget); local 86 if (!item) 89 item->setText(0, arg[0]); 90 item->setText(1, arg[1]); 91 item->setText(2, arg[2]);
|
scanresults.cpp | 98 QTreeWidgetItem *item = new QTreeWidgetItem(scanResultsWidget); local 99 if (item) { 100 item->setText(0, ssid); 101 item->setText(1, bssid); 102 item->setText(2, freq); 103 item->setText(3, signal); 104 item->setText(4, flags);
|
/frameworks/av/services/camera/libcameraservice/common/ |
FrameProcessorBase.cpp | 52 List<RangeListener>::iterator item = mRangeListeners.begin(); local 53 while (item != mRangeListeners.end()) { 54 if (item->minId == minId && 55 item->maxId == maxId && 56 item->listener == listener) { 62 item++; 75 List<RangeListener>::iterator item = mRangeListeners.begin(); local 76 while (item != mRangeListeners.end()) { 77 if (item->minId == minId && 78 item->maxId == maxId & 202 List<RangeListener>::iterator item = mRangeListeners.begin(); variable 221 List<sp<FilteredListener> >::iterator item = listeners.begin(); member in namespace:android::camera2 [all...] |
/frameworks/base/core/java/android/content/ |
ClipData.java | 43 * <p>ClippedData is a complex type containing one or Item instances, 44 * each of which can hold one or more representations of an item of data. 56 * <p>Each Item instance can be one of three main classes of data: a simple 57 * CharSequence of text, a single Intent object, or a Uri. See {@link Item} 71 * the application must correctly interpret the data for its use. If the {@link Item} 78 * can use the convenience method {@link Item#coerceToText Item.coerceToText}. 81 * since any clip item can always be converted to a string. 84 * "content:" URIs. A content URI allows the recipient of a ClippedData item 107 * <p>For example, the implementation of {@link Item#coerceToText Item.coerceToText 668 Item item = new Item(text); local 684 Item item = new Item(text, htmlText); local 697 Item item = new Item(intent); local 714 Item item = new Item(uri); local 753 Item item = new Item(uri); local 803 final Item item = mItems.get(i); local 817 final Item item = mItems.get(i); local 834 final Item item = mItems.get(i); local 904 Item item = mItems.get(i); local [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ListContextMenu.java | 81 view.setText("List item " + mTitles[position]); 99 MenuItem item = menu.add(0, 0, 0, "Really long menu item name"); local 100 item.setTitleCondensed("Long name"); 101 item.setIcon(R.drawable.black_square); 103 SubMenu sm = menu.addSubMenu(0, 0, 0, "The 2nd item, a sub menu").setIcon(R.drawable.black_square_stretchable); 104 item = sm.getItem(); 105 item.setTitleCondensed("Sub menu"); 110 menu.add(0, 0, 0, "Item 3"); 111 menu.add(0, 0, 0, "Item 4") [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
UserDetailView.java | 62 UserSwitcherController.UserRecord item = getItem(position); local 68 String name = getName(mContext, item); 69 if (item.picture == null) { 70 v.bind(name, getDrawable(mContext, item)); 72 v.bind(name, item.picture); 74 v.setActivated(item.isCurrent); 75 v.setTag(item);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
VertexShader.java | 94 ScriptField_VertexShader_s.Item item = new ScriptField_VertexShader_s.Item(); local 95 item.program = mProgram; 99 item.shaderConst = mConstantBuffer; 100 item.shaderConstParams = mConstantBufferParams.getAllocation(); 101 mProgram.bindConstants(item.shaderConst, 0); 104 item.objectConstIndex = -1; 106 item.objectConstIndex = mPerShaderConstants != null ? 1 : 0; 110 mField.set(item, 0, true) [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
ListViewAddRemoveNoTransition.java | 56 String item = (String) parent.getItemAtPosition(position); 59 if (!item.equals(v.getText())) { 63 numList.remove(item); 93 String item = getItem(position); local 94 return mIdMap.get(item);
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
MyActivity.class | |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
Menu.java | 27 * Container class for CAT menu (SET UP MENU, SELECT ITEM) parameters. 31 public List<Item> items; 44 items = new ArrayList<Item>(); 61 items = new ArrayList<Item>(); 64 Item item = in.readParcelable(null); local 65 items.add(item);
|