Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/node/deps/icu-small/source/common/
Dulist.cpp37 UList *newList = nullptr; in ulist_createEmptyList() local
43 newList = (UList *)uprv_malloc(sizeof(UList)); in ulist_createEmptyList()
44 if (newList == nullptr) { in ulist_createEmptyList()
49 newList->curr = nullptr; in ulist_createEmptyList()
50 newList->head = nullptr; in ulist_createEmptyList()
51 newList->tail = nullptr; in ulist_createEmptyList()
52 newList->size = 0; in ulist_createEmptyList()
54 return newList; in ulist_createEmptyList()
/third_party/node/deps/icu-small/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()
/third_party/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()
/third_party/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()
DFieldSet.java286 final List newList = new ArrayList(); in setField() local
287 newList.addAll((List) value); in setField()
288 for (final Object element : newList) { in setField()
291 value = newList; in setField()
1081 final List newList = new ArrayList(); in setField() local
1082 newList.addAll((List) value); in setField()
1083 for (final Object element : newList) { in setField()
1087 value = newList; in setField()
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()
DGeneratedMessage.java2781 final List newList = new ArrayList();
2784 newList.add(getRepeated(message, i));
2786 return Collections.unmodifiableList(newList);
2792 final List newList = new ArrayList();
2795 newList.add(getRepeated(builder, i));
2797 return Collections.unmodifiableList(newList);
DGeneratedMessageV3.java2839 final List newList = new ArrayList<>();
2842 newList.add(getRepeated(message, i));
2844 return Collections.unmodifiableList(newList);
2850 final List newList = new ArrayList<>();
2853 newList.add(getRepeated(builder, i));
2855 return Collections.unmodifiableList(newList);
/third_party/skia/third_party/externals/icu/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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
/third_party/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
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/python/Lib/distutils/
Dmsvc9compiler.py210 newList = []
212 if i not in newList:
213 newList.append(i)
214 newVariable = os.pathsep.join(newList)
/third_party/skia/third_party/externals/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()
/third_party/icu/icu4c/source/test/intltest/
Dssearch.cpp421 Order *newList = new Order[listMax]; in add() local
423 uprv_memcpy(newList, list, listSize * sizeof(Order)); in add()
425 list = newList; in add()
/third_party/mesa3d/src/mesa/main/
Dshaderapi.c527 struct gl_shader **newList; in detach_shader() local
533 newList = malloc((n - 1) * sizeof(struct gl_shader *)); in detach_shader()
534 if (!newList) { in detach_shader()
540 newList[j] = shProg->Shaders[j]; in detach_shader()
543 newList[j++] = shProg->Shaders[i]; in detach_shader()
548 shProg->Shaders = newList; in detach_shader()
/third_party/mesa3d/src/glx/
Dglxcmds.c1290 XVisualInfo *newList; in glXChooseVisual() local
1295 newList = XGetVisualInfo(dpy, VisualScreenMask | VisualIDMask, in glXChooseVisual()
1298 if (newList) { in glXChooseVisual()
1300 visualList = newList; in glXChooseVisual()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DContext_gl_1_autogen.h129 void newList(GLuint list, GLenum mode); \
DContext_gl.cpp1266 void Context::newList(GLuint list, GLenum mode) in newList() function in gl::Context
/third_party/skia/third_party/externals/angle2/src/libGL/
Dentry_points_gl_1_autogen.cpp3825 context->newList(list, mode); in GL_NewList()