/external/XNNPACK/test/ |
D | f32-raddstoreexpminusmax.cc | 24 .elements(4) in TEST() 30 for (size_t elements = 8; elements < 40; elements += 4) { in TEST() local 32 .elements(elements) in TEST() 39 for (size_t elements = 1; elements < 4; elements++) { in TEST() local 41 .elements(elements) in TEST() 48 for (size_t elements = 5; elements < 8; elements++) { in TEST() local 50 .elements(elements) in TEST() 61 .elements(8) in TEST() 67 for (size_t elements = 16; elements < 80; elements += 8) { in TEST() local 69 .elements(elements) in TEST() [all …]
|
D | f32-vscaleexpminusmax.cc | 24 .elements(8) in TEST() 30 for (size_t elements = 16; elements < 80; elements += 8) { in TEST() local 32 .elements(elements) in TEST() 39 for (size_t elements = 1; elements < 8; elements++) { in TEST() local 41 .elements(elements) in TEST() 48 for (size_t elements = 9; elements < 16; elements++) { in TEST() local 50 .elements(elements) in TEST() 57 for (size_t elements = 1; elements <= 40; elements += 7) { in TEST() local 59 .elements(elements) in TEST() 63 .elements(elements) in TEST() [all …]
|
D | f16-raddstoreexpminusmax.cc | 24 .elements(32) in TEST() 30 for (size_t elements = 64; elements < 320; elements += 32) { in TEST() local 32 .elements(elements) in TEST() 39 for (size_t elements = 1; elements < 32; elements++) { in TEST() local 41 .elements(elements) in TEST() 48 for (size_t elements = 33; elements < 64; elements++) { in TEST() local 50 .elements(elements) in TEST() 61 .elements(32) in TEST() 67 for (size_t elements = 64; elements < 320; elements += 32) { in TEST() local 69 .elements(elements) in TEST() [all …]
|
D | f32-raddexpminusmax.cc | 24 .elements(64) in TEST() 30 for (size_t elements = 128; elements < 640; elements += 64) { in TEST() local 32 .elements(elements) in TEST() 39 for (size_t elements = 1; elements < 64; elements++) { in TEST() local 41 .elements(elements) in TEST() 48 for (size_t elements = 65; elements < 128; elements++) { in TEST() local 50 .elements(elements) in TEST() 61 .elements(64) in TEST() 67 for (size_t elements = 128; elements < 640; elements += 64) { in TEST() local 69 .elements(elements) in TEST() [all …]
|
D | f32-vscaleextexp.cc | 24 .elements(8) in TEST() 30 for (size_t elements = 16; elements < 80; elements += 8) { in TEST() local 32 .elements(elements) in TEST() 39 for (size_t elements = 1; elements < 8; elements++) { in TEST() local 41 .elements(elements) in TEST() 48 for (size_t elements = 9; elements < 16; elements++) { in TEST() local 50 .elements(elements) in TEST() 61 .elements(16) in TEST() 67 for (size_t elements = 32; elements < 160; elements += 16) { in TEST() local 69 .elements(elements) in TEST() [all …]
|
D | f32-raddextexp.cc | 24 .elements(64) in TEST() 30 for (size_t elements = 128; elements < 640; elements += 64) { in TEST() local 32 .elements(elements) in TEST() 39 for (size_t elements = 1; elements < 64; elements++) { in TEST() local 41 .elements(elements) in TEST() 48 for (size_t elements = 65; elements < 128; elements++) { in TEST() local 50 .elements(elements) in TEST() 61 .elements(64) in TEST() 67 for (size_t elements = 128; elements < 640; elements += 64) { in TEST() local 69 .elements(elements) in TEST() [all …]
|
D | f32-gavgpool-cw.cc | 19 .elements(4) in TEST() 26 for (size_t elements = 8; elements < 32; elements += 4) { in TEST() local 28 .elements(elements) in TEST() 36 for (size_t elements = 1; elements < 4; elements++) { in TEST() local 38 .elements(elements) in TEST() 46 for (size_t elements = 5; elements < 8; elements++) { in TEST() local 48 .elements(elements) in TEST() 57 for (size_t elements = 1; elements < 16; elements += 3) { in TEST() local 59 .elements(elements) in TEST() 69 for (size_t elements = 1; elements < 16; elements += 3) { in TEST() local [all …]
|
D | f16-gavgpool-cw.cc | 19 .elements(8) in TEST() 27 .elements(8) in TEST() 34 for (size_t elements = 8; elements < 32; elements += 8) { in TEST() local 36 .elements(elements) in TEST() 44 for (size_t elements = 1; elements < 8; elements++) { in TEST() local 46 .elements(elements) in TEST() 54 for (size_t elements = 9; elements < 16; elements++) { in TEST() local 56 .elements(elements) in TEST() 65 for (size_t elements = 1; elements < 16; elements += 3) { in TEST() local 67 .elements(elements) in TEST() [all …]
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | RemoteDebugEventSocketListener.cs | 337 string[] elements = GetEventElements(line); in Dispatch() 338 if (elements == null || elements[0] == null) { in Dispatch() 342 if (elements[0].Equals("enterRule")) { in Dispatch() 343 listener.EnterRule(elements[1], elements[2]); in Dispatch() 344 } else if (elements[0].Equals("exitRule")) { in Dispatch() 345 listener.ExitRule(elements[1], elements[2]); in Dispatch() 346 } else if (elements[0].Equals("enterAlt")) { in Dispatch() 347 listener.EnterAlt(int.Parse(elements[1])); in Dispatch() 348 } else if (elements[0].Equals("enterSubRule")) { in Dispatch() 349 listener.EnterSubRule(int.Parse(elements[1])); in Dispatch() [all …]
|
/external/skia/tests/ |
D | LListTest.cpp | 31 ListElement elements[4]) { in check_list() 37 REPORTER_ASSERT(reporter, in0 == list.isInList(&elements[0])); in check_list() 38 REPORTER_ASSERT(reporter, in1 == list.isInList(&elements[1])); in check_list() 39 REPORTER_ASSERT(reporter, in2 == list.isInList(&elements[2])); in check_list() 40 REPORTER_ASSERT(reporter, in3 == list.isInList(&elements[3])); in check_list() 46 ListElement elements[4] = { in DEF_TEST() local 54 check_list(list, reporter, true, 0, false, false, false, false, elements); in DEF_TEST() 56 list.addToHead(&elements[0]); in DEF_TEST() 58 check_list(list, reporter, false, 1, true, false, false, false, elements); in DEF_TEST() 60 list.addToHead(&elements[1]); in DEF_TEST() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationRootElements.java | 27 elements = rootElements; in CollationRootElements() 83 return ((int)elements[IX_SEC_TER_BOUNDARIES] << 8) & 0xff00; in getTertiaryBoundary() 90 return elements[(int)elements[IX_FIRST_TERTIARY_INDEX]] & ~SEC_TER_DELTA_FLAG; in getFirstTertiaryCE() 97 return elements[(int)elements[IX_FIRST_SECONDARY_INDEX] - 1] & ~SEC_TER_DELTA_FLAG; in getLastTertiaryCE() 105 return ((int)elements[IX_SEC_TER_BOUNDARIES] >> 16) & 0xff00; in getLastCommonSecondary() 115 return ((int)elements[IX_SEC_TER_BOUNDARIES] >> 8) & 0xff00; in getSecondaryBoundary() 122 return elements[(int)elements[IX_FIRST_SECONDARY_INDEX]] & ~SEC_TER_DELTA_FLAG; in getFirstSecondaryCE() 129 return elements[(int)elements[IX_FIRST_PRIMARY_INDEX] - 1] & ~SEC_TER_DELTA_FLAG; in getLastSecondaryCE() 136 return elements[(int)elements[IX_FIRST_PRIMARY_INDEX]]; // step=0: cannot be a range end in getFirstPrimary() 152 assert(p > elements[(int)elements[IX_FIRST_PRIMARY_INDEX]]); in lastCEWithPrimaryBefore() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationRootElements.java | 25 elements = rootElements; in CollationRootElements() 81 return ((int)elements[IX_SEC_TER_BOUNDARIES] << 8) & 0xff00; in getTertiaryBoundary() 88 return elements[(int)elements[IX_FIRST_TERTIARY_INDEX]] & ~SEC_TER_DELTA_FLAG; in getFirstTertiaryCE() 95 return elements[(int)elements[IX_FIRST_SECONDARY_INDEX] - 1] & ~SEC_TER_DELTA_FLAG; in getLastTertiaryCE() 103 return ((int)elements[IX_SEC_TER_BOUNDARIES] >> 16) & 0xff00; in getLastCommonSecondary() 113 return ((int)elements[IX_SEC_TER_BOUNDARIES] >> 8) & 0xff00; in getSecondaryBoundary() 120 return elements[(int)elements[IX_FIRST_SECONDARY_INDEX]] & ~SEC_TER_DELTA_FLAG; in getFirstSecondaryCE() 127 return elements[(int)elements[IX_FIRST_PRIMARY_INDEX] - 1] & ~SEC_TER_DELTA_FLAG; in getLastSecondaryCE() 134 return elements[(int)elements[IX_FIRST_PRIMARY_INDEX]]; // step=0: cannot be a range end in getFirstPrimary() 150 assert(p > elements[(int)elements[IX_FIRST_PRIMARY_INDEX]]); in lastCEWithPrimaryBefore() [all …]
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | RemoteDebugEventSocketListener.java | 284 String[] elements = getEventElements(line); in dispatch() local 285 if ( elements==null || elements[0]==null ) { in dispatch() 289 if ( elements[0].equals("enterRule") ) { in dispatch() 290 listener.enterRule(elements[1], elements[2]); in dispatch() 292 else if ( elements[0].equals("exitRule") ) { in dispatch() 293 listener.exitRule(elements[1], elements[2]); in dispatch() 295 else if ( elements[0].equals("enterAlt") ) { in dispatch() 296 listener.enterAlt(Integer.parseInt(elements[1])); in dispatch() 298 else if ( elements[0].equals("enterSubRule") ) { in dispatch() 299 listener.enterSubRule(Integer.parseInt(elements[1])); in dispatch() [all …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalDifferenceCalculatorTest.java | 41 assertEquals(2, csmOriginal.elements.size()); in compilationUnitExampleOriginal() 42 assertEquals(new CsmChild(cu.getType(0)), csmOriginal.elements.get(0)); in compilationUnitExampleOriginal() 43 assertEquals(new CsmToken(eolTokenKind()), csmOriginal.elements.get(1)); in compilationUnitExampleOriginal() 52 assertEquals(3, csmChanged.elements.size()); in compilationUnitExampleWithPackageSet() 53 assertEquals(new CsmChild(packageDeclaration), csmChanged.elements.get(0)); in compilationUnitExampleWithPackageSet() 54 assertEquals(new CsmChild(cu.getType(0)), csmChanged.elements.get(1)); in compilationUnitExampleWithPackageSet() 55 assertEquals(new CsmToken(eolTokenKind()), csmChanged.elements.get(2)); in compilationUnitExampleWithPackageSet() 66 assertEquals(new CsmToken(GeneratedJavaParserConstants.AT), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 67 assertEquals(new CsmToken(GeneratedJavaParserConstants.INTERFACE), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 68 assertEquals(new CsmToken(spaceTokenKind()), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | SetGenerators.java | 66 protected Set<String> create(String[] elements) { in create() argument 67 return ImmutableSet.copyOf(elements); in create() 73 protected Set<String> create(String[] elements) { in create() argument 75 for (String e : elements) { in create() 84 protected Set<String> create(String[] elements) { in create() argument 86 ImmutableSet.builderWithExpectedSize(Sets.newHashSet(elements).size()); in create() 87 for (String e : elements) { in create() 96 protected Set<String> create(String[] elements) { in create() argument 98 ImmutableSet.builderWithExpectedSize(Sets.newHashSet(elements).size() + 1); in create() 99 for (String e : elements) { in create() [all …]
|
D | ListGenerators.java | 46 protected List<String> create(String[] elements) { in create() argument 47 return ImmutableList.copyOf(elements); in create() 53 protected List<String> create(String[] elements) { in create() argument 55 for (String element : elements) { in create() 64 protected List<String> create(String[] elements) { in create() argument 65 return ImmutableList.<String>builder().addAll(asList(elements)).build(); in create() 71 protected List<String> create(String[] elements) { in create() argument 72 List<String> list = asList(elements); in create() 80 protected List<String> create(String[] elements) { in create() argument 82 String[] all = new String[elements.length + suffix.length]; in create() [all …]
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/ |
D | SetGenerators.java | 66 protected Set<String> create(String[] elements) { in create() argument 67 return ImmutableSet.copyOf(elements); in create() 73 protected Set<String> create(String[] elements) { in create() argument 75 for (String e : elements) { in create() 84 protected Set<String> create(String[] elements) { in create() argument 86 ImmutableSet.builderWithExpectedSize(Sets.newHashSet(elements).size()); in create() 87 for (String e : elements) { in create() 96 protected Set<String> create(String[] elements) { in create() argument 98 ImmutableSet.builderWithExpectedSize(Sets.newHashSet(elements).size() + 1); in create() 99 for (String e : elements) { in create() [all …]
|
D | ListGenerators.java | 46 protected List<String> create(String[] elements) { in create() argument 47 return ImmutableList.copyOf(elements); in create() 53 protected List<String> create(String[] elements) { in create() argument 55 for (String element : elements) { in create() 64 protected List<String> create(String[] elements) { in create() argument 65 return ImmutableList.<String>builder().addAll(asList(elements)).build(); in create() 71 protected List<String> create(String[] elements) { in create() argument 72 List<String> list = asList(elements); in create() 80 protected List<String> create(String[] elements) { in create() argument 82 String[] all = new String[elements.length + suffix.length]; in create() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | NodeText.java | 36 private final List<TextElement> elements; field in NodeText 50 NodeText(List<TextElement> elements) { in NodeText() argument 51 this.elements = elements; in NodeText() 69 this.elements.add(nodeTextElement); in addElement() 76 this.elements.add(index, nodeTextElement); in addElement() 88 elements.add(new TokenTextElement(tokenKind, text)); in addToken() 92 elements.add(index, new TokenTextElement(tokenKind, text)); in addToken() 108 matcher, from, elements)); in findElement() 115 for (int i=from; i<elements.size(); i++) { in tryToFindElement() 116 TextElement element = elements.get(i); in tryToFindElement() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | collationrootelements.cpp | 27 U_ASSERT(p > elements[elements[IX_FIRST_PRIMARY_INDEX]]); in lastCEWithPrimaryBefore() 29 uint32_t q = elements[index]; in lastCEWithPrimaryBefore() 35 secTer = elements[index - 1]; in lastCEWithPrimaryBefore() 44 p = elements[index]; in lastCEWithPrimaryBefore() 58 q = elements[++index]; in lastCEWithPrimaryBefore() 74 if(p != (elements[index] & 0xffffff00)) { in firstCEWithPrimaryAtLeast() 76 p = elements[++index]; in firstCEWithPrimaryAtLeast() 92 uint32_t q = elements[index]; in getPrimaryBefore() 100 p = elements[--index]; in getPrimaryBefore() 106 uint32_t nextElement = elements[index + 1]; in getPrimaryBefore() [all …]
|
/external/cronet/third_party/icu/source/i18n/ |
D | collationrootelements.cpp | 27 U_ASSERT(p > elements[elements[IX_FIRST_PRIMARY_INDEX]]); in lastCEWithPrimaryBefore() 29 uint32_t q = elements[index]; in lastCEWithPrimaryBefore() 35 secTer = elements[index - 1]; in lastCEWithPrimaryBefore() 44 p = elements[index]; in lastCEWithPrimaryBefore() 58 q = elements[++index]; in lastCEWithPrimaryBefore() 74 if(p != (elements[index] & 0xffffff00)) { in firstCEWithPrimaryAtLeast() 76 p = elements[++index]; in firstCEWithPrimaryAtLeast() 92 uint32_t q = elements[index]; in getPrimaryBefore() 100 p = elements[--index]; in getPrimaryBefore() 106 uint32_t nextElement = elements[index + 1]; in getPrimaryBefore() [all …]
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | ImmutableSet.java | 122 Object[] elements = new Object[paramCount + others.length]; in of() local 123 elements[0] = e1; in of() 124 elements[1] = e2; in of() 125 elements[2] = e3; in of() 126 elements[3] = e4; in of() 127 elements[4] = e5; in of() 128 elements[5] = e6; in of() 129 System.arraycopy(others, 0, elements, paramCount, others.length); in of() 130 return construct(elements.length, elements); in of() 146 private static <E> ImmutableSet<E> construct(int n, @Nullable Object... elements) { in construct() argument [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/ |
D | validators.cc | 36 auto elements = attr.getValue(); in TFIntListIs1XY1() local 37 if (elements.size() != 4 || in TFIntListIs1XY1() 38 std::any_of(elements.begin(), elements.end(), in TFIntListIs1XY1() 42 if (elements.front().cast<IntegerAttr>().getInt() != 1 || in TFIntListIs1XY1() 43 elements.back().cast<IntegerAttr>().getInt() != 1) in TFIntListIs1XY1() 47 *x = b.getI32IntegerAttr(elements[1].cast<IntegerAttr>().getInt()); in TFIntListIs1XY1() 48 *y = b.getI32IntegerAttr(elements[2].cast<IntegerAttr>().getInt()); in TFIntListIs1XY1() 55 const auto &elements = attr.cast<ArrayAttr>().getValue(); in TFIntListIs1XY1() local 56 if (elements.size() != 4 || in TFIntListIs1XY1() 57 std::any_of(elements.begin(), elements.end(), in TFIntListIs1XY1() [all …]
|
/external/antlr/tool/src/main/java/org/antlr/misc/ |
D | IntArrayList.java | 39 protected int[] elements = null; field in IntArrayList 46 elements = new int[initialCapacity]; in IntArrayList() 54 int v = elements[i]; in set() 55 elements[i] = newValue; in set() 60 if ( n>=elements.length ) { in add() 63 elements[n] = o; in add() 69 if ( newSize>=elements.length ) { in setSize() 76 ensureCapacity((elements.length * 3)/2 + 1); in grow() 81 int element = elements[i]; in contains() 90 int oldCapacity = elements.length; in ensureCapacity() [all …]
|
/external/gson/gson/src/main/java/com/google/gson/ |
D | JsonArray.java | 39 private final ArrayList<JsonElement> elements; field in JsonArray 46 elements = new ArrayList<>(); in JsonArray() 59 elements = new ArrayList<>(capacity); in JsonArray() 69 if (!elements.isEmpty()) { in deepCopy() 70 JsonArray result = new JsonArray(elements.size()); in deepCopy() 71 for (JsonElement element : elements) { in deepCopy() 86 elements.add(bool == null ? JsonNull.INSTANCE : new JsonPrimitive(bool)); in add() 96 elements.add(character == null ? JsonNull.INSTANCE : new JsonPrimitive(character)); in add() 106 elements.add(number == null ? JsonNull.INSTANCE : new JsonPrimitive(number)); in add() 116 elements.add(string == null ? JsonNull.INSTANCE : new JsonPrimitive(string)); in add() [all …]
|