HomeSort by relevance Sort by last modified time
    Searched defs:list (Results 401 - 425 of 4851) sorted by null

<<11121314151617181920>>

  /external/python/cpython2/Objects/stringlib/
split.h 10 /* Overallocate the initial list to reduce the number of reallocs for small
28 if (PyList_Append(list, sub)) { \
41 PyList_SET_ITEM(list, count, sub); \
43 if (PyList_Append(list, sub)) { \
53 /* Always force the list to the expected size. */
54 #define FIX_PREALLOC_SIZE(list) Py_SIZE(list) = count
62 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local
65 if (list == NULL)
78 /* No whitespace in str_obj, so just use it as list[0] *
111 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local
154 PyObject *list, *sub; local
201 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local
252 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local
296 PyObject *list, *sub; local
353 PyObject *list = PyList_New(0); local
    [all...]
  /external/python/cpython3/Modules/
_weakref.c 28 PyWeakReference **list; local
33 list = GET_WEAKREFS_LISTPTR(object);
34 return _PyWeakref_GetWeakrefCount(*list);
79 "getweakrefs(object) -- return a list of all weak reference objects\n"
88 PyWeakReference **list = GET_WEAKREFS_LISTPTR(object); local
89 Py_ssize_t count = _PyWeakref_GetWeakrefCount(*list);
93 PyWeakReference *current = *list;
  /external/python/cpython3/Objects/stringlib/
split.h 7 /* Overallocate the initial list to reduce the number of reallocs for small
25 if (PyList_Append(list, sub)) { \
38 PyList_SET_ITEM(list, count, sub); \
40 if (PyList_Append(list, sub)) { \
50 /* Always force the list to the expected size. */
51 #define FIX_PREALLOC_SIZE(list) Py_SIZE(list) = count
59 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local
62 if (list == NULL)
75 /* No whitespace in str_obj, so just use it as list[0] *
108 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local
151 PyObject *list, *sub; local
198 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local
249 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local
293 PyObject *list, *sub; local
350 PyObject *list = PyList_New(0); local
    [all...]
  /external/selinux/libsemanage/src/
policy.h 66 /* List policy modules */
67 int (*list) (struct semanage_handle *, semanage_module_info_t **, member in struct:semanage_policy_table
85 /* List all policy modules */
  /external/slf4j/integration/src/test/java/org/slf4j/
IncompatibleMultiBindingAssertionTest.java 28 import java.util.List;
61 List<String> list = sps.stringList; local
62 assertMsgContains(list, 0, "Class path contains multiple SLF4J bindings.");
63 assertMsgContains(list, 1, "Found binding in");
64 assertMsgContains(list, 2, "Found binding in");
65 assertMsgContains(list, 3, "See http://www.slf4j.org/codes.html");
66 assertMsgContains(list, 4, "slf4j-api 1.6.x (or later) is incompatible with this binding");
67 assertMsgContains(list, 5, "Your binding is version 1.5.5 or earlier.");
71 void assertMsgContains(List<String> strList, int index, String msg)
    [all...]
MultiBindingAssertionTest.java 28 import java.util.List;
57 List<String> list = sps.stringList; local
58 assertMsgContains(list, 0, "Class path contains multiple SLF4J bindings.");
59 assertMsgContains(list, 1, "Found binding in");
60 assertMsgContains(list, 2, "Found binding in");
61 assertMsgContains(list, 3, "See http://www.slf4j.org/codes.html");
62 assertMsgContains(list, 4, "Actual binding is of type [");
65 void assertMsgContains(List<String> strList, int index, String msg) {
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/
Chapter2_1Test.java 18 import java.util.List;
33 List<String> list = (List<String>) document.getNativeData(); local
34 assertEquals(3, list.size());
35 assertEquals("Mark McGwire", list.get(0));
36 assertEquals("Sammy Sosa", list.get(1));
37 assertEquals("Ken Griffey", list.get(2));
58 Map<String, List<String>> map = (Map<String, List<String>>) document.getNativeData()
75 List<Map<String, Object>> list = (List<Map<String, Object>>) document.getNativeData(); local
85 List<List<Object>> list = (List<List<Object>>) document.getNativeData(); local
    [all...]
Chapter2_5Test.java 19 import java.util.List;
34 List<Object> list = (List<Object>) resource.getNativeData(); local
35 assertEquals(3, list.size());
36 Map<String, Object> data0 = (Map<String, Object>) list.get(0);
42 Map<String, Object> data1 = (Map<String, Object>) list.get(1);
48 Map<String, Object> data3 = (Map<String, Object>) list.get(2);
53 List<Map<String, String>> list3 = (List<Map<String, String>>) data3.get("Stack")
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/
ArrayListTest.java 26 * interface List
32 ArrayList<String> list = new ArrayList<String>(3); local
33 list.add("zzz");
34 list.add("xxx");
35 list.add("ccc");
36 bean.setList(list);
46 private ArrayList<String> list; field in class:ArrayListTest.Bean1
50 return list;
53 public void setList(ArrayList<String> list) {
54 this.list = list
    [all...]
TreeSetTest.java 32 TreeSet<String> list = new TreeSet<String>(); local
33 list.add("zzz");
34 list.add("xxx");
35 list.add("ccc");
36 bean.setSet(list);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/serializer/
AnchorGeneratorTest.java 25 import java.util.List;
36 List<Object> list = new ArrayList<Object>(); local
37 list.add("data123");
38 list.add(list);
40 String output = yaml1.dump(list);
49 String output2 = yaml2.dump(list);
50 assertEquals("&list-id004\n" +
52 "- *list-id004\n", output2)
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
MergeTagTest.java 18 import java.util.List;
31 List<Object> list = (List<Object>) document.getNativeData(); local
32 assertEquals(8, list.size());
33 Map<Object, Object> center = (Map<Object, Object>) list.get(0);
38 Map<Object, Object> left = (Map<Object, Object>) list.get(1);
43 Map<Object, Object> big = (Map<Object, Object>) list.get(2);
47 Map<Object, Object> small = (Map<Object, Object>) list.get(3);
51 Map<Object, Object> explicit = (Map<Object, Object>) list.get(4)
    [all...]
ValueTagTest.java 20 import java.util.List;
41 Map<String, List<String>> oldSchema = (Map<String, List<String>>) iter.next();
43 List<String> list = oldSchema.get("link with"); local
44 assertEquals(2, list.size());
45 assertEquals("library1.dll", list.get(0));
46 assertEquals("library2.dll", list.get(1));
48 Map<String, List<Map<String, String>>> newSchema = (Map<String, List<Map<String, String>>>) ite
    [all...]
  /external/tensorflow/tensorflow/python/util/
util.cc 59 bool FlattenHelper(PyObject* nested, PyObject* list) {
64 return PyList_Append(list, nested) != -1;
82 FlattenHelper(val, list);
93 FlattenHelper(item, list);
118 PyObject* list = PyList_New(0); local
119 if (FlattenHelper(nested, list)) {
120 return list;
122 Py_DECREF(list);
  /external/toybox/kconfig/lxdialog/
checklist.c 29 * Print list item
108 * Display a dialog box with a list of options that can be turned on or off
116 WINDOW *dialog, *list; local
163 /* create new window for the list */
164 list = subwin(dialog, list_height, list_width, y + box_y + 1,
167 keypad(list, TRUE);
169 /* draw a box around the list items */
186 /* Print the list */
189 print_item(list, i, i == choice);
198 wnoutrefresh(list);
    [all...]
  /external/v8/tools/clang/value_cleanup/tests/
list-value-append-original.cc 27 base::ListValue list; local
28 list.Append(new base::FundamentalValue(1 == 0));
29 list.Append(new base::FundamentalValue(true));
30 list.Append(new base::FundamentalValue(static_cast<unsigned char>(1.0)));
31 list.Append(new base::FundamentalValue(double{3}));
32 list.Append(new base::StringValue("abc"));
34 list.Append(ReturnsUniquePtr().release());
36 list.Append(thing.ToValue().release());
38 list.Append(unique_ptr_var.release());
42 base::ListValue list; local
    [all...]
  /external/wayland/tests/
list-test.c 34 struct wl_list list; local
36 wl_list_init(&list);
37 assert(list.next == &list);
38 assert(list.prev == &list);
39 assert(wl_list_empty(&list));
49 struct wl_list list; local
52 wl_list_init(&list);
53 wl_list_insert(&list, &e.link)
62 struct wl_list list; local
75 struct wl_list list; local
131 struct wl_list list; local
151 struct wl_list list, other; local
    [all...]
  /frameworks/av/media/libmedia/
IMediaDeathNotifier.cpp 82 SortedVector< wp<IMediaDeathNotifier> > list; local
86 list = sObitRecipients;
92 size_t count = list.size();
94 sp<IMediaDeathNotifier> notifier = list[iter].promote();
  /frameworks/base/core/java/android/content/pm/
ParceledListSlice.java 23 import java.util.List;
26 * Transfer a large list of Parcelable objects across an IPC. Splits into
34 public ParceledListSlice(List<T> list) {
35 super(list);
49 final List<T> list = getList(); local
50 for (int i=0; i<list.size(); i++) {
51 contents |= list.get(i).describeContents();
  /frameworks/base/core/tests/coretests/src/android/content/pm/
PackageBuilder.java 24 import java.util.List;
59 PackageBuilder requiredLibraries(List<String> names) {
90 ArrayList<String> list = new ArrayList<>(); local
91 Collections.addAll(list, strings);
92 return list;
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListViewHeightTest.java 56 ListView list = (ListView) mActivity.findViewById(R.id.inner_list); local
57 assertEquals("Unexpected items in adapter", 0, list.getCount());
58 assertEquals("Unexpected children in list view", 0, list.getChildCount());
66 assertTrue("List not be visible after clicking button1", list.isShown());
67 assertTrue("List incorrect height", list.getHeight() == 200);
75 assertTrue("List not be visible after clicking button2", list.isShown())
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
AlphaControlledSignalTileViewTest.java 64 ColorStateList list = ColorStateList.valueOf(0xffffff); local
65 drawable.setTintList(list);
73 ColorStateList list = ColorStateList.valueOf(0xffffff); local
74 drawable.setFinalTintList(list);
75 verify(mockDrawable, atLeastOnce()).setTintList(list);
  /frameworks/compile/mclinker/lib/Core/
Module.cpp 72 AliasList& list = **list_it; local
73 alias_iterator alias_it, alias_it_e = list.end();
74 for (alias_it = list.begin(); alias_it != alias_it_e; ++alias_it) {
76 return &list;
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
ConstantWithConditionalTest.java 48 ArrayList<String> list = new ArrayList<>(); local
49 obj.setCountryModels(list);
54 list.add("abc");
  /frameworks/native/services/sensorservice/
SensorFusion.cpp 31 sensor_t const* list; local
33 ssize_t count = mSensorDevice.getSensorList(&list);
41 if (list[i].type == SENSOR_TYPE_ACCELEROMETER) {
42 mAcc = Sensor(list + i);
44 if (list[i].type == SENSOR_TYPE_MAGNETIC_FIELD) {
45 mMag = Sensor(list + i);
47 if (list[i].type == SENSOR_TYPE_GYROSCOPE) {
48 mGyro = Sensor(list + i);
50 if (list[i].type == SENSOR_TYPE_GYROSCOPE_UNCALIBRATED) {
51 uncalibratedGyro = Sensor(list + i)
    [all...]

Completed in 560 milliseconds

<<11121314151617181920>>