/external/libselinux/src/ |
label_file.c | 281 int items, len; local 297 items = sscanf(line_buf, "%255s %255s %255s", regex, type, context); 298 if (items < 2) { 303 } else if (items == 2) {
|
/external/oprofile/libpopt/ |
popt.c | 1127 poptItem * items, item; local 1132 items = &con->execs; 1136 items = &con->aliases; 1144 *items = realloc((*items), ((*nitems) + 1) * sizeof(**items)); 1145 if ((*items) == NULL) 1148 item = (*items) + (*nitems); [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAlertDialog.java | 30 private CharSequence[] items; field in class:ShadowAlertDialog 79 * Simulates a click on the {@code Dialog} item indicated by {@code index}. Handles both multi- and single-choice dialogs, tracks which items are currently 161 * @return the items that are available to be clicked on 164 return items; 188 * @return an array indicating which items are and are not clicked on a multi-choice dialog 206 if (items != null) { 207 adapter = new ArrayAdapter<CharSequence>(context, R.layout.simple_list_item_checked, R.id.text1, items); 244 private CharSequence[] items; field in class:ShadowAlertDialog.ShadowBuilder 276 * Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener. This should be 285 this.items = context.getResources().getTextArray(itemsId) [all...] |
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
Node.java | 269 con.addPacketListener(conListener, new EventContentFilter(EventElementType.items.toString(), "item"));
321 EventContentFilter deleteItem = new EventContentFilter(EventElementType.items.toString(), "retract");
447 List<String> items = new ArrayList<String>(pubItems.size());
local 452 items.add(item.getId());
455 ItemDeleteEvent eventItems = new ItemDeleteEvent(itemsElem.getNode(), items, getSubscriptionIds(packet));
|
/frameworks/base/services/java/com/android/server/am/ |
ProviderMap.java | 224 HashMap<ComponentName, ContentProviderRecord> items local 226 if (items != null) { 228 evenPersistent, userId, items, result);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
ListMenuPresenter.java | 124 * @return A ListAdapter containing the items in the menu. 239 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); local 240 int count = items.size() - mItemIndexOffset; 248 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); local 253 return items.get(position); 275 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); local 276 final int count = items.size(); 278 final MenuItemImpl item = items.get(i);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalSource.java | 220 // Find a range of items. 235 MediaItem[] items = LocalAlbum.getMediaItemById( local 239 consumer.consume(pid2.id, items[k - i]);
|
LocationClustering.java | 71 // Separate items to two sets: with or without lat-long. 104 // cluster the items with lat-long 151 private static String generateName(ArrayList<SmallItem> items, 155 int n = items.size(); 157 SmallItem item = items.get(i); 189 ArrayList<SmallItem> items = mClusters.get(index); local 190 ArrayList<Path> result = new ArrayList<Path>(items.size()); 191 for (int i = 0, n = items.size(); i < n; i++) { 192 result.add(items.get(i).path);
|
MediaSet.java | 65 // Returns the media items in the range [start, start + count). 67 // The number of media items returned may be less than the specified count 68 // if there are not enough media items available. The number of 69 // media items available may not be consistent with the return value of 77 ArrayList<MediaItem> items = getMediaItem(0, 1); local 78 if (items.size() > 0) return items.get(0); 184 // Enumerate all media items in this media set (including the ones in sub 201 // Returns the number of items enumerated. 207 ArrayList<MediaItem> items = getMediaItem(start, count) local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
InstallShortcutReceiver.java | 241 // Lock on the app so that we don't try and get the items while apps are being added 250 final ArrayList<ItemInfo> items = LauncherModel.getItemsInLocalCoordinates(context); local 259 found = installShortcut(context, data, items, name, intent, si, exists, sp, 278 private static boolean installShortcut(Context context, Intent data, ArrayList<ItemInfo> items, 282 if (findEmptyCell(context, items, tmpCoordinates, screen)) { 336 private static boolean findEmptyCell(Context context, ArrayList<ItemInfo> items, int[] xy, 344 for (int i = 0; i < items.size(); ++i) { 345 item = items.get(i);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Config.java | 103 String[] items = mContext.getResources().getStringArray(res); local 104 for (String item : items) {
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
cursesm.h | 88 // Release the items memory 108 // Switch on the items options 118 // Retrieve the items options 123 // Set the items options 128 // Set/Reset the items selection state 133 // Retrieve the items selection state 143 // overload action() to supply items with different actions. 148 // Prototype for an items callback function. 151 // If you don't like to create a child class for individual items to 153 // function pointer for items 376 inline NCursesMenuItem* items() const { function in class:NCursesMenu [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
cursesm.h | 88 // Release the items memory 108 // Switch on the items options 118 // Retrieve the items options 123 // Set the items options 128 // Set/Reset the items selection state 133 // Retrieve the items selection state 143 // overload action() to supply items with different actions. 148 // Prototype for an items callback function. 151 // If you don't like to create a child class for individual items to 153 // function pointer for items 376 inline NCursesMenuItem* items() const { function in class:NCursesMenu [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
cursesm.h | 88 // Release the items memory 108 // Switch on the items options 118 // Retrieve the items options 123 // Set the items options 128 // Set/Reset the items selection state 133 // Retrieve the items selection state 143 // overload action() to supply items with different actions. 148 // Prototype for an items callback function. 151 // If you don't like to create a child class for individual items to 153 // function pointer for items 376 inline NCursesMenuItem* items() const { function in class:NCursesMenu [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_abcoll.py | 385 'D.iteritems() -> an iterator over the (key, value) items of D' 393 def items(self): member in class:Mapping 394 "D.items() -> list of D's (key, value) pairs, as 2-tuples" 407 return dict(self.items()) == dict(other.items()) 519 'D.clear() -> None. Remove all items from D.' 530 In either case, this is followed by: for k, v in F.items(): D[k] = v 549 for key, value in kwds.items():
|
rfc822.py | 454 def items(self): member in class:Message 459 return self.dict.items() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/ |
Standard_Suite.py | 373 items = item variable
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/ |
Standard_Suite.py | 373 items = item variable
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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")) 542 self.assertEqual(set(cm.items()), set(dcomb.items())) # items()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_abcoll.py | 385 'D.iteritems() -> an iterator over the (key, value) items of D' 393 def items(self): member in class:Mapping 394 "D.items() -> list of D's (key, value) pairs, as 2-tuples" 407 return dict(self.items()) == dict(other.items()) 519 'D.clear() -> None. Remove all items from D.' 530 In either case, this is followed by: for k, v in F.items(): D[k] = v 549 for key, value in kwds.items():
|
rfc822.py | 454 def items(self): member in class:Message 459 return self.dict.items() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/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")) 542 self.assertEqual(set(cm.items()), set(dcomb.items())) # items()
|
/bootable/recovery/ |
recovery.cpp | 551 get_menu_selection(const char* const * headers, const char* const * items, 554 // accidentally trigger menu items. 557 ui->StartMenu(headers, items, initial_selection); 747 const char* items[] = { " No", local 760 int chosen_item = get_menu_selection(title_headers, items, 1, 0, device); [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
AlertDialog_BuilderTest.java | 388 final CharSequence[] items = mContext.getResources().getTextArray( local 404 assertEquals(items[0], mSelectedItem); 406 assertEquals(items[0], mListView.getItemAtPosition(0)); 411 final CharSequence[] items = mContext.getResources().getTextArray( local 417 mBuilder.setMultiChoiceItems(items, null, mOnMultiChoiceClickListener); 426 assertEquals(items[0], mSelectedItem); 428 assertEquals(items[0], mListView.getItemAtPosition(0)); 456 final CharSequence[] items = mContext.getResources().getTextArray( local 471 assertEquals(items[0], mSelectedItem); 472 assertEquals(items[0], mListView.getItemAtPosition(0)) 509 final CharSequence[] items = mContext.getResources().getTextArray( local 529 final CharSequence[] items = mContext.getResources().getTextArray( local [all...] |
/external/bison/src/ |
ielr.c | 186 * is \c ngotos and the number of columns is maximum number of kernel items 212 item_number *items = states[from_state[i]]->items; local 218 if (item_number_is_symbol_number (ritem[items[j]]) 219 && item_number_as_symbol_number (ritem[items[j]]) 221 && bitset_test (ritem_sees_lookahead_set, items[j])) 409 if (s->items[item] > 1) 416 for (i = s->items[item]; 424 if (item_number_is_rule_number (ritem[s->items[item] - 2])) 437 predecessor items' lookahead sets. * [all...] |