/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_pasteboard_helper_mac.h | 27 // Writes a set of bookmark elements from a profile to the specified pasteboard. 29 const std::vector<BookmarkNodeData::Element>& elements, 32 // Reads a set of bookmark elements from the specified pasteboard. 34 std::vector<BookmarkNodeData::Element>& elements, 38 // bookmark elements. It currently does not consider a plaintext url a
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
ReserializingTestSetGenerator.java | 41 @Override public Set<E> create(Object... elements) { 42 return (Set<E>) super.create(elements);
|
TestsForListsInJavaUtil.java | 99 @Override public List<String> create(String[] elements) { 114 @Override public List<String> create(String[] elements) { 115 return Collections.singletonList(elements[0]); 130 @Override public List<String> create(String[] elements) { 131 return Arrays.asList(elements.clone()); 146 @Override public List<String> create(String[] elements) { 147 return new ArrayList<String>(MinimalCollection.of(elements)); 162 @Override public List<String> create(String[] elements) { 163 return new LinkedList<String>(MinimalCollection.of(elements)); 178 @Override public List<String> create(String[] elements) { [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
SetOperationsTest.java | 47 @Override protected Set<String> create(String[] elements) { 58 @Override protected Set<String> create(String[] elements) { 59 checkArgument(elements.length == 1); 61 Sets.<String>newHashSet(elements), Sets.newHashSet(elements)); 69 @Override protected Set<String> create(String[] elements) { 71 Sets.<String>newHashSet(), Sets.newHashSet(elements)); 80 @Override protected Set<String> create(String[] elements) { 82 Sets.newHashSet(elements), Sets.<String>newHashSet()); 91 @Override protected Set<String> create(String[] elements) { [all...] |
MultimapCollectionTest.java | 132 Multimap<Integer, String> multimap, String[] elements) { 134 for (String element : elements) { 140 Multimap<String, Integer> multimap, String[] elements) { 141 for (String element : elements) { 148 Multimap<Integer, String> multimap, String[] elements) { 149 for (int i = 0; i < elements.length; i++) { 150 multimap.put(i % 2, elements[i]); 155 Multimap<String, Integer> multimap, String[] elements) { 156 for (int i = 0; i < elements.length; i++) { 157 multimap.put(elements[i], i) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiDocumentNode.java | 139 * Returns all elements in this document. 142 * @return all elements in the document 145 List<UiElementNode> elements = new ArrayList<UiElementNode>(64); local 147 addElements(child, elements); 149 return elements; 152 private static void addElements(UiElementNode node, List<UiElementNode> elements) { 153 elements.add(node); 156 addElements(child, elements);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
pagemap_unittest.cc | 48 static void Permute(vector<intptr_t>* elements) { 49 if (elements->empty()) 51 const size_t num_elements = elements->size(); 54 const intptr_t tmp = (*elements)[i]; // swap 55 (*elements)[i] = (*elements)[newpos]; 56 (*elements)[newpos] = tmp; 100 vector<intptr_t> elements; local 101 for (intptr_t i = 0; i < static_cast<intptr_t>(limit); i++) elements.push_back(i); 102 Permute(&elements); [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
pagemap_unittest.cc | 48 static void Permute(vector<intptr_t>* elements) { 49 if (elements->empty()) 51 const size_t num_elements = elements->size(); 54 const intptr_t tmp = (*elements)[i]; // swap 55 (*elements)[i] = (*elements)[newpos]; 56 (*elements)[newpos] = tmp; 100 vector<intptr_t> elements; local 101 for (intptr_t i = 0; i < static_cast<intptr_t>(limit); i++) elements.push_back(i); 102 Permute(&elements); [all...] |
/external/guava/guava-tests/test/com/google/common/primitives/ |
ByteArrayAsListTest.java | 85 @Override protected List<Byte> create(Byte[] elements) { 86 return asList(elements); 91 @Override protected List<Byte> create(Byte[] elements) { 93 Byte[] all = concat(elements, suffix); 94 return asList(all).subList(0, elements.length); 99 @Override protected List<Byte> create(Byte[] elements) { 101 Byte[] all = concat(prefix, elements); 102 return asList(all).subList(2, elements.length + 2); 107 @Override protected List<Byte> create(Byte[] elements) { 110 Byte[] all = concat(concat(prefix, elements), suffix) [all...] |
CharArrayAsListTest.java | 85 @Override protected List<Character> create(Character[] elements) { 86 return asList(elements); 91 @Override protected List<Character> create(Character[] elements) { 93 Character[] all = concat(elements, suffix); 94 return asList(all).subList(0, elements.length); 99 @Override protected List<Character> create(Character[] elements) { 101 Character[] all = concat(prefix, elements); 102 return asList(all).subList(2, elements.length + 2); 107 @Override protected List<Character> create(Character[] elements) { 110 Character[] all = concat(concat(prefix, elements), suffix) [all...] |
DoubleArrayAsListTest.java | 85 @Override protected List<Double> create(Double[] elements) { 86 return asList(elements); 91 @Override protected List<Double> create(Double[] elements) { 93 Double[] all = concat(elements, suffix); 94 return asList(all).subList(0, elements.length); 99 @Override protected List<Double> create(Double[] elements) { 101 Double[] all = concat(prefix, elements); 102 return asList(all).subList(2, elements.length + 2); 107 @Override protected List<Double> create(Double[] elements) { 110 Double[] all = concat(concat(prefix, elements), suffix) [all...] |
FloatArrayAsListTest.java | 85 @Override protected List<Float> create(Float[] elements) { 86 return asList(elements); 91 @Override protected List<Float> create(Float[] elements) { 93 Float[] all = concat(elements, suffix); 94 return asList(all).subList(0, elements.length); 99 @Override protected List<Float> create(Float[] elements) { 101 Float[] all = concat(prefix, elements); 102 return asList(all).subList(2, elements.length + 2); 107 @Override protected List<Float> create(Float[] elements) { 110 Float[] all = concat(concat(prefix, elements), suffix) [all...] |
IntArrayAsListTest.java | 86 @Override protected List<Integer> create(Integer[] elements) { 87 return asList(elements); 92 @Override protected List<Integer> create(Integer[] elements) { 94 Integer[] all = concat(elements, suffix); 95 return asList(all).subList(0, elements.length); 100 @Override protected List<Integer> create(Integer[] elements) { 102 Integer[] all = concat(prefix, elements); 103 return asList(all).subList(2, elements.length + 2); 108 @Override protected List<Integer> create(Integer[] elements) { 111 Integer[] all = concat(concat(prefix, elements), suffix) [all...] |
LongArrayAsListTest.java | 85 @Override protected List<Long> create(Long[] elements) { 86 return asList(elements); 91 @Override protected List<Long> create(Long[] elements) { 93 Long[] all = concat(elements, suffix); 94 return asList(all).subList(0, elements.length); 99 @Override protected List<Long> create(Long[] elements) { 101 Long[] all = concat(prefix, elements); 102 return asList(all).subList(2, elements.length + 2); 107 @Override protected List<Long> create(Long[] elements) { 110 Long[] all = concat(concat(prefix, elements), suffix) [all...] |
ShortArrayAsListTest.java | 85 @Override protected List<Short> create(Short[] elements) { 86 return asList(elements); 91 @Override protected List<Short> create(Short[] elements) { 93 Short[] all = concat(elements, suffix); 94 return asList(all).subList(0, elements.length); 99 @Override protected List<Short> create(Short[] elements) { 101 Short[] all = concat(prefix, elements); 102 return asList(all).subList(2, elements.length + 2); 107 @Override protected List<Short> create(Short[] elements) { 110 Short[] all = concat(concat(prefix, elements), suffix) [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableCollection.java | 147 public Builder<E> add(E... elements) { 148 checkNotNull(elements); // for GWT 149 for (E element : elements) { 155 public Builder<E> addAll(Iterable<? extends E> elements) { 156 checkNotNull(elements); // for GWT 157 for (E element : elements) { 163 public Builder<E> addAll(Iterator<? extends E> elements) { 164 checkNotNull(elements); // for GWT 165 while (elements.hasNext()) { 166 add(checkNotNull(elements.next())) [all...] |
ImmutableSortedSet.java | 119 E[] elements) { 120 return copyOf(elements); 124 Comparator<? super E> comparator, E... elements) { 125 checkNotNull(elements); 126 switch (elements.length) { 131 for (E element : elements) { 140 Collection<? extends E> elements) { 141 return copyOfInternal(Ordering.natural(), elements, false); 145 Iterable<? extends E> elements) { 146 return copyOfInternal(Ordering.natural(), elements, false) [all...] |
/hardware/invensense/60xx/mlsdk/mllite/ |
mlFIFO.h | 34 /* Elements */ 87 inv_error_t inv_send_gyro(uint_fast16_t elements, uint_fast16_t accuracy); 88 inv_error_t inv_send_accel(uint_fast16_t elements, uint_fast16_t accuracy); 89 inv_error_t inv_send_linear_accel(uint_fast16_t elements, 91 inv_error_t inv_send_linear_accel_in_world(uint_fast16_t elements, 93 inv_error_t inv_send_cntrl_data(uint_fast16_t elements, 95 inv_error_t inv_send_sensor_data(uint_fast16_t elements, 97 inv_error_t inv_send_external_sensor_data(uint_fast16_t elements, 99 inv_error_t inv_send_gravity(uint_fast16_t elements, 102 inv_error_t inv_send_quantized_accel(uint_fast16_t elements, [all...] |
/external/chromium_org/ui/base/l10n/ |
l10n_util_collator.h | 61 // Sorts the objects in |elements| using the method |method|, which must return 66 std::vector<T*>* elements, 72 sort(elements->begin(), elements->end(), 77 std::sort(elements->begin(), elements->end(), 81 // Compares two elements' string keys and returns true if the first element's 112 // In place sorting of |elements| of a vector according to the string key of 114 // |begin_index| points to the start position of elements in the vector which 115 // want to be sorted. |end_index| points to the end position of elements in th [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnSentence.java | 30 public ArrayList<WnnClause> elements; field in class:WnnSentence 47 this.elements = clauses; 90 this.elements = new ArrayList<WnnClause>(); 91 this.elements.add(clause); 108 this.elements = new ArrayList<WnnClause>(); 109 this.elements.addAll(prev.elements); 110 this.elements.add(clause); 128 this.elements = new ArrayList<WnnClause>(); 129 this.elements.add(head) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableSortedSet.java | 39 * An immutable sorted set with one or more elements. TODO(jlevy): Consider 49 private transient final ImmutableList<E> elements; field in class:RegularImmutableSortedSet 52 ImmutableList<E> elements, Comparator<? super E> comparator) { 54 this.elements = elements; 55 checkArgument(!elements.isEmpty()); 59 return elements.iterator(); 68 return elements.size(); 139 return Collections.binarySearch(elements, key, unsafeComparator); 143 return elements.isPartialView() [all...] |
ImmutableList.java | 38 * Does not permit null elements. 65 // Casting to any type is safe because the list will never hold any elements. 84 * Returns an immutable list containing the given elements, in order. 93 * Returns an immutable list containing the given elements, in order. 102 * Returns an immutable list containing the given elements, in order. 111 * Returns an immutable list containing the given elements, in order. 120 * Returns an immutable list containing the given elements, in order. 129 * Returns an immutable list containing the given elements, in order. 139 * Returns an immutable list containing the given elements, in order. 149 * Returns an immutable list containing the given elements, in order 278 Object[] elements = collection.toArray(); local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/tools/ |
TestVersionTracker.java | 27 private Hashtable elements; field in class:TestVersionTracker 39 public TestVersionTracker(String install, Hashtable elements) { 49 // instantiate hashtable that will hold directory names with versions for elements 50 this.elements = elements; 81 elements.put(element,element+"_"+version); 83 elements.put(element+"-feature",element+"_"+version); 87 TestVersionTracker recurseTracker = new TestVersionTracker(installDirectory, elements); 97 Enumeration keys = elements.keys(); 101 writer.println(key.toString()+"="+elements.get(key).toString()) [all...] |
/external/chromium_org/ppapi/shared_impl/ |
ppb_device_ref_shared.cc | 50 scoped_ptr<PP_Resource[]> elements; local 53 elements.reset(new PP_Resource[size]); 57 elements[index] = device_object->GetReference(); 61 new PPB_ResourceArray_Shared(type, instance, elements.get(), 65 PpapiGlobals::Get()->GetResourceTracker()->ReleaseResource(elements[index]);
|
/external/qemu-pc-bios/bochs/bios/ |
usage.cc | 45 double elements, ratio; local 85 elements = (1.0 + double(offset) - double(last_org)); 89 elements = 0.0; 91 elements = 1.0; 94 ratio = elements / (double(org) - double(last_org));
|