Home
last modified time | relevance | path

Searched refs:newList (Results 1 – 25 of 43) sorted by relevance

12

/external/javassist/src/main/javassist/expr/
DExprEditor.java162 NewOp newList; field in ExprEditor.LoopContext
169 newList = null; in LoopContext()
207 context.newList = new NewOp(context.newList, pos, in loopBody()
211 NewOp newList = context.newList; in loopBody() local
212 if (newList != null in loopBody()
213 && minfo.getConstPool().isConstructor(newList.type, in loopBody()
216 newList.type, newList.pos); in loopBody()
218 context.newList = newList.next; in loopBody()
/external/icu/icu4c/source/common/
Dulist.cpp37 UList *newList = NULL; in ulist_createEmptyList() local
43 newList = (UList *)uprv_malloc(sizeof(UList)); in ulist_createEmptyList()
44 if (newList == NULL) { in ulist_createEmptyList()
49 newList->curr = NULL; in ulist_createEmptyList()
50 newList->head = NULL; in ulist_createEmptyList()
51 newList->tail = NULL; in ulist_createEmptyList()
52 newList->size = 0; in ulist_createEmptyList()
54 return newList; in ulist_createEmptyList()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DListFieldSchema.java106 ArrayList<L> newList = new ArrayList<L>(list.size() + additionalCapacity); in mutableListAt() local
107 newList.addAll(list); in mutableListAt()
108 list = newList; in mutableListAt()
111 LazyStringArrayList newList = new LazyStringArrayList(list.size() + additionalCapacity); in mutableListAt() local
112 newList.addAll((UnmodifiableLazyStringList) list); in mutableListAt()
113 list = (List<L>) newList; in mutableListAt()
DProtobufArrayList.java67 List<E> newList = new ArrayList<E>(capacity); in mutableCopyWithCapacity() local
68 newList.addAll(list); in mutableCopyWithCapacity()
69 return new ProtobufArrayList<E>(newList); in mutableCopyWithCapacity()
DLazyStringArrayList.java105 ArrayList<Object> newList = new ArrayList<Object>(capacity); in mutableCopyWithCapacity() local
106 newList.addAll(list); in mutableCopyWithCapacity()
107 return new LazyStringArrayList(newList); in mutableCopyWithCapacity()
DFieldSet.java268 final List newList = new ArrayList(); in setField() local
269 newList.addAll((List) value); in setField()
270 for (final Object element : newList) { in setField()
273 value = newList; in setField()
/external/icu/icu4c/source/tools/pkgdata/
Dpkgtypes.c140 CharList *newList; in pkg_prependToList() local
141 newList = uprv_malloc(sizeof(CharList)); in pkg_prependToList()
144 if(newList == NULL) { in pkg_prependToList()
148 newList->str = str; in pkg_prependToList()
149 newList->next = l; in pkg_prependToList()
150 return newList; in pkg_prependToList()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceTestUtil.java39 ArrayList<String> newList = new ArrayList<>(); in stringify() local
43newList.add(typedResourceItem.getData().toString() + " (" + typedResourceItem.getResType() + ")"); in stringify()
45 newList.add(item.toString()); in stringify()
48 data = newList.toString(); in stringify()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DULocaleCollationTest.java313 List<UiListItem> newList = names.getUiList(list, false, collator); in TestNameList() local
314 if (!expected.equals(newList)) { in TestNameList()
315 if (expected.size() != newList.size()) { in TestNameList()
316 errln(list.toString() + ": wrong size" + expected + ", " + newList); in TestNameList()
320 assertEquals(i+"", expected.get(i), newList.get(i)); in TestNameList()
324 assertEquals(list.toString(), expected, newList); in TestNameList() local
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleCollationTest.java316 List<UiListItem> newList = names.getUiList(list, false, collator); in TestNameList() local
317 if (!expected.equals(newList)) { in TestNameList()
318 if (expected.size() != newList.size()) { in TestNameList()
319 errln(list.toString() + ": wrong size" + expected + ", " + newList); in TestNameList()
323 assertEquals(i+"", expected.get(i), newList.get(i)); in TestNameList()
327 assertEquals(list.toString(), expected, newList); in TestNameList() local
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DCallOptions.java215 ArrayList<ClientStreamTracer.Factory> newList = in withStreamTracerFactory() local
217 newList.addAll(streamTracerFactories); in withStreamTracerFactory()
218 newList.add(factory); in withStreamTracerFactory()
219 newOptions.streamTracerFactories = Collections.unmodifiableList(newList); in withStreamTracerFactory()
/external/guava/guava-tests/test/com/google/common/collect/
DOrderingTest.java969 List<T> newList = Lists.newArrayList(strictlyOrderedList);
970 T valueNotInList = newList.remove(1);
971 assertEquals(-2, ordering.binarySearch(newList, valueNotInList));
995 List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList);
996 Collections.reverse(newList);
997 return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
1004 List<T> newList = Lists.newArrayList((T) null);
1007 newList.add(t);
1010 return new Scenario<T>(scenario.ordering.nullsFirst(), newList, scenario.emptyArray);
1016 List<T> newList = Lists.newArrayList();
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DOrderingTest.java969 List<T> newList = Lists.newArrayList(strictlyOrderedList);
970 T valueNotInList = newList.remove(1);
971 assertEquals(-2, ordering.binarySearch(newList, valueNotInList));
995 List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList);
996 Collections.reverse(newList);
997 return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
1004 List<T> newList = Lists.newArrayList((T) null);
1007 newList.add(t);
1010 return new Scenario<T>(scenario.ordering.nullsFirst(), newList, scenario.emptyArray);
1016 List<T> newList = Lists.newArrayList();
[all …]
/external/javassist/src/main/javassist/bytecode/
DAttributeInfo.java247 List<AttributeInfo> newList = new ArrayList<AttributeInfo>(); in copyAll()
249 newList.add(attr.copy(cp, null)); in copyAll()
251 return newList; in copyAll()
/external/deqp/modules/gles2/functional/
Des2fBufferWriteTests.cpp149 std::vector<tcu::IVec2> newList; in addRangeToList() local
154 newList.push_back(*oldListIter); in addRangeToList()
165 newList.push_back(curRange); in addRangeToList()
170 newList.push_back(*oldListIter); in addRangeToList()
172 DE_ASSERT(isRangeListValid(newList.begin(), newList.end())); in addRangeToList()
174 return newList; in addRangeToList()
/external/deqp/modules/gles3/functional/
Des3fBufferWriteTests.cpp149 std::vector<tcu::IVec2> newList; in addRangeToList() local
154 newList.push_back(*oldListIter); in addRangeToList()
165 newList.push_back(curRange); in addRangeToList()
170 newList.push_back(*oldListIter); in addRangeToList()
172 DE_ASSERT(isRangeListValid(newList.begin(), newList.end())); in addRangeToList()
174 return newList; in addRangeToList()
/external/clang/include/clang/Sema/
DAttributeList.h737 void addAll(AttributeList *newList) { in addAll() argument
738 if (!newList) return; in addAll()
740 AttributeList *lastInNewList = newList; in addAll()
745 list = newList; in addAll()
748 void set(AttributeList *newList) { in set() argument
749 list = newList; in set()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateComparison.java93 Set<String> newList = newFactory.getAvailableLanguages(); in main() local
95 unifiedList.addAll(newList); in main()
130 if (newList.contains(locale)) { in main()
175 if (newList.contains(locale)) { in main()
/external/oauth/core/src/main/java/net/oauth/
DOAuth.java198 public static List<Parameter> newList(String... parameters) { in newList() method in OAuth
283 return addParameters(url, newList(parameters)); in addParameters()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DNestedMapData.java507 Map<String, String> newList = new HashMap<String, String>(attributeList.size()); in optimize() local
513 newList.put(key, value); in optimize()
515 attributeList = newList; in optimize()
/external/python/cpython3/Lib/distutils/
Dmsvc9compiler.py210 newList = []
212 if i not in newList:
213 newList.append(i)
214 newVariable = os.pathsep.join(newList)
/external/python/cpython2/Lib/distutils/
Dmsvc9compiler.py212 newList = []
214 if i not in newList:
215 newList.append(i)
216 newVariable = os.pathsep.join(newList)
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalDifferenceCalculator.java31 List<CsmElement> newList = new LinkedList<>(); in from() local
32 newList.addAll(elements.subList(index, elements.size())); in from()
33 return new CalculatedSyntaxModel(newList); in from()
/external/perfetto/ui/src/common/
Dactions.ts346 const newList: string[] = [];
350 newList.push(args.srcId);
353 newList.push(curTrackId);
356 newList.push(args.srcId);
360 newList.forEach(x => {
/external/dng_sdk/source/
Ddng_xmp.cpp3121 dng_string_list newList; in SyncExif() local
3199 newList.Append (ss); in SyncExif()
3235 newList.Append (ss); in SyncExif()
3244 newList.Clear (); in SyncExif()
3246 newList.Append (exif.fArtist); in SyncExif()
3252 newList, in SyncExif()

12