/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderAnnotation.java | 43 @Nonnull final Set<? extends BuilderAnnotationElement> elements; field in class:BuilderAnnotation 47 @Nonnull Set<? extends BuilderAnnotationElement> elements) { 50 this.elements = elements; 62 return elements;
|
/prebuilts/gdb/darwin-x86/include/python2.7/ |
asdl.h | 22 void *elements[1]; member in struct:__anon66441 27 int elements[1]; member in struct:__anon66442 33 #define asdl_seq_GET(S, I) (S)->elements[(I)] 39 (S)->elements[_asdl_i] = (V); \ 42 #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V)
|
/prebuilts/gdb/linux-x86/include/python2.7/ |
asdl.h | 22 void *elements[1]; member in struct:__anon66563 27 int elements[1]; member in struct:__anon66564 33 #define asdl_seq_GET(S, I) (S)->elements[(I)] 39 (S)->elements[_asdl_i] = (V); \ 42 #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V)
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
asdl.h | 22 void *elements[1]; member in struct:__anon956 27 int elements[1]; member in struct:__anon957 33 #define asdl_seq_GET(S, I) (S)->elements[(I)] 39 (S)->elements[_asdl_i] = (V); \ 42 #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V)
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
asdl.h | 22 void *elements[1]; member in struct:__anon1079 27 int elements[1]; member in struct:__anon1080 33 #define asdl_seq_GET(S, I) (S)->elements[(I)] 39 (S)->elements[_asdl_i] = (V); \ 42 #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V)
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableCollection.java | 107 public Builder<E> add(E... elements) { 108 checkNotNull(elements); // for GWT 109 for (E element : elements) { 115 public Builder<E> addAll(Iterable<? extends E> elements) { 116 checkNotNull(elements); // for GWT 117 for (E element : elements) { 123 public Builder<E> addAll(Iterator<? extends E> elements) { 124 checkNotNull(elements); // for GWT 125 while (elements.hasNext()) { 126 add(checkNotNull(elements.next())) [all...] |
ImmutableSet.java | 43 // Casting to any type is safe because the set will never hold any elements. 82 public static <E> ImmutableSet<E> copyOf(E[] elements) { 83 checkNotNull(elements); 84 switch (elements.length) { 88 return of(elements[0]); 90 return create(elements); 94 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { 95 Iterable<? extends E> iterable = elements; 99 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { 100 if (elements instanceof ImmutableSet && !(elements instanceof ImmutableSortedSet)) [all...] |
/external/protobuf/src/google/protobuf/ |
repeated_field.cc | 51 return &rep_->elements[current_size_]; 59 sizeof(old_rep->elements[0])) 63 new char[kRepHeaderSize + sizeof(old_rep->elements[0]) * new_size]); 67 kRepHeaderSize + sizeof(old_rep->elements[0]) * new_size)); 71 memcpy(rep_->elements, old_rep->elements, 72 old_rep->allocated_size * sizeof(rep_->elements[0])); 80 return &rep_->elements[current_size_]; 91 // Close up a gap of "num" elements starting at offset "start". 93 rep_->elements[i - num] = rep_->elements[i] [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
AbstractKeyboardBuilder.java | 22 * This class builds a keyboard that is a two dimensional array of elements <code>E</code>. 24 * A keyboard consists of an array of rows, and a row consists of an array of elements. Each row 25 * may have different number of elements. A element of a keyboard can be specified by a row number 50 * elements of <code>rows</rows>. 51 * @param rows the template keyboard rows. The elements of the <code>rows</code> will be 81 * @return the array of elements at row number <code>row</code>. 93 * Set an array of elements to the specified row. 94 * @param row the row number to set <code>elements</code>. 95 * @param elements the array of elements to set at row number <code>row</code> 119 final E[] elements = getRowAt(row); local [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
MultisetsCollectionTest.java | 103 @Override protected Multiset<String> create(String[] elements) { 105 LinkedHashMultiset.create(asList(elements))); 124 @Override protected Multiset<String> create(String[] elements) { 126 TreeMultiset.create(asList(elements))); 138 protected Multiset<String> create(String[] elements) { 141 for (int i = 0; i < elements.length; i++) { 142 String element = elements[i]; 149 multiset1.add(elements[i]); 151 multiset2.add(elements[i]); 161 @Override protected Multiset<String> create(String[] elements) { [all...] |
/external/icu/icu4c/source/common/ |
uvectr64.cpp | 30 elements(NULL) 39 elements(0) 57 elements = (int64_t *)uprv_malloc(sizeof(int64_t)*initialCapacity); 58 if (elements == 0) { 66 uprv_free(elements); 67 elements = 0; 77 elements[i] = other.elements[i]; 87 if (elements[i] != other.elements[i]) [all...] |
/external/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ |
ppc32_elf_rel_addr16.s | 15 # rtdyld-check: decode_operand(insn_hi, 1) = elements[31:16] 16 lis 4, elements@ha 21 # rtdyld-check: decode_operand(insn_lo, 2) = elements[15:0] 22 la 4, elements@l(4) 30 .type elements,@object # @elements 32 .globl elements 34 elements: label 43 .size elements, 32
|
/external/deqp/modules/gles3/scripts/ |
gen-large-constant-arrays.py | 77 elements = [] 80 elements.append(Scalar(round(random.uniform(-1.0, 1.0), 6))) 82 elements.append(Vec4(*[round(random.uniform(-1.0, 1.0), 6) for x in range(4)])) 84 return elements 87 def arrayToString(elements): 89 .format(TYPE=elements[0].typeString(), LENGTH=len(elements))) 91 array += "\n".join(str(e) + ',' for e in elements[:-1]) 92 array += "\n" + str(elements[-1])
|
/packages/apps/Tag/src/com/android/apps/tag/message/ |
NdefMessageParser.java | 52 List<ParsedNdefRecord> elements = new ArrayList<ParsedNdefRecord>(); local 55 elements.add(SmartPoster.parse(record)); 57 elements.add(UriRecord.parse(record)); 59 elements.add(TextRecord.parse(record)); 61 elements.add(ImageRecord.parse(record)); 63 elements.add(VCardRecord.parse(record)); 65 elements.add(MimeRecord.parse(record)); 67 elements.add(new UnknownRecord()); 70 return elements;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
SlidingWindowTest.java | 44 final List<Integer> elements = Arrays.asList(3, 4); local 46 elements.forEach(window::add); 47 assertTrue(sameContents(elements.iterator(), window.iterator())); 51 final List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); local 54 window.addAll(elements); 59 final List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); local 62 window.addAll(elements); 69 final List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); local 71 window.addAll(elements);
|
/external/libffi/testsuite/libffi.call/ |
pyobjc-tc.c | 50 point_type.elements = malloc(3 * sizeof(ffi_type*)); 51 point_type.elements[0] = &ffi_type_float; 52 point_type.elements[1] = &ffi_type_float; 53 point_type.elements[2] = NULL; 58 size_type.elements = malloc(3 * sizeof(ffi_type*)); 59 size_type.elements[0] = &ffi_type_float; 60 size_type.elements[1] = &ffi_type_float; 61 size_type.elements[2] = NULL; 66 rect_type.elements = malloc(3 * sizeof(ffi_type*)); 67 rect_type.elements[0] = &point_type [all...] |
/external/mockito/src/main/java/org/mockito/internal/util/collections/ |
Sets.java | 21 public static <T> Set<T> newSet(T ... elements) { 22 if (elements == null) { 23 throw new IllegalArgumentException("Expected an array of elements (or empty array) but received a null."); 25 return new LinkedHashSet<T>(asList(elements));
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
pyobjc-tc.c | 50 point_type.elements = malloc(3 * sizeof(ffi_type*)); 51 point_type.elements[0] = &ffi_type_float; 52 point_type.elements[1] = &ffi_type_float; 53 point_type.elements[2] = NULL; 58 size_type.elements = malloc(3 * sizeof(ffi_type*)); 59 size_type.elements[0] = &ffi_type_float; 60 size_type.elements[1] = &ffi_type_float; 61 size_type.elements[2] = NULL; 66 rect_type.elements = malloc(3 * sizeof(ffi_type*)); 67 rect_type.elements[0] = &point_type [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/testsuite/libffi.call/ |
pyobjc-tc.c | 50 point_type.elements = malloc(3 * sizeof(ffi_type*)); 51 point_type.elements[0] = &ffi_type_float; 52 point_type.elements[1] = &ffi_type_float; 53 point_type.elements[2] = NULL; 58 size_type.elements = malloc(3 * sizeof(ffi_type*)); 59 size_type.elements[0] = &ffi_type_float; 60 size_type.elements[1] = &ffi_type_float; 61 size_type.elements[2] = NULL; 66 rect_type.elements = malloc(3 * sizeof(ffi_type*)); 67 rect_type.elements[0] = &point_type [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
AnnotationUtil.java | 28 * Returns only the elements that are annotated with the given class. For some reason 29 * RoundEnvironment is returning elements annotated by other annotations. 33 ArrayList<Element> elements = new ArrayList<Element>(); local 36 elements.add(element); 39 return elements;
|
/external/skia/tests/ |
LListTest.cpp | 31 ListElement elements[4]) { 37 REPORTER_ASSERT(reporter, in0 == list.isInList(&elements[0])); 38 REPORTER_ASSERT(reporter, in1 == list.isInList(&elements[1])); 39 REPORTER_ASSERT(reporter, in2 == list.isInList(&elements[2])); 40 REPORTER_ASSERT(reporter, in3 == list.isInList(&elements[3])); 46 ListElement elements[4] = { local 54 check_list(list, reporter, true, 0, false, false, false, false, elements); 56 list.addToHead(&elements[0]); 58 check_list(list, reporter, false, 1, true, false, false, false, elements); 60 list.addToHead(&elements[1]) [all...] |
/external/skqp/tests/ |
LListTest.cpp | 31 ListElement elements[4]) { 37 REPORTER_ASSERT(reporter, in0 == list.isInList(&elements[0])); 38 REPORTER_ASSERT(reporter, in1 == list.isInList(&elements[1])); 39 REPORTER_ASSERT(reporter, in2 == list.isInList(&elements[2])); 40 REPORTER_ASSERT(reporter, in3 == list.isInList(&elements[3])); 46 ListElement elements[4] = { local 54 check_list(list, reporter, true, 0, false, false, false, false, elements); 56 list.addToHead(&elements[0]); 58 check_list(list, reporter, false, 1, true, false, false, false, elements); 60 list.addToHead(&elements[1]) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
LexicalDifferenceCalculator.java | 24 final List<CsmElement> elements; field in class:LexicalDifferenceCalculator.CalculatedSyntaxModel 26 CalculatedSyntaxModel(List<CsmElement> elements) { 27 this.elements = elements; 32 newList.addAll(elements.subList(index, elements.size())); 39 "elements=" + elements + 44 return new CalculatedSyntaxModel(elements.subList(start, end)); 48 elements.removeIf(el -> el instanceof CsmIndent || el instanceof CsmUnindent) 126 List<CsmElement> elements = new LinkedList<>(); local 180 calculatedSyntaxModelForNode(csmList.getPreceeding(), node, elements, change); local 183 calculatedSyntaxModelForNode(csmList.getSeparatorPre(), node, elements, change); local 187 calculatedSyntaxModelForNode(csmList.getSeparatorPost(), node, elements, change); local 191 calculatedSyntaxModelForNode(csmList.getFollowing(), node, elements, change); local 196 calculatedSyntaxModelForNode(csmList.getPreceeding(), node, elements, change); local 201 calculatedSyntaxModelForNode(csmList.getSeparatorPre(), node, elements, change); local 211 calculatedSyntaxModelForNode(csmList.getSeparatorPost(), node, elements, change); local 215 calculatedSyntaxModelForNode(csmList.getFollowing(), node, elements, change); local 222 calculatedSyntaxModelForNode(csmConditional.getThenElement(), node, elements, change); local 224 calculatedSyntaxModelForNode(csmConditional.getElseElement(), node, elements, change); local 281 List<CsmElement> elements = new LinkedList<>(); local 288 List<CsmElement> elements = new LinkedList<>(); local 296 List<CsmElement> elements = new LinkedList<>(); local 326 List<CsmElement> elements = new LinkedList<>(); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
IntSet.java | 55 * Returns the count of unique elements in this set. 57 * @return {@code > = 0;} count of unique elements 59 int elements(); method in interface:IntSet
|
/dalvik/dx/src/com/android/dx/util/ |
IntSet.java | 55 * Returns the count of unique elements in this set. 57 * @return {@code > = 0;} count of unique elements 59 int elements(); method in interface:IntSet
|