/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
sampstat | 41 def sum(items): 42 return reduce(lambda x,y: x+y, items) 44 def arithmeticMean(items): 45 return sum(items) / len(items) 47 def standardDeviation(mean, items): 48 deltaSquares = [(item - mean) ** 2 for item in items] 49 return math.sqrt(sum(deltaSquares) / (len(items) - 1)) 51 def standardError(stdDev, items): 52 return stdDev / math.sqrt(len(items)) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/pqueue/ |
pqueue.c | 66 pitem *items; member in struct:_pqueue 115 if (pq->items == NULL) 117 pq->items = item; 121 for(curr = NULL, next = pq->items; 133 pq->items = item; 153 return pq->items; 159 pitem *item = pq->items; 161 if (pq->items != NULL) 162 pq->items = pq->items->next [all...] |
/external/openssl/crypto/pqueue/ |
pqueue.c | 66 pitem *items; member in struct:_pqueue 115 if (pq->items == NULL) 117 pq->items = item; 121 for(curr = NULL, next = pq->items; 133 pq->items = item; 153 return pq->items; 159 pitem *item = pq->items; 161 if (pq->items != NULL) 162 pq->items = pq->items->next [all...] |
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
WiFiChatFragment.java | 29 private List<String> items = new ArrayList<String>(); field in class:WiFiChatFragment 38 items); 78 List<String> items) { 79 super(context, textViewResourceId, items); 90 String message = items.get(position);
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
browser_shortcut_launcher_item_controller.cc | 61 ash::LauncherItem browser_item = model->items()[browser_index]; 151 ChromeLauncherAppMenuItems items; local 154 items.push_back(new ChromeLauncherAppMenuItem(GetTitle(), NULL, false)); 180 items.push_back(new ChromeLauncherAppMenuItemBrowser( 181 title, &app_icon, browser, items.size() == 1)); 192 items.push_back(new ChromeLauncherAppMenuItemTab( 200 items.clear(); 201 return items.Pass(); 270 std::vector<Browser*> items; local 279 items.push_back(*it) [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
autofill_account_chooser_unittest.mm | 100 NSArray* items = [[button attachedMenu] itemArray]; 101 EXPECT_EQ(3U, [items count]); 102 EXPECT_NSEQ(@"", [[items objectAtIndex:0] title]); 103 EXPECT_NSEQ(@"one", [[items objectAtIndex:1] title]); 104 EXPECT_NSEQ(@"two", [[items objectAtIndex:2] title]);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/power/ |
background.js | 24 chrome.storage.local.get(STATE_KEY, function(items) { 25 var savedState = items[STATE_KEY]; 64 var items = {}; 65 items[STATE_KEY] = newState; 66 chrome.storage.local.set(items);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/storage/stylizr/ |
options.js | 43 storage.get('css', function(items) { 44 // To avoid checking items.css we could specify storage.get({css: ''}) to 46 if (items.css) { 47 textarea.value = items.css; 56 storage.remove('css', function(items) {
|
/external/chromium_org/sync/internal_api/ |
change_reorder_buffer.h | 30 // (a) All Deleted items appear first. 31 // (b) For Updated and/or Added items, parents appear before their children. 55 // Reset the buffer, forgetting any pushed items, so that it can be used again 61 // Output a reordered list of changes to |changes| using the items 76 // Stores the items that have been pushed into the buffer, and the type of
|
/external/chromium_org/third_party/icu/source/common/ |
uarrsort.h | 26 * Function type for comparing two items as part of sorting an array or similar. 45 * Uses a UComparator for comparing array items to each other, and simple 46 * memory copying to move items. 49 * @param length The number of items in the array. 51 * @param cmp UComparator function used to compare two items each.
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
pubsubclient_unittest.cc | 26 const std::vector<buzz::PubSubItem>& items) { 27 for (std::vector<buzz::PubSubItem>::const_iterator item = items.begin(); 28 item != items.end(); ++item) { 34 this->items.push_back(handled_item); 69 std::vector<HandledPubSubItem> items; member in class:TestPubSubItemsListener 116 "<pub:items node=\"topic\"/>" 126 " <items node='topic'>" 133 " </items>" 138 ASSERT_EQ(2U, listener->items.size()); 139 EXPECT_EQ("key0", listener->items[0].itemid) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_state_cache.c | 90 for (c = cache->items[hash % cache->size]; c; c = c->next) 93 fprintf(stderr, "bucket %d/%d = %d/%d items\n", hash % cache->size, 97 for (c = cache->items[hash % cache->size]; c; c = c->next) { 109 struct brw_cache_item **items; local 114 items = (struct brw_cache_item**) calloc(1, size * sizeof(*items)); 117 for (c = cache->items[i]; c; c = next) { 119 c->next = items[c->hash % size]; 120 items[c->hash % size] = c; 123 FREE(cache->items); [all...] |
/external/chromium_org/v8/test/mjsunit/ |
instanceof.js | 63 var items = [ 1, new Number(42), 73 for (var i = 0; i < items.length; i++) { 74 for (var j = 0; j < items.length; j++) { 76 if (items[i] instanceof items[j]) instanceofs++;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
TimeLineGraph.java | 82 List items = (List) _enum.nextElement(); local 83 Object[] fItemsArray=items.toArray(); 158 List items = (List) this.fItemGroups.get(groupName); local 160 items=new ArrayList(); 161 this.fItemGroups.put(groupName, items); 163 items.add(new TimeLineGraphItem(name, description, value, col, display, 171 List items = (List) _enum.nextElement(); local 172 for (int i = 0; i < items.size(); i++) { 173 TimeLineGraphItem graphItem = (TimeLineGraphItem) items.get(i); 188 List items = (List) _enum.nextElement() local 206 List items = (List) _enum.nextElement(); local [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
EnumerationValuesPropertyEditor.java | 42 int items = enumElements.length / 3; local 43 m_names = new String[items]; 44 m_values = new Object[items]; 45 m_sources = new String[items]; 46 for (int i = 0; i < items; i++) {
|
/external/icu4c/common/ |
uarrsort.h | 26 * Function type for comparing two items as part of sorting an array or similar. 45 * Uses a UComparator for comparing array items to each other, and simple 46 * memory copying to move items. 49 * @param length The number of items in the array. 51 * @param cmp UComparator function used to compare two items each.
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_state_cache.c | 90 for (c = cache->items[hash % cache->size]; c; c = c->next) 93 fprintf(stderr, "bucket %d/%d = %d/%d items\n", hash % cache->size, 97 for (c = cache->items[hash % cache->size]; c; c = c->next) { 109 struct brw_cache_item **items; local 114 items = (struct brw_cache_item**) calloc(1, size * sizeof(*items)); 117 for (c = cache->items[i]; c; c = next) { 119 c->next = items[c->hash % size]; 120 items[c->hash % size] = c; 123 FREE(cache->items); [all...] |
/external/smack/src/org/jivesoftware/smackx/ |
NodeInformationProvider.java | 32 * and hosted items (i.e. DiscoverItems.Item) about a given node. This information will be 33 * requested each time this XMPPP client receives a disco info or items requests on the 34 * given node. each time this XMPPP client receives a disco info or items requests on the 42 * Returns a list of the Items {@link org.jivesoftware.smackx.packet.DiscoverItems.Item} 46 * @return a list of the Items defined in the node.
|
/external/v8/test/mjsunit/ |
instanceof.js | 63 var items = [ 1, new Number(42), 73 for (var i = 0; i < items.length; i++) { 74 for (var j = 0; j < items.length; j++) { 76 if (items[i] instanceof items[j]) instanceofs++;
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
MapItem.java | 53 * {@code > 0;} count of items covered; {@code 1} if this 73 if (mapSection.items().size() != 0) { 75 "mapSection.items().size() != 0"); 78 ArrayList<MapItem> items = new ArrayList<MapItem>(50); local 86 for (Item item : section.items()) { 90 items.add(new MapItem(currentType, section, 102 // Add a MapItem for the final items in the section. 103 items.add(new MapItem(currentType, section, 107 items.add(new MapItem(mapSection)); 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
MapItem.java | 52 * {@code > 0;} count of items covered; {@code 1} if this 72 if (mapSection.items().size() != 0) { 74 "mapSection.items().size() != 0"); 77 ArrayList<MapItem> items = new ArrayList<MapItem>(50); local 85 for (Item item : section.items()) { 89 items.add(new MapItem(currentType, section, 101 // Add a MapItem for the final items in the section. 102 items.add(new MapItem(currentType, section, 106 items.add(new MapItem(mapSection)); 111 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
GamepadController.cpp | 78 m_gamepads.items[index].connected = true; 81 if (m_gamepads.items[i].connected) 96 m_gamepads.items[index].connected = false; 99 if (m_gamepads.items[i].connected) 116 memset(m_gamepads.items[index].id, 0, sizeof(m_gamepads.items[index].id)); 118 m_gamepads.items[index].id[i] = *p++; 135 m_gamepads.items[index].buttonsLength = buttons; 153 m_gamepads.items[index].buttons[button] = data; 170 m_gamepads.items[index].axesLength = axes [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
MapItem.java | 53 * {@code > 0;} count of items covered; {@code 1} if this 73 if (mapSection.items().size() != 0) { 75 "mapSection.items().size() != 0"); 78 ArrayList<MapItem> items = new ArrayList<MapItem>(50); local 86 for (Item item : section.items()) { 90 items.add(new MapItem(currentType, section, 102 // Add a MapItem for the final items in the section. 103 items.add(new MapItem(currentType, section, 107 items.add(new MapItem(mapSection)); 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); [all...] |
/cts/tests/res/menu/ |
checkable.xml | 19 <!-- Checkable items appear only in submenus or context menus. --> 22 the attribute name checkable on items. The checkableBehavior encompasses 23 the number of items that will be checkable within that group. --> 30 <!-- Notice how these items inherit from the group. --> 45 <!-- Notice how these items inherit from the group. --> 62 <!-- Notice how these items inherit from the group. --> 77 <!-- Notice how these items have each set. -->
|
/developers/build/prebuilts/gradle/ActionBarCompat-Basic/ActionBarCompat-BasicSample/src/main/java/com/example/android/actionbarcompat/basic/ |
MainActivity.java | 27 * action items. It covers inflating items from a menu resource, as well as adding an item in code. 42 * Use this method to instantiate your menu, and add your items to it. You 43 * should return true if you have added items to it and want the menu to be displayed. 50 // It is also possible add items here. Use a generated id from 64 * This method is called when one of the menu items to selected. These items
|