Home
last modified time | relevance | path

Searched refs:sublist (Results 1 – 22 of 22) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DAbstractListMultimapTest.java213 List<Integer> sublist = list.subList(1, 4); in testListMethodsIncludingSublist() local
214 ASSERT.that(sublist).hasContentsInOrder(2, 3, 4); in testListMethodsIncludingSublist()
231 List<Integer> sublist = list.subList(1, 4); in testSublistAfterListUpdate() local
232 ASSERT.that(sublist).hasContentsInOrder(2, 3, 4); in testSublistAfterListUpdate()
235 ASSERT.that(sublist).hasContentsInOrder(2, 3, 6); in testSublistAfterListUpdate()
300 List<Integer> sublist = list.subList(1, 4); in testSublistSet() local
301 ASSERT.that(sublist).hasContentsInOrder(2, 3, 4); in testSublistSet()
303 sublist.set(1, 6); in testSublistSet()
315 List<Integer> sublist = list.subList(1, 4); in testSublistRemove() local
316 ASSERT.that(sublist).hasContentsInOrder(2, 3, 4); in testSublistRemove()
[all …]
DArrayListMultimapTest.java84 List<Integer> sublist = list.subList(0, 5); in testSublistConcurrentModificationException() local
85 ASSERT.that(sublist).hasContentsInOrder(1, 2, 3, 4, 5); in testSublistConcurrentModificationException()
87 sublist.clear(); in testSublistConcurrentModificationException()
88 assertTrue(sublist.isEmpty()); in testSublistConcurrentModificationException()
92 sublist.isEmpty(); in testSublistConcurrentModificationException()
/external/chromium_org/ipc/
Dipc_message_unittest.cc49 scoped_ptr<base::ListValue> sublist(new base::ListValue()); in TEST() local
50 sublist->Set(0, new base::FundamentalValue(42.42)); in TEST()
51 sublist->Set(1, new base::StringValue("forty")); in TEST()
52 sublist->Set(2, new base::StringValue("two")); in TEST()
53 subdict->Set("list", sublist.release()); in TEST()
/external/javassist/src/main/javassist/compiler/ast/
DMethodDecl.java36 public ASTList getParams() { return (ASTList)sublist(2).head(); } in getParams()
38 public ASTList getThrows() { return (ASTList)sublist(3).head(); } in getThrows()
40 public Stmnt getBody() { return (Stmnt)sublist(4).head(); } in getBody()
DFieldDecl.java29 public ASTree getInit() { return (ASTree)sublist(2).head(); } in getInit()
DASTList.java115 public ASTList sublist(int nth) { in sublist() method in ASTList
/external/chromium/chrome/common/
Dcommon_param_traits_unittest.cc150 scoped_ptr<ListValue> sublist(new ListValue()); in TEST() local
151 sublist->Set(0, Value::CreateDoubleValue(42.42)); in TEST()
152 sublist->Set(1, Value::CreateStringValue("forty")); in TEST()
153 sublist->Set(2, Value::CreateStringValue("two")); in TEST()
154 subdict->Set("list", sublist.release()); in TEST()
/external/chromium_org/content/common/
Dcommon_param_traits_unittest.cc157 scoped_ptr<base::ListValue> sublist(new base::ListValue()); in TEST() local
158 sublist->Set(0, new base::FundamentalValue(42.42)); in TEST()
159 sublist->Set(1, new base::StringValue("forty")); in TEST()
160 sublist->Set(2, new base::StringValue("two")); in TEST()
161 subdict->Set("list", sublist.release()); in TEST()
/external/chromium_org/tools/json_schema_compiler/test/
Didl_schemas_unittest.cc134 ListValue* sublist = new ListValue; in TEST() local
135 sublist->Append(Value::CreateIntegerValue(34)); in TEST()
136 sublist->Append(Value::CreateIntegerValue(35)); in TEST()
137 list.Append(sublist); in TEST()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs220 List<RewriteOperation> sublist = new List<RewriteOperation>(); in Rollback()
222 sublist.Add(@is[i]); in Rollback()
224 programs[programName] = sublist; in Rollback()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs249 List<RewriteOperation> sublist = new List<RewriteOperation>(); in Rollback()
251 sublist.Add( @is[i] ); in Rollback()
253 programs[programName] = sublist; in Rollback()
/external/chromium_org/content/browser/gpu/
Dgpu_internals_ui.cc76 base::ListValue* sublist = DxDiagNodeToList(it->second); in DxDiagNodeToList() local
77 list->Append(NewDescriptionValuePair(it->first, sublist)); in DxDiagNodeToList()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DDefaultMp4Builder.java473 List<ByteBuffer> sublist = nuSamples.subList( in getBox() local
476 ByteBuffer sampleArray[] = sublist.toArray(new ByteBuffer[sublist.size()]); in getBox()
DFragmentedMp4Builder.java212 List<ByteBuffer> sublist = samples.subList(
215 ByteBuffer sampleArray[] = sublist.toArray(new ByteBuffer[sublist.size()]);
/external/chromium/chrome/browser/ui/webui/
Dgpu_internals_ui.cc510 ListValue* sublist = DxDiagNodeToList(it->second); in DxDiagNodeToList() local
511 list->Append(NewDescriptionValuePair(it->first, sublist)); in DxDiagNodeToList()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DCollectionsTest.java1119 List sublist = new ArrayList(); in testwithCharList() local
1121 sublist.add(new Character(chars[i])); in testwithCharList()
1127 .indexOfSubList(list, sublist)); in testwithCharList()
1131 sublist)); in testwithCharList()
/external/bison/data/
Dbison.m4503 # is a list of sublists of strings. For each sublist, the first string is the
504 # name of a %define variable, and all remaining strings in that sublist are the
/external/chromium_org/tools/gyp/pylib/gyp/
Dinput.py291 def LoadBuildFileIncludesIntoList(sublist, sublist_path, data, aux_data, argument
293 for item in sublist:
/external/javassist/src/main/javassist/compiler/
DParser.java156 md.sublist(4).setHead(body); in parseMethod2()
/external/bison/data/m4sugar/
Dm4sugar.m41194 # If LIST contains an empty sublist, m4_map skips the expansion of
1200 # an empty list behaves like an empty sublist and gets ignored; for
1217 # separator. For each empty sublist, m4_map_sep skips the expansion
1225 # list element is an empty sublist, so we must define a self-modifying
/external/libxml2/
Dxmlschemas.c19136 xmlSchemaItemListPtr sublist; in xmlSchemaExpandAttributeGroupRefs() local
19224 sublist = ((xmlSchemaItemListPtr) gr->attrUses); in xmlSchemaExpandAttributeGroupRefs()
19225 if ((sublist == NULL) || sublist->nbItems == 0) { in xmlSchemaExpandAttributeGroupRefs()
19234 list->items[i] = sublist->items[0]; in xmlSchemaExpandAttributeGroupRefs()
19235 if (sublist->nbItems != 1) { in xmlSchemaExpandAttributeGroupRefs()
19236 for (j = 1; j < sublist->nbItems; j++) { in xmlSchemaExpandAttributeGroupRefs()
19239 sublist->items[j], i) == -1) in xmlSchemaExpandAttributeGroupRefs()
/external/chromium_org/third_party/libxml/src/
Dxmlschemas.c19135 xmlSchemaItemListPtr sublist; in xmlSchemaExpandAttributeGroupRefs() local
19223 sublist = ((xmlSchemaItemListPtr) gr->attrUses); in xmlSchemaExpandAttributeGroupRefs()
19224 if ((sublist == NULL) || sublist->nbItems == 0) { in xmlSchemaExpandAttributeGroupRefs()
19233 list->items[i] = sublist->items[0]; in xmlSchemaExpandAttributeGroupRefs()
19234 if (sublist->nbItems != 1) { in xmlSchemaExpandAttributeGroupRefs()
19235 for (j = 1; j < sublist->nbItems; j++) { in xmlSchemaExpandAttributeGroupRefs()
19238 sublist->items[j], i) == -1) in xmlSchemaExpandAttributeGroupRefs()