Home
last modified time | relevance | path

Searched refs:subobj (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Objects/
Dstringobject.c1458 PyObject *subobj = Py_None; in string_split() local
1460 if (!PyArg_ParseTuple(args, "|On:split", &subobj, &maxsplit)) in string_split()
1464 if (subobj == Py_None) in string_split()
1466 if (PyString_Check(subobj)) { in string_split()
1467 sub = PyString_AS_STRING(subobj); in string_split()
1468 n = PyString_GET_SIZE(subobj); in string_split()
1471 else if (PyUnicode_Check(subobj)) in string_split()
1472 return PyUnicode_Split((PyObject *)self, subobj, maxsplit); in string_split()
1474 else if (PyObject_AsCharBuffer(subobj, &sub, &n)) in string_split()
1557 PyObject *subobj = Py_None; in string_rsplit() local
[all …]
Dbytearrayobject.c1156 PyObject *subobj; in bytearray_find_internal() local
1162 args, &subobj, &start, &end)) in bytearray_find_internal()
1164 if (_getbuffer(subobj, &subbuf) < 0) in bytearray_find_internal()
1367 PyObject *subobj; in bytearray_startswith() local
1370 if (!stringlib_parse_args_finds("startswith", args, &subobj, &start, &end)) in bytearray_startswith()
1372 if (PyTuple_Check(subobj)) { in bytearray_startswith()
1374 for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) { in bytearray_startswith()
1376 PyTuple_GET_ITEM(subobj, i), in bytearray_startswith()
1386 result = _bytearray_tailmatch(self, subobj, start, end, -1); in bytearray_startswith()
1406 PyObject *subobj; in bytearray_endswith() local
[all …]
Dunicodeobject.c7272 PyObject *subobj, in PyUnicode_Replace() argument
7284 str1 = PyUnicode_FromObject(subobj); in PyUnicode_Replace()
7765 PyObject *subobj; in unicode_startswith() local
7771 if (!stringlib_parse_args_finds("startswith", args, &subobj, &start, &end)) in unicode_startswith()
7773 if (PyTuple_Check(subobj)) { in unicode_startswith()
7775 for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) { in unicode_startswith()
7777 PyTuple_GET_ITEM(subobj, i)); in unicode_startswith()
7789 substring = (PyUnicodeObject *)PyUnicode_FromObject(subobj); in unicode_startswith()
7793 "unicode, or tuple, not %s", Py_TYPE(subobj)->tp_name); in unicode_startswith()
7814 PyObject *subobj; in unicode_endswith() local
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DULocaleCollationTest.java212 Object subobj = sub.get(obj); in checkService() local
213 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
221 Object subobj = sub.get(obj); in checkService() local
224 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleCollationTest.java213 Object subobj = sub.get(obj); in checkService() local
214 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
222 Object subobj = sub.get(obj); in checkService() local
225 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
DULocaleTest.java465 Object subobj = sub.get(obj); in checkService() local
466 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
474 Object subobj = sub.get(obj); in checkService() local
477 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
/external/python/cpython2/Objects/stringlib/
Dfind.h109 PyObject **subobj, in stringlib_parse_args_finds() argument
137 *subobj = tmp_subobj; in stringlib_parse_args_finds()
/external/python/cpython2/Doc/library/
Drepr.rst120 recursively format a value should call ``self.repr1(subobj, level - 1)``.
/external/protobuf/php/ext/google/protobuf/
Dupb.c2871 static void visit_check(const upb_refcounted *obj, const upb_refcounted *subobj, in visit_check() argument
2880 assert(subobj); in visit_check()
2881 removed = upb_inttable_removeptr(ref2, subobj, &v); in visit_check()
2887 upb_inttable_insert(ref2, (uintptr_t)subobj, upb_value_int32(newcount)); in visit_check()
2997 const upb_refcounted *subobj,
3138 const upb_refcounted *subobj, in tarjan_visit() argument
3144 } else if (subobj->is_frozen || color(t, subobj) == WHITE) { in tarjan_visit()
3147 } else if (color(t, subobj) < GREEN) { in tarjan_visit()
3149 do_tarjan(subobj, t); in tarjan_visit()
3150 set_lowlink(t, obj, UPB_MIN(lowlink(t, obj), lowlink(t, subobj))); in tarjan_visit()
[all …]
Dupb.h1176 const upb_refcounted *subobj,
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c3043 static void visit_check(const upb_refcounted *obj, const upb_refcounted *subobj, in visit_check() argument
3052 assert(subobj); in visit_check()
3053 removed = upb_inttable_removeptr(ref2, subobj, &v); in visit_check()
3059 upb_inttable_insert2(ref2, (uintptr_t)subobj, upb_value_int32(newcount), in visit_check()
3156 const upb_refcounted *subobj,
3297 const upb_refcounted *subobj, in tarjan_visit() argument
3303 } else if (subobj->is_frozen || color(t, subobj) == WHITE) { in tarjan_visit()
3306 } else if (color(t, subobj) < GREEN) { in tarjan_visit()
3308 do_tarjan(subobj, t); in tarjan_visit()
3309 set_lowlink(t, obj, UPB_MIN(lowlink(t, obj), lowlink(t, subobj))); in tarjan_visit()
[all …]
Dupb.h1464 const upb_refcounted *subobj,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java464 Object subobj = sub.get(obj); in checkService() local
465 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
473 Object subobj = sub.get(obj); in checkService() local
476 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
/external/python/cpython2/Lib/
Dcookielib.py1207 for subobj in deepvalues(obj):
1208 yield subobj