Home
last modified time | relevance | path

Searched refs:toAdd (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/pathops/
DSkPathOpsBounds.h32 void add(const SkPathOpsBounds& toAdd) { in add()
33 add(toAdd.fLeft, toAdd.fTop, toAdd.fRight, toAdd.fBottom); in add()
/external/skqp/src/pathops/
DSkPathOpsBounds.h32 void add(const SkPathOpsBounds& toAdd) { in add()
33 add(toAdd.fLeft, toAdd.fTop, toAdd.fRight, toAdd.fBottom); in add()
/external/skia/src/gpu/
DGrClipStack.cpp903 bool GrClipStack::SaveRecord::addElement(RawElement&& toAdd, RawElement::Stack* elements) { in addElement() argument
906 SkASSERT((toAdd.shape().isEmpty() || !toAdd.outerBounds().isEmpty()) && in addElement()
907 (toAdd.innerBounds().isEmpty() || toAdd.outerBounds().contains(toAdd.innerBounds()))); in addElement()
914 } else if (toAdd.shape().isEmpty()) { in addElement()
916 SkASSERT(toAdd.op() == SkClipOp::kIntersect); in addElement()
923 switch (get_clip_geometry(*this, toAdd)) { in addElement()
936 this->replaceWithElement(std::move(toAdd), elements); in addElement()
949 this->replaceWithElement(std::move(toAdd), elements); in addElement()
955 if (toAdd.op() == SkClipOp::kIntersect) { in addElement()
958 SkAssertResult(fOuterBounds.intersect(toAdd.outerBounds())); in addElement()
[all …]
DGrClipStack.h243 bool addElement(RawElement&& toAdd, RawElement::Stack* elements);
260 bool appendElement(RawElement&& toAdd, RawElement::Stack* elements);
261 void replaceWithElement(RawElement&& toAdd, RawElement::Stack* elements);
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DJsonValueTest.java158 private final int toAdd; field in JsonValueTest.AdditionInterfaceImpl
161 public AdditionInterfaceImpl(@JsonProperty("toAdd") int toAdd) { in AdditionInterfaceImpl() argument
162 this.toAdd = toAdd; in AdditionInterfaceImpl()
167 return toAdd; in getToAdd()
172 return in + toAdd; in add()
/external/glide/library/src/main/java/com/bumptech/glide/signature/
DApplicationVersionSignature.java27 Key toAdd = obtainVersionSignature(context); in obtain() local
28 result = PACKAGE_NAME_TO_KEY.putIfAbsent(packageName, toAdd); in obtain()
31 result = toAdd; in obtain()
/external/guava/android/guava-tests/test/com/google/common/collect/
DFilteredCollectionsTest.java109 for (int toAdd = 0; toAdd < 10; toAdd++) { in testAdd()
110 boolean expectedResult = createUnfiltered(contents).add(toAdd); in testAdd()
114 assertEquals(expectedResult, filtered.add(toAdd)); in testAdd()
115 assertTrue(EVEN.apply(toAdd)); in testAdd()
117 assertFalse(EVEN.apply(toAdd)); in testAdd()
150 ImmutableList<Integer> toAdd = ImmutableList.of(2, 4, 3); in testAddAllFailsAtomically() local
156 filteredToModify.addAll(toAdd); in testAddAllFailsAtomically()
DListsImplTest.java152 List<Iterable<String>> toAdd = in testAddAllImpl() local
167 for (int i = 0; i < toAdd.size(); i++) { in testAddAllImpl()
169 Iterable<String> iterableToAdd = toAdd.get(i); in testAddAllImpl()
/external/guava/guava-tests/test/com/google/common/collect/
DFilteredCollectionsTest.java124 for (int toAdd = 0; toAdd < 10; toAdd++) { in testAdd()
125 boolean expectedResult = createUnfiltered(contents).add(toAdd); in testAdd()
129 assertEquals(expectedResult, filtered.add(toAdd)); in testAdd()
130 assertTrue(EVEN.apply(toAdd)); in testAdd()
132 assertFalse(EVEN.apply(toAdd)); in testAdd()
165 ImmutableList<Integer> toAdd = ImmutableList.of(2, 4, 3); in testAddAllFailsAtomically() local
171 filteredToModify.addAll(toAdd); in testAddAllFailsAtomically()
DListsImplTest.java152 List<Iterable<String>> toAdd = in testAddAllImpl() local
167 for (int i = 0; i < toAdd.size(); i++) { in testAddAllImpl()
169 Iterable<String> iterableToAdd = toAdd.get(i); in testAddAllImpl()
/external/cldr/tools/java/org/unicode/cldr/test/
DDisplayAndInputProcessor.java872 UnicodeSet toAdd = new UnicodeSet(); in getCleanedUnicodeSet() local
877 toAdd.add(string); in getCleanedUnicodeSet()
881 case "\u2011": toAdd.add("-"); break; // nobreak hyphen in getCleanedUnicodeSet()
882 case "-": toAdd.add("\u2011"); break; // nobreak hyphen in getCleanedUnicodeSet()
884 case " ": toAdd.add("\u00a0"); break; // nobreak space in getCleanedUnicodeSet()
885 case "\u00a0": toAdd.add(" "); break; // nobreak space in getCleanedUnicodeSet()
887 case "\u202F": toAdd.add("\u2009"); break; // nobreak narrow space in getCleanedUnicodeSet()
888 case "\u2009": toAdd.add("\u202F"); break; // nobreak narrow space in getCleanedUnicodeSet()
893 toAdd.add(string); in getCleanedUnicodeSet()
896 toAdd.add(composed); in getCleanedUnicodeSet()
[all …]
/external/icu/icu4c/source/common/unicode/
Denumset.h41 inline void add(T toAdd) { set(toAdd, 1); } in add() argument
/external/icu/libicu/cts_headers/unicode/
Denumset.h41 inline void add(T toAdd) { set(toAdd, 1); } in add() argument
/external/llvm-project/clang/test/ASTMerge/exprs-cpp/Inputs/
Dexprs3.cpp126 constexpr int testLambdaAdd(int toAdd) { in testLambdaAdd() argument
131 return LambdaAdd(toAdd); in testLambdaAdd()
/external/icu/icu4c/source/common/
Dcaniter.cpp472 UnicodeString *toAdd = new UnicodeString(prefix); in getEquivalents2() local
474 if (toAdd == 0) { in getEquivalents2()
478 *toAdd += item; in getEquivalents2()
479 fillinResult->put(*toAdd, toAdd, status); in getEquivalents2()
/external/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/
DMainActivity.kt88 val toAdd = Effect(it) in <lambda>() constant
89 EffectsAdapter.effectList.add(toAdd) in <lambda>()
90 NativeInterface.addEffect(toAdd) in <lambda>()
/external/cldr/tools/java/org/unicode/cldr/util/
DWikiSubdivisionLanguages.java330 Map<String,String> toAdd = new HashMap<>(); in fixedFile() local
351 toAdd.put(path, name); in fixedFile()
359 for (Entry<String, String> entry2 : toAdd.entrySet()) { in fixedFile()
DCLDRTransforms.java313 final String toAdd = hasXmlSuffix ? other + ".xml" : other; in addDependenciesRecursively() local
314 if (other.equals(item) || ordered.contains(toAdd)) { in addDependenciesRecursively()
317 addDependenciesRecursively(toAdd, ordered, hasXmlSuffix); in addDependenciesRecursively()
318 append("Dependency: Adding: " + toAdd + " before " + item + "\n"); in addDependenciesRecursively()
/external/angle/src/feature_support_util/
Dfeature_support_util.cpp192 void addItem(T &&toAdd) in addItem() argument
194 mList.push_back(std::move(toAdd)); in addItem()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java2065 IFixedDecimal toAdd = new FixedDecimal(trial); in addConditional() local
2066 if (!toAddTo.contains(toAdd) && !others.contains(toAdd)) { in addConditional()
2067 others.add(toAdd); in addConditional()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java1997 IFixedDecimal toAdd = new FixedDecimal(trial); in addConditional() local
1998 if (!toAddTo.contains(toAdd) && !others.contains(toAdd)) { in addConditional()
1999 others.add(toAdd); in addConditional()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/sym/
DByteQuadsCanonicalizer.java973 int toAdd = (start + qlen) - _hashArea.length; in _appendLongName() local
977 int newSize = _hashArea.length + Math.max(toAdd, minAdd); in _appendLongName()
/external/cldr/tools/java/org/unicode/cldr/tool/
DConvertLanguageData.java1374 Set<String> toAdd = new TreeSet<>(); in showDefaults() local
1378 if (newguy != null && !locales.contains(newguy) && !toAdd.contains(newguy)) { in showDefaults()
1379 toAdd.add(newguy); in showDefaults()
1383 if (toAdd.size() == 0) { in showDefaults()
1386 locales.addAll(toAdd); in showDefaults()
1387 toAdd.clear(); in showDefaults()
DGenerateMaximalLocales.java1351 …private static void add(String key, String value, Map<String, String> toAdd, String kind, LocaleOv… in add() argument
1356 String oldValue = toAdd.get(key); in add()
1371 toAdd.put(key, value); in add()
/external/zstd/lib/compress/
Dzstd_compress_internal.h764 MEM_STATIC U64 ZSTD_rollingHash_rotate(U64 hash, BYTE toRemove, BYTE toAdd, U64 primePower) in ZSTD_rollingHash_rotate() argument
768 hash += toAdd + ZSTD_ROLL_HASH_CHAR_OFFSET; in ZSTD_rollingHash_rotate()

12