Lines Matching refs:qual
378 tp, qual = ffi._parser.parse_type_and_quals("char * * (* const)")
379 assert (str(tp), qual) == ("<char * * *>", model.Q_CONST)
380 tp, qual = ffi._parser.parse_type_and_quals("char * (* const (*))")
381 assert (str(tp), qual) == ("<char * * const *>", 0)
382 tp, qual = ffi._parser.parse_type_and_quals("char (* const (* (*)))")
383 assert (str(tp), qual) == ("<char * const * *>", 0)
384 tp, qual = ffi._parser.parse_type_and_quals("char const * * *")
385 assert (str(tp), qual) == ("<char const * * *>", 0)
386 tp, qual = ffi._parser.parse_type_and_quals("const char * * *")
387 assert (str(tp), qual) == ("<char const * * *>", 0)
389 tp, qual = ffi._parser.parse_type_and_quals("char * * * const const")
390 assert (str(tp), qual) == ("<char * * *>", model.Q_CONST)
391 tp, qual = ffi._parser.parse_type_and_quals("char * * volatile *")
392 assert (str(tp), qual) == ("<char * * volatile *>", 0)
393 tp, qual = ffi._parser.parse_type_and_quals("char * volatile restrict * *")
394 assert (str(tp), qual) == ("<char * __restrict volatile * *>", 0)
395 tp, qual = ffi._parser.parse_type_and_quals("char const volatile * * *")
396 assert (str(tp), qual) == ("<char volatile const * * *>", 0)
397 tp, qual = ffi._parser.parse_type_and_quals("const char * * *")
398 assert (str(tp), qual) == ("<char const * * *>", 0)
400 tp, qual = ffi._parser.parse_type_and_quals(
402 assert (str(tp), qual) == (
404 tp, qual = ffi._parser.parse_type_and_quals(
406 assert (str(tp), qual) == (