/external/python/cpython2/Objects/stringlib/ |
D | split.h | 57 stringlib_split_whitespace(PyObject* str_obj, in stringlib_split_whitespace() argument 77 if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split_whitespace() 79 Py_INCREF(str_obj); in stringlib_split_whitespace() 80 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_split_whitespace() 105 stringlib_split_char(PyObject* str_obj, in stringlib_split_char() argument 129 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split_char() 131 Py_INCREF(str_obj); in stringlib_split_char() 132 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_split_char() 148 stringlib_split(PyObject* str_obj, in stringlib_split() argument 161 return stringlib_split_char(str_obj, str, str_len, sep[0], maxcount); in stringlib_split() [all …]
|
D | partition.h | 11 stringlib_partition(PyObject* str_obj, in stringlib_partition() argument 36 Py_INCREF(str_obj); in stringlib_partition() 37 PyTuple_SET_ITEM(out, 0, (PyObject*) str_obj); in stringlib_partition() 61 stringlib_rpartition(PyObject* str_obj, in stringlib_rpartition() argument 90 Py_INCREF(str_obj); in stringlib_rpartition() 91 PyTuple_SET_ITEM(out, 2, (PyObject*) str_obj); in stringlib_rpartition()
|
/external/autotest/client/bin/ |
D | partition_unittest.py | 28 str_obj = str(partition.FsOptions('abc', 'def', 'ghi', 'jkl')) 29 self.assert_('FsOptions' in str_obj) 30 self.assert_('abc' in str_obj) 31 self.assert_('def' in str_obj) 32 self.assert_('ghi' in str_obj) 33 self.assert_('jkl' in str_obj)
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_filespec_unittest.cpp | 70 std::unique_ptr<CPDF_Object> str_obj( in TEST() local 72 CPDF_FileSpec file_spec(str_obj.get()); in TEST() 140 std::unique_ptr<CPDF_Object> str_obj(new CPDF_String(nullptr, L"babababa")); in TEST() local 141 CPDF_FileSpec file_spec1(str_obj.get()); in TEST() 145 EXPECT_TRUE(str == str_obj->GetString()); in TEST()
|
/external/ltp/testcases/kernel/device-drivers/acpi/ |
D | ltp_acpi_cmds.c | 81 union acpi_object *str_obj; in get_str_object() local 91 str_obj = buffer.pointer; in get_str_object() 93 buf = kmalloc(str_obj->buffer.length / 2, GFP_KERNEL); in get_str_object() 95 kfree(str_obj); in get_str_object() 99 res = utf16s_to_utf8s((wchar_t *)str_obj->buffer.pointer, in get_str_object() 100 str_obj->buffer.length, UTF16_LITTLE_ENDIAN, buf, in get_str_object() 101 str_obj->buffer.length / 2); in get_str_object() 107 kfree(str_obj); in get_str_object()
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 5380 PyUnicodeObject* str_obj; in PyUnicode_Count() local 5383 str_obj = (PyUnicodeObject*) PyUnicode_FromObject(str); in PyUnicode_Count() 5384 if (!str_obj) in PyUnicode_Count() 5388 Py_DECREF(str_obj); in PyUnicode_Count() 5392 ADJUST_INDICES(start, end, str_obj->length); in PyUnicode_Count() 5394 str_obj->str + start, end - start, sub_obj->str, sub_obj->length, in PyUnicode_Count() 5399 Py_DECREF(str_obj); in PyUnicode_Count() 7508 PyObject* str_obj; in PyUnicode_Partition() local 7512 str_obj = PyUnicode_FromObject(str_in); in PyUnicode_Partition() 7513 if (!str_obj) in PyUnicode_Partition() [all …]
|
D | stringobject.c | 1151 string_contains(PyObject *str_obj, PyObject *sub_obj) in string_contains() argument 1156 return PyUnicode_Contains(str_obj, sub_obj); in string_contains() 1166 return stringlib_contains_obj(str_obj, sub_obj); in string_contains()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_object_unittest.cpp | 718 CPDF_String* str_obj = in TEST() local 723 str_obj, name_obj, null_obj}; in TEST()
|
/external/v8/src/ |
D | d8.cc | 1017 Local<String> str_obj; in WriteToFile() local 1023 .ToLocal(&str_obj)) { in WriteToFile() 1028 v8::String::Utf8Value str(str_obj); in WriteToFile()
|