Home
last modified time | relevance | path

Searched refs:StringStruct (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_numpy_dtypes.cpp75 struct StringStruct { struct
109 std::ostream& operator<<(std::ostream& os, const StringStruct& v) { in operator <<()
289 PYBIND11_NUMPY_DTYPE(StringStruct, a, b); in TEST_SUBMODULE()
350 py::format_descriptor<StringStruct>::format(), in TEST_SUBMODULE()
369 py::dtype::of<StringStruct>(), in TEST_SUBMODULE()
397 py::array_t<StringStruct, 0> arr = mkarray_via_buffer<StringStruct>(non_empty ? 4 : 0); in TEST_SUBMODULE()
400 auto ptr = static_cast<StringStruct*>(req.ptr); in TEST_SUBMODULE()
414 m.def("print_string_array", &print_recarray<StringStruct>); in TEST_SUBMODULE()
/external/icu/icu4c/source/test/cintltst/
Dcbiapts.c92 typedef struct StringStruct { struct
93 struct StringStruct *link; argument
95 } StringStruct; argument
104 StringStruct *dest; in toUChar()
123 destSize = (numUChars+1) * sizeof(UChar) + sizeof(struct StringStruct); in toUChar()
124 dest = (StringStruct *)malloc(destSize); in toUChar()
142 dest->link = (StringStruct*)(*freeHook); in toUChar()
148 StringStruct *s = *(StringStruct **)hook; in freeToUCharStrings()
150 StringStruct *next = s->link; in freeToUCharStrings()